CN106453138A - Message processing method and apparatus - Google Patents

Message processing method and apparatus Download PDF

Info

Publication number
CN106453138A
CN106453138A CN201611058038.XA CN201611058038A CN106453138A CN 106453138 A CN106453138 A CN 106453138A CN 201611058038 A CN201611058038 A CN 201611058038A CN 106453138 A CN106453138 A CN 106453138A
Authority
CN
China
Prior art keywords
message
local
flow table
qos
table item
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201611058038.XA
Other languages
Chinese (zh)
Other versions
CN106453138B (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.)
Hangzhou H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN201611058038.XA priority Critical patent/CN106453138B/en
Publication of CN106453138A publication Critical patent/CN106453138A/en
Application granted granted Critical
Publication of CN106453138B publication Critical patent/CN106453138B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/50Queue scheduling
    • H04L47/62Queue scheduling characterised by scheduling criteria
    • H04L47/6215Individual queue per QOS, rate or priority

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a message processing method and apparatus. The method is applied to a forwarding device, and the method comprises the following steps: receiving a first message through a first port; finding a first flow table entry matched with the first message in an existing local flow table entry; determining an outlet port indicated by the first flow table entry as a second port, setting a value of QoS- Local-ID of the first message as the value of a queue ID indicated by the first flow table entry according to a QoS strategy enabled by the second port, and adding the first message in an outlet port queue matched with the QoS- Local-ID of the first message. According to the method, the queue ID of an OpenFlow queue is transmitted by the internal attribute QoS- Local-ID of the message, so that the function and the priority mapping function of the OpenFlow queue can be used at the same time.

Description

