CN108234156A - The method and apparatus of transmitting message - Google Patents

The method and apparatus of transmitting message Download PDF

Info

Publication number
CN108234156A
CN108234156A CN201611144819.0A CN201611144819A CN108234156A CN 108234156 A CN108234156 A CN 108234156A CN 201611144819 A CN201611144819 A CN 201611144819A CN 108234156 A CN108234156 A CN 108234156A
Authority
CN
China
Prior art keywords
equipment
mep
veneer
ais
state machine
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201611144819.0A
Other languages
Chinese (zh)
Other versions
CN108234156B (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.)
Huawei Technologies Co Ltd
XFusion Digital Technologies Co Ltd
Original Assignee
Beijing Huawei Digital 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 Beijing Huawei Digital Technologies Co Ltd filed Critical Beijing Huawei Digital Technologies Co Ltd
Priority to CN201611144819.0A priority Critical patent/CN108234156B/en
Publication of CN108234156A publication Critical patent/CN108234156A/en
Application granted granted Critical
Publication of CN108234156B publication Critical patent/CN108234156B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0631Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/24Multipath
    • H04L45/245Link aggregation, e.g. trunking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/4557Distribution of virtual machine instances; Migration and load balancing

Abstract

The application provides a kind of method and apparatus of transmitting message, and this method includes:Include aggregated links group between first equipment and the second equipment, the state machine for safeguarding destination node MEP of the first equipment is currently located on the first veneer of the first equipment, and the MEP of the first equipment is identical with the rank of the MEP of the second equipment, and this method includes:When the state machine of the MEP of the first equipment, start by first veneer, when being migrated to the second veneer of the first equipment, the first equipment inhibits fault warning, and sends alarm indication signal AIS to the second equipment according to predeterminated frequency;It when the state machine of the MEP of the first equipment, completes from first veneer to during the migration of second veneer, the first equipment restores the fault warning, and stops sending the AIS.In this way, effectively inhibited by alarm indication signal AIS it is empty caused by state machine migration time-out alert, simple possible and do not influence intercommunication.

Description

