CN101355466B - Method and apparatus for transmitting continuous check information message - Google Patents
Method and apparatus for transmitting continuous check information message Download PDFInfo
- Publication number
- CN101355466B CN101355466B CN200810213974A CN200810213974A CN101355466B CN 101355466 B CN101355466 B CN 101355466B CN 200810213974 A CN200810213974 A CN 200810213974A CN 200810213974 A CN200810213974 A CN 200810213974A CN 101355466 B CN101355466 B CN 101355466B
- Authority
- CN
- China
- Prior art keywords
- message
- module
- situation
- protocol processes
- check information
- 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
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Communication Control (AREA)
Abstract
The invention discloses a transmission method and a transmission device for the continuity check of messages, which are applied to a communication system comprising a line card and a main control board. The method comprises the following steps: the main control board is provided with a protocol processing card, wherein the protocol processing card is used to process the continuity check of the messages; and a switching chip of the main control board sends the messages to the protocol processing card under the condition of receiving the messages from the line card. The transmission method and the transmission device for the continuity check of the messages improve the receiving and sending efficiency of the messages.
Description
Technical field
The present invention relates to the communications field, in particular to the transmission method and the device of a kind of continuity check message (Continuity Check Message abbreviates CCM as) message.
Background technology
At present, along with the application of ethernet technology in Operation Network constantly increases, its autgmentability, reliability, fail safe and manageability are had higher requirement.In order to realize transmitting the identical service level of net with the conventional telecommunications level; Carrier Ethernet will be transmitted the new selection of net as future; Wherein, The operation of Ethernet, management, safeguard (Operations; Administration, and Maintenance abbreviates OAM as) be one of emphasis of research; Main literature about Ethernet OAM has: Institute of Electrical and Electronics Engineers (Institute of Electrical and Electronics Engineers; Abbreviating IEEE as) 802.3ah OAM, IEEE802.1ag Connectivity Fault Management (Connectivity FaultManagement abbreviates CFM as) and International Telecommunications Union's (InternationalTelecommunication Union abbreviates ITU as)-T be Y.1731 based on the OAM(Operation Administration Maintenance) and mechanism (OAM Functions and Mechanisms for EthernetBased Networks) of Ethernet.
Before IEEE802.1ag CFM (following will the abbreviate Ethernet CFM as) standard mesh is the draft of IEEE; Ethernet CFM is the instrument that end-to-end Ethernet provides monitoring and fault to get rid of; Make telecom operators can check end-to-end connection; The isolation network problem, and discern the client who influenced by network problem.Ethernet CFM has defined following notion:
(1) maintenance field (Maintenance Domain abbreviates MD as), its failure of connectivity can be managed by the part of network or network.
(2) safeguard associating terminal point (Maintenance Association End Point; Abbreviate MEP as); The Connectivity Fault Management relevant (Continuity Fault Management with the territory Service Access Point of a specific service entities; Abbreviate CFM as) entity, it can produce and receive CFM protocol Data Unit (Protocol Data Unit abbreviates PDU as) and follow the trail of any response; MEP is a terminal point of safeguarding associating (Maintenance Association abbreviates MA as), is the terminal point to the maintenance entity of the separation of each other MEP in same MA.
(3) MA is one group of MEP of the integrality of checking an independent Service Instance having of setting up of identical maintenance associating ID (abbreviating MAID as) and maintenance field tier definition; MA also can be considered to a management entity of the whole mesh that the MEP by a configuration set forms.
(4) maintenance field grade (MD Level abbreviates MDL as), each MD has a MDL); It is the key parameter of realizing the nested use of CFM; VLAN ID (VLAN Identification abbreviates VID as) in MDL and VLAN (Virtual Local Area Network the abbreviates VLAN as) label (tag) be used for together identifying the VID of a CFM frame related be which maintenance field; And identify this CFM frame and which belongs to safeguard associating, the scope of MD grade is 0-7.
The OAM fault management message that has defined at present comprises CCM, loopback message (Loopback Message; Abbreviate LBM as), link trace message (Link TraceMessage abbreviates LTM as) etc., wherein; The message of Millisecond has only CCM; Ethernet continuity check function is a kind of active OAM(Operation Administration Maintenance), can be used for detecting being in the arbitrary to the Loss of continuity between the MEP of a MA, can be used for detecting two incorrect links between the MA; Also can be used for detecting situation and the other defect situation that links to each other with wrong MEP a MA appearance, CCM can be applied to fault management, performance monitoring or switch protection.
Fig. 1 is the system architecture diagram of handling according to the CCM message of correlation technique, and is as shown in Figure 1, and the structure of CCM and transmitting-receiving at present relies on the protocol process module of specifying on the ply-yarn drill to realize; Configuration has the ply-yarn drill 1 of central processing unit (Central Processing Unit abbreviates CPU as), and configuration has network processing unit (Network Processing Unit; Abbreviate NPU as) ply-yarn drill 2; Wherein, ply-yarn drill 2 is responsible for safeguarding the MEP list item of complete machine frame, just the CCM list item of similar number; Be referred to as the protocol processes ply-yarn drill; After other ply-yarn drill port received the CCM message, to master control borad, master control borad just can send to this protocol processes ply-yarn drill to twice transparent transmission of ply-yarn drill and handle through ply-yarn drill; The CCM message that needs to send also will send to corresponding ply-yarn drill port through master control borad by ply-yarn drill 2.
Can find out that by said process there is following problem in the transmission of present CCM message:
(1) transmission of CCM message and RX path all will have the two-stage transparent transmission, and one-level is to receive ply-yarn drill to master control borad, and another level is that master control borad arrives protocol processes ply-yarn drill (except the message that the port of protocol processes ply-yarn drill receives or sends); Because the CCM message is a rapid message; Speed is Millisecond, and the frequent transparent transmission of a large amount of messages can cause the communication between plates and data traffic increase of equipment, if under the busy situation of equipment; Be easy to cause message in time not send or to receive, thereby cause the network concussion.
(2) protocol processes ply-yarn drill itself need take a groove position, if there is outer outbound port in this ply-yarn drill, the data traffic of then being somebody's turn to do outer outbound port also can influence the transmitting-receiving of CCM message.
(3) NPU also will carry out the processing of a lot of significant data bags usually, for example, and tactful route, multi protocol label exchange (Multiprotocol Label Switching; Abbreviate MPLS as) or the like; But because the bandwidth of the port of NPU can be taken by a large amount of CCM messages, NPU need use regularly transceive data bag of timer; Need to use micro engine to come analytic message or the like, so NPU processing CCM will take its resource in a large number.
Summary of the invention
Data traffic increases that thereby the CCM message that causes can not in time be received and dispatched or network concussion, special protocol are handled ply-yarn drill and taken a groove position and CCM message and handle and take a large amount of NPU problem of resource and propose the present invention between the plate that causes to a large amount of transparent transmissions of present CCM message; For this reason; The present invention aims to provide a kind of transmission method and device of CCM message, to solve one of the problems referred to above at least.
A kind of transmission method of continuous check information message is provided according to an aspect of the present invention.
According to the transmission method of continuous check information message of the present invention, be applied to comprise the communication system of ply-yarn drill and master control borad, said method comprises: the protocol processes card is set on master control borad, and wherein, the protocol processes card is used to handle continuous check information message; Under situation about receiving from the message of ply-yarn drill, the exchange chip of master control borad sends to the protocol processes card with message.
Preferably, on master control borad, be provided with after the protocol processes card, said method also comprises: the central processing unit of master control borad is set up information table on the protocol processes card, and wherein, information table comprises the list item that is used to identify the continuity check information.
Preferably, the exchange chip of master control borad will send to the protocol processes card from the message of ply-yarn drill after, said method also comprised: the protocol processes card judges whether message is continuous check information message; In judged result is under the situation that is, if message is the transparent transmission message, then sends message from the port that receives message, if message is local message, then judges the list item that whether has in the information table with the message coupling; Judging that message is not under the situation of continuous check information message, with packet loss.
Preferably, judge that at the protocol processes card message is that continuous check information message and message are that said method also comprises under the situation of local message: the protocol processes card is judged the list item that whether exists in the information table with the message coupling; In judged result is under the situation that is; Whether the inspection message is error message; If message is an error message; Then the protocol processes card reports interruption to central processing unit, if message is not an error message, then the count pick up device that presets in the list item is changed to preset initial value and count pick up is thought highly of newly and pick up counting; In judged result is not exist in the information table under the situation of the list item that matees with message, and message reporting is handled to central processing unit.
Preferably, the central processing unit of master control borad was set up information table on the protocol processes card after, said method also comprised: the protocol processes card is every to carry out the poll processing at a distance from the scheduled time to information table; If the poll result is the interruption predetermined value for the count pick up device that presets in the list item of information table, and does not receive the corresponding continuous check information message of list item, then the protocol processes card reports interruption to central processing unit.
Preferably, after the protocol processes card was set on master control borad, said method also comprised: the protocol processes card judges whether to exist the transparent transmission message; In judged result is under the situation that is, the transparent transmission message is sent to exchange chip, and exchange chip receives the transparent transmission message, and continuous check information message is sent to ply-yarn drill; In judged result is under the situation not; The protocol processes card is every to carry out the poll processing at a distance from the scheduled time to information table; If the poll result is the state of the list item of information table is that effectively then the protocol processes card is set up continuous check information message according to list item, and continuity check message is sent to exchange chip; Exchange chip receives continuous check information message, and continuous check information message is sent to ply-yarn drill.
A kind of transmitting device of continuous check information message is provided according to a further aspect in the invention.
Transmitting device according to continuous check information message of the present invention; Be applied to comprise the communication system of ply-yarn drill and master control borad, said apparatus comprises: first is provided with module, is used on master control borad, being provided with the protocol processes card; Wherein, the protocol processes card is used to handle continuous check information message; First receiver module is used to receive the message from ply-yarn drill; First sending module is used for message is sent to the protocol processes card.
Preferably, said apparatus also comprises: first sets up module, is used on the protocol processes card, setting up information table, and wherein, information table comprises the list item that is used to identify the continuity check information.
Preferably, said apparatus also comprises: first judge module is used to judge whether message is continuous check information message; Second judge module is used to judge the type of message; The 3rd judge module is used for information table and whether has the list item that matees with message; The 4th judge module is used to judge whether message is error message; Discard module is used for packet loss; Second is provided with module, is used to be provided with the count pick up device that presets of list item; First reporting module is used for reporting interruption to central processing unit; Second reporting module is used for message reporting is handled to central processing unit.
Preferably, said apparatus also comprises: the poll module is used for whenever at a distance from the scheduled time information table being carried out poll and handles; Second sets up module, is used for setting up continuous check information message according to list item; The 5th judge module is used to judge whether to exist the transparent transmission message; Second sending module is used for continuous check information message is sent to exchange chip; Second receiver module is used to receive the continuous check information message from second sending module; The 3rd sending module is used for the continuous check information message that second receiver module receives is sent to ply-yarn drill, and the 4th sending module is used to send the transparent transmission message.
Through the present invention; Be employed in a protocol processes card is set on the master control borad; Be responsible for the method for the transmitting-receiving of CCM message by the protocol processes card; Increase that the CCM message that causes can not in time be received and dispatched or the problem of network concussion thereby solved between the plate that a large amount of transparent transmissions of present CCM message cause data traffic, improved the transmitting-receiving efficient of CCM message, avoid taking a groove position more because special protocol handles ply-yarn drill; And solved the processing of CCM message and taken a large amount of NPU problem of resource, reduced the consumption of resource.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present invention, constitutes the application's a part, and illustrative examples of the present invention and explanation thereof are used to explain the present invention, do not constitute improper qualification of the present invention.In the accompanying drawings:
Fig. 1 is the system architecture diagram of handling according to the CCM message of correlation technique;
Fig. 2 is the system architecture diagram that is used for the CCM message processing method of embodiment of the present invention embodiment;
Fig. 3 is the flow chart according to the transmission method of the CCM message of the embodiment of the invention;
Fig. 4 is the flow chart according to the transmission CCM message of the embodiment of the invention;
Fig. 5 is the flow chart according to the reception CCM message of the embodiment of the invention;
Fig. 6 is the structured flowchart according to the transmitting device of the CCM message of the embodiment of the invention;
Fig. 7 is the concrete structure block diagram according to the transmitting device of the CCM message of the embodiment of the invention.
Embodiment
Functional overview
Fig. 2 is the system architecture diagram that is used for the CCM message processing method of embodiment of the present invention embodiment.As shown in Figure 2, through a protocol processes card is set on the master control borad, the protocol processes card is communicated by letter with exchange chip with master control borad CPU; Realize the processing of CCM message through being arranged on protocol processes card on the master control borad, can reduce the transparent transmission of a message, and not need special ply-yarn drill groove position to handle the CCM message, also do not need NPU to participate in message simultaneously and handle.Wherein, be arranged on protocol processes card main devices on the master control borad be a slice field programmable gate array (Field Programmable Gate Array abbreviates FPGA as) (promptly; Protocol process module), be responsible for the transmitting-receiving of CCM message by it, FPGA communicates through bus and master control borad CPU; CPU is responsible for setting up the CCM session, and after this, CPU will be configured in the list item of the CCM information table in the FPGA; The transmitting-receiving of CCM message will be responsible for by FPGA, and CPU will can not participate in, and alleviate the burden of CPU.If session status changes, then FPGA will report and interrupt giving CPU, and CPU will inquire about the list item at this session place and handle.FPGA also communicates by letter with the exchange chip of master control borad through another bus, is responsible for the transmitting-receiving of CCM message.
To specify the present invention with reference to accompanying drawing based on above-mentioned CCM message handling system below.
Method embodiment
According to embodiments of the invention, a kind of transmission method of CCM message is provided, be applied to comprise the communication system of ply-yarn drill and master control borad.Fig. 3 is the flow chart according to the transmission method of the CCM message of the embodiment of the invention, and is as shown in Figure 3, and this method comprises:
Step S302 is provided with the protocol processes card on master control borad, wherein, the protocol processes card is used to handle continuous check information message (system configuration after being provided with is as shown in Figure 2);
Step S304, under situation about receiving from the message of ply-yarn drill, the exchange chip of master control borad sends to the protocol processes card with message.
Through this processing; Be employed in a protocol processes card is set on the master control borad, be responsible for the transmitting-receiving of CCM message, the CCM message is handled on master control borad, carried out by the protocol processes card; Need not to be transparent to again ply-yarn drill, avoid occurring the transmitting-receiving that data traffic increases influences the CCM message; And need not take a ply-yarn drill groove position, can reduce the resource consumption of network processing unit.
To combine Fig. 4 and Fig. 5 to describe the transmission of CCM message respectively and receive below handles.
Fig. 4 is the flow chart according to the transmission CCM message of the embodiment of the invention, and is as shown in Figure 4, comprises the steps:
Step S402, the CPU of master control borad sets up MEP;
Step S404, CPU sets up information table on the protocol processes card, and wherein, information table comprises the list item that is used to identify CCM information,, CCM information is write FPGA that is, and the list item of the CCM information table of initialization FPGA, wherein, 1000 list items of the maximum support of FPGA; After this, the transmitting-receiving of CCM message will (that is, FPGA) be responsible for, CPU will can not participate in, can offloading the CPU by protocol process module;
Step S406, the protocol processes card judges whether to exist the transparent transmission message,, judges whether the message that receives needs transparent transmission, is under the situation that is in judged result, proceeds to step S412 that is, is under the situation not in judged result, proceeds to step S408;
Step S408, the protocol processes card is every to carry out the poll processing at a distance from the scheduled time to information table; Particularly, FPGA is every begins all list items of poll once at a distance from 1ms from the base address;
Step S410 judges whether the state of this list item is effective, is under the situation that is in judged result, proceeds to step S412, is under the situation not in judged result, is back to step S406;
Step S412 starts the flow process of giving out a contract for a project, particularly, and for transparent transmission message from step S406; Send through former port,, will send according to the CCM message of this list item structure for operation from step S410; The protocol processes card is set up the CCM message according to list item, and the CCM message is sent to exchange chip, and exchange chip receives the CCM message; And the CCM message sent to ply-yarn drill, after this, be back to step S406 and carry out circular treatment.
Fig. 5 is the flow chart according to the reception CCM message of the embodiment of the invention, and is as shown in Figure 5, comprises the steps:
Step S502, the CPU of master control borad sets up MEP;
Step S504, CPU sets up information table on the protocol processes card, and wherein, information table comprises the list item that is used for CCM information,, CCM information will be write FPGA that is, and the list item of the CCM information table of initialization FPGA, wherein, 1000 list items of the maximum support of FPGA;
Step S506 judges whether to receive packet, is under the situation that is in judged result, proceeds to step S508, is under the situation not in judged result, proceeds to step S524;
Step S508, protocol processes card judge whether message is the CCM message, is under the situation that is in judged result, proceeds to step S512, are under the situation not in judged result, proceed to step S510;
Step S510 is with packet loss;
Step S512, there is the transparent transmission message in the judgement of protocol processes card, is under the situation that is in judged result, proceeds to step S514, is under the situation not in judged result, proceeds to step S516;
Step S514, the notice transmission flow sends the transparent transmission message from the port (that is, former port) that receives message,, the transparent transmission message is sent to exchange chip that is, and exchange chip receives the transparent transmission message, and the transparent transmission message is sent to ply-yarn drill;
Step S516, at this moment, above-mentioned message is local message, judges the list item that whether exists in the information table with the message coupling; That is, (for example: the hash algorithm) tabling look-up, judge whether to hit certain list item, is under the situation that is in judged result, proceeds to step S520, is under the situation not in judged result, proceeds to step S518 through certain algorithm according to self-defining keyword;
Step S518 handles message reporting to CPU;
Step S520 judges whether message is wrong, that is, whether the inspection message is error message; Wherein, list item has defined the error id field can characterize type of error, if in detection time, certain list item does not receive the CCM message; Then report this connection error, for the message that hits list item, Ethernet CFM has defined 5 kinds of type of errors, except not receiving detection time message reports an error; Also have MDL wrong, MA ID is wrong, MEP ID mistake etc.; More than several kinds wrong in case are detected, then need report and interrupt giving CPU, be responsible for carrying out fault processing by CPU; In judged result is under the situation that is, proceeds to step S526, is under the situation not in judged result, proceeds to step S522;
Step S522 is changed to the count pick up device that presets (Rx Timer) of list item preset initial value and makes Rx Timer restart timing; That is, represent that this MEP receives the message that send the opposite end this moment, should Rx Timer be changed to initial value;
After step S504, the protocol processes card is every to carry out the poll processing at a distance from the scheduled time to information table; Particularly, FPGA is every at a distance from all list item of 1ms poll once, and every poll once; The Rx Timer of each list item is subtracted 1, and the value of Rx Timer is consulted by the both sides that set up MEP in advance, for example; Rx Timer=10 representes that be 10ms detection time, and the minimum detection time of this embodiment support is 1ms;
Step S524 judges whether Rx Timer=0, promptly; Judging whether the poll result is that the Rx Timer that presets in the list item of information table interrupts predetermined value, is under the situation that is in judged result, promptly; When Rx Timer reduces to 0, and when not receiving the corresponding CCM message of list item, proceed to step S526; In judged result is under the situation not, is back to step S506;
Step S526 representes that this MEP interrupts (down), and the protocol processes card reports interruption to CPU.
Device embodiment
According to embodiments of the invention, a kind of transmitting device of CCM message is provided.Fig. 6 is the structured flowchart according to the transmitting device of the CCM message of the embodiment of the invention; As shown in Figure 6; This device is applied to comprise the communication system of ply-yarn drill and master control borad; This device comprises: first is provided with module 62, first receiver module 64, first sending module 66, is described in detail in the face of said structure down.
First is provided with module 62, is used on master control borad, being provided with the protocol processes card, and wherein, the protocol processes card is used to handle the CCM message.
First sending module 66 is connected to first receiver module 64, is used for message is sent to the protocol processes card.
Through this embodiment; Be employed in a protocol processes card is set on the master control borad, be responsible for the method for the transmitting-receiving of CCM message, the CCM protocol processes is carried out on master control borad by the protocol processes card; Need not to be transparent to again ply-yarn drill; Avoiding occurring the data traffic increase influences the transmitting-receiving of CCM message, and need not take a ply-yarn drill groove position, can also reduce the resource consumption of NPU in addition.
Fig. 7 is the concrete structure block diagram according to the transmitting device of the CCM message of the embodiment of the invention; As shown in Figure 7; Said apparatus also comprises: first sets up module 702, first judge module 704, second judge module 706, the 3rd judge module 708, the 4th judge module 710, discard module 712, second is provided with module 714, first reporting module 716, poll module 718, second reporting module 720, second and sets up module 722, second sending module 724, second receiver module 726, the 3rd sending module 728, the 5th judge module 730, the 4th sending module 732, is described in detail in the face of said structure down.
First sets up module 702, is connected to first module 62 is set, and is used on the protocol processes card, setting up information table, and wherein, information table comprises the list item that is used to identify CCM information.
First judge module 704 is connected to first sending module 66, is used to judge whether the message that first sending module 66 sends is the CCM message.
Second judge module 706 is connected to first judge module 704, and the judged result that is used at first judge module 704 is under the situation that is, judges the type of message.
The 3rd judge module 708 is connected to second judge module 706, and the judged result that is used for second judge module 706 is that type of message is under the local message situation of (that is, not belonging to the transparent transmission message), judges the list item that whether exists in the information table with the message coupling.
The 4th judge module 710 is connected to the 3rd judge module 708, and the judged result that is used for the 3rd judge module 708 is under the situation that is, judges whether message is error message.
Discard module 712 is connected to first judge module 704, and the judged result that is used at first judge module 704 is under the situation not, with packet loss;
Second is provided with module 714, is connected to the 4th judge module 710, is used to be provided with the Rx Timer that presets of list item, particularly, is under the situation that is in the judged result of the 4th judge module 710, and Rx Timer is set to interrupt predetermined value.
First reporting module 716 is connected to the 4th judge module 710, and the judged result that is used for the 4th judge module 710 is handled message reporting under the situation not to CPU.
Poll module 718 is connected to first and sets up module 702, is used for whenever at a distance from the scheduled time information table being carried out poll and handles.
Second reporting module 720 is connected to the 3rd judge module 708 and poll module 714, is used for reporting interruption according to the judged result of the 3rd judge module 708 and the poll result of poll module 718 to CPU;
Second sets up module 722, is connected to poll module 718, is used for setting up the CCM message according to the poll result and the list item of poll module 718.
Second sending module 724 is connected to second and sets up module 722, is used for setting up the CCM message that module 722 sets up with second and sends to exchange chip.
Second receiver module 726 is connected to second sending module 724, is used to receive the CCM message from second sending module 724.
The 3rd sending module 728 is connected to second receiver module 726, is used for the CCM message of second receiver module reception 726 is sent to ply-yarn drill.
The 5th judge module 730 is connected to first and sets up module 702, is used to judge whether to exist the transparent transmission message.
The 4th sending module 732 is connected to second judge module 706 and the 5th judge module 730, is used for sending the transparent transmission message according to the judged result of second judge module 706 and the 5th judge module 730.
Through the present invention; Be employed in a protocol processes card is set on the master control borad; Be responsible for the method for the transmitting-receiving of CCM message by the protocol processes card; Increase that the CCM message that causes can not in time be received and dispatched or the problem of network concussion thereby solved between the plate that a large amount of transparent transmissions of present CCM message cause data traffic, improved the transmitting-receiving efficient of CCM message, avoid taking a groove position more because special protocol handles ply-yarn drill; And solved the processing of CCM message and taken a large amount of network processing unit problem of resource, reduced the consumption of resource.
Obviously, it is apparent to those skilled in the art that above-mentioned each module of the present invention or each step can realize with the general calculation device; They can concentrate on the single calculation element; Perhaps be distributed on the network that a plurality of calculation element forms, alternatively, they can be realized with the executable program code of calculation element; Thereby; Can they be stored in the storage device and carry out, perhaps they are made into each integrated circuit modules respectively, perhaps a plurality of modules in them or step are made into the single integrated circuit module and realize by calculation element.Like this, the present invention is not restricted to any specific hardware and software combination.
The above is merely the preferred embodiments of the present invention, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.All within spirit of the present invention and principle, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (10)
1. the transmission method of a continuous check information message is applied to comprise the communication system of ply-yarn drill and master control borad it is characterized in that said method comprises:
The protocol processes card is set on said master control borad, and wherein, said protocol processes card is used to handle continuous check information message;
Under situation about receiving from the message of said ply-yarn drill, the exchange chip of said master control borad sends to said protocol processes card with said message.
2. method according to claim 1 is characterized in that, on said master control borad, is provided with after the protocol processes card, and said method also comprises:
The central processing unit of said master control borad is set up information table on said protocol processes card, wherein, said information table comprises the list item that is used to identify the continuity check information.
3. method according to claim 2 is characterized in that, the exchange chip of said master control borad will send to said protocol processes card from the said message of said ply-yarn drill after, said method also comprised:
Said protocol processes card judges whether said message is continuous check information message;
In judged result is under the situation that is, if said message is the transparent transmission message, then sends said message from the port that receives said message, if said message is local message, then judges the list item that whether has in the said information table with said message coupling;
Judging that said message is not under the situation of continuous check information message, with said packet loss.
4. method according to claim 3 is characterized in that, judges that at said protocol processes card said message is that continuous check information message and said message are under the situation of local message, and said method also comprises:
Said protocol processes card is judged the list item that whether exists in the said information table with said message coupling;
In judged result is under the situation that is; Check whether said message is error message; If said message is an error message; Then said protocol processes card reports interruption to said central processing unit, if said message is not an error message, then the count pick up device that presets in the said list item is changed to preset initial value and said count pick up is thought highly of newly and pick up counting;
In judged result is not exist in the said information table under the situation of the list item that matees with said message, handles to said central processing unit said message reporting.
5. method according to claim 2 is characterized in that, the central processing unit of said master control borad was set up information table on said protocol processes card after, said method also comprised:
Said protocol processes card is every to carry out the poll processing at a distance from the scheduled time to said information table;
If the poll result is the interruption predetermined value for the count pick up device that presets in the list item of said information table, and does not receive the corresponding continuous check information message of said list item, then said protocol processes card reports interruption to said central processing unit.
6. method according to claim 2 is characterized in that, said the protocol processes card is set on master control borad after, said method also comprises:
Said protocol processes card judges whether to exist the transparent transmission message;
In judged result is under the situation that is, said transparent transmission message is sent to said exchange chip, and said exchange chip receives said transparent transmission message, and said continuous check information message is sent to said ply-yarn drill;
In judged result is under the situation not; Said protocol processes card is every to carry out the poll processing at a distance from the scheduled time to said information table; If the poll result is the state of the list item of said information table is that effectively then said protocol processes card is set up continuous check information message according to said list item, and said continuous check information message is sent to said exchange chip; Said exchange chip receives said continuous check information message, and said continuous check information message is sent to said ply-yarn drill.
7. the transmitting device of a continuous check information message is applied to comprise the communication system of ply-yarn drill and master control borad it is characterized in that said device comprises:
First receiver module is used to receive the message from said ply-yarn drill;
First sending module is used for said message is sent to the protocol processes card on the said master control borad, and wherein, said protocol processes card is used to handle continuous check information message.
8. device according to claim 7 is characterized in that, also comprises:
First sets up module, is used on said protocol processes card, setting up information table, and wherein, said information table comprises the list item that is used to identify the continuity check information.
9. device according to claim 8 is characterized in that, also comprises:
First judge module is used to judge whether said message is continuous check information message;
Second judge module, the judged result that is used at said first judge module is under the situation that is, the type of judging said message is transparent transmission message or local message;
The 4th sending module, the type that is used at said message is under the situation of transparent transmission message, sends said transparent transmission message from the port that receives said message;
The 3rd judge module, the type that is used at said message is under the situation of local message, judges the list item that whether exists in the said information table with said message coupling;
The 4th judge module, the judged result that is used at said the 3rd judge module is under the situation that is, judges whether said message is error message;
First reporting module, the judged result that is used at said the 4th judge module is under the situation that is, reports interruption to central processing unit;
Second is provided with module, and the judged result that is used at said the 4th judge module is under the situation not, the count pick up device that presets in the said list item is changed to preset initial value and said count pick up is thought highly of newly pick up counting;
Second reporting module, the judged result that is used at said the 3rd judge module is under the situation not, handles to said central processing unit said message reporting;
Discard module is used for judging that said message is not under the situation of continuous check information message, with said packet loss.
10. device according to claim 8 is characterized in that, also comprises:
The 5th judge module is used to judge whether to exist the transparent transmission message;
The 4th sending module; Being used in said the 5th judge module judged result is under the situation that is, said transparent transmission message is sent to exchange chip, wherein; Said exchange chip receives said transparent transmission message, and said continuous check information message is sent to said ply-yarn drill;
The poll module, the judged result that is used at said the 5th judge module is under the situation not, every separated scheduled time carries out poll to said information table and handles;
Second sets up module, and being used in said poll result is under the effective situation for the list item state of said information table, sets up continuous check information message according to said list item;
Second sending module is used for setting up after module sets up continuous check information message said second, and said continuous check information message is sent to said exchange chip;
Second receiver module is used to receive the said continuous check information message from said second sending module;
The 3rd sending module is used for the said continuous check information message that said second receiver module receives is sent to said ply-yarn drill.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200810213974A CN101355466B (en) | 2008-09-01 | 2008-09-01 | Method and apparatus for transmitting continuous check information message |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200810213974A CN101355466B (en) | 2008-09-01 | 2008-09-01 | Method and apparatus for transmitting continuous check information message |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101355466A CN101355466A (en) | 2009-01-28 |
CN101355466B true CN101355466B (en) | 2012-09-05 |
Family
ID=40308074
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200810213974A Active CN101355466B (en) | 2008-09-01 | 2008-09-01 | Method and apparatus for transmitting continuous check information message |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101355466B (en) |
Families Citing this family (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8804552B2 (en) * | 2009-02-05 | 2014-08-12 | Telefonaktiebolaget L M Ericsson (Publ) | Topological location discovery in an ethernet network |
CN101795231B (en) * | 2010-02-25 | 2012-12-12 | 福建星网锐捷网络有限公司 | Method and device for realizing protocol message transmission |
CN103001819B (en) * | 2011-09-19 | 2015-01-21 | 盛科网络(苏州)有限公司 | Method and system for processing OAM (operation, administration and maintenance) detecting results in MPLS-TP (multiple protocol label switching-transmission parameter) network |
TWI535241B (en) * | 2012-12-10 | 2016-05-21 | 智邦科技股份有限公司 | Network device and network device recognition method |
CN103152203B (en) * | 2013-03-18 | 2015-10-14 | 成都广达电子股份有限公司 | A kind of method of EOC local side MAC Address restriction study |
JP6007849B2 (en) * | 2013-03-28 | 2016-10-12 | 日立金属株式会社 | Network relay device |
CN103368849A (en) * | 2013-07-05 | 2013-10-23 | 盛科网络(苏州)有限公司 | OAM (Operations, Administration and Management) message processing method and device |
CN103581063A (en) * | 2013-10-15 | 2014-02-12 | 瑞斯康达科技发展股份有限公司 | Service disk, master control disk, communication method between service disk and master control disk, access equipment and rack-mounted system |
CN103731322B (en) * | 2014-01-16 | 2017-02-15 | 杭州华三通信技术有限公司 | Method and device for detecting self-adapting link among devices with different capabilities |
CN105515807B (en) * | 2014-09-25 | 2020-09-08 | 中兴通讯股份有限公司 | Up cfm message processing method and system and network data exchange equipment |
CN104486118A (en) * | 2014-12-15 | 2015-04-01 | 盛科网络(苏州)有限公司 | Implementation device and method for flexibly recognizing and processing bidirectional forwarding detection (BFD) message |
CN106411556A (en) * | 2015-08-03 | 2017-02-15 | 深圳市中兴微电子技术有限公司 | OAM message detection defect oscillation processing method, apparatus and system thereof |
CN115714698B (en) * | 2022-09-26 | 2024-04-16 | 重庆长安汽车股份有限公司 | Looped network communication method and device of vehicle-mounted Ethernet, vehicle and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1856150A (en) * | 2005-04-19 | 2006-11-01 | 大唐移动通信设备有限公司 | Iub interface business link inspecting device and method |
CN1855851A (en) * | 2005-04-19 | 2006-11-01 | 华为技术有限公司 | Continuity inspection method |
CN1953400A (en) * | 2005-10-17 | 2007-04-25 | 华为技术有限公司 | A method to control the continuity detection of Ethernet link |
US20080049607A1 (en) * | 2006-08-28 | 2008-02-28 | Ming Xu | Method and apparatus for checking maintenance association integrity and method and apparatus for adding maintenance end point |
-
2008
- 2008-09-01 CN CN200810213974A patent/CN101355466B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1856150A (en) * | 2005-04-19 | 2006-11-01 | 大唐移动通信设备有限公司 | Iub interface business link inspecting device and method |
CN1855851A (en) * | 2005-04-19 | 2006-11-01 | 华为技术有限公司 | Continuity inspection method |
CN1953400A (en) * | 2005-10-17 | 2007-04-25 | 华为技术有限公司 | A method to control the continuity detection of Ethernet link |
US20080049607A1 (en) * | 2006-08-28 | 2008-02-28 | Ming Xu | Method and apparatus for checking maintenance association integrity and method and apparatus for adding maintenance end point |
Also Published As
Publication number | Publication date |
---|---|
CN101355466A (en) | 2009-01-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101355466B (en) | Method and apparatus for transmitting continuous check information message | |
CN101729303B (en) | Method and device for measuring network performance parameter | |
CN101212366B (en) | Failure detection method, system, and main node in Ethernet loop network | |
EP1853003B1 (en) | System and method for monitoring a data network segment | |
US7869376B2 (en) | Communicating an operational state of a transport service | |
US7760859B2 (en) | Intelligent communications network tap port aggregator | |
EP2536066A1 (en) | Link detecting method, apparatus and system | |
CN101378333B (en) | System, apparatus and method for transmitting and receiving check information message continuously | |
CN101094121B (en) | Method, system and device for detecting Ethernet links among not direct connected devices | |
CN101247270A (en) | System and method for implementing bidirectional forwarding detection | |
EP2521306B1 (en) | Ethernet traffic statistical analysis method and system | |
CN101521603A (en) | Method and system for quickly detecting connectivity of link | |
CN101610212A (en) | Realize the method and the integrated circuit board of reliable data plane communication | |
CN103259687B (en) | Air traffic control data access platform in civil aviation | |
CN101335657A (en) | Communication device, communication method, communication interface, and program product | |
CN101399714B (en) | Transmission method and device for bidirectionally transceiving and detecting packet | |
CN101330496B (en) | Method and apparatus for detecting Ethernet multicast loop | |
CN100563201C (en) | A kind of method for detecting route unit fault and device | |
CN100466591C (en) | Master-slave device system | |
CN101931569A (en) | Link fault detection method for Ethernet Ring | |
CN101834759A (en) | Detection method of binding link and distributed equipment | |
CN101232406A (en) | OAM fast detecting method, apparatus and system | |
CN105281927A (en) | Method and device for multilink protection switching | |
CN101330410B (en) | Far-end loopback test method, system and exchange | |
CN101771583B (en) | Method and device for detecting elimination or no elimination of network failure |
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 |