A kind of message processing method and device
Technical field
The application is related to communication technical field, more particularly to a kind of message processing method and device.
Background technology
After message enters forwarding unit, forwarding unit can carry out priority mapping, OpenFlow forward process to message Deng.
So-called priority mapping, that is, realize service quality (Quality of Service, the QoS) priority of message carrying And the conversion between the local first level (local preference, LP) of device interior.Priority mapping can be included into side The priority mapping in priority mapping and outgoing direction upwards.Enter on direction, when message access arrangement, its QoS for carrying Priority can be mapped as local first level;On outgoing direction, when equipment sends message, the local first level of the message can be by again It is mapped as QoS priority.
So-called OpenFlow forward process, will message mated with the OpenFlow flow list item on equipment, if Work(is made into, then action queue sets (Set-Queue) is carried out according to the flow table item of coupling to message, and message is sent to corresponding Port is forwarded.
So-called action queue sets, that is, set the dequeue identifier (ID) of a message, when forwarding the packet to one During port, queue ID specifies which queue used in the associated queue of the port works as to forward the message.
Forwarding unit mainly transmits queue identifier (ID) by the local first level of message at present, i.e., join the team in message Before arranging, the value of the local first level of message is revised as queue ID.Afterwards, forwarding unit is held according to the local first level of message The queue ID of load, message is sent into corresponding queue and is processed.
But, occurred before OpenFlow forward process due to entering the priority mapping on direction, and on outgoing direction Priority mapping occurs after OpenFlow forward process.If after the priority mapping on direction is entered, the sheet of message The value of ground priority is modified again for transmitting queue ID, then just cannot be realized out using the local first level of message afterwards Priority mapping on direction.This causes the OpenFlow forward process function of forwarding unit and the priority mapping function cannot be with When use.
Content of the invention
In view of this, the application provides a kind of message processing method and device, in order to solve at equipment OpenFlow forwarding Reason function and the problem that cannot be used simultaneously using the function (as priority mapping function) of local first level.
Specifically, the application is achieved by the following technical solution:
A kind of the application first aspect, there is provided message processing method, methods described is applied to forwarding unit, including:
First message is received by first port;
Find, in local having, the first flow table item that mates with first message in flow table item;
Determine that the exit port that first flow table item is indicated is second port, according to the QoS plan that the second port is enabled The value of the QoS-local-id of first message is slightly set to the value of queue identifier ID of first flow table item instruction, First message is added in the exit port queue that is mated with the Qos-local-id of first message.
A kind of the application second aspect, there is provided message process device, described device can apply to forwarding unit, have Realize the function of said method.The function can be realized by hardware, it is also possible to execute the realization of corresponding software by hardware. The hardware or software include one or more modules corresponding with above-mentioned functions or unit.
In a kind of possible implementation, described device includes:
Receiving unit, for receiving the first message by first port;
Matching unit, for finding, in local having in flow table item, the first flow table item that mates with first message;
Processing unit, for determining that the exit port that first flow table item is indicated is second port, according to second end The value of the QoS-local-id of first message is set to the qos policy that mouth is enabled the queue of first flow table item instruction The value of identifier ID, first message is added to the exit port queue that is mated with the Qos-local-id of first message In.
In alternatively possible implementation, described device includes communication interface, processor, memorizer and bus, described It is connected with each other by bus between communication interface, the processor and the memorizer;The processor is by depositing described in reading The logical order for storing in reservoir, executes the message processing method described in the application first aspect.
The scheme for being provided using the application, by the built-in attribute QoS-local-id of message, (service quality is locally identified Symbol) transmitting the queue ID of OpenFlow queue, so that OpenFlow queue function and priority mapping function can be with When use.
Description of the drawings
Fig. 1 is a kind of signal of the OpenFlow virtual network applied by message processing method that the embodiment of the present application is provided Figure;
Fig. 2 is a kind of flow chart of message processing method that the embodiment of the present application is provided;
Fig. 3 is the networking schematic diagram of one embodiment of the application;
Fig. 4 is the qos policy schematic diagram of one embodiment of the application;
Fig. 5 is that inside the forwarding unit of one embodiment of the application, flow table item, QoS-local-id associate signal with queue Figure;
Fig. 6 is a kind of functional block diagram of message process device that the embodiment of the present application is provided;
Fig. 7 is a kind of hardware structure figure of message process device that the embodiment of the present application is provided.
Specific embodiment
Here in detail exemplary embodiment will be illustrated, its example is illustrated in the accompanying drawings.Explained below is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the application.Conversely, they be only with as appended by The example of consistent apparatus and method in terms of some that described in detail in claims, the application.
It is the purpose only merely for description specific embodiment in term used in this application, and is not intended to be limiting the application. " one kind ", " described " and " being somebody's turn to do " of singulative used in the application and appended claims is also intended to include majority Form, unless context clearly shows that other implications.It is also understood that term "and/or" used herein is referred to and is wrapped Containing one or more associated any or all possible combination for listing project.
It will be appreciated that though term first, second, third, etc. may be adopted in the application describe various information, but this A little information should not necessarily be limited by these terms.These terms are only used for same type of information is distinguished from each other out.For example, without departing from In the case of the application scope, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as One information.Depending on linguistic context, word as used in this " if " can be construed to " ... when " or " when ... When " or " in response to determining ".
Hereinafter, first the part term in the application is explained.
QoS priority:Carry in the heading of message.Conventional QoS priority field includes 802.1p, differential service Code point (Differentiated Services Code Point, DSCP), EXP (experimental) etc..User is permissible According to the different QoS priority field used in heterogeneous networks of the network planning, such as in VLAN (Virtual Local Area Network, VLAN) 802.1p used in network, in Internet protocol (English:Internet Protocol, Referred to as:IP) DSCP used in network, in multiprotocol label switching (English:Multi-Protocol Label Switching, Referred to as:MPLS) EXP used in network.
Local first level:It is a kind of priority with local significance, after message reaches forwarding unit, one can be allocated Local data domain, this local data domain can be used for storing local first level.Local first level only has 0~7 eight values, right Answer eight exit port queues of queue0~queue7.
With reference to Figure of description and each embodiment, technical scheme is illustrated.
Forwarding unit can be summarized as follows to the handling process of message:
First, the priority mapping on direction and other Business Processing are carried out to message;Secondly, routing table is searched;Again Secondary, OpenFlow forward process is carried out to message;Then, the priority mapping on outgoing direction is carried out to message;Finally, reported Text is joined the team column processing.
As the enforcement order of OpenFlow forward process is after the priority mapping on direction is entered, on outgoing direction Before priority mapping, and OpenFlow forward process and priority mapping are required for using local first level, so at present For equipment, cannot be while the use priority mapping function and OpenFlow forward process function.
For this purpose, present applicant proposes a kind of message processing method and device, by the built-in attribute QoS-local- of message Id (the local identifier of service quality) is transmitting the queue ID of OpenFlow queue, so that OpenFlow queue function and excellent First level mapping function can be used simultaneously.
The message processing method that the application is provided, can be applicable to the OpenFlow virtual net shown in Fig. 1, OpenFlow virtuality Net includes OpenFlow controller (hereinafter referred to as controller) 100, forwarding unit 110 and escape way (Secure Channel) 120, wherein, the escape way 120 between controller 100 and forwarding unit 110 by being pre-configured with communicates.
Controller 100, is the control centre of OpenFlow virtual net, for according to the configuration of user or dynamic operation Protocol generation flow table is sent to forwarding unit 110.Flow table is the core data knot that forwarding unit 110 carries out forwarding strategy control Structure, including matching domain (English:Match), enumerator (English:Counter) and action fields (English:Action).
Forwarding unit 110, for receiving the flow table that controller 100 is issued, and is processed to message according to flow table, such as OpenFlow forward process, priority mapping etc..
Below by Fig. 2, the message processing method provided by the application is described.
Referring to the method flow diagram that Fig. 2, Fig. 2 are provided for the application.As shown in Fig. 2 the flow process may include following steps:
Step 201:Forwarding unit receives message by first port.
Step 202:Forwarding unit finds, in local having, the first flow table item that mates with first message in flow table item.
Step 203:Forwarding unit determines that the exit port that first flow table item is indicated is second port, according to described second The value of the QoS-local-id of first message is set to the qos policy that port enables the team of first flow table item instruction The value of row ID, first message is added in the exit port queue that is mated with the Qos-local-id of first message.
Wherein, the local flow table item of forwarding unit is handed down to forwarding unit in advance by controller, and flow table item is generally comprised Matching domain and action fields.
Matching domain is used for matching message, can be the five-tuple of message, the type of message (as video traffic message, voice Service message) etc..
In the application, the action fields of flow table item are used for indicating when message is mated with matching domain by the QoS- of the matching message The value of local-id is set to the value of specified queue ID and the matching message is forwarded to specified exit port, for example, it is possible to refer to Show and matching message is forwarded to specific exit port R2, and the Qos-local-id of the matching message is entered as 1.So report Text is most sent from the queue that the queue ID of exit port R2 is 1 at last.
In the application, same equipment sends and is sent to the different messages of same purpose equipment, through forwarding unit When, can send from the different queue of forwarding unit same port.Specific implementation is as follows:
Forwarding unit receives the second message by first port, and the second message is different from the first message in step 201.
For example, if the five-tuple of the first message is different from the second message, e.g., the source port of the first message is different from second The source port of message, then it is considered that the second message is different from the first message.Again for example, if the type of the first message is different from The type of the second message, such as the first message are video traffic messages, and the second message is speech business message, then it is also assumed that Second message is different from the first message.
After forwarding unit receives the second message, find, in local having, the second for mating with the second message in flow table item List item.
Then, forwarding unit determines that the exit port that the second flow table item is indicated is second port, enables according to second port The value of the QoS-local-id of the second message is set to qos policy the value of the queue ID of the second flow table item instruction, and second is reported Text is added in the exit port queue that is mated with the Qos-local-id of second message.
Wherein, the value for arranging if the QoS-local-id of the first message is different from the QoS-local- for the second message The value that id is arranged, then although the first message and the second message are all forwarded to second port, but the first message and the second message Different exit port queues are entered, and is forwarded from different exit port queues.
Different queues can correspond to different Flow Behaviors, and Flow Behavior is the QoS action that is done for message, including true Protect and forward (Assured Forwarding, AF), fast-forwarding (Expedited Forwarding, EF), Weighted Fair Queuing (Weighted Fair Queuing, WFQ) etc..
As the application transmits the queue ID of OpenFlow queue by the built-in attribute QoS-local-id of message, no Queue ID is carried using the local first level to message, so as to priority mapping function or other use local first level Function all can with OpenFlow forward process function and meanwhile use.
By taking priority mapping function as an example, before the flow table item that mates with message is found, forwarding unit can be according to pre- If the priority mapping relation for entering on direction, the initial Q oS priority mapping that the message is carried is local first level;And After finding the flow table item that mates with message, according to the priority mapping relation on default outgoing direction, by the local of the message Priority mapping is new QoS priority, and the initial Q oS priority that the message is carried replaces with the new QoS priority.
Before and after mapping, the value of QoS priority or type are likely to occur change.
For example, when the value for needing the priority for lifting some messages according to actual networking requirements, excellent to reach these messages During the purpose being first processed, the mapping relations of the different priorities value of same priority field can be configured on forwarding unit.
Such as, on direction is entered, configuration preference level is mapped as DSCP-LP (60-6), and on outgoing direction, configuration preference level is mapped as LP-DSCP (6-63), then after the message that certain initial DSCP is 60 enters forwarding unit, in the side of entering upwardly through priority It is 6 that mapping can arrange the LP of the message, and the value of the DSCP that the message can be carried by priority mapping in outgoing direction is set It is set to 63.
Again for example, when message is through heterogeneous networks, in order to keep the priority of message, can be in connection heterogeneous networks The mapping relations of different priorities field are configured on forwarding unit.
Such as, on direction is entered, configuration preference level is mapped as DSCP-LP (60-6), and on outgoing direction, configuration preference level is mapped as LP-EXP (6-50), then after the message that certain initial DSCP is 60 enters forwarding unit, in the side of entering upwardly through priority It is 6 that mapping can arrange the LP of the message, the precedence field of the message can be changed by priority mapping in outgoing direction For EXP.
Further, since the span of the built-in attribute QoS-local-id of message be 1 to 4095, so if by Join QoS-local-id and message is sent into different queues, then the model of the number of queues that each port of forwarding unit can be arranged Enclose for 1 to 4095, i.e., 4095 queues can be at most set in each exit port, it is clear that the usable range of queue is improve, can To meet the application scenarios of a large amount of queues.
In order to be illustrated more clearly that the technical scheme of the application, below by one embodiment technique scheme is done into The explanation of one step, it should be noted that this embodiment is only a kind of implementation of the application, does not constitute the limit to the application Fixed.
Referring to Fig. 3, it is assumed that device A is sent to 4 different message flows of equipment B when through forwarding unit, sets from forwarding Standby R1 mouth is entered, and is sent from R2 mouth.In order to this 4 message flows can be turned by different queues in the R2 mouth of forwarding unit Send out, can be realized by following process:
1st, controller issues 4 flow table items to forwarding unit, the matching domain of this 4 flow table items respectively with this 4 message flows Coupling, the action fields of flow table item then specify outgoing interface (R2 mouth) and arrange the queue ID (such as 1,2,3,4 etc.) in message.
2nd, forwarding unit configures qos policy on Interface R2, that is, set classifying ruless and the corresponding Flow Behavior of queue of stream, And the classifying ruless of stream and Flow Behavior are bound.In the application, the classifying ruless of stream can be according to the QoS- of message The value of local-id, the Flow Behavior of queue can select AF, EF, WFQ etc..A kind of example such as Fig. 4 institute of qos policy configuration Show, when the QoS-local-id of message is 1, message is sent into queue 1;When the QoS-local-id of message is 2, by message Send into queue 2;When the QoS-local-id of message is 3, message is sent into queue 3;When the QoS-local-id of message is 4 When, message is sent into queue 4.
3rd, device A is sent to the R1 mouth entrance of 4 message flows of equipment B from forwarding unit.Forwarding unit is by message flow and control Device processed is set in advance in local flow table item and is mated one by one, and the flow table item according to coupling carries out action queue sets to message (Set-Queue).For example, the QoS-local-id of message flow 1 is entered as 1, the QoS-local-id of message flow 2 is entered as 2, the QoS-local-id of message flow 3 is entered as 3, the QoS-local-id domain of message flow 4 is entered as 4, then this 4 Message streams to R2 mouth.
4th, this 4 message flows mate the QoS-local-id value of itself on R2 mouth and enter different queues.As Fig. 5 institute Show, QoS-local-id (1) corresponding queue 1, QoS-local-id (2) corresponding queue 2, QoS-local-id (3) correspond to queue 3, QoS-local-id (4) corresponding queues 4.Finally, message flow 1 is sent from the queue 1 of R2 mouth, and message flow 2 is from the queue 2 of R2 mouth Send, message flow 3 is sent from the queue 3 of R2 mouth, message flow 4 is sent from the queue 4 of R2 mouth.
The method for above the application being provided is described.The device for below the application being provided is described.
Referring to Fig. 6, the figure is a kind of functional block diagram of message process device that the embodiment of the present application is provided, the device Can apply in forwarding unit.Described device includes receiving unit 601, matching unit 602 and processing unit 603.
The receiving unit 601, for receiving the first message by first port.
The matching unit 602, first-class with what first message mated for finding in local flow table item List item.
The processing unit 603, for determining that the exit port that first flow table item is indicated is second port, according to described The value of the QoS-local-id of first message is set to first flow table item instruction by the qos policy that second port is enabled Queue identifier ID value, first message is added to mate with the Qos-local-id of first message go out end In mouth queue.
Optionally, the receiving unit 601 can be also used for:Second message is received by the first port, described the Two messages are different from first message.
The matching unit 602 can be also used for:Local have to find in flow table item mate with second message Second flow table item.
The processing unit 603 can be also used for:Determine that the exit port that second flow table item is indicated is second end Mouthful, according to the qos policy that the second port is enabled, the value of the QoS-local-id of second message is set to described the The value of the queue ID that two flow table items are indicated, second message is added to and is mated with the Qos-local-id of second message Exit port queue in.
Wherein, the value of the QoS-local-id of first message is different from the QoS-local-id's of second message Value, therefore, first message with second message by exit port queues different for entrance, from the different teams of same port Row send.
Optionally, described device can also include:
Map unit, for finding and first message in local having in flow table item in the matching unit 602 Before the first flow table item that joins, according to default enter direction on priority mapping relation, by first message carry just Beginning service quality QoS priority mapping is local first level.And, locally having in flow table item in the matching unit 602 After finding the first flow table item that mates with first message, according to the priority mapping relation on default outgoing direction, will The local first level of first message is mapped as new QoS priority, and the initial Q oS priority that the message is carried is replaced It is changed to the new QoS priority.
Optionally, the scope of the number of queues that the second port can be arranged is 1 to 4095.
Optionally, the flow table item is issued to the forwarding unit by controller;The flow table item is included for mating report The matching domain of text, and for indicating to be set to the value of the QoS-local-id of the matching message when message is mated with matching domain The value of specified queue ID and the matching message is forwarded to the action fields of specified exit port.
It should be noted that being a kind of schematic, only logic function to the division of unit in the embodiment of the present invention Divide, when actually realizing, can have other dividing mode.Each functional unit in embodiments herein can be integrated in In one processing unit, or unit is individually physically present, it is also possible to which two or more units are integrated in one In individual unit.Above-mentioned integrated unit both can be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit Realize.
As shown in fig. 7, the embodiment of the present application also provides a kind of message process device, described device include communication interface 701, Processor 702, memorizer 703 and bus 704;Wherein, communication interface 701, processor 702, memorizer 703 pass through bus 704 Complete mutual communication.
Wherein, communication interface 701, for net element communication.Processor 702 can be a central processing unit (CPU), deposit Reservoir 703 can be nonvolatile memory (non-volatile memory), and at the message that is stored with memorizer 703 Reason logical order, processor 702 can execute the Message processing logical order for storing in memorizer 703, to realize above-mentioned report The function of forwarding unit in literary processing method, flow process shown in Figure 2.
For device embodiment, as which corresponds essentially to embodiment of the method, so related part is referring to method reality Apply the part explanation of example.Device embodiment described above is only schematically, wherein described as separating component The unit of explanation can be or may not be physically separate, as the part that unit shows can be or can also It is not physical location, you can be located at a place, or can also be distributed on multiple NEs.Can be according to reality Need to select some or all of module therein to realize the purpose of application scheme.Those of ordinary skill in the art are not paying In the case of going out creative work, you can to understand and implement.
The preferred embodiment of the application is the foregoing is only, not in order to limit the application, all essences in the application Within god and principle, any modification, equivalent substitution and improvement that is done etc., should be included within the scope of the application protection.

Claims (10)

1. a kind of message processing method, it is characterised in that methods described is applied to forwarding unit, including:
First message is received by first port;
Find, in local having, the first flow table item that mates with first message in flow table item;
Determine that the exit port that first flow table item is indicated is second port, according to the service quality that the second port is enabled The value of local for the service quality of first message identifier QoS-local-id is set to first flow table item by qos policy The value of queue identifier ID of instruction, first message is added to and is mated with the Qos-local-id of first message In exit port queue.
2. the method for claim 1, it is characterised in that methods described also includes:
Second message is received by the first port, second message is different from first message;
Find, in local having, the second flow table item that mates with second message in flow table item;
Determine that the exit port that second flow table item is indicated is the second port, according to the QoS plan that the second port is enabled The value of the QoS-local-id of second message is slightly set to the value of the queue ID of second flow table item instruction, will be described Second message is added in the exit port queue that is mated with the Qos-local-id of second message;
Wherein, the value of the QoS-local-id of first message is different from the value of the QoS-local-id of second message, First message exit port queue different with the second message entrance.
3. the method for claim 1, it is characterised in that find and first message locally having in flow table item Before the first flow table item that joins, methods described also includes:
According to default enter direction on priority mapping relation, will first message carry initial quality of service QoS excellent First level is mapped as local first level;
After finding, in local flow table item, the first flow table item that mates with first message, methods described also includes:
According to the priority mapping relation on default outgoing direction, the local first level of first message is mapped as new QoS priority, and the initial Q oS priority that the message is carried replaces with the new QoS priority.
4. the method for claim 1, it is characterised in that the scope of the number of queues that the second port can be arranged be 1 to 4095.
5. the method for claim 1, it is characterised in that the flow table item is issued to the forwarding unit by controller;
The flow table item includes the matching domain for matching message, and for indicating to mate this when message is mated with matching domain The value of the QoS-local-id of message is set to the value of specified queue ID and the matching message is forwarded to specified exit port Action fields.
6. a kind of message process device, it is characterised in that described device is applied to forwarding unit, including:
Receiving unit, for receiving the first message by first port;
Matching unit, for finding, in local having in flow table item, the first flow table item that mates with first message;
Processing unit, for determining that the exit port that first flow table item is indicated is second port, makes according to the second port The value of local for the service quality of first message identifier QoS-local-id is set to institute by the QoS policy of energy The value of queue identifier ID of the first flow table item instruction is stated, first message is added to the Qos- with first message In the exit port queue of local-id coupling.
7. device as claimed in claim 6, it is characterised in that
The receiving unit is additionally operable to:
Second message is received by the first port, second message is different from first message;
The matching unit is additionally operable to:
Find, in local having, the second flow table item that mates with second message in flow table item;
The processing unit is additionally operable to:
Determine that the exit port that second flow table item is indicated is the second port, according to the QoS plan that the second port is enabled The value of the QoS-local-id of second message is slightly set to the value of the queue ID of second flow table item instruction, will be described Second message is added in the exit port queue that is mated with the Qos-local-id of second message;
Wherein, the value of the QoS-local-id of first message is different from the value of the QoS-local-id of second message, First message exit port queue different with the second message entrance.
8. device as claimed in claim 6, it is characterised in that described device also includes:
Map unit, for finding mate with first message first in the matching unit in local having in flow table item Before flow table item, according to default enter direction on priority mapping relation, by first message carry initial service matter Amount QoS priority is mapped as local first level;
And, the matching unit local have find in flow table item the first flow table item for mating with first message it Afterwards, according to the priority mapping relation on default outgoing direction, the local first level of first message is mapped as new QoS Priority, and the initial Q oS priority that the message is carried replaces with the new QoS priority.
9. device as claimed in claim 6, it is characterised in that the scope of the number of queues that the second port can be arranged be 1 to 4095.
10. device as claimed in claim 6, it is characterised in that the flow table item is issued to the forwarding unit by controller;
The flow table item includes the matching domain for matching message, and for indicating to mate this when message is mated with matching domain The value of the QoS-local-id of message is set to the value of specified queue ID and the matching message is forwarded to specified exit port Action fields.
CN201611058038.XA 2016-11-25 2016-11-25 Message processing method and device Active CN106453138B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611058038.XA CN106453138B (en) 2016-11-25 2016-11-25 Message processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611058038.XA CN106453138B (en) 2016-11-25 2016-11-25 Message processing method and device

Publications (2)

Publication Number Publication Date
CN106453138A true CN106453138A (en) 2017-02-22
CN106453138B CN106453138B (en) 2020-03-06

Family

ID=58219613

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611058038.XA Active CN106453138B (en) 2016-11-25 2016-11-25 Message processing method and device

Country Status (1)

Country Link
CN (1) CN106453138B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109194581A (en) * 2018-08-24 2019-01-11 新华三技术有限公司 Message processing method and device
CN109729022A (en) * 2017-10-30 2019-05-07 华为技术有限公司 A kind of data transmission method for uplink based on software defined network, apparatus and system
CN109889453A (en) * 2019-01-31 2019-06-14 新华三技术有限公司 A kind of HQoS implementation method and device
CN110036661A (en) * 2017-03-23 2019-07-19 Oppo广东移动通信有限公司 A kind of uplink data transmission method, terminal, network side equipment and system
CN111385212A (en) * 2018-12-29 2020-07-07 华为技术有限公司 Data transmission technology and neural network system
CN111865838A (en) * 2020-07-21 2020-10-30 深圳市风云实业有限公司 Multichannel data transmission system of signal
CN112242966A (en) * 2019-07-19 2021-01-19 华为技术有限公司 Data forwarding method and device
CN112787827A (en) * 2019-11-08 2021-05-11 华为技术有限公司 Communication method, device and system
WO2023083175A1 (en) * 2021-11-11 2023-05-19 华为技术有限公司 Packet transmission method and communication apparatus

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014173367A2 (en) * 2013-08-16 2014-10-30 中兴通讯股份有限公司 Qos implementation method, system, device and computer storage medium
CN104243362A (en) * 2013-06-24 2014-12-24 杭州华三通信技术有限公司 Message forwarding method and device
CN104823416A (en) * 2012-11-29 2015-08-05 华为技术有限公司 Packet prioritization in a software-defined network implementing OpenFlow
CN105376158A (en) * 2015-10-12 2016-03-02 上海斐讯数据通信技术有限公司 SDN circulation method and device based on EXP value in MPLS message

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104823416A (en) * 2012-11-29 2015-08-05 华为技术有限公司 Packet prioritization in a software-defined network implementing OpenFlow
CN104243362A (en) * 2013-06-24 2014-12-24 杭州华三通信技术有限公司 Message forwarding method and device
WO2014173367A2 (en) * 2013-08-16 2014-10-30 中兴通讯股份有限公司 Qos implementation method, system, device and computer storage medium
CN105376158A (en) * 2015-10-12 2016-03-02 上海斐讯数据通信技术有限公司 SDN circulation method and device based on EXP value in MPLS message

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110036661A (en) * 2017-03-23 2019-07-19 Oppo广东移动通信有限公司 A kind of uplink data transmission method, terminal, network side equipment and system
US10959124B2 (en) 2017-03-23 2021-03-23 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Uplink data transmission method, terminal, network side device and system
CN109729022A (en) * 2017-10-30 2019-05-07 华为技术有限公司 A kind of data transmission method for uplink based on software defined network, apparatus and system
CN109729022B (en) * 2017-10-30 2020-07-28 华为技术有限公司 Data sending method, device and system based on software defined network
CN109194581B (en) * 2018-08-24 2020-12-25 新华三技术有限公司 Message processing method and device
CN109194581A (en) * 2018-08-24 2019-01-11 新华三技术有限公司 Message processing method and device
CN111385212B (en) * 2018-12-29 2021-08-31 华为技术有限公司 Data transmission technology and neural network system
CN111385212A (en) * 2018-12-29 2020-07-07 华为技术有限公司 Data transmission technology and neural network system
CN109889453A (en) * 2019-01-31 2019-06-14 新华三技术有限公司 A kind of HQoS implementation method and device
CN112242966A (en) * 2019-07-19 2021-01-19 华为技术有限公司 Data forwarding method and device
CN112242966B (en) * 2019-07-19 2023-11-28 华为技术有限公司 Data forwarding method and device
CN112787827A (en) * 2019-11-08 2021-05-11 华为技术有限公司 Communication method, device and system
WO2021089017A1 (en) * 2019-11-08 2021-05-14 华为技术有限公司 Communication method, apparatus and system
CN111865838A (en) * 2020-07-21 2020-10-30 深圳市风云实业有限公司 Multichannel data transmission system of signal
CN111865838B (en) * 2020-07-21 2022-03-08 深圳市风云实业有限公司 Multichannel data transmission system of signal
WO2023083175A1 (en) * 2021-11-11 2023-05-19 华为技术有限公司 Packet transmission method and communication apparatus

Also Published As

Publication number Publication date
CN106453138B (en) 2020-03-06

Similar Documents

Publication Publication Date Title
CN106453138A (en) Message processing method and apparatus
EP2926513B1 (en) Packet prioritization in a software-defined network implementing openflow
Alvarez QoS for IP/MPLS networks
US8705363B2 (en) Packet scheduling method and apparatus
CN103765839B (en) Variable-based forwarding path construction for packet processing within a network device
CN104580026B (en) Exchange system, exchange control system and storage medium
US7289514B2 (en) System and method for scheduling data traffic flows for a communication device
CN108989213A (en) It is arranged using the selected structural path transmission LSP between dummy node
CN100563202C (en) The method of differential service is provided
CN103746931A (en) Maintaining load balancing after service application with a netwok device
US20070206602A1 (en) Methods, systems and apparatus for managing differentiated service classes
CN102857491A (en) Management schemes for filter sets
EP2362589B1 (en) Priority and source aware packet memory reservation and flow control
CN104917699B (en) The network element of software defined network
CN105051688A (en) Extended tag networking
CN101485163A (en) A method and system for optimizing resources for establishing pseudo-wires in a multiprotocol label switching network
CN102971994A (en) Sharing resource reservations among different sessions in RSVP-TE
US20160337251A1 (en) Predictive egress packet classification for quality of service
CN101127723B (en) QoS guarantee method for multi-protocol tag exchange L3 virtual private network
CN101471880B (en) Method, system and routing device for processing data
EP2728797B1 (en) Message processing method, device and system
CN106034089A (en) Message scheduling method and device based on scheduling flow identification
CN102377645B (en) Exchange chip and realization method thereof
US8553539B2 (en) Method and system for packet traffic congestion management
JP2008502244A (en) Flow processing

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
CB02 Change of applicant information

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

Applicant after: Xinhua three Technology Co., Ltd.

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

Applicant before: Huasan Communication Technology Co., Ltd.

CB02 Change of applicant information
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant