CN102075279B - Configuration method and equipment for auto protocol switch (APS) working mode - Google Patents

Configuration method and equipment for auto protocol switch (APS) working mode Download PDF

Info

Publication number
CN102075279B
CN102075279B CN201110029841.1A CN201110029841A CN102075279B CN 102075279 B CN102075279 B CN 102075279B CN 201110029841 A CN201110029841 A CN 201110029841A CN 102075279 B CN102075279 B CN 102075279B
Authority
CN
China
Prior art keywords
aps
mode
communication equipment
mode information
configuration
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
CN201110029841.1A
Other languages
Chinese (zh)
Other versions
CN102075279A (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.)
New H3C Information 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 CN201110029841.1A priority Critical patent/CN102075279B/en
Publication of CN102075279A publication Critical patent/CN102075279A/en
Application granted granted Critical
Publication of CN102075279B publication Critical patent/CN102075279B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a configuration method and equipment for an APS working mode. When the technical scheme of the invention is used, communication equipment can acquire the APS working mode of opposite-end communication equipment through a corresponding communication message and adaptively configures its own APS working mode of the communication equipment accordingly; therefore, the automatic configuration of the APS working mode of the communication equipment by the communication equipment is realized, the consistency between the APS working mode of a local end and the APS working mode of an opposite end is guaranteed, the complexity of the APS working mode configuration process of the communication equipment is lowered, error hidden dangers caused by manual APS working mode configuration and an opposite-end configuration information query process are reduced, and the configuration efficiency and accuracy of the corresponding APS configuration process are improved.

Description

A kind of collocation method of APS mode of operation and equipment
Technical field
The present invention relates to communication technical field, particularly a kind of collocation method of APS mode of operation and equipment.
Background technology
APS (Auto Protocol Switch, automatic protection switching) is a kind of automatic protection switching mechanism of SDH (Synchronous DigitalHierarchy, synchronous digital signal framework) link.
The principle that realizes of APS is exactly the switch protecting using redundant link to carry out transfer of data.In the system of application APS technology; the link composition of chain route two type between two communication equipments; comprise active link and protection link; when active link goes wrong; transfer of data between two communication equipments is switched to protection link and proceeds work, thus ensures normally carrying out of transfer of data.
In actual applications, the realization of APS technology comprises 1+1 and 1:n two kinds of backup modes.
1+1 pattern is exactly that the communication equipment of transmitting terminal all sends data on two links (active link and protection link), and the communication equipment data specifically received on which bar link of receiving terminal depend on the configuration of the communication equipment self of receiving terminal.
1:n pattern is protected many active links by a protection link; protection link is in idle condition usually; only when certain active link goes wrong; just the data exchange that this active link gone wrong transmits is sent to protection link; in concrete application scenarios; also have the backup mode of a kind of 1:1, this pattern then can think a kind of special case of 1:n pattern, is namely protected an active link by a protection link.
When APS switches, two-way switching and unidirectional handover two kinds of switch modes can also be divided into.
If two-way switching; before and after then switching; all the time same link (active link or protection link) to be used to carry out data transmit-receive by the communication equipment at link-attached two ends; as shown in Figure 1; for applying the schematic diagram of the application scenarios of the two-way switching of APS in prior art; in this scenario; before switching; active link is used to carry out data transmit-receive between communication equipment A and communication equipment B; and after handover; data transmit-receive between communication equipment A and communication equipment B all switches and all switches, and uses protection link to carry out data transmit-receive.
And for the switch mode of unidirectional handover, before and after then switching, different link (active link or protection link) can be used to carry out data transmit-receive by the communication equipment at link-attached two ends, as shown in Figure 2, for applying the schematic diagram of the application scenarios of APS unidirectional handover in prior art, in this scenario, before switching, active link is used to carry out data transmit-receive between communication equipment A and communication equipment B, and after handover, the link that communication equipment A sends data to communication equipment B switches, be switched in protection link, communication equipment B sends the link of data to communication equipment A and then remains on active link and do not switch, therefore, for two communication equipments, the link at its data transmit-receive place has been come by different links after handover.
APS handoff protocol controls to switch by K1, K2 byte in SDH frame format head.K1 byte can identify the type of request switching and need the link number of switching (active link identifies by numbering with protection link); K2 byte then identifies the link number switched, and the operating mode information that the communication equipment of local terminal configures: comprising backup mode is 1+1 or 1:n (comprising 1:1), and switch mode is application unidirectional handover or applies two-way switching.
In existing technical scheme, for the application scenarios of application APS handoff protocol, the communication equipment that both link ends connects, its APS mode of operation (backup mode of APS is 1+1 or 1:n, and switch mode is application unidirectional handover or applies two-way switching) is all that user carries out manual configuration on the communication equipment at two ends.
Realizing in process of the present invention, inventor finds that prior art at least exists following problem:
The technical scheme processing procedure of existing configuration APS mode of operation is loaded down with trivial details, carrying out the configuration of APS mode of operation, especially when can not determine the APS mode of operation of opposite end communication equipment, also need to check that the APS mode of operation of opposite end communication equipment just can carry out the configuration of local terminal communication equipment, and being easy in view procedure and layoutprocedure produces configuration error, cause not mating of the APS mode of operation of the communication equipment of both link ends, affect the starting state of APS handoff protocol state machine.
Summary of the invention
The invention provides a kind of collocation method and equipment of APS mode of operation, in order to realize the automatic configuration of the APS mode of operation on communication equipment.
For achieving the above object, one aspect of the present invention provides a kind of collocation method of APS mode of operation, and described method at least comprises the following steps:
When the APS mode of operation configuration carrying out self according to opposite end APS mode of operation determined by communication equipment, described communication equipment judges to be received from the synchronous digital signal framework SDH frame of the communication equipment of opposite end whether comprise shift mode information;
If described SDH frame comprises described shift mode information, described communication equipment configures the APS mode of operation of self according to the backup mode information in described SDH frame and shift mode information, if do not comprised, described communication equipment configures the APS mode of operation of self according to the backup mode information of local terminal and shift mode information.
On the other hand, present invention also offers a kind of communication equipment, described communication equipment comprises:
Communication module, the SDH frame that the communication equipment for receiving opposite end sends;
Determination module, for determining that whether described communication equipment carries out the APS mode of operation configuration of self according to opposite end APS mode of operation;
Judge module, for determine when described determination module described communication equipment according to opposite end APS mode of operation carry out self APS mode of operation configuration time, judge described communication module is received from the SDH frame of the communication equipment of opposite end whether comprise shift mode information;
Configuration module, during for judging that described SDH frame comprises described shift mode information at described judge module, configures the APS mode of operation of described communication equipment according to the backup mode information in described SDH frame and shift mode information.
Compared with prior art, the present invention has the following advantages:
By applying technical scheme of the present invention, communication equipment can be made by corresponding communication information to be known the APS mode of operation of the communication equipment of opposite end, and the APS mode of operation of adaptive configuration self accordingly, thus, achieve the automatic configuration of communication equipment for the APS mode of operation of self, ensure that the consistency of the APS mode of operation of local terminal and opposite end, reduce the complexity of the layoutprocedure of communication equipment being carried out to APS mode of operation, decrease the wrong hidden danger that the process of manually carrying out the configuration of APS mode of operation and inquiry opposite end configuration information is brought, improve allocative efficiency and the accuracy of corresponding APS layoutprocedure.
Accompanying drawing explanation
Fig. 1 is the know-why schematic diagram that in prior art, two-way APS switches;
Fig. 2 is the know-why schematic diagram that in prior art, unidirectional APS switches;
Fig. 3 is the schematic flow sheet of the collocation method of a kind of APS mode of operation proposed by the invention;
Fig. 4 is the schematic flow sheet of the renewal process in the collocation method of a kind of APS mode of operation proposed by the invention;
Fig. 5 is the schematic flow sheet of the collocation method of APS mode of operation under a kind of embody rule scene proposed by the invention;
Fig. 6 is the schematic flow sheet of the renewal process in the collocation method of APS mode of operation under a kind of embody rule scene proposed by the invention;
Fig. 7 is the structural representation of a kind of communication equipment proposed by the invention.
Embodiment
As stated in the Background Art, the configuration of APS mode of operation (comprising backup mode and switch mode) is carried out in existing communication equipment, all often carry out manually, need on the one hand to increase more manual operation, on the other hand, when only carrying out the configuration of APS mode of operation to the communication equipment of link one end or upgrade, also need to consider the adaptation with the APS mode of operation of the communication equipment of opposite end, operating process is loaded down with trivial details, and allocative efficiency is low.
In order to overcome such problem, the present invention proposes a kind of collocation method of APS mode of operation, when carrying out the configuration of APS mode of operation to a communication equipment, the APS mode of operation that can directly configure according to the communication equipment of opposite end carries out local automatic configuration or renewal, thus, while raising allocative efficiency, also achieve the adaptation of the APS mode of operation configured with the communication equipment of opposite end, ensure that the normal operation of the APS mode of operation after configuration.
As shown in Figure 3, be the schematic flow sheet of the collocation method of a kind of APS mode of operation of the present invention's proposition, the method specifically comprises the following steps:
Step S301, communication equipment receive the SDH frame of the communication equipment of opposite end.
In concrete application scenarios, sending SDH frame to adjacent communication equipment is that communication equipment normality is under normal operating conditions arranged, therefore, in this step, communication equipment access network and start after, the reception of the SDH frame that the communication equipment that just directly can carry out opposite end sends.
Step S302, communication equipment determine whether the APS mode of operation configuration carrying out self according to opposite end APS mode of operation.
When the APS mode of operation configuration carrying out self according to opposite end APS mode of operation determined by communication equipment, perform step S303;
When the APS mode of operation configuration not carrying out self according to opposite end APS mode of operation determined by communication equipment, communication equipment configures the APS mode of operation of self according to the backup mode information of local terminal and shift mode information.
Step S303, communication equipment judge to be received from the SDH frame of the communication equipment of opposite end whether comprise shift mode information.
If judge that this SDH frame comprises shift mode information, perform step S304;
If judge that this SDH frame does not comprise shift mode information, communication equipment configures the APS mode of operation of self according to the backup mode information of local terminal and shift mode information.
Step S304, communication equipment configure the APS mode of operation of self according to the backup mode information in SDH frame and shift mode information.
After executing above-mentioned processing procedure, communication equipment completes the configuration of the APS mode of operation of self, and afterwards, self APS communication device initiated, performs corresponding business process.
Further, after self APS communication device initiated, if communication equipment receives APS interrupt Indication message, also need to carry out corresponding APS mode of operation update process, concrete handling process as shown in Figure 4, comprises the following steps:
Step S401, communication equipment determine whether the APS mode of operation configuration carrying out self according to opposite end APS mode of operation.
When the APS mode of operation configuration carrying out self according to opposite end APS mode of operation determined by communication equipment, perform step S402;
When the APS mode of operation configuration not carrying out self according to opposite end APS mode of operation determined by communication equipment, the APS mode of operation upgrading self abandoned by communication equipment.
Step S402, communication equipment judge the APS received interrupts whether comprising shift mode information in Indication message.
If communication equipment judges that APS interrupts comprising shift mode information in Indication message, perform step S403;
If communication equipment judges that APS interrupts not comprising shift mode information in Indication message, communication equipment stops the APS mode of operation of amendment self.
Step S403, communication equipment judge the backup mode information of backup mode information that APS interrupts comprising in Indication message and shift mode information and the APS pattern information of self and shift mode information whether consistent.
If judged result is inconsistent, then need the APS pattern information reconfiguring local terminal, perform step S404;
If judged result is consistent, then do not need the APS pattern information reconfiguring local terminal, communication equipment stops the APS mode of operation of amendment self.
Step S404, communication equipment interrupt the APS mode of operation of backup mode information and the shift mode information renewal self comprised in Indication message according to APS.
Compared with prior art, the present invention has the following advantages:
By applying technical scheme of the present invention, communication equipment can be made by corresponding communication information to be known the APS mode of operation of the communication equipment of opposite end, and the APS mode of operation of adaptive configuration self accordingly, thus, achieve the automatic configuration of communication equipment for the APS mode of operation of self, ensure that the consistency of the APS mode of operation of local terminal and opposite end, reduce the complexity of the layoutprocedure of communication equipment being carried out to APS mode of operation, decrease the wrong hidden danger that the process of manually carrying out the configuration of APS mode of operation and inquiry opposite end configuration information is brought, improve allocative efficiency and the accuracy of corresponding APS layoutprocedure.
Below, in conjunction with concrete application scenarios, technical scheme proposed by the invention is described.
As shown in Figure 5, be the schematic flow sheet of the collocation method of the APS mode of operation under a kind of embody rule scene of the present invention's proposition, after communication device configured APS startup comes into force, the method specifically comprises the following steps:
The SDH frame that the communication equipment that step S501, communication equipment receive opposite end sends.
Step S502, communication equipment determine whether the APS mode of operation configuration carrying out self according to opposite end APS mode of operation.
If judged result is yes, perform step S503;
If judged result is no, perform step S506.
In the application scenarios of reality, consider the compatibility with the technology of existing manual configuration APS mode of operation, in technical scheme proposed by the invention simultaneously compatible manual configuration with automatically configure two kinds of configuration modes, concrete implementation is the setting being configured mode in a communications device, communication equipment needs at it identification being configured mode during configuration or the renewal carrying out APS mode of operation, if recognition result is auto configuration mode, the APS mode of operation configuration of self is then carried out according to opposite end APS mode of operation, if recognition result is manual configuration, then continue to use the configuration that existing manual configuration mode carries out APS mode of operation.By such technical scheme, can be implemented in communication equipment carries out APS mode of operation flexibly configuration by auto configuration mode or manual configuration mode, increase the flexibility of corresponding hardware configuration deployment strategy.
In concrete application scenarios, the way of realization of above-mentioned configuration mode can be realized by instruction mode, specifically as shown in table 1.
The instruction of table 1 configuration mode
Command forms Order implication
Mode-Gen peer-Match The APS mode of operation of the communication equipment of coupling opposite end
Mode-Gen Local-Config The APS mode of operation configuration of coupling local terminal
In concrete enforcement scene, if the content recognized is " Mode-Gen peer-Match ", then determine that the configuration mode of the APS mode of operation of self is that the APS mode of operation of the communication equipment of adaptive opposite end carries out adaptation, if the content recognized is " Mode-Gen Local-Config ", then determine that the configuration mode of the APS mode of operation of self is the configuration that the configuration information directly applying local terminal carries out APS mode of operation, the similar and manual configuration process flow process of the prior art of concrete workflow.
In the application of reality; above-mentioned instruction type and setting means can adjust according to actual needs; and the processing mode that can reach configuration mode setting equally can be applied to the technical program equally, and such change does not affect protection scope of the present invention.
The content of the K2 byte in the SDH frame received by step S503, communication equipment obtain.
In concrete application scenarios, the whether effective basis for estimation of APS operating mode information for opposite end in technical scheme proposed by the invention can set for the byte in SDH frame format head in conjunction with in APS handoff protocol, is set by the content of information entrained in SDH frame.
Such as, can by the content in the K2 byte of SDH frame as basis for estimation, in existing APS handoff protocol, the implication representated by the content in the bit6 ~ bit8 of K2 byte is as shown in table 2:
Table 2 K2 [6:8] Operation Mode or Non-APS Use
(mode of operation state representated by the bit6 ~ bit8 of K2 byte or non-APS purposes)
Bit contents Representative state content
111 Line AIS (Line Alarm Indication Signal, alarm indication signal link)
110 Line RDI (Line Remote Defect Indication, remote bug instruction link)
101 Bidirectional Mode (two-way switch mode)
100 Unidirectional Mode (unidirectional handover pattern)
Other Reserved for future use (being that other following purposes are reserved)
Consider in above-mentioned every content, other guide all illustrates the state content of non-APS, and only have 101 and 100 to illustrate switch mode in APS mode of operation, also only have the APS mode of operation just representing opposite end at this moment in running order, therefore, if need to carry out APS mode of operation to the communication equipment of local terminal to be configured, so, in order to ensure that the APS mode of operation after configuring can normally work, need by the APS mode of operation of local terminal and the APS mode of operation of opposite end suitable, namely the APS mode of operation configured according to the communication equipment of opposite end carries out the APS mode of operation configuration of local terminal.
Based on above-mentioned analysis, pre-conditionedly can be set as aforesaid: the content in the bit6 ~ bit8 of the K2 byte of the SDH frame received is 101 or 100, to be i.e. in the bit6 ~ bit8 of K2 byte, to carry the switch mode configuration information of the communication equipment of opposite end.Only when meeting this and being pre-conditioned, just determine that the APS mode of operation of the communication equipment of opposite end starts, this APS operating mode information entrained by SDH frame is effective, otherwise, judge that the APS mode of operation of the communication equipment of opposite end is not activated, this APS operating mode information entrained by SDH frame is invalid.
Based on above-mentioned analysis, after getting the content of K2 byte of SDH frame, perform step S504 further.
Step S504, communication equipment judge that whether Bit6 ~ the Bit8 of K2 byte is effective.
If effectively, namely the content of Bit6 ~ Bit8 is 101 or 100, then perform step S505;
If invalid, namely the content of Bit6 ~ Bit8 is the other guide beyond 101 or 100, then perform step S506.
The APS operating mode information that the communication equipment that step S505, communication equipment obtain opposite end from SDH frame configures, and the APS mode of operation configuring self according to APS operating mode information.
As stated in the Background Art, APS mode of operation mainly comprises switch mode and backup mode, therefore, if the switch mode of the communication equipment of opposite end and the configuration information of backup mode can be obtained, then local communication equipment just can carry out the configuration of local APS mode of operation according to such configuration information, so, in the application process of reality, the processing procedure of the APS operating mode information that the communication equipment obtaining opposite end in SDH frame in this step configures is specially the process of the switch mode of the communication equipment obtaining opposite end in SDH frame respectively and the configuration information of backup mode.
Further combined with aforesaid application scenarios, when the content judging in the bit6 ~ bit8 of K2 byte is in step s 302 101 or 100, communication equipment confirms that the APS operating mode information entrained by SDH frame is effective, therefore, obtain the content in the bit6 ~ bit8 of K2 byte as the communication equipment of opposite end switch mode configuration information (as previously mentioned, 101 is two-way switch mode, 100 is unidirectional handover pattern), and obtain the backup mode configuration information of the content in the bit5 of K2 byte as the communication equipment of opposite end further (in the application of reality, the backup mode of 1+1 can be represented with 0, the backup mode of 1 expression 1:n), after the switch mode configuration information of communication equipment completing opposite end and the acquisition of backup mode configuration information, this communication equipment just can complete the configuration of the APS mode of operation of self according to these configuration informations.
Step S506, communication equipment use the APS mode of operation of the APS mode of operation configuration self of local terminal.
If the judged result in step S502 is no, then represent that this communication equipment still continues to use prior art, directly carry out the configuration of the APS mode of operation of this communication equipment according to the APS work mode configuration information of local terminal.
If and the judged result in step S504 is invalid, then represent that the APS mode of operation in the communication equipment of opposite end is not activated, or the APS operating mode information that cannot get in the communication equipment of opposite end accurately, therefore, the configuration of the APS mode of operation of self can not be carried out according to the APS operating mode information of the communication equipment of opposite end, in concrete application scenarios, on the one hand, the APS mode of operation of the APS mode of operation configuration self of the use local terminal proposed in this step can be applied, on the other hand, processing policy in such cases can also be pre-configured in, such as:
(1) default configuration
Be configured according to acquiescence APS mode of operation collocation strategy, such acquiescence APS mode of operation collocation strategy can pre-set in a communications device, also can be a kind of default configuration being applicable to all communication equipments, everyly all will directly apply this default configuration when not configuring concrete ASP operating mode information, thus, ensure that communication equipment can configure APS mode of operation, and carry out follow-up start treatment, the content of concrete acquiescence APS mode of operation collocation strategy can adjust according to the needs of embody rule scene, such change does not affect protection scope of the present invention.
(2) manual configuration
Namely the mode of carrying out configuration automatically according to the APS operating mode information of the communication equipment of opposite end is abandoned; and again continue to use existing manual configuration scheme; the APS operating mode information of manual configuration can be configured to (i.e. the APS mode of operation of the APS mode of operation configuration self of aforesaid use local terminal) in communication equipment in advance; also can when the judged result of step S504 be invalid; prompting or alarm is sent by communication equipment; manual configuration is carried out in prompting, and such change does not affect protection scope of the present invention.
(3) configuration is abandoned
Namely when the judged result of step S504 is invalid, directly abandon the configuration this communication equipment being carried out to APS mode of operation, this kind of strategy can be applied in the system environments allowing not apply APS, and, if abandon configuration, whether send prompting to user or network manager, can be configured according to actual needs.
In the application scenarios of reality, except above-mentioned three kinds of subsequent treatment strategies, can also determine the processing policy of other types according to actual needs, which kind of subsequent treatment strategy of embody rule, can't affect protection scope of the present invention.
By the processing procedure of above-mentioned steps S505 or step S506, communication equipment completes the configuration of the APS mode of operation of self, then, performs step S507.
Step S507, communication equipment normally start APS process, realize corresponding transfer of data to the communication equipment of opposite end.
It is further noted that, starting APS process and carrying out in the process of normal transfer of data, if the communication equipment of opposite end needs adjustment APS mode of operation, the APS that the communication equipment that communication equipment can receive opposite end sends interrupts Indication message, notify that this communication equipment carries out the config update of APS mode of operation, corresponding renewal process and aforesaid layoutprocedure similar, its schematic flow sheet as shown in Figure 6, specifically comprises the following steps:
Step S601, communication equipment receive APS and interrupt Indication message.
Step S602, communication equipment determine whether the APS mode of operation configuration carrying out self according to opposite end APS mode of operation.
If judged result is yes, perform step S603;
If judged result is no, perform step S608.
APS received by step S603, communication equipment obtain interrupts the content of the K2 byte in Indication message.
In concrete enforcement scene, the effect that APS interrupts Indication message can be specially the change notifying K2 byte, so the K2 change information that this step is directly interrupted in Indication message according to APS carries out follow-up basis for estimation.
Step S604, communication equipment judge that whether Bit6 ~ the Bit8 of K2 byte is effective.
Concrete judgment rule arranges the explanation with reference to aforesaid step S503 to step S504, at this no longer repeated description.
If effectively, namely the content of Bit6 ~ Bit8 is 101 or 100, then perform step S605;
If invalid, namely the content of Bit6 ~ Bit8 is the other guide beyond 101 or 100, then perform step S608.
The information of the APS mode of operation that the communication equipment that step S605, communication equipment interrupt obtaining opposite end Indication message from APS configures.
Concrete acquisition process is with reference to the explanation in aforesaid step S505, and the content obtained comprises the switch mode of the communication equipment of opposite end and the configuration information of backup mode.
Step S606, communication equipment judge that whether self current configured APS mode of operation is consistent with the APS mode of operation that the communication equipment of the opposite end again got configures.
Namely the renewal that there occurs APS operating mode information is determined whether.
If inconsistent, then perform step S607;
If consistent, then perform step S608.
Step S607, communication equipment upgrade the APS mode of operation of self according to the APS operating mode information again got.
After renewal completes, communication equipment restarts APS process, continues to realize corresponding transfer of data to the communication equipment of opposite end.
The APS mode of operation upgrading self abandoned by step S608, communication equipment.
Under the scene performing this step, communication equipment continues to perform current APS process, carries out transfer of data with the communication equipment of opposite end.
By above-mentioned configuration flow and more new technological process, realize automatic configuration and the renewal of the APS mode of operation in communication equipment, and keep adaptive with the APS mode of operation that configures in the communication equipment of opposite end, thus, ensure that the normal operation of APS process in communication equipment.
Compared with prior art, the present invention has the following advantages:
By applying technical scheme of the present invention, communication equipment can be made by corresponding communication information to be known the APS mode of operation of the communication equipment of opposite end, and the APS mode of operation of adaptive configuration self accordingly, thus, achieve the automatic configuration of communication equipment for the APS mode of operation of self, ensure that the consistency of the APS mode of operation of local terminal and opposite end, reduce the complexity of the layoutprocedure of communication equipment being carried out to APS mode of operation, decrease the wrong hidden danger that the process of manually carrying out the configuration of APS mode of operation and inquiry opposite end configuration information is brought, improve allocative efficiency and the accuracy of corresponding APS layoutprocedure.
In order to realize technical scheme of the present invention, based on aforesaid explanation, the invention allows for a kind of communication equipment, as shown in Figure 7, this communication equipment specifically comprises its structural representation:
Communication module 71, the SDH frame that the communication equipment for receiving opposite end sends;
Determination module 72, for determining whether the APS mode of operation configuration carrying out local terminal according to opposite end APS mode of operation;
Judge module 73, during for determining the APS mode of operation configuration carrying out local terminal according to opposite end APS mode of operation when determination module 72, judges communication module 71 is received from the SDH frame of the communication equipment of opposite end whether comprise shift mode information;
Configuration module 74, during for judging that this SDH frame comprises shift mode information at judge module 73, configures the APS mode of operation of local terminal according to the backup mode information in SDH frame and shift mode information.
Further, configuration module 74, time also for determining the APS mode of operation configuration not carrying out local terminal according to opposite end APS mode of operation when determination module 72, according to the backup mode information of local terminal and the APS mode of operation of shift mode information configuration local terminal.
In the application scenarios of reality, due to the renewal process of APS mode of operation also may be there is, so above-mentioned each module also has following functions:
Communication module 71, also interrupts Indication message for receiving APS;
Determination module 72, time also for receiving APS interruption Indication message in communication module 71, determines whether the APS mode of operation configuration carrying out local terminal according to opposite end APS mode of operation;
Judge module 73, time also for determining the APS mode of operation configuration carrying out local terminal according to opposite end APS mode of operation when determination module 72, judge the APS that communication module 71 receives interrupts whether comprising shift mode information in Indication message, and when judged result is for comprising, judge the backup mode information of backup mode information that this APS interrupts comprising in Indication message and shift mode information and the APS pattern of local terminal and shift mode information whether consistent;
Configuration module 74, also for when the judged result of judge module 73 is consistent, upgrade the APS mode of operation of local terminal according to the backup mode information in APS interruption Indication message and shift mode information, when the judged result of judge module 73 is inconsistent, stop the APS mode of operation of amendment local terminal.
Under this application scenarios, configuration module 74, also interrupts Indication message for receiving APS in communication module 71, and when determination module 72 determines the APS mode of operation configuration not carrying out local terminal according to opposite end APS mode of operation, stops the APS mode of operation of amendment local terminal; Or,
When judge module 73 judges that the APS that communication module 71 receives interrupts not comprising shift mode information in Indication message, stop the APS mode of operation of amendment local terminal.
What needs further illustrated is, based on technological thought of the present invention, communication equipment also needs to have the function APS mode of operation of self being informed to the communication equipment of opposite end, therefore, communication module 71, also for after the APS mode of operation that configures at configuration module 74 or upgrade local terminal, the communication equipment to opposite end comprises the backup mode information of local terminal and the SDH frame of shift mode information.
Compared with prior art, the present invention has the following advantages:
By applying technical scheme of the present invention, communication equipment can be made by corresponding communication information to be known the APS mode of operation of the communication equipment of opposite end, and the APS mode of operation of adaptive configuration self accordingly, thus, achieve the automatic configuration of communication equipment for the APS mode of operation of self, ensure that the consistency of the APS mode of operation of local terminal and opposite end, reduce the complexity of the layoutprocedure of communication equipment being carried out to APS mode of operation, decrease the wrong hidden danger that the process of manually carrying out the configuration of APS mode of operation and inquiry opposite end configuration information is brought, improve allocative efficiency and the accuracy of corresponding APS layoutprocedure.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention can by hardware implementing, and the mode that also can add necessary general hardware platform by software realizes.Based on such understanding, technical scheme of the present invention can embody with the form of software product, it (can be CD-ROM that this software product can be stored in a non-volatile memory medium, USB flash disk, portable hard drive etc.) in, comprise some instructions and perform each method implementing described in scene of the present invention in order to make a computer equipment (can be personal computer, server, or the network equipment etc.).
It will be appreciated by those skilled in the art that accompanying drawing is a schematic diagram preferably implementing scene, the module in accompanying drawing or flow process might not be that enforcement the present invention is necessary.
It will be appreciated by those skilled in the art that the module in the device implemented in scene can carry out being distributed in the device of enforcement scene according to implementing scene description, also can carry out respective change and being arranged in the one or more devices being different from this enforcement scene.The module of above-mentioned enforcement scene can merge into a module, also can split into multiple submodule further.
The invention described above sequence number, just to describing, does not represent the quality implementing scene.
Be only several concrete enforcement scene of the present invention above, but the present invention is not limited thereto, the changes that any person skilled in the art can think of all should fall into protection scope of the present invention.