The method and apparatus of transmitting message
Technical field
The present embodiments relate to the communications field, and more particularly, to a kind of method and apparatus of transmitting message.
Background technology
Fault management capability in Ethernet is mainly by periodicity sending continuity check message (Continuity Check Message, referred to as " CCM ") detect failure, maintenance destination node (the Maintenance association of opposite end End Point, referred to as " MEP ") within 3.5 periods it can not receive CCM, then report CCM overtime.
The transmission frequency of CCM for example has 3.3ms-1、10ms-1、100ms-1、1s-1、10s-1、1min-1And 10min-1, wherein 3.3ms and 10ms is mainly used for link protection change, and the transmission frequency of more than 100ms is mainly used for link performance monitoring.CCM's Transmission frequency is very harsh to the performance requirement of equipment, especially 3.3ms-1And 10ms-1CCM send detection and receive detection. Soft pass-through mode can not be realized substantially, it is therefore necessary to quickly be given out a contract for a project by hardware realization.
For distributed apparatus, send state machine and user equipment needs hardware realization in interface board, but if The port of the MEP bindings of equipment is the link aggregation group (English for having straddle member port:Trunk port), then just uncomfortable Veneer where closing each member port in group trunk, which creates, sends state machine and user equipment, this is because each member The link of mouth, which all transmits CCM, can aggravate link burden, waste bandwidth, while the testing result of multiple user equipments also needs to lead to It crosses arbitration and determines a final result, therefore general consideration only is created to send on veneer where a member port in trunk and be received State and user equipment detect the link of trunk.
If there is member port exits trunk (such as causing due to exiting etc. board resetting or by hand), then shape State machine will move to the veneer where other member ports.If state machine does not move to the list where other member ports in time Plate, then local device and opposite equip. can report CCM time-out to alert, and be alerted for the time-out of local device, we can be with people To inhibit, but the time-out alarm of opposite equip. is generally then unable to control.
Invention content
The embodiment of the present invention provides a kind of method and apparatus of transmitting message, can effectively inhibit state machine migration time-out The problem of caused empty alarm.
In a first aspect, providing a kind of method of transmitting message, aggregated links is included between the first equipment and the second equipment Group, the state machine for safeguarding destination node MEP of first equipment are currently located on the first veneer of first equipment, and described The MEP of one equipment is identical with the rank of the MEP of second equipment, the method includes:
When the state machine of the MEP of first equipment, start by first veneer, it is single to the second of first equipment When plate migrates, first equipment inhibits fault warning, and sends alarm instruction letter to second equipment according to predeterminated frequency Number AIS, so that second equipment inhibits the fault warning according to the AIS;
When the state machine of the MEP of first equipment, complete from first veneer to during the migration of second veneer, First equipment restores the fault warning, and stops sending the AIS, so that second equipment restores the failure Alarm.
Therefore, in the embodiment of the present invention, caused by alarm indication signal AIS to effectively inhibit state machine migration time-out Empty alarm, simple possible and do not influence intercommunication.
Optionally, in a kind of realization method of first aspect, the state machine of the MEP when first equipment is complete Into from first veneer to during the migration of second veneer, first equipment restores the fault warning, and stops sending out The AIS is sent, including:When the state machine of the MEP of first equipment, complete from first veneer to second veneer During migration, first equipment restores the fault warning after preset duration, and stops sending the AIS.
Optionally, in a kind of realization method of first aspect, the preset duration is 3.5 continuity check message The CCM periods.
Since CCM time-out can be reported to alert when the MEP of the second equipment can not receive CCM within 3.5 periods, so in state Machine migration is when finishing, i.e., the state machine of the MEP of the first equipment is migrated via the first veneer to the second veneer, and the first equipment can be with Stop the transmission of the AIS after waiting for a preset duration, so as to provide sufficient time so that second to the second equipment Equipment can correctly restore alarm function.
Optionally, in a kind of realization method of first aspect, the transmission rank of the AIS is equal to first equipment The rank of MEP.
Here, the rank of the MEP of the first equipment is identical with the rank of the MEP of the second equipment, that is to say, that the first equipment institute The rank in the domain of category is identical with the rank in the domain belonging to the second equipment.In the embodiment of the present invention, AIS be not be used only for it is rudimentary The equipment in other domain sends to carry out alarm inhibition to the equipment in high-level domain, but two can be also used in same level-one domain set Alarm between standby inhibits.
Optionally, in a kind of realization method of first aspect, the predeterminated frequency is 1s-1
Certainly, which can also be by user's sets itself.It is not limited in the embodiment of the present invention.
Second aspect, provides a kind of communication equipment of transmitting message, which can be used for performing aforementioned first aspect And each process performed in the method for the transmitting message described in various realization methods by the first equipment.First equipment with Include aggregated links group between second equipment, the state machine for safeguarding destination node MEP of first equipment is currently located at described the On first veneer of one equipment, the MEP of first equipment is identical with the rank of the MEP of second equipment, and described first sets It is standby to include processing unit, it is used for:
When the state machine of the MEP of first equipment, start by first veneer, it is single to the second of first equipment When plate migrates, inhibit fault warning, and alarm indication signal AIS is sent to second equipment according to predeterminated frequency, so that Second equipment inhibits the fault warning according to the AIS;
When the state machine of the MEP of first equipment, complete from first veneer to during the migration of second veneer, Restore the fault warning, and stop sending the AIS, so that second equipment restores the fault warning.
The third aspect, provides a kind of communication equipment of transmitting message, which includes processor and memory.Institute It states memory and stores program, the processor performs described program, for performing aforementioned first aspect and various realization sides The each process performed in the method for transmitting message described in formula by the second communication equipment.Wherein, first equipment and the Include aggregated links group between two equipment, the state machine for safeguarding destination node MEP of first equipment is currently located at described first On first veneer of equipment, the MEP of first equipment is identical with the rank of the MEP of second equipment, the processing utensil Body is used for:
When the state machine of the MEP of first equipment, start by first veneer, it is single to the second of first equipment When plate migrates, inhibit fault warning, and alarm indication signal AIS is sent to second equipment according to predeterminated frequency, so that Second equipment inhibits the fault warning according to the AIS;
When the state machine of the MEP of first equipment, complete from first veneer to during the migration of second veneer, Restore the fault warning, and stop sending the AIS, so that second equipment restores the fault warning.
Fourth aspect, provides a kind of computer readable storage medium, and the computer-readable recording medium storage has journey Sequence, described program cause above equipment to perform the side of any one of above-mentioned first aspect and its various realization methods transmitting message Method.
5th aspect, provides a kind of method of transmitting message, and aggregated links is included between the first equipment and the second equipment Group, the state machine for safeguarding destination node MEP of first equipment are currently located on the first veneer of first equipment, and described The MEP of one equipment is identical with the rank of the MEP of second equipment, the method includes:
When second equipment receives the alarm indication signal AIS that first equipment is sent according to predeterminated frequency, Second equipment inhibits fault warning according to the AIS, wherein, the state machine that the AIS is the MEP of first equipment is opened Begin what is sent when being migrated from first veneer to second veneer;
When second equipment determines that first equipment stops sending the AIS, described in the second equipment recovery Fault warning, wherein, the state machine that the AIS is the MEP of first equipment is completed from first veneer to described second Stop what is sending during the migration of veneer.
In the embodiment of the present invention, void caused by state machine migration time-out is effectively inhibited by alarm indication signal AIS Alarm, simple possible and does not influence intercommunication.
Optionally, in a kind of realization method of the 5th aspect, when second equipment determines that first equipment stops The AIS sent, second equipment restore the fault warning, including:When second equipment determines that described first sets During the AIS that standby stopping is sent, second equipment restores the fault warning after preset duration.
Optionally, in a kind of realization method of the 5th aspect, the preset duration is 3.5 continuity check message The CCM periods.
Since CCM time-out can be reported to alert when the MEP of the second equipment can not receive CCM within 3.5 periods, so in state Machine migration is when finishing, i.e., the state machine of the MEP of the first equipment is migrated via the first veneer to the second veneer, and the second equipment can be with Restore to alert again after one preset duration of waiting when not receiving AIS messages, so as to which the second equipment has sufficient preparation Time is so that the second equipment can correctly restore alarm function.
Optionally, in a kind of realization method of the 5th aspect, the transmission rank of the AIS is equal to first equipment The rank of MEP.
Here, the rank of the MEP of the first equipment is identical with the rank of the MEP of the second equipment, that is to say, that the first equipment institute The rank in the domain of category is identical with the rank in the domain belonging to the second equipment.In the embodiment of the present invention, AIS be not be used only for it is rudimentary The equipment in other domain sends to carry out alarm inhibition to the equipment in high-level domain, but two can be also used in same level-one domain set Alarm between standby inhibits.
Optionally, in a kind of realization method of the 5th aspect, the predeterminated frequency is 1s-1
Certainly, which can also be by user's sets itself.It is not limited in the embodiment of the present invention.
6th aspect, provides a kind of communication equipment of transmitting message, which can be used for performing aforementioned fourth aspect And each process performed in the method for the transmitting message described in various realization methods by the second equipment.Second equipment with Include aggregated links group between first equipment, the state machine for safeguarding destination node MEP of first equipment is currently located at described the On first veneer of one equipment, the MEP of first equipment is identical with the rank of the MEP of second equipment, and described second sets It is standby to include processing unit, it is used for:
When second equipment receives the alarm indication signal AIS that first equipment is sent according to predeterminated frequency, Fault warning is inhibited according to the AIS, wherein, the state machine that the AIS is the MEP of first equipment starts by described first What veneer was sent when being migrated to second veneer;
When second equipment determines that first equipment stops sending the AIS, restore the fault warning, In, the state machine that the AIS is the MEP of first equipment is completed from first veneer to during the migration of second veneer Stop what is sending.
7th aspect, provides a kind of communication equipment of transmitting message, which includes processor and memory.Institute It states memory and stores program, the processor performs described program, for performing aforementioned first aspect and various realization sides The each process performed in the method for transmitting message described in formula by the second communication equipment.Wherein, the communication equipment is the Two equipment, include aggregated links group between second equipment and the first equipment, first equipment safeguards destination node MEP's State machine is currently located on the first veneer of first equipment, and the MEP of first equipment is with the MEP's of second equipment Rank is identical, and the processor is specifically used for:
When second equipment receives the alarm indication signal AIS that first equipment is sent according to predeterminated frequency, Fault warning is inhibited according to the AIS, wherein, the state machine that the AIS is the MEP of first equipment starts by described first What veneer was sent when being migrated to second veneer;
When second equipment determines that first equipment stops sending the AIS, restore the fault warning, In, the state machine that the AIS is the MEP of first equipment is completed from first veneer to during the migration of second veneer Stop what is sending.
Eighth aspect, provides a kind of computer readable storage medium, and the computer-readable recording medium storage has journey Sequence, described program cause above equipment to perform the side of any one of above-mentioned 5th aspect and its various realization methods transmitting message Method.
Based on above-mentioned technical proposal, in the embodiment of the present invention, transmission AIS that local device passes through alarm indication signal Opposite equip. can effectively inhibit empty alarm caused by state machine migration time-out, and the stopping for passing through AIS sends instruction opposite end Equipment restores alarm function in time, simple possible and does not influence intercommunication.
Description of the drawings
Fig. 1 is a kind of schematic diagram of application scenarios of the embodiment of the present invention.
Fig. 2 is the flow interaction figure of the method for the transmitting message of the embodiment of the present invention.
Fig. 3 is the schematic diagram that the AIS of the embodiment of the present invention is sent.
Fig. 4 is the schematic block diagram of the communication equipment of transmitting message according to embodiments of the present invention.
Fig. 5 is the structure diagram of the communication equipment of transmitting message according to embodiments of the present invention.
Fig. 6 is the schematic block diagram of the communication equipment of transmitting message according to embodiments of the present invention.
Fig. 7 is the structure diagram of the communication equipment of transmitting message according to embodiments of the present invention.
Specific embodiment
Below in conjunction with attached drawing, the technical solution in the embodiment of the present invention is described.
It should be understood that the technical solution of the embodiment of the present invention can be applied to various communication systems, such as:Global system for mobile telecommunications (Global System of Mobile Communication, referred to as " GSM ") system, CDMA (Code Division Multiple Access, referred to as " CDMA ") system, wideband code division multiple access (Wideband Code Division Multiple Access, referred to as " WCDMA ") system, long term evolution (Long Term Evolution, referred to as " LTE ") system, LTE frequency divisions are double Work (Frequency Division Duplex, referred to as " FDD ") system, LTE time division duplexs (Time Division Duplex, Referred to as " TDD "), Universal Mobile Communication System (Universal Mobile Telecommunication System, referred to as " UMTS ") and following 5G communication systems etc..
Fig. 1 is a kind of schematic diagram of application scenarios of the embodiment of the present invention.Show that the first equipment and second is set in Fig. 1 Standby, the first equipment and the second equipment for example can be network lateral edges (Provider Edge, referred to as " PE ") equipment or customer side Edge (Customer Edge, referred to as " CE ") or the network equipments such as other router, interchangers.And the One equipment is deployed with the second equipment safeguards destination node (Maintenance association End Point, abbreviation “MEP”).Wherein, between the first equipment and the second equipment there are aggregated links, in corresponding link aggregation group first is configured with to set The standby MEP and MEP of the second equipment, wherein, the state machine (the later referred to as state machine of the first equipment) of the MEP of the first equipment It is currently located on the first veneer of the first equipment, it is assumed that the port of first veneer is the first member in the link aggregation group Mouthful, the port of the second veneer of the first equipment is the second member port in the link aggregation group.Link of the embodiment of the present invention gathers It is combined (trunk) and is referred to as trunking etc..
If at this moment such as board resetting or manual exit lead to the first member port to the first member port for some reason Exit link aggregation group, then the state machine of the MEP of the first equipment, it is necessary to as on the first veneer where the first member port, On the second veneer for moving to the first equipment where the second member port.
Such as shown in Fig. 1, when being configured with a large amount of MEP in link aggregation group, the state machine of the MEP of the first equipment all exists On first veneer, if link aggregation group is exited in the port of the first veneer, then the state machine of the MEP of the first equipment just needs to move The second veneer is moved on to, if the second veneer can not be adjourned within 3.5 CCM periods, then just will appear the first equipment and second The time-out alarm of equipment, and for 3.3ms-1CCM intervals, 3.5 periods mean less than 12ms, within the so short time The migration (particularly under big specification conditions) of completion status machine is wanted, the requirement to hardware and software is very harsh, because being related to master control Issuing etc. for communication, list item with interface board a large amount of takes processing, this hardly possible completion.
Can not consequence caused by transition state machine be in time:
If the 1st, the state machine migration time-out of local device, reports CCM time-out to alert.
If the 2nd, the state machine migration time-out of opposite equip., reports CCM time-out to alert.
, can be taking human as inhibition when migrating time-out to the state machine of the i.e. MEP of the first equipment of local device, but opposite equip. I.e. the migration time-out of the state machine of the second equipment when, we are unable to control.
That is, for the state transition machine time-out of the first equipment, the first equipment can carry out fault warning, but first sets It is standby actively to be inhibited, and for the second equipment, the state machine migration time-out of the first equipment can carry out fault warning And can not generally it inhibit.
Alarm caused by above-mentioned state machine migration is entirely a kind of empty alarm, but this empty alarm can lead to active and standby chain The invalid switching on road.
Realize the pretection switch of link, it is necessary to the CCM messages of below 10ms are realized with hardware, and are once applied to divide The equipment of cloth then must send and receive state machine in the hardware realization of interface board, in this way under the scene of straddle trunk, It is related to false-alarm problem during state machine migration, depending merely on raising hardware and software calculated performance can not also solve.
And the embodiment of the present invention has by alarm indication signal (Alarm Indication Signal, referred to as " AIS ") Empty alarm caused by effect ground holddown machine migration time-out.
In the prior art, the AIS be used for inhibit to alert, but be mainly used for low level domain break down when, inhibit The failure in the high-level domain of outer layer, such outer users domain is not with regard to having to carry out fault alarm, as long as internal layer operator goes to perceive failure And failure is solved, so as to which network is avoided to reppear now a large amount of invalid alarm.
Fig. 2 shows the flow interaction figures of the method 200 of the determining transmission path of the embodiment of the present invention.In this way by taking Business device is described for performing, wherein, aggregated links group, the maintenance of the first equipment are included between the first equipment and the second equipment The state machine of destination node MEP is currently located on the first veneer of the first equipment, the MEP's of the MEP of the first equipment and the second equipment Rank is identical, as shown in Fig. 2, this method 200 includes:
210, when the state machine of the MEP of the first equipment, start by first veneer, migrated to the second veneer of the first equipment When, the first equipment inhibits fault warning, and sends alarm indication signal AIS to the second equipment according to predeterminated frequency.
220, when the second equipment receives the alarm indication signal AIS that the first equipment is sent according to predeterminated frequency, second Equipment inhibits fault warning according to the AIS.
Wherein, the state machine which is the MEP of the first equipment starts to send when migrating from the first veneer to the second veneer 's.
230, when the state machine of the MEP of the first equipment, complete from the first veneer to during the migration of the second veneer, the first equipment Restore the fault warning, and stop sending the AIS.
240, when the second equipment determines that the first equipment stops sending the AIS, the second equipment restores the fault warning.
Wherein, the state machine which is the MEP of the first equipment is completed from the first veneer to stopping during the migration of the second veneer It sends.
Specifically, when having member port to exit, the first device-aware simultaneously inhibits to alert, and stand in link aggregation group AIS is sent to indicate that the second equipment can inhibit failure to accuse according to the AIS to the MEP of the second equipment i.e. from the MEP of the first equipment It is alert.When the MEP of the second equipment receives AIS of MEP transmissions of the first equipment, the second equipment inhibits alarm, thus will not Generate invalid alarm.
When the state machine migration of the first equipment finishes, i.e., the state machine of the first equipment is via first in link aggregation group The first veneer where member port is migrated to the second veneer where the second member port, then the MEP of the first equipment stops the AIS Transmission, with indicate the second equipment restore the fault warning.When the MEP of second equipment does not receive the MEP of the first equipment, second Equipment restores the fault warning.
Wherein, the state machine of the MEP of the first equipment is referred to as sending state machine, the state machine of the MEP of the second equipment It is referred to as user equipment.
Optionally, the predeterminated frequency for sending AIS can be 1s-1.Certainly, which can also voluntarily be set by user It is fixed.It is not limited in the embodiment of the present invention.
Optionally, the transmission rank of the AIS is equal to the rank of the MEP of the first equipment.It is equal to the MEP of the second equipment in other words Rank.
Here, the rank of the MEP of the first equipment is identical with the rank of the MEP of the second equipment, that is to say, that the first equipment institute The rank in the domain of category is identical with the rank in the domain belonging to the second equipment.In the embodiment of the present invention, AIS be not be used only for it is rudimentary The equipment in other domain sends to carry out alarm inhibition to the equipment in high-level domain, and can be used for two equipment in same grade domain Between alarm inhibit.
In the embodiment of the present invention, void caused by state machine migration time-out is effectively inhibited by alarm indication signal AIS Alarm, simple possible and does not influence intercommunication.
Above-mentioned the first equipment and the second equipment can be network lateral edges (Provider Edge, referred to as " PE ") equipment Or the networks such as client's lateral edges (Customer Edge, referred to as " CE ") or other router, interchangers Equipment, the embodiment of the present invention do not limit.And the method described in the embodiment of the present invention can be applied to the scene of any deployment MEP Under to solve the problems, such as empty caused by state machine migration alert.
Optionally, in 210, when the state machine of the MEP of the first equipment, moving from the first veneer to the second veneer is completed It moves, the first equipment restores the fault warning, and stops sending the AIS, including:When the state machine of the MEP of the first equipment, complete by Migration of first veneer to the second veneer, and by preset duration, the first equipment restores the fault warning, and stops sending and be somebody's turn to do AIS。
Optionally, which can be 3.5 continuity check message CCM periods.
Since CCM time-out can be reported to alert when the MEP of the second equipment can not receive CCM within 3.5 periods, so in state When machine migration finishes, i.e., the state machine of the first equipment and the state machine of the second equipment are migrated via the first veneer to the second list Plate, the first equipment stops the transmission of the AIS after can waiting for a preset duration, so as to provide sufficient standard to the second equipment The standby time is so that the second equipment can correctly restore alarm function.
Below by taking Fig. 3 as an example, the process of the transmitting message of the embodiment of the present invention is described in detail.Fig. 3 is only with the first equipment With the second equipment to be described for PE equipment.As shown in figure 3, PE 10 and PE 20 belong to internal layer low level domain, 30 Hes of CE CE 40 belongs to the high-level domain of outer layer.
The rank of the MEP of PE 10 shown in Fig. 3 is identical with the rank of the MEP of PE 20, i.e. PE 10 and PE 20 belong to same Level-one domain, such as Maintenance Entity (Maintenance Entity Group, abbreviated as MEG) are MEG 2, and grade is Level 3. CE 30 and CE 40 belongs to same level-one domain, such as MEG is MEG 1, and grade is Level 6.Wherein, it is deposited between PE 10 and PE 20 In link aggregation group.
When thering is member port to exit in link aggregation group, when the first equipment needs to carry out state machine migration, the master of the first equipment Control plate perceives and inhibits fault warning, while sends AIS messages from the MEP at 10 ends of PE to the MEP of opposite end PE 20 immediately, should AIS message formats can be consistent with the AIS forms in standard, the MEP of the rank sent in AIS messages and current first equipment and The rank of the MEP of second equipment is identical.The frequency that the AIS is sent can be 1s-1Or user oneself customization other Value.After the MEP of PE 20 receives the AIS, inhibit fault warning so as to which invalid alarm will not be embodied.After state machine migrates, First equipment restores fault warning, and after 3.5 CCM periods, and the MEP of the first equipment stops sending the AIS.The MEP of PE 20 It can not receive AIS and after 3.5 CCM periods, stopping the inhibition to fault warning, restoring normal overtime alarm function.
It should be understood that in various embodiments of the invention, the size of the serial number of above-mentioned each process is not meant to perform sequence Priority, each process execution sequence should be determined with its function and internal logic, without cope with the embodiment of the present invention implementation Journey forms any restriction.
Below in conjunction with Fig. 4, the communication equipment of transmitting message according to embodiments of the present invention is described, embodiment of the method is retouched The technical characteristic stated can be adapted for following device embodiment.
Fig. 4 shows the communication equipment 400 of transmitting message according to embodiments of the present invention.As shown in figure 4, the communication equipment For the first equipment, aggregated links group, the state for safeguarding destination node MEP of the first equipment are included between the first equipment and the second equipment Machine is currently located on the first veneer of the first equipment, and the MEP of the first equipment is identical with the rank of the MEP of the second equipment, the communication Equipment 400 includes processing unit 410, is used for:
When the state machine of the MEP of first equipment, start by first veneer, it is single to the second of first equipment When plate migrates, then inhibit fault warning, and alarm indication signal AIS is sent to second equipment according to predeterminated frequency, so that It obtains second equipment and the fault warning is inhibited according to the AIS;
When the state machine of the MEP of first equipment, complete from first veneer to during the migration of second veneer, Then restore the fault warning, and stop sending the AIS, so that second equipment restores the fault warning.
Therefore, which effectively inhibits void caused by state machine migration time-out by alarm indication signal AIS Alarm, simple possible and does not influence intercommunication.
Optionally, which is specifically used for:When the state machine of the MEP of first equipment, complete by described Migration from one veneer to second veneer when, then restore the fault warning after preset duration, and stop described in transmission AIS。
Optionally, the preset duration is 3.5 continuity check message CCM periods.
Optionally, the transmission rank of the AIS is equal to the rank of the MEP of first equipment.
Optionally, the predeterminated frequency is 1s-1
Fig. 5 shows the structure of the communication equipment of transmitting message provided in an embodiment of the present invention, including at least one processing Device 501 (such as CPU), at least one network interface 503 or other communication interfaces, memory 502 etc..Processor 501, storage It can be communicated between device 502 and network interface 503 by internal connecting path, for transmitting control signal and/or number It is believed that number.Wherein, processor 501 is used to perform the executable instruction such as computer program stored in memory 502.Memory 502 may include high-speed random access memory (Random Access Memory, referred to as " RAM "), it is also possible to further include non- Unstable memory (non-volatile memory) for example, at least magnetic disk storage.At least one net can be passed through Network interface 503 (can be wired or wireless) realizes the communication connection between at least one other network element.
Wherein, which is the first equipment, aggregated links group is included between the first equipment and the second equipment, first sets The standby state machine for safeguarding destination node MEP is currently located on the first veneer of the first equipment, the MEP of the first equipment and the second equipment MEP rank it is identical.
In some embodiments, memory 502 stores program 5021, and processor 501 performs program 5021, for holding Some operations of row:
When the state machine of the MEP of first equipment, start by first veneer, it is single to the second of first equipment When plate migrates, then inhibit fault warning, and alarm indication signal AIS is sent to second equipment according to predeterminated frequency, so that It obtains second equipment and the fault warning is inhibited according to the AIS;
When the state machine of the MEP of first equipment, complete from first veneer to during the migration of second veneer, Then restore the fault warning, and stop sending the AIS, so that second equipment restores the fault warning.
Optionally, which is specifically used for:When the state machine of the MEP of first equipment, complete by described first Migration from veneer to second veneer when, then restore the fault warning after preset duration, and stop described in transmission AIS。
Optionally, the preset duration is 3.5 continuity check message CCM periods.
Optionally, the transmission rank of the AIS is equal to the rank of the MEP of first equipment.
Optionally, the predeterminated frequency is 1s-1
Fig. 6 shows the communication equipment 600 of transmitting message according to embodiments of the present invention.As shown in fig. 6, the communication equipment For the second equipment, aggregated links group, the state for safeguarding destination node MEP of the first equipment are included between the second equipment and the first equipment Machine is currently located on the first veneer of the first equipment, and the MEP of the first equipment is identical with the rank of the MEP of the second equipment, the communication Equipment 600 includes processing unit 610, is used for:
When second equipment receives the alarm indication signal AIS that first equipment is sent according to predeterminated frequency, Fault warning is inhibited according to the AIS, wherein, the state machine that the AIS is the MEP of first equipment starts by described first What veneer was sent when being migrated to second veneer;
When second equipment determines that first equipment stops sending the AIS, restore the fault warning, In, the state machine that the AIS is the MEP of first equipment is completed from first veneer to during the migration of second veneer Stop what is sending.
Optionally, processing unit 610 is specifically used for:When second equipment determines that first equipment stops the institute sending When stating AIS, then restore the fault warning after preset duration.
Optionally, the preset duration is 3.5 continuity check message CCM periods.
Optionally, the transmission rank of the AIS is equal to the rank of the MEP of first equipment.
Optionally, the predeterminated frequency is 1s-1
Fig. 7 shows the structure of the communication equipment of transmitting message provided in an embodiment of the present invention, including at least one processing Device 701 (such as CPU), at least one network interface 703 or other communication interfaces, memory 702 etc..Processor 701, storage It can be communicated between device 702 and network interface 703 by internal connecting path, for transmitting control signal and/or number It is believed that number.Wherein, processor 701 is used to perform the executable instruction such as computer program stored in memory 702.Memory 702 may include high-speed random access memory (Random Access Memory, referred to as " RAM "), it is also possible to further include non- Unstable memory (non-volatile memory) for example, at least magnetic disk storage.At least one net can be passed through Network interface 703 (can be wired or wireless) realizes the communication connection between at least one other network element.
Wherein, which is the second equipment, aggregated links group is included between the second equipment and the first equipment, first sets The standby state machine for safeguarding destination node MEP is currently located on the first veneer of the first equipment, the MEP of the first equipment and the second equipment MEP rank it is identical.
In some embodiments, memory 702 stores program 7021, and processor 701 performs program 7021, for holding Some operations of row:
When second equipment receives the alarm indication signal AIS that first equipment is sent according to predeterminated frequency, Fault warning is inhibited according to the AIS, wherein, the state machine that the AIS is the MEP of first equipment starts by described first What veneer was sent when being migrated to second veneer;
When second equipment determines that first equipment stops sending the AIS, restore the fault warning, In, the state machine that the AIS is the MEP of first equipment is completed from first veneer to during the migration of second veneer Stop what is sending.
Optionally, processor 701 is specifically used for:When second equipment determines that first equipment stops described in transmission During AIS, restore the fault warning after preset duration.
Optionally, the preset duration is 3.5 continuity check message CCM periods.
Optionally, the transmission rank of the AIS is equal to the rank of the MEP of first equipment.
Optionally, the predeterminated frequency is 1s-1
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit can refer to the corresponding process in preceding method embodiment, and details are not described herein.
Those of ordinary skill in the art may realize that each exemplary lists described with reference to the embodiments described herein Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually It is performed with hardware or software mode, specific application and design constraint depending on technical solution.Professional technician Described function can be realized using distinct methods to each specific application, but this realization is it is not considered that exceed Scope of the present application.
In several embodiments provided herein, it should be understood that disclosed systems, devices and methods, it can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit It divides, only a kind of division of logic function can have other dividing mode, such as multiple units or component in actual implementation It may be combined or can be integrated into another system or some features can be ignored or does not perform.Another point, it is shown or The mutual coupling, direct-coupling or communication connection discussed can be the indirect coupling by some interfaces, device or unit It closes or communicates to connect, can be electrical, machinery or other forms.
The unit illustrated as separating component may or may not be physically separate, be shown as unit The component shown may or may not be physical unit, you can be located at a place or can also be distributed to multiple In network element.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme 's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also That each unit is individually physically present, can also two or more units integrate in a unit.
If the function is realized in the form of SFU software functional unit and is independent product sale or in use, can be with It is stored in a computer read/write memory medium.Based on such understanding, the technical solution of the embodiment of the present invention is substantially The part to contribute in other words to the prior art or the part of the technical solution can be embodied in the form of software product Come, which is stored in a storage medium, is used including some instructions so that a computer equipment (can To be personal computer, server or the network equipment etc.) perform all or part of each embodiment the method for the present invention Step.And aforementioned storage medium includes:USB flash disk, mobile hard disk, read-only memory (Read-Only Memory, abbreviation " ROM "), random access memory (Random Access Memory, referred to as " RAM "), magnetic disc or CD etc. are various can be with Store the medium of program code.
The specific embodiment of the above, the only embodiment of the present invention, but the protection domain of the application is not limited to This, in the technical scope that any one skilled in the art discloses in the application, can readily occur in change or replacement, It should all cover within the protection domain of the application.Therefore, the protection domain of the application should be with the protection model of the claim Subject to enclosing.

