CN107493235A - A kind of method and apparatus of fast-forwarding message - Google Patents
A kind of method and apparatus of fast-forwarding message Download PDFInfo
- Publication number
- CN107493235A CN107493235A CN201610410474.2A CN201610410474A CN107493235A CN 107493235 A CN107493235 A CN 107493235A CN 201610410474 A CN201610410474 A CN 201610410474A CN 107493235 A CN107493235 A CN 107493235A
- Authority
- CN
- China
- Prior art keywords
- business
- message
- node
- direction signs
- chain
- 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.)
- Withdrawn
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/74—Address processing for routing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/24—Traffic characterised by specific attributes, e.g. priority or QoS
- H04L47/2441—Traffic characterised by specific attributes, e.g. priority or QoS relying on flow classification, e.g. using integrated services [IntServ]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/24—Traffic characterised by specific attributes, e.g. priority or QoS
- H04L47/2483—Traffic characterised by specific attributes, e.g. priority or QoS involving identification of individual flows
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a kind of method and apparatus of fast-forwarding message, including:When business chain first node receives message, business chain mark is encapsulated into message to be sent with direction signs, the message to be sent after encapsulation is sent to the next node.When business chain intermediate node receives message, the message is parsed, obtains business chain mark and direction signs;Business processing is carried out according to the direction signs;Business chain mark and direction signs are encapsulated into message to be sent;According to business chain mark and the direction signs, the next node of business chain intermediate node is determined, the message to be sent after encapsulation is sent to the next node.When business joint of the chain tail receives message, the message is parsed, obtains business chain mark and direction signs;Business processing is carried out according to the direction signs;The next node of business joint of the chain tail is determined according to forwarding rule;Message to be sent is sent to the next node.
Description
Technical field
The present invention relates to the message retransmission technique in network communication field, more particularly to fast-forwarding report in a kind of business chain
The method and apparatus of text.
Background technology
Business chain (Service Chain) is a kind of guiding message sequenced through multiple service node (SF, Service
Function the message retransmission technique) handled, being characterized in can be according to migration efficiency dynamic layout service node in chain
Position, while service node can fast and flexible entrance and exit business chain.Reference picture 1, RFC7665 has been defined for business
The framework and component of chain, draft draft-ietf-sfc-nsh discuss the head structure of business chain information transmission and message forwarding
Into.
Business chain mark (SPI, Service Path ID) and business index (SI, Service are used in business chain
Index) determine the forwarding of message rule, search the next-hop of message.Reference picture 2, the direction of service message stream is including up
(UL Flow) and descending (DL Flow), uplink message is usually that the request that user (User) sends to server (Server) disappears
Breath, downlink message is then the response content of server.During business chain layout, upstream and the downstream of same business are probably same
One service path, it is also possible to different service paths.
Reference picture 3, Symmetric Chain refer to same business uplink message and downlink message by identical service node but turn
A kind of opposite business chain of hair order, such as a certain business uplink message pass through SF1->SF2->SF3, then downlink message order be
SF3->SF2->SF1, under Symmetric Chain scene, if business function transponder SFF (Service Function
Forwarder identical SPI and SI) are used in uplink and downlink Business Stream, it is also necessary to pass through the rower up and down of service message
Know to determine the next-hop of message.
Under other scenes (such as asymmetric chain), SFF and SF are also required to upper and lower line identifier to obtain the information such as IP address
To search context or determine the strategies such as a certain control, charging.
Each service node obtains upstream or downstream direction signs, it is necessary to be obtained by deep analysis message in current business chain
Corresponding information is taken, and is completed by certain context matches or algorithmic match, easily influences processing and the forwarding speed of message.
The content of the invention
In order to solve the above technical problems, the embodiments of the invention provide a kind of method and apparatus of fast-forwarding message.
The method of fast-forwarding message provided in an embodiment of the present invention, applied to business chain first node, methods described includes:
When receiving message, service identification corresponding with the message and direction signs are identified according to the message;
Determine to identify with the business chain that the service identification matches;
Business chain mark is encapsulated into message to be sent with the direction signs;
According to business chain mark and the direction signs, the next node of business chain first node is determined, under described
One node is business chain node;
Message to be sent after encapsulation is sent to the next node.
In the embodiment of the present invention, the business chain first node comprises at least one below:Business recognition classifier, business work(
Can transponder.
The method of fast-forwarding message provided in an embodiment of the present invention, applied to business chain intermediate node, methods described bag
Include:
When receiving message, the message is parsed, obtains business chain mark and direction signs;
Business processing is carried out according to the direction signs;
Business chain mark and direction signs are encapsulated into message to be sent;
According to business chain mark and the direction signs, the next node of business chain intermediate node is determined, it is described
Next node is business chain node;
Message to be sent after encapsulation is sent to the next node.
In the embodiment of the present invention, the business chain intermediate node comprises at least one below:Business function transponder, can
Identify the service node of business chain packaging information.
It is described to carry out business processing according to the direction signs in the embodiment of the present invention, including:
When it is uplink service that the direction signs, which show business, uplink service processing is carried out;
When it is downlink business that the direction signs, which show business, downlink business processing is carried out.
The method of fast-forwarding message provided in an embodiment of the present invention, applied to business joint of the chain tail, methods described includes:
When receiving message, the message is parsed, obtains business chain mark and direction signs;
Business processing is carried out according to the direction signs;
The next node of business joint of the chain tail is determined according to forwarding rule, the next node is non-traffic chain node;
Message to be sent is sent to the next node.
In the embodiment of the present invention, the business joint of the chain tail comprises at least one below:Business function transponder, Neng Goushi
The service node of various-service chain packaging information.
It is described to carry out business processing according to the direction signs in the embodiment of the present invention, including:
When it is uplink service that the direction signs, which show business, uplink service processing is carried out;
When it is downlink business that the direction signs, which show business, downlink business processing is carried out.
The device of fast-forwarding message provided in an embodiment of the present invention, including:
Recognition unit, during for receiving message, service identification corresponding with the message is identified according to the message
And direction signs;
First determining unit, for determining to identify with the business chain that the service identification matches;
Encapsulation unit, for business chain mark to be encapsulated into message to be sent with the direction signs;
Second determining unit, for according to business chain mark and the direction signs, determining business chain first node
Next node, the next node is business chain node;
Transmitting element, for the message to be sent after encapsulation to be sent to the next node.
In the embodiment of the present invention, the device of the fast-forwarding message is arranged in the node of one below:Business
Recognition classifier, business function transponder.
The device of fast-forwarding message provided in an embodiment of the present invention, including:
Resolution unit, during for receiving message, the message being parsed, obtaining business chain mark and direction sign
Know;
Processing unit, for carrying out business processing according to the direction signs;
Encapsulation unit, for business chain mark and direction signs to be encapsulated into message to be sent;
Determining unit, for according to business chain mark and the direction signs, determining business chain intermediate node
Next node, the next node are business chain node;
Transmitting element, for the message to be sent after encapsulation to be sent to the next node.
In the embodiment of the present invention, the device of the fast-forwarding message is arranged in the node of one below:Business
Function transponder, the service node that business chain packaging information can be identified.
In the embodiment of the present invention, the processing unit includes:
Up processing subelement, for when it is uplink service that the direction signs, which show business, carrying out at uplink service
Reason;And/or
Downlink processing subelement, for when it is downlink business that the direction signs, which show business, carrying out at downlink business
Reason.
The device of fast-forwarding message provided in an embodiment of the present invention, including:
Resolution unit, during for receiving message, the message being parsed, obtaining business chain mark and direction sign
Know;
Processing unit, for carrying out business processing according to the direction signs;
Determining unit, for determining the next node of business joint of the chain tail according to forwarding rule, the next node is
Non-traffic chain node;
Transmitting element, for message to be sent to be sent to the next node.
In the embodiment of the present invention, the device of the fast-forwarding message is arranged in the node of one below:Business
Function transponder, the service node that business chain packaging information can be identified.
In the embodiment of the present invention, the processing unit includes:
Up processing subelement, for when it is uplink service that the direction signs, which show business, carrying out at uplink service
Reason;And/or
Downlink processing subelement, for when it is downlink business that the direction signs, which show business, carrying out at downlink business
Reason.
In the technical scheme of the embodiment of the present invention, when business chain first node receives message, identified according to the message
Service identification corresponding with the message and direction signs;Determine to identify with the business chain that the service identification matches;
Business chain mark is encapsulated into message to be sent with the direction signs;According to business chain mark and the side
To mark, the next node of business chain first node is determined, the next node is business chain node;Will be to be sent after encapsulation
Message send to the next node.When business chain intermediate node receives message, the message is parsed, obtains industry
Business chain mark and direction signs;Business processing is carried out according to the direction signs;By business chain mark and direction signs envelope
It is filled in message to be sent;According to business chain mark and the direction signs, determine under business chain intermediate node
One node, the next node are business chain node;Message to be sent after encapsulation is sent to the next node.Business
When joint of the chain tail receives message, the message is parsed, obtains business chain mark and direction signs;According to the direction
Mark carries out business processing;The next node of business joint of the chain tail is determined according to forwarding rule, the next node is non-industry
Business chain node;Message to be sent is sent to the next node.In this way, avoiding in business chain, multiple service nodes will
Deep analysis message, processing and the forwarding speed of message are improved, reduce the processing complexity of service node.
Brief description of the drawings
In accompanying drawing (it is not necessarily drawn to scale), similar reference phase described in different views
As part.Similar reference numerals with different letter suffix can represent the different examples of similar component.Accompanying drawing with example and
Unrestricted mode generally shows each embodiment discussed herein.
Fig. 1 is business chain framework and component diagram;
Fig. 2 is message flow direction schematic diagram;
Fig. 3 is that symmetrical service chain uplink and downlink message forwards schematic diagram;
Fig. 4 is schematic diagram of the message forwarding in each node of the embodiment of the present invention;
Fig. 5 is the schematic flow sheet of the method for the fast-forwarding message of the embodiment of the present invention one;
Fig. 6 is the schematic flow sheet of the method for the fast-forwarding message of the embodiment of the present invention two;
Fig. 7 is the schematic flow sheet of the method for the fast-forwarding message of the embodiment of the present invention three;
Fig. 8 is the schematic flow sheet of the method for the fast-forwarding message of the embodiment of the present invention four;
Fig. 9 is the schematic diagram of the business chain of the embodiment of the present invention;
Figure 10 is a Gi-LAN Symmetric Chain schematic diagram of the embodiment of the present invention;
Figure 11 is the schematic diagram of the various head constructions of the embodiment of the present invention;
Figure 12 is that the basic heads of NSH of the embodiment of the present invention increase direction signs schematic diagram;
Figure 13 is that the NSH paths head of the embodiment of the present invention increases direction signs schematic diagram;
Figure 14 is to increase direction signs schematic diagram in the MetaData of the embodiment of the present invention;
Figure 15 is to increase direction signs schematic diagram when the MD of the embodiment of the present invention is 2 in Metadata;
Figure 16 is the uplink service chain schematic diagram of the embodiment of the present invention;
Figure 17 is the downlink business chain schematic diagram of the embodiment of the present invention;
Figure 18 is the structure composition schematic diagram one of the device of the fast-forwarding message of the embodiment of the present invention;
Figure 19 is the structure composition schematic diagram two of the device of the fast-forwarding message of the embodiment of the present invention;
Figure 20 is the structure composition schematic diagram three of the device of the fast-forwarding message of the embodiment of the present invention.
Embodiment
The characteristics of in order to more fully hereinafter understand the embodiment of the present invention and technology contents, below in conjunction with the accompanying drawings to this hair
The realization of bright embodiment is described in detail, appended accompanying drawing purposes of discussion only for reference, is not used for limiting the embodiment of the present invention.
It is the explanation of the keyword in the embodiment of the present invention below.
In order to improve the processing of message and forwarding speed, the processing complexity of service node is reduced, is avoided more in business chain
Individual service node will deep analysis message, the embodiment of the present invention proposes a kind of method and apparatus of fast-forwarding message.
Fig. 4 is schematic diagram of the message forwarding in each node of the embodiment of the present invention, and each node in SFC domains is divided into three
Class, the first kind are business chain first node, and the second class is business chain intermediate node, third window joint of the chain tail, wherein, business chain
Intermediate node can have multiple, and a business chain intermediate node is only illustrated in figure.Message is in SFC domains, successively by business
Chain first node is forwarded to business chain intermediate node, is finally forwarded to business joint of the chain tail again.
Fig. 5 is the schematic flow sheet of the method for the fast-forwarding message of the embodiment of the present invention one, and quick in this example turns
Literary method of transmitting messages is applied to business chain first node, as shown in figure 5, the method for the fast-forwarding message comprises the following steps:
Step 501:When receiving message, service identification corresponding with the message and side are identified according to the message
To mark.
Step 502:Determine to identify with the business chain that the service identification matches.
Step 503:Business chain mark is encapsulated into message to be sent with the direction signs.
Step 504:According to business chain mark and the direction signs, next section of business chain first node is determined
Point, the next node are business chain node.
Step 505:Message to be sent after encapsulation is sent to the next node.
In the embodiment of the present invention, business chain first node is a logical node, can be business recognition classifier
(Classifier) or business function transponder (SFF), for identifying service identification and message direction signs,
Encapsulate business chain mark and direction signs.
Fig. 6 is the schematic flow sheet of the method for the fast-forwarding message of the embodiment of the present invention two, and quick in this example turns
Literary method of transmitting messages is applied to business chain intermediate node, as shown in fig. 6, the method for the fast-forwarding message includes following step
Suddenly:
Step 601:When receiving message, the message is parsed, obtains business chain mark and direction signs.
Step 602:Business processing is carried out according to the direction signs.
Step 603:Business chain mark and direction signs are encapsulated into message to be sent.
Step 604:According to business chain mark and the direction signs, next section of business chain intermediate node is determined
Point, the next node are business chain node.
Step 605:Message to be sent after encapsulation is sent to the next node.
In the embodiment of the present invention, business chain intermediate node carries out the place of message according to business chain mark and message direction signs
Reason and forwarding.Business chain intermediate node can be the SFF or SF for supporting NSH.
It is described to carry out business processing according to the direction signs in the embodiment of the present invention, including:
When it is uplink service that the direction signs, which show business, uplink service processing is carried out;
When it is downlink business that the direction signs, which show business, downlink business processing is carried out.
Fig. 7 is the schematic flow sheet of the method for the fast-forwarding message of the embodiment of the present invention three, and quick in this example turns
Literary method of transmitting messages is applied to business joint of the chain tail, as shown in fig. 7, the method for the fast-forwarding message comprises the following steps:
Step 701:When receiving message, the message is parsed, obtains business chain mark and direction signs.
Step 702:Business processing is carried out according to the direction signs.
Step 703:The next node of business joint of the chain tail is determined according to forwarding rule, the next node is non-traffic
Chain node.
Step 704:Message to be sent is sent to the next node.
In the embodiment of the present invention, business joint of the chain tail carries out business processing according to business chain mark and message direction signs,
The encapsulation of business chain mark and message direction signs is removed, and is E-Packeted to non-SFC network domains.Business joint of the chain tail can be
The SFF or SF for supporting NSH.
It is described to carry out business processing according to the direction signs in the embodiment of the present invention, including:
When it is uplink service that the direction signs, which show business, uplink service processing is carried out;
When it is downlink business that the direction signs, which show business, downlink business processing is carried out.
In the embodiment of the present invention, pass through the increase message direction signs in original business chain Information encapsulation (can be NSH)
To accelerate Message processing and forwarding speed, when business chain first node (Classifier or SFF) determines service message stream direction,
Message direction signs are directly delivered in business chain follow-up each node (Classifier, SFF, support by business chain encapsulation
SF, SFC-Proxy of business chain etc.), the processing complexity of each node is reduced, so as to reduce the processing of each business chain node
Time, accelerate processing and forwarding speed of the message in business chain.
Fig. 8 is the schematic flow sheet of the method for the fast-forwarding message of the embodiment of the present invention four, as shown in figure 8, described fast
The method that speed E-Packets comprises the following steps:
Step 801:Classifier receives message, carries out business identification, matches a business chain.
Reference picture 9, it is that can identify business chain packaging information that this business chain, which includes two service node SF1 and SF2, SF1,
Service node, SF2 is the service node that can not identify business chain packaging information.
Here, the service node that can identify business chain packaging information is the service node for supporting NSH.
Step 802:Classifier encapsulation business chain marks and direction signs send message to SFF1 into message.
Step 803:SFF1 receives message, directly transmits message to SF1.
Step 804:SF1 receives message, and the direction signs in message carry out business processing, sends message to SFF1.
Step 805:SFF1 receives message, processing business chain information, subtracts 1 by SI, sends message to SFF2.
Step 806:SFF2 receives message, sends message to SFC-Proxy1.
Step 807:SFC-Proxy1 receives message, decapsulates NSH heads, and preserving business chain information includes direction signs one
In individual context, message is sent to SF2.
Step 808:SF2 receives message, carries out business processing, sends message to SFC-Proxy1.
Step 809:SFC-Proxy1 receives message, matches the context of this business, and encapsulation business chain information includes direction
It is identified in message, sends message to SFF2.
Step 810:SFF2 receives message, according to business chain business chain mark and direction signs, judges oneself for business chain
In last node, decapsulate NSH heads, send message to other networks.
The embodiment of the present invention is described in detail in below in conjunction with concrete application scene.
Application scenarios one
Reference picture 10:1) Classifier and PGW unifications are set, and Classifier receives the service request report that user sends
Text, a symmetrical service chain is matched according to business game, include two VAS nodes of ToolBar and Cache;
2) Classifier encapsulate business chain mark and up direction is identified in message, Classifier send message to
SFF1/tb;
3) SFF1/tb receives message, records upstream data, sends message to SFF2/cache;
4) SFF2/cache receives message, is not matched to caching, and record traffic chain information removes message into context
In NSH data, send message to ISP source stations;
5) ISP source stations receive customer service request, send business response to SFF2/cache;
6) SFF2/cache receive message, it is data cached, according to the context matches of record to equally a business chain,
And flag data stream is descending, encapsulation business chain mark and down direction are identified in message, send message to SFF1/tb;
7) SFF1/tb receives message, and other information is inserted in original service response message, sends message to PGW/TC;
8) PGW/TC receives message, removes the NSH data in message, sends business response message to UE.
The encapsulation of the Business Stream direction signs, is the NSH encapsulation of the field in original NSH header extensions, reference picture
11, original NSH heads wrapper contains 3 parts:(MD TYPE are 1 and MD for basic head, path head and meta-data section
2) TYPE is.
In one embodiment, the direction signs can choose the reservation bit position on NSH basic head to seal
Dress, is defined as D bits.As shown in figure 12.D bits are 0 represents it is up, and D bits are that 1 expression is descending.
In one embodiment, the direction signs can extend NSH path head, and its length can be according to being actually needed
To determine, field be 0 represent be it is up, field be 1 expression be it is descending, as shown in figure 13.
In one embodiment, the direction signs, when the scene that MD type are 1, the essential upper and lower of NSH can be chosen
Two bits on literary head carry direction signs, are defined as SD fields, as shown in figure 14.
In one embodiment, the direction signs, to the scene that MD type are 2, a new elongated context is defined
Head identifies direction, as shown in figure 15.Other fields therein, TLV Class, the type field can according to specific implementation when
Wait and determine.C bits should be arranged to 1.
Application scenarios two
Reference picture 16:1) Classifier and PGW unifications are set, and Classifier receives the service request report that user sends
Text, a non-symmetrical service chain is matched according to business game, include tri- VAS nodes of ToolBar, Cache and FireWall;
2) Classifier encapsulate business chain mark and up direction is identified in message, Classifier send message to
SFF1/tb;
3) SFF1/tb receives message, records upstream data, sends message to SFF2/cache;
4) SFF2/cache receives message, is not matched to caching, and record traffic chain information removes message into context
In NSH data, send message to SFF3/fw;
5) SFF3/fw receives message, removes the NSH data in message, sends message to ISP source stations.
Application scenarios three
Reference picture 17:1) Classifier and PGW unifications are set, and Classifier receives the service message that ISP is sent, root
A business chain is matched according to business game, optimizes two VAS nodes comprising FireWall and TCP;
2) Classifier encapsulate business chain mark and down direction is identified in message, Classifier send message to
SFF1/fw;
3) SFF1/fw receives message, carries out business processing, sends message to SFF2/tcp opt;
4) SFF2/tcp opt receive message, carry out business processing, send message to PGW/TC;
5) PGW/TC receives message, determines next-hop according to lower line flag in NSH, removes the NSH data in message, send
Message is to UE.
Figure 18 is the structure composition schematic diagram one of the device of the fast-forwarding message of the embodiment of the present invention, as shown in figure 18,
Described device includes:
Recognition unit 1801, during for receiving message, business corresponding with the message is identified according to the message
Mark and direction signs;
First determining unit 1802, for determining to identify with the business chain that the service identification matches;
Encapsulation unit 1803, for business chain mark to be encapsulated into message to be sent with the direction signs;
Second determining unit 1804, for according to business chain mark and the direction signs, determining business first-in-chain(FIC)
The next node of node, the next node are business chain node;
Transmitting element 1805, for the message to be sent after encapsulation to be sent to the next node.
The device of the fast-forwarding message is arranged in the node of one below:Business recognition classifier, business
Function transponder.
It will be appreciated by those skilled in the art that each unit in the device of fast-forwarding message shown in Figure 18 realizes work(
The associated description of the method for foregoing fast-forwarding message can be can refer to and understood.
Figure 19 is the structure composition schematic diagram two of the device of the fast-forwarding message of the embodiment of the present invention, as shown in figure 19,
Described device includes:
Resolution unit 1901, during for receiving message, the message being parsed, obtaining business chain mark and direction
Mark;
Processing unit 1902, for carrying out business processing according to the direction signs;
Encapsulation unit 1903, for business chain mark and direction signs to be encapsulated into message to be sent;
Determining unit 1904, for according to business chain mark and the direction signs, determining business chain middle node
The next node of point, the next node is business chain node;
Transmitting element 1905, for the message to be sent after encapsulation to be sent to the next node.
The device of the fast-forwarding message is arranged in the node of one below:Business function transponder, can
Identify the service node of business chain packaging information.
The processing unit 1902 includes:
Up processing subelement, for when it is uplink service that the direction signs, which show business, carrying out at uplink service
Reason;And/or
Downlink processing subelement, for when it is downlink business that the direction signs, which show business, carrying out at downlink business
Reason.
It will be appreciated by those skilled in the art that each unit in the device of fast-forwarding message shown in Figure 19 realizes work(
The associated description of the method for foregoing fast-forwarding message can be can refer to and understood.
Figure 20 is the structure composition schematic diagram three of the device of the fast-forwarding message of the embodiment of the present invention, as shown in figure 20,
Described device includes:
Resolution unit 2001, during for receiving message, the message being parsed, obtaining business chain mark and direction
Mark;
Processing unit 2002, for carrying out business processing according to the direction signs;
Determining unit 2003, for determining the next node of business joint of the chain tail, next section according to forwarding rule
Point is non-traffic chain node;
Transmitting element 2004, for message to be sent to be sent to the next node.
The device of the fast-forwarding message is arranged in the node of one below:Business function transponder, can
Identify the service node of business chain packaging information.
The processing unit 2002 includes:
Up processing subelement, for when it is uplink service that the direction signs, which show business, carrying out at uplink service
Reason;And/or
Downlink processing subelement, for when it is downlink business that the direction signs, which show business, carrying out at downlink business
Reason.
It will be appreciated by those skilled in the art that each unit in the device of fast-forwarding message shown in Figure 20 realizes work(
The associated description of the method for foregoing fast-forwarding message can be can refer to and understood.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program
Product.Therefore, the shape of the embodiment in terms of the present invention can use hardware embodiment, software implementation or combination software and hardware
Formula.Moreover, the present invention can use the computer for wherein including computer usable program code in one or more to use storage
The form for the computer program product that medium is implemented on (including but is not limited to magnetic disk storage and optical memory etc.).
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram
Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided
The processors of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce
A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real
The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which produces, to be included referring to
Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or
The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted
Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, so as in computer or
The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in individual square frame or multiple square frames.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the scope of the present invention.
Claims (16)
- A kind of 1. method of fast-forwarding message, it is characterised in that applied to business chain first node, methods described includes:When receiving message, service identification corresponding with the message and direction signs are identified according to the message;Determine to identify with the business chain that the service identification matches;Business chain mark is encapsulated into message to be sent with the direction signs;According to business chain mark and the direction signs, the next node of business chain first node, next section are determined Point is business chain node;Message to be sent after encapsulation is sent to the next node.
- 2. the method for fast-forwarding message according to claim 1, it is characterised in that the business chain first node is at least wrapped Include one below:Business recognition classifier, business function transponder.
- A kind of 3. method of fast-forwarding message, it is characterised in that applied to business chain intermediate node, methods described includes:When receiving message, the message is parsed, obtains business chain mark and direction signs;Business processing is carried out according to the direction signs;Business chain mark and direction signs are encapsulated into message to be sent;According to business chain mark and the direction signs, the next node of business chain intermediate node is determined, it is described next Node is business chain node;Message to be sent after encapsulation is sent to the next node.
- 4. the method for fast-forwarding message according to claim 3, it is characterised in that the business chain intermediate node is at least Including one below:Business function transponder, the service node that business chain packaging information can be identified.
- 5. the method for fast-forwarding message according to claim 3, it is characterised in that described to be entered according to the direction signs Row business processing, including:When it is uplink service that the direction signs, which show business, uplink service processing is carried out;When it is downlink business that the direction signs, which show business, downlink business processing is carried out.
- A kind of 6. method of fast-forwarding message, it is characterised in that applied to business joint of the chain tail, methods described includes:When receiving message, the message is parsed, obtains business chain mark and direction signs;Business processing is carried out according to the direction signs;The next node of business joint of the chain tail is determined according to forwarding rule, the next node is non-traffic chain node;Message to be sent is sent to the next node.
- 7. the method for fast-forwarding message according to claim 6, it is characterised in that the business joint of the chain tail at least wraps Include one below:Business function transponder, the service node that business chain packaging information can be identified.
- 8. the method for fast-forwarding message according to claim 6, it is characterised in that described to be entered according to the direction signs Row business processing, including:When it is uplink service that the direction signs, which show business, uplink service processing is carried out;When it is downlink business that the direction signs, which show business, downlink business processing is carried out.
- 9. a kind of device of fast-forwarding message, it is characterised in that described device includes:Recognition unit, during for receiving message, according to the message identify service identification corresponding with the message and Direction signs;First determining unit, for determining to identify with the business chain that the service identification matches;Encapsulation unit, for business chain mark to be encapsulated into message to be sent with the direction signs;Second determining unit, for according to business chain mark and the direction signs, determining under business chain first node One node, the next node are business chain node;Transmitting element, for the message to be sent after encapsulation to be sent to the next node.
- 10. the device of fast-forwarding message according to claim 9, it is characterised in that the dress of the fast-forwarding message Put in the node for being arranged at one below:Business recognition classifier, business function transponder.
- 11. a kind of device of fast-forwarding message, it is characterised in that described device includes:Resolution unit, during for receiving message, the message being parsed, obtaining business chain mark and direction signs;Processing unit, for carrying out business processing according to the direction signs;Encapsulation unit, for business chain mark and direction signs to be encapsulated into message to be sent;Determining unit, for according to business chain mark and the direction signs, determining the next of business chain intermediate node Node, the next node are business chain node;Transmitting element, for the message to be sent after encapsulation to be sent to the next node.
- 12. the device of fast-forwarding message according to claim 11, it is characterised in that the dress of the fast-forwarding message Put in the node for being arranged at one below:Business function transponder, support can identify the business of business chain packaging information Node.
- 13. the device of fast-forwarding message according to claim 11, it is characterised in that the processing unit includes:Up processing subelement, for when it is uplink service that the direction signs, which show business, carrying out uplink service processing; And/orDownlink processing subelement, for when it is downlink business that the direction signs, which show business, carrying out downlink business processing.
- 14. a kind of device of fast-forwarding message, it is characterised in that described device includes:Resolution unit, during for receiving message, the message being parsed, obtaining business chain mark and direction signs;Processing unit, for carrying out business processing according to the direction signs;Determining unit, for determining the next node of business joint of the chain tail according to forwarding rule, the next node is non-industry Business chain node;Transmitting element, for message to be sent to be sent to the next node.
- 15. the device of fast-forwarding message according to claim 14, it is characterised in that the dress of the fast-forwarding message Put in the node for being arranged at one below:Business function transponder, the service node that business chain packaging information can be identified.
- 16. the device of fast-forwarding message according to claim 14, it is characterised in that the processing unit includes:Up processing subelement, for when it is uplink service that the direction signs, which show business, carrying out uplink service processing; And/orDownlink processing subelement, for when it is downlink business that the direction signs, which show business, carrying out downlink business processing.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610410474.2A CN107493235A (en) | 2016-06-13 | 2016-06-13 | A kind of method and apparatus of fast-forwarding message |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610410474.2A CN107493235A (en) | 2016-06-13 | 2016-06-13 | A kind of method and apparatus of fast-forwarding message |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107493235A true CN107493235A (en) | 2017-12-19 |
Family
ID=60642946
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610410474.2A Withdrawn CN107493235A (en) | 2016-06-13 | 2016-06-13 | A kind of method and apparatus of fast-forwarding message |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107493235A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111049910A (en) * | 2019-12-16 | 2020-04-21 | 瑞斯康达科技发展股份有限公司 | Method, device, equipment and medium for processing message |
WO2020103917A1 (en) * | 2018-11-23 | 2020-05-28 | Huawei Technologies Co., Ltd. | Service function chaining network services |
WO2020233192A1 (en) * | 2019-05-17 | 2020-11-26 | 华为技术有限公司 | Method and apparatus for providing service for service flow |
CN112134810A (en) * | 2020-09-22 | 2020-12-25 | 中国人民解放军国防科技大学 | NFV network traffic classification method based on FPGA hardware acceleration |
CN114221898A (en) * | 2021-12-29 | 2022-03-22 | 优刻得科技股份有限公司 | Message processing method and network system |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104521195A (en) * | 2012-08-15 | 2015-04-15 | 华为技术有限公司 | Method and system for creating software defined ordered service patterns in communications network |
CN104618232A (en) * | 2015-01-28 | 2015-05-13 | 杭州华三通信技术有限公司 | Wide area network link selecting method and wide area network link selecting device |
CN104811326A (en) * | 2014-01-24 | 2015-07-29 | 中兴通讯股份有限公司 | Service chain management method, service chain management system, and devices |
CN105122741A (en) * | 2014-03-14 | 2015-12-02 | 华为技术有限公司 | Method and apparatus for controlling service chain of service flow |
WO2015196849A1 (en) * | 2014-06-27 | 2015-12-30 | 华为技术有限公司 | Data packet processing method, service node and deliver node |
US20150381478A1 (en) * | 2014-06-27 | 2015-12-31 | Futurewei Technologies, Inc. | Proxy for port to service instance mapping |
CN105591786A (en) * | 2014-11-12 | 2016-05-18 | 华为技术有限公司 | Service chain management method, drainage point, controller and value-added service node |
-
2016
- 2016-06-13 CN CN201610410474.2A patent/CN107493235A/en not_active Withdrawn
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104521195A (en) * | 2012-08-15 | 2015-04-15 | 华为技术有限公司 | Method and system for creating software defined ordered service patterns in communications network |
CN104811326A (en) * | 2014-01-24 | 2015-07-29 | 中兴通讯股份有限公司 | Service chain management method, service chain management system, and devices |
CN105122741A (en) * | 2014-03-14 | 2015-12-02 | 华为技术有限公司 | Method and apparatus for controlling service chain of service flow |
WO2015196849A1 (en) * | 2014-06-27 | 2015-12-30 | 华为技术有限公司 | Data packet processing method, service node and deliver node |
US20150381478A1 (en) * | 2014-06-27 | 2015-12-31 | Futurewei Technologies, Inc. | Proxy for port to service instance mapping |
CN105591786A (en) * | 2014-11-12 | 2016-05-18 | 华为技术有限公司 | Service chain management method, drainage point, controller and value-added service node |
CN104618232A (en) * | 2015-01-28 | 2015-05-13 | 杭州华三通信技术有限公司 | Wide area network link selecting method and wide area network link selecting device |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020103917A1 (en) * | 2018-11-23 | 2020-05-28 | Huawei Technologies Co., Ltd. | Service function chaining network services |
CN112956164A (en) * | 2018-11-23 | 2021-06-11 | 华为技术有限公司 | Business function linked network services |
WO2020233192A1 (en) * | 2019-05-17 | 2020-11-26 | 华为技术有限公司 | Method and apparatus for providing service for service flow |
US11979322B2 (en) | 2019-05-17 | 2024-05-07 | Huawei Technologies Co., Ltd. | Method and apparatus for providing service for traffic flow |
CN111049910A (en) * | 2019-12-16 | 2020-04-21 | 瑞斯康达科技发展股份有限公司 | Method, device, equipment and medium for processing message |
CN112134810A (en) * | 2020-09-22 | 2020-12-25 | 中国人民解放军国防科技大学 | NFV network traffic classification method based on FPGA hardware acceleration |
CN112134810B (en) * | 2020-09-22 | 2022-04-15 | 中国人民解放军国防科技大学 | NFV network traffic classification method based on FPGA hardware acceleration |
CN114221898A (en) * | 2021-12-29 | 2022-03-22 | 优刻得科技股份有限公司 | Message processing method and network system |
CN114221898B (en) * | 2021-12-29 | 2023-11-10 | 优刻得科技股份有限公司 | Message processing method and network system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107493235A (en) | A kind of method and apparatus of fast-forwarding message | |
CN111953604B (en) | Method and device for providing business service for business flow | |
CN106878138B (en) | A kind of message transmitting method and device | |
CN107181663A (en) | A kind of message processing method, relevant device and computer-readable recording medium | |
CN108886500A (en) | Grouping is generated on the opposite direction of service function chain | |
CN105024985B (en) | A kind of message processing method and device | |
US9237124B2 (en) | Scaling of virtual machine addresses in datacenters | |
US10911579B1 (en) | Generating programmatically defined fields of metadata for network packets | |
CN104380667A (en) | Method and device for routing data message | |
WO2016161937A1 (en) | Method, device, and system for identifying traffic flow | |
CN105247946B (en) | Service layer's control in communication network knows control signaling | |
CN106878181A (en) | A kind of message transmitting method and device | |
CN110177082A (en) | A kind of data processing method, equipment, medium and device | |
CN110224934A (en) | A kind of method and device carrying out Message processing using unified SR label stack | |
CN101212390A (en) | A data transmission method and device | |
US20180006842A1 (en) | Access Layer-2 Virtual Private Network From Layer-3 Virtual Private Network | |
CN103200068B (en) | A kind of based on customer service Multiple tunnel transmitting device | |
CN108600109A (en) | A kind of message forwarding method and device | |
CN111404798A (en) | System and method for multi-user rule matching and flow replication | |
CN106686553A (en) | Method and device for carrying out multicasting on core net EPC | |
CN107484187A (en) | A kind of method for processing business, device and base station | |
EP3965382A1 (en) | Method and device for implementing service function processing | |
CN112769738B (en) | DetNet data packet processing method and device | |
CN106603602A (en) | Message routing method based on service chain information and apparatus thereof | |
CN107370654A (en) | A kind of encapsulation, de-encapsulation method and the relevant apparatus of pseudo-wire data message |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WW01 | Invention patent application withdrawn after publication | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20171219 |