Claims (8)

1. a collocation method for automatic protection switching APS mode of operation, is characterized in that, described method at least comprises the following steps:
When the APS mode of operation configuration carrying out self according to opposite end APS mode of operation determined by communication equipment, described communication equipment judges whether the synchronous digital signal framework SDH frame being received from the communication equipment of opposite end comprises shift mode information;
If described SDH frame comprises described shift mode information, described communication equipment configures the APS mode of operation of self according to the backup mode information in described SDH frame and shift mode information, if do not comprised, described communication equipment configures the APS mode of operation of self according to the backup mode information of local terminal and shift mode information;
If described communication equipment receives APS interrupt Indication message, described method also comprises:
When the APS mode of operation configuration carrying out self according to opposite end APS mode of operation determined by communication equipment, described communication equipment judges described APS interrupts whether comprising shift mode information in Indication message;
If described communication equipment judges that described APS interrupts comprising shift mode information in Indication message, described communication equipment judge described APS interrupt in Indication message with the backup mode information of the APS pattern information of self and shift mode information whether consistent;
If judged result is inconsistent, described communication equipment interrupts the APS mode of operation of backup mode information and the shift mode information renewal self comprised in Indication message according to described APS, if judged result is consistent, described communication equipment stops the APS mode of operation of amendment self.
2. the method for claim 1, is characterized in that, also comprises:
When the APS mode of operation configuration not carrying out self according to opposite end APS mode of operation determined by described communication equipment, described communication equipment configures the APS mode of operation of self according to the backup mode information of local terminal and shift mode information.
3. the method for claim 1, is characterized in that, if described communication equipment receives APS interrupt Indication message, described method also comprises:
When the APS mode of operation configuration not carrying out self according to opposite end APS mode of operation determined by communication equipment, described communication equipment stops the APS mode of operation of amendment self.
4. the method for claim 1, is characterized in that, after described communication equipment judges that described APS interrupts whether comprising shift mode information in Indication message, described method also comprises:
If described communication equipment judges that described APS interrupts not comprising shift mode information in Indication message, described communication equipment stops the APS mode of operation of amendment self.
5. a communication equipment, is characterized in that, comprising:
Communication module, the SDH frame that the communication equipment for receiving opposite end sends; Also interrupt Indication message for receiving APS;
Determination module, for determining whether the APS mode of operation configuration carrying out local terminal according to opposite end APS mode of operation; Time also for receiving APS interruption Indication message in described communication module, determine whether the APS mode of operation configuration carrying out local terminal according to opposite end APS mode of operation;
Judge module, during for determining the APS mode of operation configuration carrying out self according to opposite end APS mode of operation when described determination module, judges described communication module is received from the SDH frame of the communication equipment of opposite end whether comprise shift mode information; Time also for determining the APS mode of operation configuration carrying out local terminal according to opposite end APS mode of operation when described determination module, judge the APS that described communication module receives interrupts whether comprising shift mode information in Indication message, and when judged result is for comprising, judge the backup mode information of backup mode information that described APS interrupts comprising in Indication message and shift mode information and the APS pattern of local terminal and shift mode information whether consistent;
Configuration module, during for judging that described SDH frame comprises described shift mode information at described judge module, configures the APS mode of operation of local terminal according to the backup mode information in described SDH frame and shift mode information; Also for when the judged result of described judge module is consistent, the APS mode of operation of local terminal is upgraded according to the backup mode information in described APS interruption Indication message and shift mode information, when the judged result of described judge module is inconsistent, stop the APS mode of operation of amendment local terminal.
6. communication equipment as claimed in claim 5, is characterized in that, described configuration module, also for:
When described determination module determines the APS mode of operation configuration not carrying out local terminal according to opposite end APS mode of operation, according to the backup mode information of local terminal and the APS mode of operation of shift mode information configuration local terminal.
7. communication equipment as claimed in claim 5, is characterized in that, described configuration module, also for:
Receive APS in described communication module and interrupt Indication message, and when described determination module determines the APS mode of operation configuration not carrying out local terminal according to opposite end APS mode of operation, stop the APS mode of operation of amendment local terminal; Or,
When described judge module judges that the APS that described communication module receives interrupts not comprising shift mode information in Indication message, stop the APS mode of operation of amendment local terminal.
8. as the communication equipment in claim 5 to 6 as described in any one, it is characterized in that, described communication module, also for:
After described configuration module configures or upgrades the APS mode of operation of described communication equipment, the communication equipment to opposite end comprises the backup mode information of local terminal and the SDH frame of shift mode information.
CN201110029841.1A 2011-01-27 2011-01-27 Configuration method and equipment for auto protocol switch (APS) working mode Active CN102075279B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110029841.1A CN102075279B (en) 2011-01-27 2011-01-27 Configuration method and equipment for auto protocol switch (APS) working mode

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110029841.1A CN102075279B (en) 2011-01-27 2011-01-27 Configuration method and equipment for auto protocol switch (APS) working mode