Claims (20)

  1. A kind of 1. method of transmitting message, which is characterized in that include aggregated links group between the first equipment and the second equipment, it is described The state machine for safeguarding destination node MEP of first equipment is currently located on the first veneer of first equipment, first equipment MEP it is identical with the rank of the MEP of second equipment, the method includes:
    When the state machine of the MEP of first equipment, start, by first veneer, to move to the second veneer of first equipment During shifting, first equipment inhibits fault warning, and sends alarm indication signal to second equipment according to predeterminated frequency AIS, so that second equipment inhibits the fault warning according to the AIS;
    When the state machine of the MEP of first equipment, complete from first veneer to during the migration of second veneer, it is described First equipment restores the fault warning, and stops sending the AIS, is accused so that second equipment restores the failure It is alert.
  2. 2. according to the method described in claim 1, it is characterized in that, the state machine of the MEP when first equipment, is completed From first veneer to during the migration of second veneer, first equipment restores the fault warning, and stops sending The AIS, including:
    When the state machine of the MEP of first equipment, complete from first veneer to during the migration of second veneer, it is described First equipment restores the fault warning after preset duration, and stops sending the AIS.
  3. 3. according to the method described in claim 2, it is characterized in that, the preset duration is 3.5 continuity check message CCM Period.
  4. 4. according to the method in any one of claims 1 to 3, which is characterized in that the transmission rank of the AIS is equal to described The rank of the MEP of first equipment.
  5. 5. method according to any one of claim 1 to 4, which is characterized in that the predeterminated frequency is 1s-1
  6. A kind of 6. method of transmitting message, which is characterized in that include aggregated links group between the first equipment and the second equipment, it is described The state machine for safeguarding destination node MEP of first equipment is currently located on the first veneer of first equipment, first equipment MEP it is identical with the rank of the MEP of second equipment, the method includes:
    It is described when second equipment receives the alarm indication signal AIS that first equipment is sent according to predeterminated frequency Second equipment according to the AIS inhibit fault warning, wherein, the AIS be the state machine of the MEP of first equipment start by What first veneer was sent when being migrated to second veneer;
    When second equipment determines that first equipment stops sending the AIS, second equipment restores the failure Alarm, wherein, the state machine that the AIS is the MEP of first equipment is completed from first veneer to second veneer Migration when stop send.
  7. 7. according to the method described in claim 6, it is characterized in that, when second equipment determines that first equipment stops hair The AIS sent, second equipment restore the fault warning, including:
    When second equipment determines that first equipment stops the AIS sending, when second equipment is by presetting Restore the fault warning after length.
  8. 8. the method according to the description of claim 7 is characterized in that the preset duration is 3.5 continuity check message CCM Period.
  9. 9. the method according to any one of claim 6 to 8, which is characterized in that the transmission rank of the AIS is equal to described The rank of the MEP of first equipment.
  10. 10. the method according to any one of claim 6 to 9, which is characterized in that the predeterminated frequency is 1s-1
  11. 11. a kind of communication equipment, which is characterized in that the communication equipment is the first equipment, first equipment and the second equipment Between include aggregated links group, the state machine for safeguarding destination node MEP of first equipment is currently located at first equipment On first veneer, the MEP of first equipment is identical with the rank of the MEP of second equipment, and first equipment includes place Unit is managed, is used for:
    When the state machine of the MEP of first equipment, start, by first veneer, to move to the second veneer of first equipment During shifting, then inhibit fault warning, and alarm indication signal AIS is sent to second equipment according to predeterminated frequency, so that institute It states the second equipment and the fault warning is inhibited according to the AIS;
    When the state machine of the MEP of first equipment, complete from first veneer to during the migration of second veneer, then it is extensive The multiple fault warning, and stop sending the AIS, so that second equipment restores the fault warning.
  12. 12. communication equipment according to claim 11, which is characterized in that the processing unit is specifically used for:
    When the state machine of the MEP of first equipment, complete from first veneer to during the migration of second veneer, then to pass through Restore the fault warning after crossing preset duration, and stop sending the AIS.
  13. 13. communication equipment according to claim 12, which is characterized in that the preset duration is 3.5 continuity checks The message CCM periods.
  14. 14. the communication equipment according to any one of claim 11 to 13, which is characterized in that the transmission rank of the AIS Equal to the rank of the MEP of first equipment.
  15. 15. the communication equipment according to any one of claim 11 to 14, which is characterized in that the predeterminated frequency is 1s-1
  16. 16. a kind of communication equipment of transmitting message, which is characterized in that the communication equipment be the second equipment, second equipment Include aggregated links group between the first equipment, the state machine for safeguarding destination node MEP of first equipment is currently located at described On first veneer of the first equipment, the MEP of first equipment is identical with the rank of the MEP of second equipment, and described second Equipment includes processing unit, is used for:
    When second equipment receives the alarm indication signal AIS that first equipment is sent according to predeterminated frequency, according to The AIS inhibits fault warning, wherein, the AIS is that the state machine of the MEP of first equipment starts by first veneer It is sent when being migrated to second veneer;
    When second equipment determines that first equipment stops sending the AIS, restore the fault warning, wherein, institute The state machine for stating the MEP that AIS is first equipment is completed from first veneer to stopping during the migration of second veneer It sends.
  17. 17. communication equipment according to claim 16, which is characterized in that the processing unit is specifically used for:
    When second equipment determines that first equipment stops the AIS sending, then restore institute after preset duration State fault warning.
  18. 18. communication equipment according to claim 17, which is characterized in that the preset duration is 3.5 continuity checks The message CCM periods.
  19. 19. the communication equipment according to any one of claim 16 to 18, which is characterized in that the transmission rank of the AIS Equal to the rank of the MEP of first equipment.
  20. 20. the communication equipment according to any one of claim 16 to 19, which is characterized in that the predeterminated frequency is 1s-1
