CN101997840B - Method, device and system for establishing differentiated services code point (DSCP) mapping relation between network elements - Google Patents

Method, device and system for establishing differentiated services code point (DSCP) mapping relation between network elements Download PDF

Info

Publication number
CN101997840B
CN101997840B CN2009101631490A CN200910163149A CN101997840B CN 101997840 B CN101997840 B CN 101997840B CN 2009101631490 A CN2009101631490 A CN 2009101631490A CN 200910163149 A CN200910163149 A CN 200910163149A CN 101997840 B CN101997840 B CN 101997840B
Authority
CN
China
Prior art keywords
dscp
network element
message
opposite end
value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN2009101631490A
Other languages
Chinese (zh)
Other versions
CN101997840A (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
Original Assignee
Huawei 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN2009101631490A priority Critical patent/CN101997840B/en
Publication of CN101997840A publication Critical patent/CN101997840A/en
Application granted granted Critical
Publication of CN101997840B publication Critical patent/CN101997840B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention provides a method, a device and a system for establishing a differentiated services code point (DSCP) mapping relation between network elements. The method comprises the following steps of: receiving a DSCP message, wherein the payload of the DSCP message contains a first DSCP value needing to be detected, and the message header of the DSCP message contains a second DSCP value which is acquired after the first DSCP value needing to be detected is transmitted between the network elements; and establishing the DSCP mapping relation of the first DSCP value needing to be detected between the network elements according to the first DSCP value contained in the payload of the DSCP message and the second DSCP value contained in the message header of the DSCP message. The method is easy to operate, efficient and fast. By the method, the mapping relation of the DSCP values between any two network elements in the whole transmission network can be detected, the human input is greatly reduced, the problem can be more accurately found, and the method can be applied to all the universal internet protocol (IP) networks.

Description

DSCP mapping relations method for building up, device and system between network element
Technical field
The present invention relates to communication technical field, particularly DSCP mapping relations method for building up, device and system between a kind of network element.
Background technology
In recent years, Internet Protocol (Internet Protocol, IP) technology is widely used in every field.The mixed transport of multiple business is supported in the IP transmission, according to the type of business, different priority can be set.The service that can obtain higher level of high priority, guarantee its transmission quality; The more low-level service of the acquisition of low priority, transmission quality can only obtain than low guaranteed, or unsecured.About transmission quality, can be assessed by aspects such as transmission packet loss, propagation delay time, transmission shakes.
For wireless traffic, the priority service mechanism of IP technology is directly connected to wireless user's experience, and 3GPP arranges different priority according to the requirement of business, guarantees its transmission quality in whole IP transmitting procedure.For example: speech business is the most responsive business of time delay, and the priority of speech business is made as to height; And the backstage type service is the most insensitive business of time delay, by the priority of Batch Processing, be made as low.
The IP technology adopts Differentiated Services coding (Differentiated Services Code Point, DSCP) value means Differentiated Services (differentiated service), by DSCP being marked to the priority that header embodies the IP message.Corresponding to different IP technology, can adopt different DSCP mark modes: IPv4 to adopt ToS (the Type of Service of stem, COS) front 6 bit representations in territory, first 6 of Traffic Classes (type of service) territory of IPv6 employing stem mean.Different network elements is distinguished the rank of message according to the DSCP value in the IP heading, corresponding service is provided.
Because the IP service priority in network can change at different network elements, cause the DSCP value to have the mapping relations of a new and old value.Network element, when receiving the IP message, can be revised the DSCP value in message IP head according to these mapping relations.
Fig. 1 is the schematic diagram that in prior art, a kind of DSCP value mapping relations are revised.As shown in Figure 1: if network element A receives the DSCP value of message, be 32, this DSCP value in network element A, revise before the scope of list item 35~24, the corresponding amended DSCP value of this scope is 24, the DSCP value just is revised as 24 by original 32.When next network element B receives the DSCP value that network element A sends message, be 24, this DSCP value in network element B, revise before the scope of list item 31~16, the corresponding amended DSCP value of this scope is 16, the DSCP value just is revised as 16 by original 24.Know that two DSCP mapping relations between network element are significant to the quality monitoring of IP transmission.Prior art adopts following methods to obtain two DSCP mapping relations between network element.
Fig. 2 is the many transmission paths schematic diagram between two network elements of prior art.As shown in Figure 2, C and D mean respectively two network elements, know from the DSCP value mapping relations between network element C and network element D, at first must learn that specified services is at the transmission path between these two network elements (as shown in Figure 2, suppose Actual path in need through A and two network elements of B); Then, need the attendant to obtain network element A and the B DSCP mapping relations separately on this path; Finally, need the DSCP mapping relations of attendant according to network element A and network element B, calculate between network element C and network element D DSCP mapping relations end to end, circular can be with reference to the process shown in Fig. 1.For network element C, the DSCP mapping relations of ordering to D from the C point are called the forward mapping relation, and the DSCP mapping relations of ordering to C from the D point are called the backward mapping relation.
There are the many places technological difficulties in the whole solution process of prior art:
1, need to drop into a large amount of attendants.Whole IP transmission network is intricate, and multiple business is transmitted simultaneously in an IP network road.Wherein IP network dynamic routing, the go-between convergence changes various, obtain current specified services transmission path, needs the certain manpower of cost, and O&M cost is high.
2, each node that needs a large amount of technical specialists of input to investigate on current transmission path has or not modification DSCP value, and the mapping relations of DSCP value.Network element device on one paths is more, and a large amount of configuration DSCP mapping tables needs to drop into a large amount of manpowers, calculates difficult.
In sum: each step of prior art needs a large amount of artificial participations, has strengthened maintenance cost high, the overall process complicated operation.
Summary of the invention
The embodiment of the present invention provides DSCP mapping relations method for building up, device and system between a kind of network element.
The embodiment of the present invention provides DSCP mapping relations method for building up between a kind of network element on the one hand, described method comprises: receive the DSCP message, comprise the DSCP value that needs are surveyed in the payload of described DSCP message, comprised the 2nd DSCP value that a DSCP value of needs detections obtains after transmitting between described network element in the heading of described DSCP message; The 2nd DSCP value comprised in the DSCP value comprised in payload according to described DSCP message and the heading of described DSCP message, set up the described DSCP mapping relations of a DSCP value between described network element of surveying that need.
The embodiment of the present invention provides DSCP mapping relations apparatus for establishing between a kind of network element on the other hand, described device comprises: DSCP message receiving element, for receiving the DSCP message, comprise the DSCP value that needs are surveyed in the payload of described DSCP message, comprised the 2nd DSCP value that a DSCP value of needs detections obtains after transmitting between described network element in the heading of described DSCP message; Mapping relations are set up unit, the 2nd DSCP value comprised in the DSCP value comprised for the payload according to described DSCP message and the heading of described DSCP message, set up the described DSCP mapping relations of a DSCP value between described network element of surveying that need.
The embodiment of the present invention provides DSCP mapping relations between a kind of network element to set up system more on the one hand, comprises the aforementioned means as the local terminal network element, and the opposite end network element of surveying phase the other side as the DSCP of local terminal network element.
The beneficial effect of the embodiment of the present invention is:
The technical scheme that the embodiment of the present invention provides, utilize DSCP value in payload to remain unchanged in the process of message transmissions and DSCP value in heading can be transmitted the mechanism that each network element on path changes, after network element reception DSCP message as receiving terminal, the 2nd DSCP value that the DSCP value comprised in a DSCP value of surveying according to the needs that carry in the DSCP message payload and heading obtains after transmission between network element, just can obtain and need the DSCP mapping relations of DSCP value between network element of surveying.The technical scheme visible, that the embodiment of the present invention provides, can detect in whole transmission network the mapping relations of DSCP value between any two network elements, and simple and easy O&M is fast efficient, greatly reduces human input, and all can apply in all general purpose I P nets.
The accompanying drawing explanation
Fig. 1 is the schematic diagram that in prior art, a kind of DSCP value mapping relations are revised;
Fig. 2 is the many transmission paths schematic diagram between two network elements of prior art;
The method overall flow figure that Fig. 3 is embodiment 1;
The activation/deactivation message frame format chart that Fig. 4 is embodiment 1;
The detection implementation holistic approach flow chart that Fig. 4 a is embodiment 1;
The signaling process figure of the DSCP detection process that Fig. 5 is embodiment 1;
The DSCP that Fig. 6 is embodiment 1 surveys related message overall format figure of execution phase;
The DSCP that Fig. 7 is embodiment 2 surveys the method flow diagram of negotiations process;
The DSCP that Fig. 8 is embodiment 2 surveys the signaling process figure of implementation;
The source overall flow figure that Fig. 8 a is embodiment 2;
The destination overall flow figure that Fig. 8 b is embodiment 2;
The detailed process chart of the source that Fig. 9 is embodiment 2;
The detailed process chart of the destination that Figure 10 is embodiment 2;
The DSCP that Figure 11 is embodiment 3 surveys the signaling process figure of implementation;
The source overall flow figure that Figure 11 a is embodiment 3;
The destination overall flow figure that Figure 11 b is embodiment 3;
The detailed process chart of the source that Figure 12 is embodiment 3;
The detailed process chart of the source that Figure 13 is embodiment 3;
One of device schematic diagram that Figure 14 is embodiment 4;
Two of the device schematic diagram that Figure 15 is embodiment 4;
Three of the device schematic diagram that Figure 16 is embodiment 4;
Four of the device schematic diagram that Figure 17 is embodiment 4;
Five of the device schematic diagram that Figure 18 is embodiment 4;
The schematic diagram when device that Figure 18 a is Figure 18 concerns for setting up forward mapping;
The schematic diagram when device that Figure 18 b is Figure 18 concerns for setting up forward mapping.
Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the present invention clearer, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making under the creative work prerequisite the every other embodiment obtained, belong to the scope of protection of the invention.
Embodiment 1:
The present embodiment provides DSCP mapping relations method for building up between a kind of network element, utilize DSCP value in payload to remain unchanged in the process of message transmissions and DSCP value in heading can be transmitted the mechanism that each network element on path changes, set up the DSCP mapping relations between network element.
The method of the present embodiment comprises surveys the execution phase, optional, can also comprise the triggering stage before surveying, survey negotiation phase.At triggering stage and detection negotiation phase, the present embodiment will trigger and start a side who surveys negotiation and be called activation side, coordinate the opposing party who surveys negotiations process to be called the side of being activated; Surveying the execution phase, the network element that the present embodiment will initiatively initiate to survey is called source, the network element that passive execution is surveyed is called destination, source is called to the forward mapping relation to the mapping relations of destination, destination is called to the backward mapping relation to the mapping relations of source, and the method for the present embodiment can obtain forward mapping relation and/or backward mapping relation.In addition, network element can also be called local terminal network element and opposite end network element, such as, the network element that will set up the DSCP mapping relations according to the DSCP message is called the local terminal network element, and phase the other side is called the opposite end network element.
To set up that forward mapping relation and backward mapping close simultaneously, it is example, the detection implementation of the DSCP of the present embodiment comprises: source sends probe messages to destination side, comprised the DSCP value that source need to be surveyed in the payload of this probe messages and in heading; After destination receives this DSCP probe messages, set up the forward mapping relation of the DSCP value that described source need to survey according to the DSCP value in payload and the DSCP value in heading; Then, destination sends the response detected message to source, has comprised described forward mapping relation in the payload of described response detected message, can also comprise the DSCP value in described probe messages payload in the heading of described response detected message; Source receives after this response detected message the described forward mapping relation that obtains, and can also set up according to the DSCP value in payload and the DSCP value in heading the backward mapping relation of the DSCP value that described source need to survey.
Alternatively, after obtaining the forward mapping relation, the method for the present embodiment also comprises: source sends to destination to carry out verification the forward mapping relation of obtaining; Destination receives the checking prediction message that source sends, and replys the verification response message, if check results is inconsistent, in described verification response message, comprises correct forward mapping relation.Alternatively, after obtaining the backward mapping relation, the method for the present embodiment also comprises: described backward mapping relation is sent to destination.
Alternatively, also comprised the triggering stage and survey negotiation phase before actual detection implementation, detailed process comprises: activation side triggers the DSCP detecting function of self, and sends the activation message to the side of being activated, and requires to activate the DSCP detecting function; Then, according to replying of the side of being activated, judge whether successfully to have activated the DSCP detection, if receive the activation refuse information, finish whole process; If receive the activation response message, show that the side of being activated has also activated the DSCP detecting function.
Below describe the workflow of the present embodiment in detail.The method overall flow figure that Fig. 3 is the present embodiment, as shown in Figure 3:
Step S301: activation side triggers the DSCP detecting function of self.
Initiate DSCP detection negotiation to the side of being activated before, at first activation side needs to trigger the DSCP detecting function of self.The trigger condition of DSCP detecting function can comprise: A, manual triggers: can trigger the DSCP detection in needs arbitrarily manually.B, the automatic triggering: trigger DSCP at specific time point (user is configurable, such as the late into the night) and survey, or periodic triggers DSCP detection, the detect cycle user is configurable.C, Event triggered: trigger the DSCP detection when detecting when certain class event occurs, and can judge whether it is the event caused due to the change of DSCP value according to result of detection.
Step S302: carry out DSCP between activation side and the side of being activated and survey negotiations process.
Negotiation phase mainly refers to carrying out DSCP before the detection phase, sets up the process of detection channels between activation side and the side of being activated, for follow-up detection process provides detection channels; After finishing the DSCP detection operations, or detection process is while interrupting, and two network elements more through consultation, are removed detection channels.This process is divided into two parts: link setup negotiation phase and tear the chain negotiation phase open.Below be described respectively:
1, link setup negotiation phase:
The activation direction side of being activated sends the activation command message, and the DSCP detection channels is set up in request.Alternatively, this activation command message also carries and activates the direction (obtaining forward mapping relation or backward mapping relation or two-way mapping relations) that DSCP surveys, if do not carry the direction that DSCP surveys, adopt the detection direction of acquiescence, as obtain the forward mapping relation; The side of being activated reply to activate to be replied or activates refuse information, or replying or refuse information of the side of being activated do not received after sending continuously repeatedly the activation command message by activation side yet.Below divide several situations to describe respectively this link setup negotiations process:
If activation side sends " activation request " message, the side of being activated returns to " activation is replied " message, and both sides consult the detection channels success, can enter the detection implementation afterwards;
If activation side sends " activation request " message, the side of being activated returns to " activating refusal " message, and it is unsuccessful that both sides consult detection channels, can't be surveyed;
If activation side sends " activation request " message, activation side accepts the message that the side of being activated returns at the appointed time, perhaps do not receive the message that the side of being activated returns after the predetermined number of times having sent, perhaps sent after the predetermined number of times at the appointed time and do not received yet the message of the side of being activated, it is unsuccessful that both sides consult detection channels, can't be surveyed.
2, tear the chain negotiation phase open
This process can be initiated by any one party of activation side or the side of being activated, and a side of initiation is called deexcitation side, and the opposing party is called the deexcitation recipient.Send the deexcitation command message by deexcitation direction deexcitation recipient, the DSCP detection channels is removed in request.Tear the chain negotiations process open and also can have the situation of tearing the chain success open and tearing the chain failure open.Below be described respectively:
If deexcitation side sends " deexcitation order " message, the deexcitation recipient returns to " deexcitation response " message, and both sides tear chain open and consult to pass through, and both sides' detection channels interrupts.
After if deexcitation side sends " deexcitation order ", do not receive deexcitation recipient's returned packet at the appointed time, perhaps after the number of times that has sent appointment, do not receive deexcitation recipient's returned packet, perhaps the transmission at the appointed time do not receive yet response message after the predetermined number of times, deexcitation side's mandatory dismantling detection channels, deexcitation side does not carry out DSCP and surveys processing.
The activation/deactivation message frame form of the present embodiment as shown in Figure 4, increases by 1 long word (4 byte) in the UDP message district, and Byte0 (byte 0) is highest byte.The purpose udp port number (DPort) of the activation/deactivation message of UDP encapsulation can be fixed value, as 65020[0xFDFC], source udp port number (SPort) can be got random value.In the UDP message district, newly-increased 4 byte field comprise: type of message, SN (sequence number), direction and reserved field (no field is filled out F entirely).
The effect of newly-increased 4 byte field is as follows:
Type of message: for defining the various command message of activation/deactivation.The coding definition mode that table 1 is a kind of optional type of message:
Table 1
Coding Message Command/response
0001 Activation request Order
0010 Activation is replied Response
0011 Activate refusal Response
0100 Deexcitation Order
0101 The deexcitation response Response
SN: activation/deactivation message flow sequence number (Sequence Number), every transmission one frame activation/deactivation frame adds one, span: 0~255[0xFF]
Direction: be used for distinguishing the direction of order or response, table 2 is a kind of optional direction encoding definition:
Table 2
Coding Direction Describe
0000 Do not use Default value when the user is not to field (as defaulting to forward direction)
0001 Forward direction (activated end->end is activated) Requirement is obtained activated end to the mapping relations that are activated between end.
0010 Backward (end that is activated->activated end) Require to obtain and be activated end to the mapping relations between activated end.
0011 Two-way Both sides are to sending out, and both sides are activated end each other, and end is activated.Require both sides to initiate DSCP simultaneously and survey, obtain two-way DSCP mapping relations.
Step S303: source and destination are carried out the DSCP detection process.
Fig. 4 a is the holistic approach flow chart that the present embodiment DSCP surveys implementation, and as shown in Fig. 4 a, the method comprises:
Step S401, receive the DSCP message, comprised the DSCP value that needs are surveyed in the payload of described DSCP message, comprised the 2nd DSCP value that a DSCP value of needs detections obtains after transmitting between described network element in the heading of described DSCP message;
The 2nd DSCP value comprised in the DSCP value comprised in step S402, the payload according to described DSCP message and the heading of described DSCP message, set up the described DSCP mapping relations of a DSCP value between described network element of surveying that need.
The signaling process figure of the DSCP detection process that Fig. 5 is the present embodiment, this flow chart be take bi-directional probing and is described as example.What deserves to be explained is, what in this embodiment, in detection process, adopt is the describing method of source and destination, angle from network element, one of them network element can be called to the local terminal network element, an other side's network element is called to the opposite end network element, such as, the destination that receives Data Description (DD) packet can be called to the local terminal network element in the present embodiment, and source is called the opposite end network element.As shown in Figure 5:
Step S501, source send DD (DSCP Detection, DSCP surveys) message.
This Data Description (DD) packet carries the DSCP value that source need to be surveyed in the UDP payload, and fills in identical with the DSCP value of IP stem.Wait for and reply DD ACK message.If do not receive DD ACK message, treat that overtime continuation sends Data Description (DD) packet, until transmission is not still received DD ACK message after repeatedly (supposing 3 times) continuously, reported event informs that the user can't receive DD ACK message.The detection that stops this DSCP is processed.
Step S502, destination are set up the forward mapping relation of DSCP according to Data Description (DD) packet.
Destination is received Data Description (DD) packet, and the DSCP value of carrying in the UDP payload according to Data Description (DD) packet and the DSCP value of IP stem are set up the described mapping relations that need the DSCP of DSCP value from the source to the destination of detection, i.e. the forward mapping relation.
Because the DSCP value of carrying in payload can not change, and the DSCP value in heading can be carried out corresponding change according to the DSCP mapping relations of each network element on path, in the transmitting procedure of this Data Description (DD) packet from the source to the destination, the DSCP value of heading may have been revised by a plurality of intermediate NEs, the technical scheme of the present embodiment, do not need to know how intermediate NE modifies, only need just can set up the forward mapping relation of DSCP value from the source to the destination that the source that comprises in this payload need to be surveyed according to the DSCP (DSCP comprised in payload) before revising and amended DSCP (DSCP comprised in heading).
Step S503, destination are replied DD ACK message to source.
The IP stem DSCP value of DD ACK message is filled in the DSCP value of carrying in the Data Description (DD) packet UDP payload received, the DSCP value that source need to be surveyed; Carry the forward mapping relation of generation in DD ACK message in the UDP payload.
Step S504, source obtain the forward mapping relation, set up the backward mapping relation.
After source receives DD ACK message, obtain the mapping relations of source to destination DSCP value from the payload of DD ACK message, i.e. the forward mapping relation.Then, according to the DSCP value in DD ACK message UDP payload and DD ACK message IP stem DSCP value, set up the mapping relations of DSCP value from the destination to the source that described source need to be surveyed, i.e. the backward mapping relation.
Step S505, source are issued destination by the forward mapping relation and are carried out verification.
Source, after completing and surveying and set up two-way DSCP mapping relations table, is dealt into the forward mapping relation destination and carries out verification by DC (DSCP Checkout, DSCP verification) message.Wait for DC ACK response message, if overtime continue to send, if continuous several times overtime (supposing 3 times), reported event, stop sending the DC message, and the subsequent operation activated end can configure whole result of detection and come into force, and reported result finishes to survey; Also can configure result of detection invalid, again initiate to survey flow process.
Step S506, destination carry out verification, and check results is issued to source.
Destination, after verification DSCP mapping relations table, sends DC ACK to source, if check results is inconsistent, destination can close correct forward mapping to tie up in DC ACK and feed back to source.
Step S507, source, after receiving DC ACK message, if learn that the DSCP mapping relations are incorrect, resend the mapping table that the right value of surveying or carrying according to DC ACK is revised DSCP.
Step S508, source send DSCP MAP (DM) message the DSCP mapping relations of local terminal (backward mapping relation) are informed to destination.
After step S509, destination receive the DM message, reply DM ACK message.
Source is waited for DM ACK response message, if overtime continue to send, continuous several times overtime (supposing 3 times), reported event, stop sending the DM message, the whole process of result.
The DSCP of the present embodiment surveys involved message format of execution phase as shown in Figure 6, all can deposit the DSCP value in the TOS field of the IP stem of this message and UDP payload, only the DSCP value in the UDP payload can not changed by network element, and the network element that the DSCP value of IP stem can be transmitted on path is changed according to the DSCP mapping relations of himself.
Alternatively, the DSCP message of the present embodiment is expanded by the content to the UDP payload, with the function that realizes that DSCP surveys.As, increase the DSCP value that source need to be surveyed in the UDP payload in Data Description (DD) packet, survey this mode of the same employing of other messages of execution phase and expanded.The present embodiment is not limited concrete message format, as long as can realize the DSCP detection method of the present embodiment.
The method of the present embodiment, when running into the situation that can't receive the opposite end message, can execute exception be processed, and mainly comprises the abnormality processing of Data Description (DD) packet, DC message and DM message.
1, the timeout treatment of Data Description (DD) packet, number of retries is for repeatedly (being assumed to be 3), and the setting of time-out time will, much larger than RTT time delay and opposite end ACK message structure time delay, can be decided to be 1s.The DD probe messages is not still received the response message of this probe messages after overtime, and the initiator will report this event, and the detection process of other DSCP values continues, and the detection of this DSCP value is interrupted.
2, the timeout treatment of DC message, the DC message is not still received response message after overtime, and originating end reports this event, and the DC process of other DSCP values continues, and the DC process of this DSCP is interrupted.
3, the timeout treatment of DM message, the DM message is not still received response message after overtime, and originating end reports this event, and the DM process of other DSCP values continues, and the DM process of this DSCP value is interrupted.
The event of the present embodiment reports in the mode of message.When occurring that in detection abnormal conditions or result of detection DSCP mapping relations come into force, inform this detection event of user.An event message can report a kind of event type, but a lot of events of the same event type in connection can report simultaneously.The event message form that the mapping relations that table 3 is the present embodiment come into force.
Table 3
Type (event type) Item Number (carrying event number)
SrcIP (source IP) DstIP (purpose IP)
SrcDSCP1 (source DSCP1) DstDSCP1 (purpose DSCP1)
SrcDSCP2 (source DSCP2) DstDSCP2 (purpose DSCP2)
?...... ?......
SrcDSCPm (source DSCPm) DstDSCPm (purpose DSCPm)
The event type of the present embodiment can expand as the mode of table 4:
Table 4
Event type The DSCP result of detection 0x0
DSCP activates message, nonreply 0x1
The end refusal that is activated activates DSCP and surveys 0x2
The Data Description (DD) packet nonreply 0x4
The nonreply of DSCP checkout message 0x5
The nonreply of DSCP MAP message 0x6
DC ACK message newspaper result is inconsistent 0x7
The DSCP result of detection and last time result inconsistent 0x8
In table 3, the implication of other field contents is as follows:
Item Number: carry event number, comprised a lot of events in the same type event message.This field means the event number of carrying.
SrcDSCPm: in dependent event, need the DSCP value of surveying; Must fill in.
DstDSCPm: in dependent event, the DSCP that need to survey is mapped to the DSCP value of opposite end.Except event type is that 0x1,0x2,0x4 fill in full F, other event types all must be filled in this field.
SrcIP: source IP.
DstIP: purpose IP.
DSCP mapping relations method for building up between the network element of the embodiment of the present invention, set up and need the two-way DSCP mapping relations of DSCP from the source to the destination and from the destination to the source of surveying by the DSCP message interaction process of source and destination, the method can detect in whole transmission network the mapping relations of DSCP value between any two network elements, do not need to know concrete path between two network elements, simple and easy O&M, fast efficient, greatly reduce human input, can pinpoint the problems more accurately, all can apply in all general purpose I P nets.
Embodiment 2:
The present embodiment provides DSCP mapping relations method for building up between a kind of network element, different with embodiment 1 is, the present embodiment only realizes that forward direction DSCP surveys, the DSCP value that is source self configuration is set up the DSCP forward mapping relation from the source to the destination, and the DSCP forward mapping relation of building up is informed to source.The method of the present embodiment can comprise three steps shown in Fig. 3 equally.
Step 1, activated end trigger the DSCP detecting function.
This triggers detecting function can be with reference to the associated description of step S301 in embodiment 1.
Step 2, activated end are carried out DSCP and are surveyed negotiations process.
Fig. 7 is the method flow diagram that the present embodiment DSCP surveys negotiations process.As shown in Figure 7:
Step S701, activated end initiatively send the activation message, require to set up the DSCP detection channels.
The type of message that activates message can be 0001 (table 1), and direction is 0001 (table 2), and SN is cumulative successively.After sending the activation message, activation side waits for the response message of the side of being activated.Carry out corresponding step according to the difference response of the side of being activated;
If step S702 receives the activation response message, enter step S703;
Step S703, startup DSCP survey;
If step S704 activation side does not receive response message at the appointed time, enter step S705; Fixed time in this step can be set to 1s.
Step S705, judgement nonreply whether still after sending continuously repeatedly? if yes then enter step S706, if otherwise enter step S703; In this step, the number of times that continuous transmission can be set is 3 times.
Step S706, reported event, event type is 0x1 (table 4), the event reported is carried needs the DSCP value of surveying, and enters step S709;
If step S707 receives the activation refuse information, enter step S708;
Step S708, reported event type are 0x2, carry and need the DSCP value of surveying, and enter step S709;
Step S709, termination DSCP survey.
Step 3, execution DSCP detection process:
The forward direction DSCP detection process of the present embodiment mainly comprises: the DSCP that source is surveyed needs initiates forward direction DSCP and surveys, and destination offers source after setting up the forward mapping relation table; Alternatively, source offers destination by the forward mapping relation table of acquisition and carries out verification, if verification is passed through, the forward mapping relation table comes into force, if verification is not passed through, source can be selected again to initiate to survey, or revises the forward mapping relation of self according to the correct mapping relations of destination feedback.What deserves to be explained is, what in this embodiment, in detection process, adopt is the describing method of source and destination, angle from network element, one of them network element can be called to the local terminal network element, an other side's network element is called to the opposite end network element, such as, the destination that receives Data Description (DD) packet can be called to local terminal network element (setting up the network element of DSCP mapping relations) in the present embodiment, and source is called the opposite end network element.The signaling process figure of this step is Fig. 8:
Step S801, source send Data Description (DD) packet, carry in message and need the DSCP value of surveying.
Specifically comprise: carry the DSCP value (this value can not change in transmitting procedure) that will survey in the payload of Data Description (DD) packet, and carry identical DSCP value (this value may be revised by other network elements) in the IP heading.
Step S802, destination are set up the forward mapping relation.
After destination is received Data Description (DD) packet, the DSCP value (the 2nd DSCP value) of the IP stem of the DSCP value that will survey of carrying in the payload according to Data Description (DD) packet (a DSCP value) and the Data Description (DD) packet that receives at destination, set up the DSCP mapping relations of source to destination, i.e. forward direction DSCP mapping relations.
Step S803, destination send DD ACK message to source.
Carry forward mapping relation (comprising that DSCP value and destination that source transmission Data Description (DD) packet payload carries receive Data Description (DD) packet IP stem DSCP value) in the payload of this DD ACK message.
Step S804, source obtain the forward mapping relation.
After source is received DD ACK message, extract two DSCP values in message payload, the forward mapping relation of the DSCP value that acquisition will be surveyed.
Step S805, source are issued the destination verification by the forward mapping relation of acquisition.
After completing detection, source is set up the forward mapping relation of a plurality of DSCP in whole connection, a plurality of forward mapping relations is dealt into to destination by the DC message and carries out verification.Certainly, also can, after obtaining certain DSCP forward mapping relation, for this DSCP forward mapping relation, carry out separately verification.
Step S806, destination back-checking result.
Destination, after verification DSCP mapping relations table, sends DC ACK to source, if mapping relations are incorrect, in the DC ACK of feedback, will comprise correct mapping relations.
Alternatively, this flow process also comprises: if the DSCP mapping relations are incorrect, source need to again be initiated DSCP and survey, or the correct information carried according to DC ACK is revised the DSCP table of local terminal.
The method flow diagram that Fig. 8 a is the present embodiment source.As shown in Figure 8 a:
Step S801a, to destination, send the DSCP probe messages, comprise the DSCP value that identical source need to be surveyed in the heading of the probe messages sent and payload;
The DSCP response detected message that step S802a, reception destination return, comprised the forward mapping relation of DSCP value from the source to the destination that described source need to be surveyed in the payload of described response detected message;
Step S803a, obtain the forward mapping relation of DSCP value from the source to the destination that described source need to be surveyed from described response detected message.
The method flow diagram that Fig. 8 b is the present embodiment destination.As shown in Figure 8 b:
The DSCP probe messages that step S801b, reception source send, comprise the DSCP value that source need to be surveyed in the payload of the probe messages received, comprised the DSCP value that DSCP value that described source need to survey obtains from source is transferred to destination in the heading of the probe messages received;
Step S802b, according to the DSCP value in the heading of the DSCP value in described probe messages payload and described probe messages, set up the forward mapping relation of DSCP value from the source to the destination that described source need to be surveyed;
Step S803b, to source, reply the response detected message, comprise described forward mapping relation in described response detected message.
The detailed handling process that Fig. 9 is the present embodiment source, as shown in Figure 9:
Step S901, transmission Data Description (DD) packet, wait for and receive DD ACK message;
Step S902, judge whether to receive DD ACK message, if not, enter step S903, if yes then enter step S906;
If step S903-step S905 does not receive DD ACK message, treat that overtime continuation sends Data Description (DD) packet, until send and repeatedly (suppose 3 times) continuously, and again judge whether to receive DD ACK, if receive enter step S906; If do not receive reported event is informed the user and can't be received the DDACK message;
Concrete, this event message type is 0x4, carrying event number is 1, SrcIP: source IP, DstIP: purpose IP, SrcDSCP: the DSCP value that the request of filling in is surveyed, DstDSCP: fill in full F, and stop the detection of this DSCP;
If step S906-step S907 receives DD ACK message, set up source to the DSCP mapping relations of destination, judged whether the detection of all DSCP, if not return to the mapping relations that step S901 continues to survey other DSCP values; Until need the task of the DSCP value mapping relations of detection all to finish;
Step S908, transmission DC message, wait for opposite end checking testing result;
Step S909, judge whether to receive DC ACK message;
Step S910-step S912, as overtime, send repeatedly continuously; Whether judgement receives response after repeatedly sending; If repeatedly send and all do not receive response, reported event;
Concrete, this event message type is 0x5, event number is the logarithm that the DC message carries the DSCP mapping relations that need checking, SrcIP: source IP, DstIP: purpose IP, SrcDSCPm: the DSCP value that the request of filling in is surveyed, DstDSCPm: the DSCP value of opposite end mapping.The detection that stops this DSCP is processed, and thinks that whole result of detection comes into force; Send deexcitation message;
If step S913 etc. until DC ACK response message, judge whether that the DSCP result of detection is correct;
If the incorrect DSCP mapping item of directly revising of step S914, detection process finishes, the reported event result of detection.
Concrete, this event message type is 0x0, carrying event number is the logarithm that message carries the DSCP mapping relations that need checking, SrcIP: source IP, DstIP: purpose IP, SrcDSCPm: the DSCP value that the request of filling in is surveyed, DstDSCPm: the DSCP value of opposite end mapping.Finishing the detection of DSCP processes.Send deexcitation message.
If step S915 DSCP surveys correct, end operation.And report whole result.
Particularly, this event message type is 0x0, and carrying event number is the logarithm that message carries the DSCP mapping relations that need checking, SrcIP: source IP, DstIP: purpose IP, SrcDSCPm: the DSCP value that the request of filling in is surveyed, DstDSCPm: the DSCP value of opposite end mapping.Finishing the detection of DSCP processes.Send deexcitation message.
Step S916 sends deexcitation message;
Step S917, finish whole flow process.
The detailed handling process that Figure 10 is the present embodiment destination, as shown in figure 10:
After step S1001-step S1003, destination receive the DD probe messages, set up the forward mapping relation, and the forward mapping relation is informed to source by DD ACK response message.Particularly, the type of message of this DDACK can be 0x9; Can comprise following information in this DD ACK:
SrcDSCP: fill in the SrcDSCP value of carrying in Data Description (DD) packet; DstDSCP: fill in destination and receive the DSCP value in Data Description (DD) packet IP stem.
Step S1004-step S1006, destination receive the DC message, with the forward mapping relation table of self setting up, compare, and reply DC ACK and inform check results, if the mapping relations of source are incorrect, need in DC ACK, carry correct forward mapping relation.Particularly, the type of message of this DC ACK can be 0xB; Can comprise following information in this DC ACK:
Item Number:DSCP mapping relations logarithm; Y/N: this thresholding is 0xFF, carries in message and verifies that incorrect DSCP mapping is right; SrcDSCPm: the DSCP value of source; The relatively required destination DSCP of DstDSCPm: source DSCP value, for destination obtains the DSCP mapping relations, if check results is inconsistent, destination will be revised the DSCP value that DSCP Checkout message was filled in originally.
The method of the embodiment of the present invention is set up and is needed the forward direction DSCP mapping relations of DSCP from activated end to the end that is activated of surveying by the probe messages reciprocal process of activated end and the end that is activated, the method can detect in whole transmission network the mapping relations of DSCP value between any two network elements, do not need to know concrete path between two network elements, simple and easy O&M, fast efficient, greatly reduce human input, all can apply in all general purpose I P nets.
Embodiment 3:
The present embodiment provides DSCP mapping relations method for building up between a kind of network element, with embodiment 1 and 2, different be, the present embodiment only realizes that backward DSCP surveys, mutual by the probe messages of source and destination, obtain the backward DSCP mapping relations of DSCP value from the destination to the source that source need to be surveyed.The method is set up backward DSCP relation mapping table by source, and alternatively, source is also issued destination by this backward DSCP relation mapping table.The method of the present embodiment comprises three steps of Fig. 3 equally.
Step 1, triggering DSCP detecting function
This triggers detecting function can be with reference to the associated description of step S301 in embodiment 1.
Step 2, execution DSCP survey negotiations process.This negotiations process can, with reference to the description of Fig. 7, no longer repeat herein.
Step 3, execution DSCP detection process.
Source will need the DSCP surveyed to initiate to survey.After source is set up backward DSCP mapping relations table, backward result of detection is sent to destination.What deserves to be explained is, what in this embodiment, in detection process, adopt is the describing method of source and destination, angle from network element, one of them network element can be called to the local terminal network element, an other side's network element is called to the opposite end network element, such as, source can be called to local terminal network element (setting up the network element of DSCP mapping relations) in the present embodiment, and destination is called the opposite end network element.The signaling flow graph of this step is Figure 11:
Step S1101, source send Data Description (DD) packet, and the DSCP value that needs are surveyed fills in the Data Description (DD) packet payload informs destination;
Step S1102, destination receive Data Description (DD) packet, reply DD ACK message, comprise in Data Description (DD) packet in the IP head of this message and payload and need the DSCP value of surveying;
The DD ACK message that step S1103, source are received, according to the DSCP value of the DSCP value in message payload and IP stem, set up the backward DSCP mapping relations of DSCP value from the destination to the source that source need to be surveyed;
Step S1104, complete all DSCP values and survey after, source sends to destination by the backward DSCP mapping relations that establish by the DM message.
Be understandable that, also certain DSCP mapping relations can be sent to destination, and after needn't waiting until that all DSCP values detections all complete.
After step S1105, destination are received the mapping relations table, reply DM ACK response message.
The source overall flow figure that Figure 11 a is the present embodiment, as shown in Figure 11 a:
Step S1101a, to destination, send the DSCP probe messages, carry the DSCP value that source need to be surveyed in the payload of described probe messages;
The DSCP response detected message that step S1102a, reception destination return, comprise the DSCP value that described source need to be surveyed in the payload of described response detected message, comprised the DSCP value that DSCP value that described source need to survey obtains from destination is transferred to source in the heading of described response detected message;
Step S1103a, according to the DSCP value in the heading of the DSCP value in described response detected message payload and described response detected message, set up the backward mapping relation of DSCP value from the destination to the source that described source need to be surveyed.
The overall flow figure that Figure 11 b is the present embodiment destination, as shown in Figure 11 b:
The DSCP probe messages that step S1101b, reception source send, carry the DSCP value that source need to be surveyed in the payload of described probe messages;
Step S1102b, to source, return to DSCP response detected message, in the payload of described response detected message He in heading, comprise the DSCP value that described source need to be surveyed.
The detailed handling process of the source that Figure 12 is the present embodiment, as shown in figure 12:
Step S1201, transmission Data Description (DD) packet, wait for and receive DD ACK message;
Step S1202, judge whether to receive DD ACK message, if not, enter step S1203, if yes then enter step S1206;
If step S1203-step S1205 does not receive DD ACK message, treat that overtime continuation sends Data Description (DD) packet, until continuously send and repeatedly (suppose 3 times), and again judge whether to receive DD ACK, if do not receive reported event is informed the user and can't be received DD ACK message;
Concrete, this event message type is 0x4, carrying event number is 1, SrcIP: source IP, DstIP: purpose IP, SrcDSCPm: the DSCP value that the request of filling in is surveyed, DstDSCP: fill in full F.The detection that stops this DSCP is processed;
If step S1206-step S1207 receives DD ACK message, set up the backward DSCP mapping relations of destination to source, continue to survey the mapping relations of other DSCP values, until need the task of the DSCP value mapping relations of detection all to finish;
Step S1208, transmission DSCP Map message;
Step S1209, judge whether to receive DM ACK message;
If overtime response, the reported event of not receiving of step S1210; And enter step S1212;
Concrete, the event message type is 0x6, carrying event number is the logarithm that DSCP Map message carries the DSCP mapping relations that need checking, SrcIP: source IP, DstIP: purpose IP, SrcDSCPm: the DSCP value that the request of filling in is surveyed, DstDSCPm: the DSCP value of opposite end mapping;
If step S1211 etc. until DM ACK response message, the reported event result of detection.This event message type is 0x0, and carrying event number is the logarithm that message carries the DSCP mapping relations that need checking, SrcIP: source IP, DstIP: purpose IP, SrcDSCPm: the DSCP value that the request of filling in is surveyed, DstDSCPm: the DSCP value of opposite end mapping;
Step S1212, transmission deexcitation message.Finishing the detection of DSCP processes.
The detailed handling process that Figure 13 is the present embodiment destination, as shown in figure 13:
Step S1301-step S1302, receive the DD probe messages, to activated end, reply DD ACK message, comprise the DSCP value that will survey in heading and payload;
Step S1303-step S1305, receive DSCP MAP message, obtain the end that is activated to the DSCP mapping relations of activated end from the DM message, send DM ACK response message.
The method of the embodiment of the present invention is set up and is needed the backward DSCP mapping relations of DSCP from the destination to the source of surveying by the probe messages reciprocal process of source and destination, the method can detect in whole transmission network the mapping relations of DSCP value between any two network elements, do not need to know concrete path between two network elements, simple and easy O&M, fast efficient, greatly reduce human input, all can apply in all general purpose I P nets.
Embodiment 4:
The present embodiment provides DSCP mapping relations apparatus for establishing between a kind of network element, this device can be arranged in any one network element of IP network, the device of the present embodiment sends probe messages and destination by source and replys the response detected message and survey the DSCP mapping relations between network element, and the device of the present embodiment can be positioned at that source also can be positioned at destination or be an independently network element.
One of device schematic diagram that Figure 14 is the present embodiment, the device of Figure 14 can realize that source carries out the detection of forward direction DSCP mapping relations.
As shown in figure 14: this device 31 comprises: probe messages transmitting element 310, for to destination, sending the DSCP probe messages, comprises the DSCP value that identical needs are surveyed in the heading of the probe messages sent and payload; Response detected message receiving element 311, the DSCP response detected message returned for receiving destination, comprised the forward mapping relation of DSCP value from the source to the destination that described needs are surveyed in the payload of described response detected message; Forward mapping Relation acquisition unit 312, for obtaining the described mapping relations of DSCP value from the source to the destination of surveying that need from described response message.
Alternatively, install 31 and also comprise: survey trigger element 313, for triggering the DSCP detecting function of this device.Alternatively, the device of Figure 31 also comprises: link setup negotiation element 314, for before to destination, sending the DSCP probe messages, with destination, consult to set up the communication link that DSCP surveys; Tear chain negotiation element 315 open, while interrupting for or detection process rear in the end of DSCP detection process, with destination, consult to remove the communication link of DSCP detection.
Alternatively, install 31 and also comprise: checking prediction message transmitting element 316, for to destination, sending the mapping relations checking prediction message, comprises the described forward mapping relation of obtaining in described checking prediction message; Receiving element 317 is replied in verification, and the verification response message returned for receiving destination has comprised correct forward mapping relation in described verification response message; Amending unit 318, for being revised the forward mapping relation of obtaining from DSCP response detected message according to described correct forward mapping relation.The operation principle of device 31 refers to the operation principle of source in embodiment 2, no longer describes in detail herein.
Two of the device schematic diagram that Figure 15 is the present embodiment, the device of Figure 15 can realize that destination carries out the detection of forward direction DSCP mapping relations under the activation of source.
As shown in figure 15, this device 32 comprises: probe messages receiving element 320, the DSCP probe messages sent for receiving source, comprise the DSCP value that source need to be surveyed in the payload of described probe messages, comprised the DSCP value that DSCP value that described source need to survey obtains from source is transferred to destination in the heading of described probe messages; The forward mapping relation is set up unit 321, for the DSCP value in the heading of the DSCP value according to described probe messages payload and described probe messages, sets up the forward mapping relation of DSCP value from the source to the destination that described source need to be surveyed; Response detected packet sending unit 322, for to source, replying the response detected message, comprise described forward mapping relation in described response detected message.
Alternatively, described device 32 also comprises: link setup negotiation element 323, for before receiving described DSCP probe messages, with source, consult to set up the communication link that DSCP surveys; Tear chain negotiation element 324 open, while interrupting for or detection process rear in the end of DSCP detection process, with source, consult to remove the communication link of DSCP detection.
Alternatively, install 32 and also comprise: checking prediction message receiving element 325, the mapping relations checking prediction message that sends for receiving source, comprised the forward mapping relation (can for one or more) of the DSCP value that source obtains in described mapping relations checking prediction message; Verification unit 326, whether the forward mapping relation comprised for more described mapping relations checking prediction message is consistent with the forward mapping relation of self setting up; Verification response message transmitting element 327 for to source back-checking response message, if inconsistent, comprises correct forward mapping relation in described verification response message.The operation principle of device 32 refers to the operation principle of destination in embodiment 2, no longer describes in detail herein.
Three of the device schematic diagram that Figure 16 is the present embodiment, the device of Figure 16 can realize that source carries out the detection of backward DSCP mapping relations.
As shown in figure 16, this device 33 comprises: probe messages transmitting element 330, for to destination, sending the DSCP probe messages, carry the DSCP value that source need to be surveyed in described probe messages; Response detected message receiving element 331, for receiving the DSCP response detected message that destination returns, comprise the DSCP value that described source need to be surveyed in the payload of described response detected message, comprised the DSCP value that DSCP value that described source need to survey obtains from destination is transferred to source in the heading of described response detected message; The backward mapping relation is set up unit 332, for the DSCP value in the heading of the DSCP value according to described response detected message payload and described response detected message, sets up the backward mapping relation of DSCP value from the destination to the source that described source need to be surveyed.
Alternatively, described device 33 also comprises: link setup negotiation element 333, for before receiving described DSCP probe messages, with destination, consult to set up the communication link that DSCP surveys; Tear chain negotiation element 334 open, while interrupting for or detection process rear in the end of DSCP detection process, with destination, consult to remove the communication link of DSCP detection.
Alternatively, install 33 and also comprise: backward mapping concerns transmitting element 335, for the described backward mapping relation by setting up, sends to destination.The operation principle of device 33 refers to the operation principle of source in embodiment 3, no longer describes in detail herein.
Four of the device schematic diagram that Figure 17 is the present embodiment, the device of Figure 17 can realize destination under the activation of source, carry out after to the detection of DSCP mapping relations.
As shown in figure 17, this device 34 comprises: probe messages receiving element 340, and the DSCP probe messages sent for receiving source, carry the DSCP value that source need to be surveyed in the payload of described probe messages; Response detected packet sending unit 341, for return to DSCP response detected message to source, comprise the DSCP value that described source need to be surveyed in the payload of described response detected message He in heading.
Alternatively, described device 33 also comprises: link setup negotiation element 342, for before receiving described DSCP probe messages, with source, consult to set up the communication link that DSCP surveys; Tear chain negotiation element 343 open, while interrupting for or detection process rear in the end of DSCP detection process, with source, consult to remove the communication link of DSCP detection.
Alternatively, install 34 and also comprise: backward mapping concerns receiving element 344, the described backward mapping relation of DSCP value from the destination to the source of surveying that need sent for receiving source.The operation principle of device 34 refers to the operation principle of destination in embodiment 3, no longer describes in detail herein.
Five of the device schematic diagram that Figure 18 is the present embodiment, this device can either be realized the foundation of forward mapping relation, also can realize the foundation of backward mapping relation.
As shown in figure 18, this device 35 comprises: DSCP message receiving element 350, for receiving the DSCP message, comprise the DSCP value that needs are surveyed in the payload of described DSCP message, comprised the 2nd DSCP value that a DSCP value of needs detections obtains after transmitting between described network element in the heading of described DSCP message; Mapping relations are set up unit 351, the 2nd DSCP value comprised in the DSCP value comprised for the payload according to described DSCP message and the heading of described DSCP message, set up the described DSCP mapping relations of a DSCP value between described network element of surveying that need.
Figure 18 a and Figure 18 b correspond respectively to the device schematic diagram of setting up the forward and backward mapping relations, below respectively Figure 18 a and Figure 18 b are described in detail.
(1) as shown in Figure 18 a, when the DSCP mapping relations between described network element are: when opposite end network element (will survey activated end in the present embodiment as the opposite end network element) needs the DSCP forward mapping of a DSCP value from the opposite end network element to the local terminal network element of detection to concern; Device 35a shown in Figure 18 a comprises:
DSCP message receiving element 350a, the DSCP probe messages sent for receiving the opposite end network element, comprise the DSCP value that the opposite end network element need to be surveyed in the payload of described DSCP probe messages, comprised the 2nd DSCP value that a DSCP value obtains from the opposite end network element is transferred to the local terminal network element in the heading of described DSCP probe messages; Mapping relations are set up unit 351a, for the 2nd DSCP value in the heading of the DSCP value according to described DSCP probe messages payload and described DSCP probe messages, set up the DSCP forward mapping relation of a DSCP value from the opposite end network element to the local terminal network element that the opposite end network element need to be surveyed.
Alternatively, described device 35a also comprises: DSCP packet sending unit 352a, for reply DSCP response detected message to the opposite end network element, comprises described DSCP forward mapping relation in described DSCP response detected message.
Alternatively, described device 35a also comprises: verification unit 353, and the DSCP mapping relations checking prediction message sent for receiving the opposite end network element, comprised the described DSCP forward mapping relation that the opposite end network element obtains in described mapping relations checking prediction message; Whether the described DSCP forward mapping relation comprised in more described mapping relations checking prediction message is consistent with the described DSCP forward mapping relation that the local terminal network element is set up; To opposite end network element back-checking response message, if inconsistent, in described verification response message, comprise correct DSCP forward mapping relation.
Alternatively, described device 35a also comprises: link setup negotiation element 355a, for before carrying out the DSCP detection, consult to set up with the opposite end network element communication link that DSCP surveys; And/or, tear chain negotiation element 356a open, while interrupting for or detection process rear in the end of DSCP detection process, with the opposite end network element, consult to remove the communication link of DSCP detection.
Alternatively, described device 35a also comprises: survey trigger element 357a, for when this device is surveyed activation side as DSCP, before consulting to set up the communication link road of DSCP detection with the opposite end network element, trigger the DSCP detecting function of self.
(2) as shown in Figure 18 b, when the DSCP mapping relations between described network element are: when local terminal network element (will survey activated end in the present embodiment as the local terminal network element) needs the DSCP backward mapping of a DSCP value from the opposite end network element to the local terminal network element of detection to concern; Device 35b shown in Figure 18 b comprises:
DSCP message receiving element 350b, for receiving the DSCP response detected message that the opposite end network element returns, comprise the DSCP value that the local terminal network element need to be surveyed in the payload of described DSCP response detected message, comprised the 2nd DSCP value that a DSCP value obtains from the opposite end network element is transferred to the local terminal network element in the heading of described DSCP response detected message; Mapping relations are set up unit 351b, the 2nd DSCP value comprised in heading for the DSCP value that comprises according to described DSCP response detected message payload and described DSCP response detected message, set up the DSCP backward mapping relation of a DSCP value from the opposite end network element to the local terminal network element that the local terminal network element need to be surveyed.
Alternatively, described device 35b also comprises: DSCP packet sending unit 352b, for to the opposite end network element, sending the DSCP probe messages, carry the DSCP value that the local terminal network element need to be surveyed in the payload of described DSCP probe messages.
Alternatively, described device 35b also comprises: mapping relations transmitting element 354 sends to the opposite end network element for the described backward DSCP mapping relations by setting up.
Alternatively, described device 35b also comprises: link setup negotiation element 355b, for before carrying out the DSCP detection, consult to set up with the opposite end network element communication link that DSCP surveys; And/or, tear chain negotiation element 356b open, while interrupting for or detection process rear in the end of DSCP detection process, with the opposite end network element, consult to remove the communication link of DSCP detection.
Alternatively, described device 35b also comprises: survey trigger element 357b, for when this device is surveyed activation side as DSCP, before consulting to set up the communication link road of DSCP detection with the opposite end network element, trigger the DSCP detecting function of self.
The device of the embodiment of the present invention is set up and is needed the DSCP mapping relations of DSCP from the source to the destination and from the destination to the source of surveying by the probe messages reciprocal process of source and destination, the method can detect in whole transmission network the mapping relations of DSCP value between any two network elements, do not need to know concrete path between two network elements, simple and easy O&M, fast efficient, greatly reduce human input, can pinpoint the problems more accurately, all can apply in all general purpose I P nets.
Except said method and device, the embodiment of the present invention also provides DSCP mapping relations between a kind of network element to set up system, local terminal network element and opposite end network element have been comprised, wherein, the local terminal network element can be in previous embodiment as the device of local terminal network element, the opposite end network element can be as the device of opposite end network element in previous embodiment.Be understandable that, if when aforementioned means embodiment orientates the local terminal network element as, this system comprises the opposite end network element of surveying phase the other side as the DSCP of local terminal network element.
Technical solution of the present invention can obtain following beneficial effect:
1, the detection trigger mechanism of the embodiment of the present invention, can adopt the mechanism of manual triggers, periodic triggers or Event triggered, and flexible configuration, as long as the whole process of manual intervention detection again just after triggering.
2, the embodiment of the present invention can the dynamic negotiation link setup and is torn chain open, and abnormal conditions have corresponding event message, effectively helps the user to carry out fault location.
3, the embodiment of the present invention, when carrying out bi-directional probing, is once surveyed and can be set up the mapping relations table simultaneously at two ends.After detection completes, the mapping relations table at two ends carries out verification, guarantees accuracy.
4, the type not restriction of the embodiment of the present invention to detection channels can be surveyed on any channel type between network element, and these passages comprise direct physical link, virtual circuit, tunnel, MPLSLSPs, multi-hop routing channel, and non-direct passage.
5, the detection that the whole detection process of the embodiment of the present invention can a plurality of DSCP values of Pianli.A network element can be set up a plurality of detection groups with a plurality of network elements simultaneously.
6, the scheme of the embodiment of the present invention is applied widely, can be used in wireless ground transmission field, and number is logical, and a plurality of fields of mobile network, as long as adopt the IP technology in whole transmitting procedure, all can be used, and not need to make extra modification.Can realize point-to-point between survey, also realize between end-to-end surveying.
7, the scheme of the embodiment of the present invention adopts the automatic detection mode, and has avoided artificial a large amount of interventions, and maintenance cost is low, operates simple and easyly, quick, effectively obtains accordingly result.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, to come the hardware that instruction is relevant to complete by computer program, described program can be stored in a computer read/write memory medium, this program, when carrying out, can comprise the flow process as the embodiment of above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-OnlyMemory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
Above embodiment only, in order to the technical scheme of the embodiment of the present invention to be described, is not intended to limit; Although with reference to previous embodiment, the embodiment of the present invention is had been described in detail, those of ordinary skill in the art is to be understood that: its technical scheme that still can put down in writing aforementioned each embodiment is modified, or part technical characterictic wherein is equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution break away from the spirit and scope of each embodiment technical scheme of the embodiment of the present invention.

Claims (19)

1. DSCP mapping relations method for building up between a network element, is characterized in that, described method comprises:
Receive Differentiated Services encoding D SCP message, comprised the DSCP value that needs are surveyed in the payload of described DSCP message, comprised the 2nd DSCP value that a DSCP value of needs detections obtains after transmitting between described network element in the heading of described DSCP message;
The 2nd DSCP value comprised in the DSCP value comprised in payload according to described DSCP message and the heading of described DSCP message, set up the described DSCP mapping relations of a DSCP value between described network element of surveying that need;
Wherein, when the DSCP mapping relations between described network element be: when the DSCP forward mapping of the DSCP value that the opposite end network element need to be surveyed from the opposite end network element to the local terminal network element concerns; Described local terminal network element is for receiving the destination network element of message, and described opposite end network element is for initiating the source network element of message;
Described reception DSCP message comprises:
The local terminal network element receives the DSCP probe messages that the opposite end network element sends, comprise the DSCP value that the opposite end network element need to be surveyed in the payload of described DSCP probe messages, comprised the 2nd DSCP value that a DSCP value obtains from the opposite end network element is transferred to the local terminal network element in the heading of described DSCP probe messages;
The 2nd DSCP value comprised in the DSCP value comprised in the described payload according to described DSCP message and the heading of described DSCP message, set up the described DSCP mapping relations of a DSCP value between described network element of surveying that need, and comprising:
The local terminal network element, according to the 2nd DSCP value in the heading of the DSCP value in described DSCP probe messages payload and described DSCP probe messages, is set up the DSCP forward mapping relation of a DSCP value from the opposite end network element to the local terminal network element that the opposite end network element need to be surveyed.
2. method according to claim 1, is characterized in that, described method also comprises:
The local terminal network element is replied DSCP response detected message to the opposite end network element, comprises described DSCP forward mapping relation in described DSCP response detected message.
3. method according to claim 2, is characterized in that, described method also comprises:
Receive the DSCP mapping relations checking prediction message that the opposite end network element sends, comprised the described DSCP forward mapping relation that the opposite end network element obtains in described mapping relations checking prediction message;
Whether the described DSCP forward mapping relation comprised in more described mapping relations checking prediction message is consistent with the described DSCP forward mapping relation that the local terminal network element is set up;
To opposite end network element back-checking response message, if inconsistent, in described verification response message, comprise correct DSCP forward mapping relation.
4. method according to claim 1, is characterized in that, described method also comprises:
Before carrying out the DSCP detection, local terminal network element and opposite end network element consult to set up the communication link that DSCP surveys; And/or,
When the DSCP detection process finishes rear or detection process interruption, local terminal network element and opposite end network element consult to remove the communication link that DSCP surveys.
5. DSCP mapping relations method for building up between a network element, is characterized in that, described method comprises:
Receive Differentiated Services encoding D SCP message, comprised the DSCP value that needs are surveyed in the payload of described DSCP message, comprised the 2nd DSCP value that a DSCP value of needs detections obtains after transmitting between described network element in the heading of described DSCP message;
The 2nd DSCP value comprised in the DSCP value comprised in payload according to described DSCP message and the heading of described DSCP message, set up the described DSCP mapping relations of a DSCP value between described network element of surveying that need;
Wherein, when the DSCP mapping relations between described network element be: when the DSCP backward mapping of the DSCP value that the local terminal network element need to be surveyed from the opposite end network element to the local terminal network element concerns; Described local terminal network element is for receiving the destination network element of message, and described opposite end network element is for initiating the source network element of message;
Described reception DSCP message comprises:
The local terminal network element receives the DSCP response detected message that the opposite end network element returns, comprise the DSCP value that the local terminal network element need to be surveyed in the payload of described DSCP response detected message, comprised the 2nd DSCP value that a DSCP value obtains from the opposite end network element is transferred to the local terminal network element in the heading of described DSCP response detected message;
The 2nd DSCP value comprised in the DSCP value comprised in the described payload according to described DSCP message and the heading of described DSCP message, set up the described DSCP mapping relations of a DSCP value between described network element of surveying that need, and comprising:
The 2nd DSCP value comprised in the heading of local terminal network element according to the DSCP value comprised in described DSCP response detected message payload and described DSCP response detected message, set up the DSCP backward mapping relation of a DSCP value from the opposite end network element to the local terminal network element that the local terminal network element need to be surveyed.
6. method according to claim 5, is characterized in that, before the DSCP response detected message returned at local terminal network element reception opposite end network element, described method also comprises:
The local terminal network element sends the DSCP probe messages to the opposite end network element, carries the DSCP value that the local terminal network element need to be surveyed in the payload of described DSCP probe messages.
7. method according to claim 5, is characterized in that, described method also comprises:
The described DSCP backward mapping relation of setting up is sent to the opposite end network element.
8. method according to claim 5, is characterized in that, described method also comprises:
Before carrying out the DSCP detection, local terminal network element and opposite end network element consult to set up the communication link that DSCP surveys; And/or,
When the DSCP detection process finishes rear or detection process interruption, local terminal network element and opposite end network element consult to remove the communication link that DSCP surveys.
9. method according to claim 8, is characterized in that, before local terminal network element and opposite end network element consult to set up the communication link road that DSCP surveys, described method also comprises:
Survey the local terminal network element of activation side or the DSCP detecting function that the opposite end network element triggers self as DSCP.
10. DSCP mapping relations apparatus for establishing between a network element, is characterized in that, described device comprises:
DSCP message receiving element, for receiving Differentiated Services encoding D SCP message, comprise the DSCP value that needs are surveyed in the payload of described DSCP message, comprised the 2nd DSCP value that a DSCP value of needs detections obtains after transmitting between described network element in the heading of described DSCP message;
Mapping relations are set up unit, the 2nd DSCP value comprised in the DSCP value comprised for the payload according to described DSCP message and the heading of described DSCP message, set up the described DSCP mapping relations of a DSCP value between described network element of surveying that need;
Wherein, when the DSCP mapping relations between described network element be: when the DSCP forward mapping of the DSCP value that the opposite end network element need to be surveyed from the opposite end network element to the local terminal network element concerns; Described local terminal network element is for receiving the destination network element of message, and described opposite end network element is for initiating the source network element of message;
Described DSCP message receiving element, the DSCP probe messages sent for receiving the opposite end network element, comprise the DSCP value that the opposite end network element need to be surveyed in the payload of described DSCP probe messages, comprised the 2nd DSCP value that a DSCP value obtains from the opposite end network element is transferred to the local terminal network element in the heading of described DSCP probe messages;
Described mapping relations are set up unit, for the 2nd DSCP value in the heading of the DSCP value according to described DSCP probe messages payload and described DSCP probe messages, set up the DSCP forward mapping relation of a DSCP value from the opposite end network element to the local terminal network element that the opposite end network element need to be surveyed.
11. device according to claim 10, is characterized in that, described device also comprises:
The DSCP packet sending unit, for reply DSCP response detected message to the opposite end network element, comprise described DSCP forward mapping relation in described DSCP response detected message.
12. device according to claim 11, is characterized in that, described device also comprises:
Verification unit, the DSCP mapping relations checking prediction message sent for receiving the opposite end network element, comprised the described DSCP forward mapping relation that the opposite end network element obtains in described mapping relations checking prediction message; Whether the described DSCP forward mapping relation comprised in more described mapping relations checking prediction message is consistent with the described DSCP forward mapping relation that the local terminal network element is set up; To opposite end network element back-checking response message, if inconsistent, in described verification response message, comprise correct DSCP forward mapping relation.
13. device according to claim 10, is characterized in that, described device also comprises:
The link setup negotiation element, for before carrying out the DSCP detection, consult to set up with the opposite end network element communication link that DSCP surveys; And/or,
Tear the chain negotiation element open, while interrupting for or detection process rear in the end of DSCP detection process, with the opposite end network element, consult to remove the communication link of DSCP detection.
14. between a network element, DSCP mapping relations apparatus for establishing, is characterized in that, described device comprises:
DSCP message receiving element, for receiving Differentiated Services encoding D SCP message, comprise the DSCP value that needs are surveyed in the payload of described DSCP message, comprised the 2nd DSCP value that a DSCP value of needs detections obtains after transmitting between described network element in the heading of described DSCP message;
Mapping relations are set up unit, the 2nd DSCP value comprised in the DSCP value comprised for the payload according to described DSCP message and the heading of described DSCP message, set up the described DSCP mapping relations of a DSCP value between described network element of surveying that need;
Wherein, when the DSCP mapping relations between described network element be: when the DSCP backward mapping of the DSCP value that the local terminal network element need to be surveyed from the opposite end network element to the local terminal network element concerns; Described local terminal network element is for receiving the destination network element of message, and described opposite end network element is for initiating the source network element of message;
Described DSCP message receiving element, for receiving the DSCP response detected message that the opposite end network element returns, comprise the DSCP value that the local terminal network element need to be surveyed in the payload of described DSCP response detected message, comprised the 2nd DSCP value that a DSCP value obtains from the opposite end network element is transferred to the local terminal network element in the heading of described DSCP response detected message;
Described mapping relations are set up unit, the 2nd DSCP value comprised in heading for the DSCP value that comprises according to described DSCP response detected message payload and described DSCP response detected message, set up the DSCP backward mapping relation of a DSCP value from the opposite end network element to the local terminal network element that the local terminal network element need to be surveyed.
15. device according to claim 14, is characterized in that, described device also comprises:
The DSCP packet sending unit, for to the opposite end network element, sending the DSCP probe messages, carry the DSCP value that the local terminal network element need to be surveyed in the payload of described DSCP probe messages.
16. device according to claim 14, is characterized in that, described device also comprises:
The mapping relations transmitting element, send to the opposite end network element for the described DSCP backward mapping relation by setting up.
17. device according to claim 14, is characterized in that, described device also comprises:
The link setup negotiation element, for before carrying out the DSCP detection, consult to set up with the opposite end network element communication link that DSCP surveys; And/or,
Tear the chain negotiation element open, while interrupting for or detection process rear in the end of DSCP detection process, with the opposite end network element, consult to remove the communication link of DSCP detection.
18. device according to claim 15, is characterized in that, described device also comprises:
Survey trigger element, for when described device is surveyed activation side as DSCP, before consulting to set up the communication link road of DSCP detection with the opposite end network element, trigger the DSCP detecting function of self.
19. between a network element, the DSCP mapping relations are set up system, it is characterized in that, comprise DSCP mapping relations apparatus for establishing between network element as described as claim 10 to 18 any one, between described network element, DSCP mapping relations apparatus for establishing is as the local terminal network element, and the opposite end network element of surveying phase the other side as the DSCP of local terminal network element.
CN2009101631490A 2009-08-17 2009-08-17 Method, device and system for establishing differentiated services code point (DSCP) mapping relation between network elements Active CN101997840B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009101631490A CN101997840B (en) 2009-08-17 2009-08-17 Method, device and system for establishing differentiated services code point (DSCP) mapping relation between network elements

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009101631490A CN101997840B (en) 2009-08-17 2009-08-17 Method, device and system for establishing differentiated services code point (DSCP) mapping relation between network elements

Publications (2)

Publication Number Publication Date
CN101997840A CN101997840A (en) 2011-03-30
CN101997840B true CN101997840B (en) 2013-12-04

Family

ID=43787436

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009101631490A Active CN101997840B (en) 2009-08-17 2009-08-17 Method, device and system for establishing differentiated services code point (DSCP) mapping relation between network elements

Country Status (1)

Country Link
CN (1) CN101997840B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103067276B (en) * 2012-12-31 2016-09-21 华为技术有限公司 A kind of Apparatus for () and method therefor selecting link based on application layer protocol
CN108604999B (en) * 2016-02-05 2022-03-15 瑞典爱立信有限公司 Data plane method and apparatus for monitoring Differentiated Services Coding Points (DSCP) and Explicit Congestion Notification (ECN)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1640061A (en) * 2002-02-28 2005-07-13 思科技术公司 System and method for providing quality of service transport in a telecommunications network
CN101127691A (en) * 2006-08-17 2008-02-20 王玉鹏 A method for implementing stream-based policy routing on network processor

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6459698B1 (en) * 2001-06-18 2002-10-01 Advanced Micro Devices, Inc. Supporting mapping of layer 3 priorities in an infiniband ™ network
US7386630B2 (en) * 2003-04-30 2008-06-10 Nokia Corporation Using policy-based management to support Diffserv over MPLS network
CN1316803C (en) * 2004-05-18 2007-05-16 北京邮电大学 Flow regulating method for ensuring integrated flow fairness of guaranted repeat business
CN100358305C (en) * 2006-01-05 2007-12-26 华为技术有限公司 Method for QoS delay detection in communication system
US7796535B2 (en) * 2006-09-01 2010-09-14 Comcast Cable Holdings, Llc System and method for monitoring a data packet
CN101179421B (en) * 2006-11-10 2010-04-14 华为技术有限公司 Method, device and system of distinguishing mapping table of service quality
CN101075968A (en) * 2007-07-23 2007-11-21 中兴通讯股份有限公司 Method and apparatus for providing region-classifying service

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1640061A (en) * 2002-02-28 2005-07-13 思科技术公司 System and method for providing quality of service transport in a telecommunications network
CN101127691A (en) * 2006-08-17 2008-02-20 王玉鹏 A method for implementing stream-based policy routing on network processor

Also Published As

Publication number Publication date
CN101997840A (en) 2011-03-30

Similar Documents

Publication Publication Date Title
CN103905447B (en) Service link selects control method and equipment
AU2015256589B2 (en) Fine-grained network monitoring
WO2018054397A1 (en) Service function chain detection path method and device
CN105490932A (en) Two-way forwarding detection method, device and system
CN108023808A (en) message distributing method and device in application program
CN108199914A (en) Server-side condition detection method and device
CN103731499B (en) Terminal and document transmission method
CN105721235B (en) A kind of method and apparatus detecting connectivity
CN106878164A (en) A kind of message transmitting method and device
CN113259391B (en) Data transmission method and device applied to multi-level node network
CN106559280A (en) Bidirectional forwarding detection (BFD) method and device
CN104486361A (en) Online game connection building method, game terminal and system
US20170085673A1 (en) Attribute Operating Method and Apparatus
CN107623584A (en) The detection of multi-protocol exchange label, processing method, apparatus and system
CN101997840B (en) Method, device and system for establishing differentiated services code point (DSCP) mapping relation between network elements
CN110175833B (en) Computer device, method, system and medium for binding bank card information
CN104038366B (en) Clustered node abatement detecting method and system
CN103188153A (en) Bidirectional forwarding detection (BFD) message sending method and equipment on broadcast network link
CN109039687A (en) Load-balancing method, device, system, equipment and the storage medium of request
CN106488563A (en) A kind of resource selection method and device
CN107332793A (en) A kind of message forwarding method, relevant device and system
CN105282025A (en) Method of determining end-to-end routing and apparatus thereof
CN107294812B (en) Network detecting method, network detection device and intelligent terminal
CN104486787B (en) A kind of link failure method and device
CN107645401A (en) The detection of multiprotocol label switching, processing method, apparatus and system

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