Publications (2)

Publication Number Publication Date
CN102075279A CN102075279A (en) 2011-05-25
CN102075279B true CN102075279B (en) 2015-04-15

Family

ID=44033638

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110029841.1A Active CN102075279B (en) 2011-01-27 2011-01-27 Configuration method and equipment for auto protocol switch (APS) working mode

Country Status (1)

Country Link
CN (1) CN102075279B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103139186B (en) * 2011-12-02 2015-12-16 华为技术有限公司 Working mode adaptive method in next generation network, Apparatus and system
CN103297274A (en) * 2013-06-08 2013-09-11 华为技术有限公司 Auto-negotiation method for automatic protection switching (APS) and receiving end device
CN107426327A (en) * 2017-08-04 2017-12-01 无锡天脉聚源传媒科技有限公司 A kind of link switch-over method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1193852A (en) * 1997-03-19 1998-09-23 富士通株式会社 Method and apparatus for nested automatic protection switching
CN1295397A (en) * 1999-11-04 2001-05-16 深圳市中兴通讯股份有限公司 Automatically protected switching method and device in high rate SDH loop
CN1579064A (en) * 2001-09-04 2005-02-09 朗米·谢尔雅·冈达 Method for supporting sdh/sonet aps on ethernet
CN1925415A (en) * 2005-08-29 2007-03-07 华为技术有限公司 Method and device for inverting mode match verifying of protected field both extremities protecting group
CN101146115A (en) * 2005-04-15 2008-03-19 华为技术有限公司 Implementation method for bidirectional protective switching of multi-protocol label switching

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1193852A (en) * 1997-03-19 1998-09-23 富士通株式会社 Method and apparatus for nested automatic protection switching
CN1295397A (en) * 1999-11-04 2001-05-16 深圳市中兴通讯股份有限公司 Automatically protected switching method and device in high rate SDH loop
CN1579064A (en) * 2001-09-04 2005-02-09 朗米·谢尔雅·冈达 Method for supporting sdh/sonet aps on ethernet
CN101146115A (en) * 2005-04-15 2008-03-19 华为技术有限公司 Implementation method for bidirectional protective switching of multi-protocol label switching
CN1925415A (en) * 2005-08-29 2007-03-07 华为技术有限公司 Method and device for inverting mode match verifying of protected field both extremities protecting group