CN201611144819.0A 2016-12-13 2016-12-13 Method and equipment for transmitting message Active CN108234156B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611144819.0A CN108234156B (en) 2016-12-13 2016-12-13 Method and equipment for transmitting message

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611144819.0A CN108234156B (en) 2016-12-13 2016-12-13 Method and equipment for transmitting message

Publications (2)

Publication Number Publication Date
CN108234156A true CN108234156A (en) 2018-06-29
CN108234156B CN108234156B (en) 2021-04-09

Family

ID=62637429

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611144819.0A Active CN108234156B (en) 2016-12-13 2016-12-13 Method and equipment for transmitting message

Country Status (1)

Country Link
CN (1) CN108234156B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110875880A (en) * 2018-08-29 2020-03-10 北京华为数字技术有限公司 Data transmission method, related equipment, system and computer storage medium
CN112073342A (en) * 2020-08-12 2020-12-11 成都华微电子科技有限公司 Deadlock avoidance method for equalizer self-adaptive state machine

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102215127A (en) * 2011-06-08 2011-10-12 中兴通讯股份有限公司 Signal degrade processing method, device and node equipment
CN102263654A (en) * 2010-05-26 2011-11-30 杭州华三通信技术有限公司 In-maintenance domain multilayer cross-level alarm suppression method, system and device
US8614958B2 (en) * 2010-07-14 2013-12-24 Fujitsu Limited Systems and methods of snooping connectivity fault messages to configure maintenance end point for alarm suppression messages
CN105515970A (en) * 2015-12-16 2016-04-20 北京华为数字技术有限公司 Method and device for transmitting message

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102263654A (en) * 2010-05-26 2011-11-30 杭州华三通信技术有限公司 In-maintenance domain multilayer cross-level alarm suppression method, system and device
US8614958B2 (en) * 2010-07-14 2013-12-24 Fujitsu Limited Systems and methods of snooping connectivity fault messages to configure maintenance end point for alarm suppression messages
CN102215127A (en) * 2011-06-08 2011-10-12 中兴通讯股份有限公司 Signal degrade processing method, device and node equipment
CN105515970A (en) * 2015-12-16 2016-04-20 北京华为数字技术有限公司 Method and device for transmitting message

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110875880A (en) * 2018-08-29 2020-03-10 北京华为数字技术有限公司 Data transmission method, related equipment, system and computer storage medium
CN110875880B (en) * 2018-08-29 2022-03-25 北京华为数字技术有限公司 Data transmission method, related equipment, system and computer storage medium
CN112073342A (en) * 2020-08-12 2020-12-11 成都华微电子科技有限公司 Deadlock avoidance method for equalizer self-adaptive state machine

Also Published As

Publication number Publication date
CN108234156B (en) 2021-04-09

Similar Documents

Publication Publication Date Title
CN105099789B (en) A kind of network element updating method and apparatus
CN104753805B (en) Distributed flow control method, server and system
CN104219107B (en) A kind of detection method of communication failure, apparatus and system
CN104798341B (en) Service level is characterized on electric network
CN105991458B (en) Load balancing method and load balancing device
CN108259193A (en) A kind of network management, Network Management System and Element management system
CN109960634A (en) A kind of method for monitoring application program, apparatus and system
CN105812217A (en) Virtual network division method and multi-controller agent device
CN106326068A (en) Resource index monitoring method and device
CN106464515A (en) Virtual-operation administration and maintenance deployment method, device and virtual network system
CN102523113B (en) Chip realization method for MEP configuration on cross-chip aggregated link in Ethernet network OAM and chip realization system
CN108206764A (en) Configuration method, server and the computer-readable medium of configuring information of network appliance
CN108234156A (en) The method and apparatus of transmitting message
CN115086250A (en) Network target range distributed traffic generation system and method
CN106789521A (en) A kind of ring network fault reverse method and link point
CN107656847A (en) Node administration method, system, device and storage medium based on distributed type assemblies
CN108965147A (en) Network control method, device and the network equipment
EP2858302A1 (en) Connectivity check method of service stream link, related apparatus and system
CN109561025A (en) A kind of information processing method and relevant device
CN106506409B (en) A kind of management method and network management exchange of network management exchange
CN105306243A (en) Stale data collection method, device and system
CN101431435B (en) Connection-oriented service configuration and management method
CN106921532A (en) A kind of performance management method, the device of business catenary system
CN104040951B (en) Method and apparatus for transmitting alarm-related information
CN109062758A (en) A kind of server system delay machine processing method, system, medium and equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20220107

Address after: 450046 Floor 9, building 1, Zhengshang Boya Plaza, Longzihu wisdom Island, Zhengdong New Area, Zhengzhou City, Henan Province

Patentee after: Super fusion Digital Technology Co.,Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd.

Effective date of registration: 20220107

Address after: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee after: HUAWEI TECHNOLOGIES Co.,Ltd.

Address before: 100085, No. 3, information road, Haidian District, Beijing

Patentee before: Beijing Huawei Digital Technology Co.,Ltd.

TR01 Transfer of patent right