Also Published As

Publication number Publication date
CN102075279A (en) 2011-05-25

Similar Documents

Publication Publication Date Title
US20190288936A1 (en) Protection switching method and system, and network device
KR101209650B1 (en) Information processing device, virus management facility device and virus disinfection method
CN101257405B (en) Method for implementing double chain circuits among master-salve equipments
JP2006295563A (en) Mobile communication system and mobile apparatus
CN101610533A (en) A kind of method and apparatus of realizing that the access controller backup is switched
US20200359450A1 (en) Notification method and device for execution of pdcp data recovery
CN102075279B (en) Configuration method and equipment for auto protocol switch (APS) working mode
CN109450707B (en) Data transmission method and device, gateway equipment and readable storage medium
US9621455B2 (en) Cross-device linear multiplex section protection method, gateway and controller
CN102882704A (en) Link protection method and apparatus in soft restart upgrade process of ISSU (in-service software upgrade)
EP3306862A1 (en) Negotiation mode processing method and intelligent network device
CN100558009C (en) Based on simple network to the time agreement method for synchronizing network time
EP3002906A1 (en) Method and device for updating radio network controller
CN111371680B (en) Route management method, device, equipment and storage medium for dual-computer hot standby
CN103888283B (en) A kind of SCTP communication means and device
CN104426644A (en) Equipment time synchronization method and device
JP2009017114A (en) Software program downloading and updating method for radio terminal station
CN101247213A (en) Method and system for master/standby rearrangement
EP1793626A1 (en) System and method for implementing service switching
CN101984720A (en) Reconfiguration method of radio link, system and radio network controller (RNC)
CN114513406A (en) Interface configuration method and device
CN104080195A (en) Multi-system all-in-one machine networking method and multi-system all-in-one machine
CN112468318B (en) Dual-redundancy time-triggered network reconstruction method
JP7478277B1 (en) SIM, communication device, switching method, and program
EP2533602B1 (en) Radio remote unit and self-adapting method for upper and lower connection of optical interface thereof

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
CP03 Change of name, title or address
CP03 Change of name, title or address

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

Patentee after: NEW H3C TECHNOLOGIES Co.,Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Patentee before: HANGZHOU H3C TECHNOLOGIES Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230629

Address after: 310052 11th Floor, 466 Changhe Road, Binjiang District, Hangzhou City, Zhejiang Province

Patentee after: H3C INFORMATION TECHNOLOGY Co.,Ltd.

Address before: 310052 Changhe Road, Binjiang District, Hangzhou, Zhejiang Province, No. 466

Patentee before: NEW H3C TECHNOLOGIES Co.,Ltd.