CN109088821A - Message transmitting method, business catenary system and computer readable storage medium - Google Patents
Message transmitting method, business catenary system and computer readable storage medium Download PDFInfo
- Publication number
- CN109088821A CN109088821A CN201710450137.0A CN201710450137A CN109088821A CN 109088821 A CN109088821 A CN 109088821A CN 201710450137 A CN201710450137 A CN 201710450137A CN 109088821 A CN109088821 A CN 109088821A
- Authority
- CN
- China
- Prior art keywords
- message
- business
- network
- stream packet
- business function
- 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
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/50—Routing or path finding of packets in data switching networks using label swapping, e.g. multi-protocol label switch [MPLS]
-
- 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/50—Routing or path finding of packets in data switching networks using label swapping, e.g. multi-protocol label switch [MPLS]
- H04L45/507—Label distribution
Abstract
The invention discloses a kind of message transmitting method, business catenary system and computer readable storage mediums, the method comprising the steps of: when business function agent node receives the network stream packet of classifier transmission, if received network stream packet be not network flow first message, obtain the identification information of network flow corresponding record;If identification information is first identifier, the optimization transmission path in the business chain routing information of business chain controller transmission is obtained, according to optimization transmission path transmission network stream packet in business chain;Wherein, optimization transmission path is when network stream packet needs to be transferred to the next-hop of business chain, and network stream packet is sent to the business function node of next-hop by business function agent node.The present invention reduces messages not to support hop count between the business function node of NSH and business function agent node in business chain, shortens transmission path of the message in business chain, and reduce Forwarding Delay, improves business service quality.
Description
Technical field
The present invention relates to mobile communication technology field more particularly to a kind of message transmitting methods, business catenary system and meter
Calculation machine readable storage medium storing program for executing.
Background technique
Value-added service (Value-Added Service, VAS) is more and more abundant.In order to solve the flexible portion of value-added service
Administration, introduces the technology of business chain (Service Function Chain, SFC).In a business catenary system, there are multiple
Business chain, each business chain are a series of SF (Service Function, business function) sequences of sequences.Each business chain
On SF number, type sequentially can be different, the different different business chains that flows away.
When deploying business chain, message will not support NSH (Network Service in business chain
Header, network service head) SF, repeatedly forwarded between business function agent node (SFC Proxy), increase network
The consumption of bandwidth and Forwarding Delay, cause service quality to decline.
Summary of the invention
The main purpose of the present invention is to provide a kind of message transmitting method, business catenary system and computer-readable storages
Medium, it is intended to which the business function node of NSH will not be supported in business chain by solving message, be carried out between business function agent node
Repeatedly forwarding, the technical issues of increasing consumption and the Forwarding Delay of network bandwidth, service quality is caused to decline.
To achieve the above object, the present invention provides a kind of message transmitting method, the message transmitting method comprising steps of
When business function agent node receives the network stream packet of classifier transmission, detecting the network stream packet is
No first message for network flow;
If the network stream packet is not first message of the network flow, the network flow corresponding record is obtained
Identification information, and judge whether the identification information is first identifier;
If the identification information is first identifier, obtain excellent in the business chain routing information of business chain controller transmission
Change transmission path, transmits the network stream packet in business chain according to the optimization transmission path;
Wherein, the optimization transmission path is when the network stream packet needs to be transferred to the next-hop of the business chain
When, the network stream packet is sent to the business function node of next-hop by the business function agent node.
Preferably, described when business function agent node receives network stream packet, detecting the network stream packet is
After the step of no first message for network flow, further includes:
If the network stream packet is first message of the network flow, first message is denoted as uplink the
One message;
The record with the first message of uplink corresponding network stream is established, and adds second identifier for the record;
First message of uplink is sent to purpose net according to the default transport path in the business chain routing information
Network, so that the purpose network returns to the first message of downlink corresponding with first message of uplink;
When receiving first message of downlink, the second identifier of the record is changed to first identifier;
Wherein, the second identifier expression does not receive first message of downlink, and the first identifier expression has received
To first message of downlink;The default transport path is when the network stream packet needs to be transferred under the business chain
When one jump, the network stream packet is sent to the business function agent node of next-hop by the business function agent node.
Preferably, the foundation and the record of the first message of uplink corresponding network stream, and the is added for the record
Two include: the step of mark
Obtain the head information of the IP five-tuple information and network service head NSH in first message of uplink;
The first message of uplink corresponding network stream is obtained according to the head information of the IP five-tuple information and the NSH
Record, and second identifier is added for the record.
Preferably, the head information of the NSH includes service path mark and service identification, is identified by the service path
And service identification determines the corresponding relationship in the business chain between each business function node and business function agent node.
Preferably, described to send out first message of uplink according to the default transport path in the business chain routing information
The step of giving purpose network, returning to the first message of downlink corresponding with first message of uplink for the purpose network is wrapped
It includes:
The network service head NSH encapsulation of first message of uplink is released, and by the uplink first after de-encapsulation
Message is sent to business function node corresponding with the business function agent node, so that the business function node is according to pre-
If the first message of uplink described in function treatment, and first message of uplink returns to the business function agency by treated
Node;
When first message of uplink that receives that treated, to treated, first message of uplink carries out NSH
Encapsulation, the first message of the uplink after being encapsulated, and it is sent to the business function agent node of next-hop, Zhi Daosuo
First message of uplink is sent to purpose network by the business function agent node for stating final jump in business chain, for described
Purpose network returns to the first message of downlink corresponding with first message of uplink.
Preferably, if the network stream packet is not first message of the network flow, the network is obtained
The identification information of corresponding record is flowed, and after judging the step of whether identification information is first identifier, further includes:
If the identification information of the record is not first identifier, according to the default transport in the business chain routing information
Network stream packet described in path transmission.
Preferably, when the network stream packet for receiving classifier transmission when business function agent node, described in detection
The step of whether network stream packet is first message of network flow include:
When business function agent node receives the network stream packet of classifier transmission, obtain in the network stream packet
IP five-tuple, and detect whether to exist and the IP five-tuple is consistent prestores IP five-tuple;
If not existing and the IP five-tuple is consistent prestores IP five-tuple, it is determined that the network stream packet is the net
First message of network stream;
If it exists with the IP five-tuple is consistent prestores IP five-tuple, it is determined that the network stream packet is not the net
First message of network stream.
Preferably, at least there is a business function node in the business chain, each business function node corresponds to one
A business function agent node.
In addition, to achieve the above object, the present invention also provides a kind of business catenary system, the business catenary system includes business
Function porxy node, classifier, business chain controller, business function node, memory, processor and it is stored in the storage
It is real when the message transmissions program is executed by the processor on device and the message transmissions program that can run on the processor
Existing following steps:
When the business function agent node receives the network stream packet that the classifier is sent, the network is detected
Stream packet whether be network flow first message;
If the network stream packet is not first message of the network flow, the network flow corresponding record is obtained
Identification information, and judge whether the identification information is first identifier;
If the identification information is first identifier, obtain in the business chain routing information that the business chain controller is sent
Optimization transmission path, the network stream packet is transmitted in the business chain according to the optimization transmission path;
Wherein, the optimization transmission path is when the network stream packet needs to be transferred to the next-hop of the business chain
When, the network stream packet is sent to the business function node of next-hop by the business function agent node.
In addition, to achieve the above object, it is described computer-readable the present invention also provides a kind of computer readable storage medium
Message transmissions program is stored on storage medium, the message transmissions program realizes following steps when being executed by processor:
When receiving the network stream packet of classifier transmission, detect whether the network stream packet is the first of network flow
A message;
If the network stream packet is not first message of the network flow, the network flow corresponding record is obtained
Identification information, and judge whether the identification information is first identifier;
If the identification information is first identifier, obtain excellent in the business chain routing information of business chain controller transmission
Change transmission path, transmits the network stream packet in the business chain according to the optimization transmission path;
Wherein, the optimization transmission path is when the network stream packet needs to be transferred to the next-hop of the business chain
When, the network stream packet is sent to the business function node of next-hop.
The present invention is by detecting the net when business function agent node receives the network stream packet that classifier is sent
Network stream packet whether be network flow first message;If the network stream packet is not first message of the network flow,
The identification information of the network flow corresponding record is then obtained, and judges whether the identification information is first identifier;If the mark
Knowing information is first identifier, then obtains the optimization transmission path in the business chain routing information of business chain controller transmission, according to
The optimization transmission path transmits the network stream packet in business chain;Wherein, the optimization transmission path is when the net
When network stream packet needs to be transferred to the next-hop of the business chain, the business function agent node sends out the network stream packet
Give the business function node of next-hop.Compared with the existing technology when needing for message to be sent to the next-hop of business chain, hair
Give the business function agent node of next-hop, in the present invention when needing for message to be sent to the next-hop of business chain, directly
Message is sent to the business function node of next-hop, is jumped for the first of business chain or the business function of final jump is acted on behalf of
For node, data forwarding amount can reduce by 25%, and the business function for removing the first jump or final jump in business chain is acted on behalf of
For node, data forwarding amount can reduce by 50%.Therefore, The present invention reduces messages does not support the business of NSH in business chain
Hop count between functional node and business function agent node shortens transmission path of the message in business chain, and
Reduce Forwarding Delay, improves business service quality.
Detailed description of the invention
Fig. 1 is the network architecture diagram for the business catenary system that the embodiment of the present invention is related to;
Fig. 2 is the flow diagram of message transmitting method first embodiment of the present invention;
Fig. 3 is a kind of signal that network stream packet transmits in business chain according to optimization transmission path in the embodiment of the present invention
Figure;
Fig. 4 is the flow diagram of message transmitting method second embodiment of the present invention;
Fig. 5 is a kind of signal that network stream packet transmits in business chain according to default transport path in the embodiment of the present invention
Figure;
Fig. 6 is the system schematic that network stream packet transmits in business chain in the embodiment of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The solution of the embodiment of the present invention is mainly: when business function agent node receives the network of classifier transmission
When stream packet, detect the network stream packet whether be network flow first message;If the network stream packet is not described
First message of network flow, then obtain the identification information of the network flow corresponding record, and whether judges the identification information
For first identifier;If the identification information is first identifier, obtain in the business chain routing information that business chain controller is sent
Optimization transmission path, the network stream packet is transmitted in business chain according to the optimization transmission path;Wherein, the optimization
Transmission path is the business function agent node when the network stream packet needs to be transferred to the next-hop of the business chain
The network stream packet is sent to the business function node of next-hop.Not support NSH's in business chain to solve message
Business function node is repeatedly forwarded between business function agent node, increases consumption and the Forwarding Delay of network bandwidth,
The problem of causing service quality to decline.
As shown in Figure 1, Fig. 1 is the network architecture diagram for the business catenary system that the embodiment of the present invention is related to.
Business catenary system in the embodiment of the present invention includes multiple SFC functional nodes, specifically, referring to Fig.1, business linkwork
The SFC functional node that system includes has: classifier 105 (Classifier), 104 (Service of business function transponder
Function Forwarder, SFF), the business function node 101 (Service Function, SF) of NSH is not supported and is supported
The business function node 103 of NSH, business function agent node 102 (SFC Proxy), 106 (SFC- of business chain controller
Controller).In a business catenary system, classifier 105, business function node and business function transponder 104 can have
One or more example, business function agent node 102 can have 0,1 or multiple examples.In a business catenary system
In, there are multiple business chains, each business chain is a series of business function sequence node of sequences.Industry in each business chain
Business functional node number, type sequentially may be the same or different, and different network flows is associated with different business chain.Often
At least there is a business function node in a business chain, each business function node corresponds to a business function agent node
102。
In embodiments of the present invention, in order to enable message forwarded between each SFC functional node without change
Base network device defines network service head NSH for encapsulated message.After message is encapsulated in NSH, due to do not need according to
Rely and be forwarded in the destination address of message, therefore can be on the basis of not changing base network device, in SFC functional node
Between transmitting message.
Network flow refers to whithin a period of time, source IP (Internet Protocol, the agreement interconnected between network)
The unidirectional message flow transmitted between address and purpose IP address, all messages source port number having the same, destination slogan, biography
Defeated layer protocol, source IP address and purpose IP address, i.e. IP five-tuple content are identical.It follows that each in consolidated network stream
The IP five-tuple of message is identical.
Business function node 101 and business function node 103 are required to network stream packet according to specific function
The functional unit of reason, business function node receive network stream packet from one or more business function transponder 104, are handling
After the network stream packet, treated network stream packet is sent to one or more business function transponder 104.
Agency of the business function agent node 102 as the business function node 101 for not supporting NSH is sent to needs
The network stream packet of business function node 101 removes NSH encapsulation for 101 solution of business function node, to from business functional node
The 101 network stream packets received carry out NSH encapsulation, and the network stream packet after encapsulation is then sent to other nodes, is such as sent out
Give business function transponder 104.
Business function transponder 104 is used to identify (Service Path according to the service path in the head information of NSH
Identifier, SPI) and service identification (Service Index, SI) forwarding network stream packet.Business function node and business
Function transponder 104 together forms the data plane of SFC.
The network flow for identification of classifier 105, and network flow and business chain are associated, by network flow be sent to and its
In associated business chain.
Business chain controller 106 is control plane function in business chain, for the corresponding report of Topology g eneration according to business chain
Literary transmission path, and service transmission path is sent to classifier 105, business function transponder 104 and business function node etc..
It should be noted that NSH is a data surface transport protocol, service plane completes network according to the head information of NSH
The forwarding of stream packet controls and service (realizing the strategy that SFC control plane issues), and the head information of a NSH includes three parts: 1.
The basic head information of NSH;2. service path information;3. metadata Metadata information.Wherein, service path information includes business road
Diameter mark and service identification, service path mark is for indicating a business function agent node 102, and service identification is for indicating
102 corresponding business function node position of business function agent node.
It will be understood by those skilled in the art that business chain system structure shown in Fig. 1 is not constituted to business catenary system
Restriction, may include perhaps combining certain components or different component layouts than illustrating more or fewer components.
It further include processor, memory and communication bus in business catenary system.Wherein, communication bus is for realizing this
Connection communication between a little components.Memory 1005 can be high speed RAM memory, be also possible to stable memory (non-
Volatile memory), such as magnetic disk storage.Memory optionally can also be the storage dress independently of aforementioned processor
It sets.
In embodiments of the present invention, may include in the memory as a kind of computer storage medium operating system and
Message transmissions program.Wherein, operating system is to manage and control the program of business chain system hardware and software resource, supports message
The operation of transfer program and other softwares and/or program.
In business catenary system, processor can be used for calling the message transmissions program stored in memory, and execute with
Lower step:
When business function agent node 102 receives the network stream packet of the transmission of classifier 105, the network flow is detected
Message whether be network flow first message;
If the network stream packet is not first message of the network flow, the network flow corresponding record is obtained
Identification information, and judge whether the identification information is first identifier;
If the identification information is first identifier, obtain in the business chain routing information that business chain controller 106 is sent
Optimization transmission path, the network stream packet is transmitted in business chain according to the optimization transmission path;
Wherein, the optimization transmission path is when the network stream packet needs to be transferred to the next-hop of the business chain
When, the network stream packet is sent to the business function node 101 of next-hop by the business function agent node 102.
Further, described when business function agent node 102 receives network stream packet, detect the network flow report
After the step of whether text is first message of network flow, processor can be also used for that the message stored in memory is called to pass
Defeated program executes following steps:
If the network stream packet is first message of the network flow, first message is denoted as uplink the
One message;
The record with the first message of uplink corresponding network stream is established, and adds second identifier for the record;
First message of uplink is sent to purpose net according to the default transport path in the business chain routing information
Network, so that the purpose network returns to the first message of downlink corresponding with first message of uplink;
When receiving first message of downlink, the second identifier of the record is changed to first identifier;
Wherein, the second identifier expression does not receive first message of downlink, and the first identifier expression has received
To first message of downlink;The default transport path is when the network stream packet needs to be transferred under the business chain
When one jump, the network stream packet is sent to the business function agent node of next-hop by the business function agent node 102
102。
Further, the record of the foundation and the first message of uplink corresponding network stream, and added for the record
The step of second identifier includes:
Obtain the head information of the IP five-tuple information and network service head NSH in first message of uplink;
The first message of uplink corresponding network stream is obtained according to the head information of the IP five-tuple information and the NSH
Record, and second identifier is added for the record.
Further, the head information of the NSH includes service path mark and service identification, passes through the service path mark
Know and service identification determines pair in the business chain between each business function node 101 and business function agent node 102
It should be related to.
Further, it is described by first message of uplink according to the default transport path in the business chain routing information
The step of being sent to purpose network, returning to the first message of downlink corresponding with first message of uplink for the purpose network
Include:
The network service head NSH encapsulation of first message of uplink is released, and by the uplink first after de-encapsulation
Message is sent to business function node 101 corresponding with the business function agent node 102, for the business function node
101 handle first message of uplink according to preset function, and first message of uplink returns to the industry by treated
Business function porxy node 102;
When first message of uplink that receives that treated, to treated, first message of uplink carries out NSH
Encapsulation, the first message of the uplink after being encapsulated, and it is sent to the business function agent node 102 of next-hop, directly
First message of uplink is sent to purpose network by the business function agent node 102 of the final jump into the business chain,
So that the purpose network returns to the first message of downlink corresponding with first message of uplink.
Further, if the network stream packet is not first message of the network flow, the net is obtained
The identification information of network stream corresponding record, and after judging the step of whether identification information is first identifier, processor may be used also
To execute following steps for calling the message transmissions program stored in memory:
If the identification information of the record is not first identifier, according to the default transport in the business chain routing information
Network stream packet described in path transmission.
Further, when the network stream packet for receiving the transmission of classifier 105 when business function agent node 102,
Detect that the step of whether the network stream packet is first message of network flow includes:
When business function agent node 102 receives the network stream packet of the transmission of classifier 105, the network flow is obtained
IP five-tuple in message, and detect whether to exist and the IP five-tuple is consistent prestores IP five-tuple;
If not existing and the IP five-tuple is consistent prestores IP five-tuple, it is determined that the network stream packet is the net
First message of network stream;
If it exists with the IP five-tuple is consistent prestores IP five-tuple, it is determined that the network stream packet is not the net
First message of network stream.
Further, at least there is a business function node 101, each business function node 101 in the business chain
Correspond to a business function agent node 102.
Based on above-mentioned structure, each embodiment of message transmitting method is proposed.
It is the flow diagram of message transmitting method first embodiment of the present invention referring to Fig. 2, Fig. 2.
In the present embodiment, the embodiment of message transmitting method is provided, it should be noted that although showing in flow charts
Go out logical order, but in some cases, it can be with the steps shown or described are performed in an order that is different from the one herein.
In embodiments of the present invention, message transmitting method is in IETF (The Internet Engineering Task
Force, Internet Engineering Task group) the SFC framework basis that defines of related protocol realizes.It should be noted that due to this hair
It is bright that the technical problem to be solved is that the business function node 101 that NSH is not supported in business chain, business function agent nodes
The problem of repeatedly E-Packeting between 102, increasing consumption and the Forwarding Delay of network bandwidth, service quality is caused to decline.By
This is it is found that the business function section in the embodiment of the present invention is the business function node 101 for not supporting NSH.
The message transmitting method includes:
Step S10 detects institute when business function agent node 102 receives the network stream packet of the transmission of classifier 105
State network stream packet whether be network flow first message.
When business function agent node 102 receives the network stream packet of the transmission of classifier 105, the received net of detection institute
Whether network stream packet is its first message for receiving the network flow.
Further, step S10 includes:
Step a, when business function agent node 102 receives the network stream packet of the transmission of classifier 105, described in acquisition
IP five-tuple in network stream packet, and detect whether to exist and the IP five-tuple is consistent prestores IP five-tuple.
Step b, if not existing and the IP five-tuple is consistent prestores IP five-tuple, it is determined that the network stream packet is
First message of the network flow.
Step c, if it exists with the IP five-tuple is consistent prestores IP five-tuple, it is determined that the network stream packet is not
First message of the network flow.
Business function agent node 102 detect network stream packet whether be the network flow first message detailed process
Are as follows: when business function agent node 102 receives the network stream packet of the transmission of classifier 105, obtain in network stream packet
IP five-tuple, and detect in the memory of business catenary system with the presence or absence of with the IP five-tuple is consistent prestores IP five-tuple.It needs
It is noted that IP five-tuple refers to source IP address, source port, purpose IP address, destination port and transport layer protocol.At this
In inventive embodiments, when 102 first time of business function agent node receiving the message of some network flow, the network flow is obtained
The IP five-tuple of message, and acquired IP five-tuple is stored into memory.When there are some network flow reports in memory
When the IP five-tuple of text, show that the business function agent node 102 had received the message of the network flow;When not deposited in memory
In the IP five-tuple of some network stream packet, show that the business function agent node 102 did not received the message of the network flow.
When in the memory of business catenary system do not exist with the IP five-tuple is consistent prestore IP five-tuple when, business function
Agent node 102 determines that currently received network stream packet is first message of current network stream;When existing in memory
With the IP five-tuple is consistent prestore IP five-tuple when, business function agent node 102 determines currently received network flow report
Text is not first message of current network stream.
Step S20 obtains the network flow pair if the network stream packet is not first message of the network flow
The identification information that should be recorded, and judge whether the identification information is first identifier.
If currently received network stream packet is not first message of the network flow, business function agent node 102
The identification information with the network flow corresponding record is then obtained, and judges whether the acquired identification information recorded is first identifier.
Step S30 obtains the service link of the transmission of business chain controller 106 if the identification information is first identifier
Optimization transmission path in diameter information transmits the network stream packet according to the optimization transmission path in business chain.
Wherein, the optimization transmission path is when the network stream packet needs to be transferred to the next-hop of the business chain
When, the network stream packet is sent to the business function node 101 of next-hop by the business function agent node 102.
If the identification information of the record is first identifier, business function agent node 102 obtains business chain controller 106
The business chain routing information of transmission extracts optimization transmission path from service link diameter information, and exists according to optimization transmission path
The network stream packet is transmitted in business chain.Wherein, optimization transmission path is when network stream packet needs to be transferred under business chain
When one jump, network stream packet is directly sent to the business function node 101 of next-hop by business function agent node 102, without
It is destined to the business function agent node 102 of next-hop.
Before network stream packet enters business catenary system, the meeting issuing service chain routing information of business chain controller 106 is given
Each business function agent node 102 in business chain, by the business chain routing information may know that network stream packet need through
The number of business function node 101 is crossed, and sequence and each business function node by each business function node 101
101 corresponding business function agent nodes 102 etc..106 issuing service chain routing information of business chain controller issues mode packet
It includes but is not limited to restful and netconf.
For a better understanding of the present invention, below with there are the business function nodes 101 that three are not supported NSH in business chain
For be illustrated, these three business function nodes 101 are respectively that SF1, SF2 and SF3 accordingly in the business chain, are deposited
In three business function agent nodes 102, respectively SFC Proxy1, SFC Proxy2 and SFC Proxy3.It retouches for convenience
State, in the business chain, define up direction (uplink) business function node 101 sequence be SF1, SF2, SF3, it is corresponding
Down direction (downlink) is that the sequence of business function node 101 is SF3, SF2, SF1.In up direction, SFC Proxy1
For the business function agent node 102 that business chain first is jumped, SF1 is the business function node 101 that business chain first is jumped;SFC
Proxy2 is the business function agent node 102 that business chain second is jumped, and SF2 is the business function node 101 that business chain second is jumped;
SFC Proxy3 is the business function agent node 102 that business chain third is jumped, and SF3 is the business function node that business chain third is jumped
101.On the contrary, SFC Proxy3 is the business function agent node 102 that business chain first is jumped, and SF3 is business in down direction
The business function node 101 that chain first is jumped;SFC Proxy2 is the business function agent node 102 that business chain second is jumped, and SF2 is
The business function node 101 that business chain second is jumped;SFC Proxy1 is the business function agent node 102 that business chain third is jumped,
SF1 is the business function node 101 that business chain third is jumped.
It is understood that the up direction and down direction in the embodiment of the present invention are only to facilitate differentiated service chain
In 2 directions, in other embodiments, the sequence of up direction and business function node 101 in down direction can be interchanged.
When network stream packet enters business catenary system, business chain controller 106 can be to SFC Proxy1, SFC Proxy2
101 information of business function node of respective next-hop is issued with SFC Proxy3,101 information of business function node includes at least down
One jumper connection receives the IP address of the business function node 101 of the network stream packet, in order to which current business function porxy node 102 will
Network stream packet is sent to the next-hop of business chain.Specifically, referring to Fig. 6, in Fig. 6, SFP info indicates business chain control
The process of business function agent node 102 issuing service functional node 101 information of the device 106 into business chain.Work as business function
When agent node 102 receives business function 101 information of node that business chain controller 106 issues, the received business of storage institute
101 information of functional node uses when other messages in transmitting the network flow in order to subsequent.
Further, business chain controller 106 can also issue industry to SFC Proxy1, SFC Proxy2 and SFC Proxy3
All 101 information of business function node in business chain.When SFC Proxy1, SFC Proxy2 and SFC Proxy3 receive business
In the business chain that chain controller 106 issues when all 101 information of business function node, SFC Proxy1, SFC Proxy2 and SFC
Proxy3 respectively required 101 information of business function node is found in received 101 information of business function node, and deposit
Storage.
Specifically, referring to Fig. 3 and Fig. 6, in Fig. 6, packet2..n indicates the other of first message except network flow
Message.As shown by the dotted line in fig. 3, when network stream packet is uplink message, network stream packet exists according to optimization transmission path
The detailed process transmitted in business chain are as follows: network flow data is sent to SFC Proxy1 by classifier 105, and SFC Proxy1 is by net
Network stream packet is sent to SF1 by business function transponder 104, will be handled by business function transponder 104 again after SF1 processing
Network stream packet afterwards is sent to SFC Proxy1;SFC Proxy1 is sent out network stream packet by business function transponder 104
SF2 is given, network stream packet is sent to SFC Proxy2 by treated by business function transponder 104 again after SF2 processing;
Network stream packet is sent to SF3 by business function transponder 104 by SFC Proxy2, passes through business function again after SF3 processing
Transponder 104 will treated network stream packet is sent to SFC Proxy3, SFC Proxy3 is by the received network stream packet of institute
It is sent to purpose network Dest Network.Whole process are as follows: Classifier → SFC Proxy1 → SF1 → SFC Proxy1
→SF2→SFC Proxy2→SF3→SFC Proxy3→Dest Network。
As shown on the solid line in figure 3, when network stream packet is downlink message, network stream packet exists according to optimization transmission path
The detailed process transmitted in business chain are as follows: Dest Network → SFC Proxy3 → SF3 → SFC Proxy3 → SF2 → SFC
Proxy2→SF1→SFC Proxy1→Classifier。
It should be noted that the uplink message can be responded when purpose network receives uplink message, obtain and uplink report
The corresponding downlink message of text, and by the downlink message according to backtracking to classifier 105.One uplink message can correspond to one
A or multiple downlink messages.
Further, message transmitting method further include:
Step S40, if the identification information of the record is not first identifier, according in the business chain routing information
Network stream packet described in default transport path transmission.
It is first message of current network stream when business function agent node 102 receives network message not, but function of being engaged in
Can the identification information of agent node corresponding record be not first identifier, when being second identifier, business function agent node 102 according to
Default transport routing information in the business chain routing information transmission network stream packet in business chain.Default transport path is to work as net
When network stream packet needs to be transferred to the next-hop of business chain, network stream packet is sent to next by business function agent node 102
The business function agent node 102 of jump.
The present embodiment is by examining when business function agent node 102 receives the network stream packet that classifier 105 is sent
Survey the network stream packet whether be network flow first message;If the network stream packet is not the first of the network flow
A message, then obtain the identification information of the network flow corresponding record, and judges whether the identification information is first identifier;If
The identification information is first identifier, then obtains the optimization transmission in the business chain routing information of the transmission of business chain controller 106
The network stream packet is transmitted according to the optimization transmission path in path in business chain;Wherein, the optimization transmission path is
When the network stream packet needs to be transferred to the next-hop of the business chain, the business function agent node 102 will be described
Network stream packet is sent to the business function node 101 of next-hop.Compared with the existing technology when needing message being sent to business
When the next-hop of chain, it is sent to the business function agent node 102 of next-hop, when needing message being sent to business in the present invention
When the next-hop of chain, message is directly sent to the business function node 101 of next-hop, for business chain first jump or most
For the business function agent node 102 of latter jump, data forwarding amount can reduce by 25%, in business chain remove first jump or
For the business function agent node 102 of final jump, data forwarding amount can reduce by 50%.Therefore, The present invention reduces messages
It does not support the hop count between the business function node 101 of NSH and business function agent node 102 in business chain, shortens
Transmission path of the message in business chain, and reduce Forwarding Delay, improve business service quality.
Further, message transmitting method second embodiment of the present invention is proposed.
The difference of the message transmitting method second embodiment and the message transmitting method first embodiment is, reference
Fig. 4, message transmitting method further include:
Step S50 remembers first message if the network stream packet is first message of the network flow
For the first message of uplink.
Step S60 establishes the record with the first message of uplink corresponding network stream, and is the second mark of record addition
Know.
Step S70 sends first message of uplink according to the default transport path in the business chain routing information
Purpose network is given, so that the purpose network returns to the first message of downlink corresponding with first message of uplink.
When business function agent node 102 received network stream packet be current network stream first message when, will
First message of current network stream is denoted as the first message of uplink, establishes the record with the first message of uplink corresponding network stream, and
The first message of uplink is sent to purpose network according to default transport path in business chain routing information, for the return of purpose network
The first message of downlink corresponding with the first message of uplink.Wherein, default transport path is when network stream packet needs to be transferred to industry
When the next-hop of business chain, network stream packet is sent to the business function agent node of next-hop by business function agent node 102
102。
Further, step S60 includes:
Step d obtains the head information of the IP five-tuple information and network service head NSH in first message of uplink.
Step e obtains first message of uplink according to the head information of the IP five-tuple information and the NSH and corresponds to net
The record of network stream, and second identifier is added for the record.
Wherein, the head information of the NSH include service path mark and service identification, by the service path mark and
Service identification determines the corresponding pass in the business chain between each business function node 101 and business function agent node 102
System.
Business function agent node 102 establishes the process with the record of the first message of uplink corresponding network stream are as follows: business function
Energy agent node 102 obtains the head information of IP five-tuple information and NSH in the first message of uplink, according to acquired five yuan of IP
Group information and the head information of NSH obtain the record of uplink the first message corresponding network stream, and add second identifier for the record.Tool
Body, the head information of IP five-tuple information and NSH can be spliced into character string, form a record, or use other methods
IP five-tuple information and the head information of NSH are formed into a record.Wherein, the head information of NSH includes service path mark and industry
Business mark determines each business function node 101 and business function generation in business chain by service path mark and service identification
Manage the corresponding relationship between node 102.
Further, step S70 includes:
Step f releases the network service head NSH encapsulation of first message of uplink, and will be on described after de-encapsulation
The first message of row is sent to business function node 101 corresponding with the business function agent node 102, for the business function
Energy node 101 handles first message of uplink according to preset function, and first message of uplink returns to by treated
The business function agent node 102;
Step g, when first message of uplink that receives that treated, to treated first message of uplink into
Row NSH encapsulation, the first message of the uplink after being encapsulated, and it is sent to the business function agent node of next-hop
102, until first message of uplink is sent to purpose by the business function agent node 102 of final jump in the business chain
Network, so that the purpose network returns to the first message of downlink corresponding with first message of uplink.
When business function agent node 102 receives the first message of uplink, the NSH encapsulation of the first message of uplink is released,
And the first message of uplink after de-encapsulation is sent to business function node 101 corresponding with business function agent node 102,
So that business function node 101 handles the first message of uplink according to preset function, and the first message of uplink returns by treated
To business function agent node 102.When the first message of uplink that receives that treated of business function agent node 102, to place
The first message of uplink after reason carries out NSH encapsulation, the first message of uplink after being Resealed, and upper after Resealing
The first message of row is sent to the business function agent node 102 of next-hop, until the business function generation of final jump in business chain
It manages node 102 and the first message of uplink is sent to purpose network.When purpose network receives the first message of uplink, respond on this
The first message of row obtains the first message of downlink corresponding with the first message of the uplink, and the first message of downlink is sent to business
Business function agent node 102 in chain.
It should be noted that different business function nodes 101 has different functions, preset function can be illegal for filtering
URL (Uniform Resource Locator, uniform resource locator) optimizes video data or image data etc..Business
The difference for the network stream packet type transmitted in chain, the corresponding preset function of business function node 101 are also different.In business
Pass through 104 transmission network stream packet process of business function transponder between function porxy node 102 and business function node 101
In, business function agent node 102 is required to release the NSH encapsulation of network stream packet and be forwarded to business function node 101
Network stream packet re-start NSH encapsulation.The transmission network stream packet and in SFC such as between SFC Proxy1 and SF1
Between Proxy1 and SF2 during transmission network stream packet, requires to carry out network stream packet solution NSH encapsulation and re-start
The operation of NSH encapsulation.
The second identifier of the record is changed to the first mark when receiving first message of downlink by step S80
Know, wherein the second identifier expression does not receive first message of downlink, and the first identifier expression has received described
The first message of downlink.
When business function agent node 102 receives the first message of downlink, more by the second identifier information of corresponding record
It is changed to first identifier, wherein second identifier indicates that business function agent node 102 does not receive the first message of downlink, the first mark
Knowing indicates that business function agent node 102 has received the first message of downlink.In the present embodiment, first identifier and second identifier
It is arranged according to specific needs, such as when the identification information of record is Rd, if business function agent node 102 has received down
Identification information Rd is set "Yes" by the first message of row;If business function agent node 102 does not receive the first message of downlink,
"No" is set by identification information Rd, i.e. first identifier information is "Yes", and second identifier information is "No".In other embodiments
In, first identifier information can also be set to " 1 ", second identifier information is set as " 0 ".
Referring to 5 and Fig. 6, in Fig. 6, packet1-u indicates that the first message of uplink, packet1-d indicate that downlink first is reported
Text.By the dotted line in Fig. 5 it is found that the detailed process that the first message of uplink transmits in business chain according to default transport path are as follows:
Classifier→SFC Proxy1→SF1→SFC Proxy1→SFC Proxy2→SF2→SFC Proxy2→SFC
Proxy3→SF3→SFC Proxy3→Dest Network.By the solid line in Fig. 5 it is found that the first message of downlink is according to default
The detailed process that transmission path is transmitted in business chain are as follows: Dest Network → SFC Proxy3 → SF3 → SFC Proxy3
→SFC Proxy2→SF2→SFC Proxy2→SFC Proxy1→SF1→SFC Proxy1→Classifier。
The present embodiment by when business function agent node 102 institute received network stream packet be current network stream first
When a message, according to the first message of uplink of default transport path transmission network stream in business chain in business chain routing information
The mark of corresponding record is updated and when business function agent node 102 receives the first message of downlink with the first message of downlink
Information avoids first in network flow message and loses in business chain transmission process, and the transmission path in business chain does not have
The case where being successfully established appearance.
In addition, the embodiment of the present invention also proposes a kind of computer readable storage medium, the computer readable storage medium
On be stored with message transmissions program, the message transmissions program realizes following steps when being executed by processor:
When receiving the network stream packet of the transmission of classifier 105, detect whether the network stream packet is network flow
First message;
If the network stream packet is not first message of the network flow, the network flow corresponding record is obtained
Identification information, and judge whether the identification information is first identifier;
If the identification information is first identifier, obtain in the business chain routing information that business chain controller 106 is sent
Optimization transmission path, the network stream packet is transmitted in the business chain according to the optimization transmission path;
Wherein, the optimization transmission path is when the network stream packet needs to be transferred to the next-hop of the business chain
When, the network stream packet is sent to the business function node 101 of next-hop.
Further, described when receiving network stream packet, detect whether the network stream packet is the of network flow
After the step of one message, the message transmissions program realizes following steps when being executed by processor:
If the network stream packet is first message of the network flow, first message is denoted as uplink the
One message;
The record with the first message of uplink corresponding network stream is established, and adds second identifier for the record;
First message of uplink is sent to purpose net according to the default transport path in the business chain routing information
Network, so that the purpose network returns to the first message of downlink corresponding with first message of uplink;
When receiving first message of downlink, the second identifier of the record is changed to first identifier;
Wherein, the second identifier expression does not receive first message of downlink, and the first identifier expression has received
To first message of downlink;The default transport path is when the network stream packet needs to be transferred under the business chain
When one jump, the network stream packet is sent to the business function agent node 102 of next-hop.
Further, the record of the foundation and the first message of uplink corresponding network stream, and added for the record
The step of second identifier includes:
Obtain the head information of the IP five-tuple information and network service head NSH in first message of uplink;
The first message of uplink corresponding network stream is obtained according to the head information of the IP five-tuple information and the NSH
Record, and second identifier is added for the record.
Further, the head information of the NSH includes service path mark and service identification, passes through the service path mark
Know and service identification determines pair in the business chain between each business function node 101 and business function agent node 102
It should be related to.
Further, it is described by first message of uplink according to the default transport path in the business chain routing information
The step of being sent to purpose network, returning to the first message of downlink corresponding with first message of uplink for the purpose network
Include:
The network service head NSH encapsulation of first message of uplink is released, and by the uplink first after de-encapsulation
Message is sent to business function node 101 corresponding with the business function agent node 102, for the business function node
101 handle first message of uplink according to preset function, and first message of uplink returns to the industry by treated
Business function porxy node 102;
When first message of uplink that receives that treated, to treated, first message of uplink carries out NSH
Encapsulation, the first message of the uplink after being encapsulated, and it is sent to the business function agent node 102 of next-hop, directly
First message of uplink is sent to purpose network by the business function agent node 102 of the final jump into the business chain,
So that the purpose network returns to the first message of downlink corresponding with first message of uplink.
Further, if the network stream packet is not first message of the network flow, the net is obtained
The identification information of network stream corresponding record, and after judging the step of whether identification information is first identifier, the message passes
Defeated program realizes following steps when being executed by processor:
If the identification information of the record is not first identifier, according to the default transport in the business chain routing information
Network stream packet described in path transmission.
Further, described when receiving the network stream packet of the transmission of classifier 105, detecting the network stream packet is
The step of no first message for network flow includes:
When receiving the network stream packet of the transmission of classifier 105, the IP five-tuple in the network stream packet is obtained, and
It detects whether to exist and the IP five-tuple is consistent prestores IP five-tuple;
If not existing and the IP five-tuple is consistent prestores IP five-tuple, it is determined that the network stream packet is the net
First message of network stream;
If it exists with the IP five-tuple is consistent prestores IP five-tuple, it is determined that the network stream packet is not the net
First message of network stream.
Further, at least there is a business function node 101, each business function node 101 in the business chain
Correspond to a business function agent node 102.
Computer readable storage medium specific embodiment of the present invention and the basic phase of each embodiment of above-mentioned message transmitting method
Together, details are not described herein.
In addition, the embodiment of the present invention also proposes a kind of message transmitting device, which is applied to business linkwork
In system, specifically, message transmitting device includes:
Detection module, for when receiving the network stream packet of the transmission of classifier 105, detecting the network stream packet to be
No first message for network flow;
Module is obtained, if not being first message of the network flow for the network stream packet, obtains the net
The identification information of network stream corresponding record;
Judgment module, for judging whether the identification information is first identifier;
If it is first identifier that the acquisition module, which is also used to the identification information, the transmission of business chain controller 106 is obtained
Business chain routing information in optimization transmission path;
Transmission module, for transmitting the network stream packet in business chain according to the optimization transmission path;
Wherein, the optimization transmission path is when the network stream packet needs to be transferred to the next-hop of the business chain
When, the network stream packet is sent to the business function node 101 of next-hop.
Further, message transmitting device further include:
Mark module, if being first message of the network flow for the network stream packet, by described first
Message is denoted as the first message of uplink;
Establish module, for establish with the record of the first message of uplink corresponding network stream, and for the record addition
Second identifier;
Sending module, for by first message of uplink according to the default transport path in the business chain routing information
It is sent to purpose network, so that the purpose network returns to the first message of downlink corresponding with first message of uplink;
Module is changed, for when receiving first message of downlink, the second identifier of the record is changed to the
One mark;
Wherein, the second identifier expression does not receive first message of downlink, and the first identifier expression has received
To first message of downlink;The default transport path is when the network stream packet needs to be transferred under the business chain
When one jump, the network stream packet is sent to the business function agent node 102 of next-hop.
Further, establishing module includes:
First acquisition unit, for obtaining IP five-tuple information and network service head NSH in first message of uplink
Head information;
Processing unit is reported for obtaining the uplink first according to the head information of the IP five-tuple information and the NSH
The record of literary corresponding network stream, and second identifier is added for the record.
Further, the head information of the NSH includes service path mark and service identification, passes through the service path mark
Know and service identification determines pair in the business chain between each business function node 101 and business function agent node 102
It should be related to.
Further, sending module includes:
Decapsulation unit, the network service head NSH for releasing first message of uplink are encapsulated;
Transmission unit is saved for the first message of the uplink after de-encapsulation to be sent to act on behalf of with the business function
102 corresponding business function nodes 101 of point, so that the business function node 101 handles the uplink the according to preset function
One message, and first message of uplink returns to the business function agent node 102 by treated;
Encapsulation unit, for when first message of uplink that receives that treated, the uplink to treated
One message carries out NSH encapsulation, the first message of the uplink after being encapsulated;
The transmission unit is also used to for the first message of the uplink after encapsulation being sent to the business function of next-hop
Can agent node 102, until the business function agent node 102 of final jump in the business chain is by first message of uplink
It is sent to purpose network, so that the purpose network returns to the first message of downlink corresponding with first message of uplink.
Further, if the identification information that the transmission module is also used to the record is not first identifier, according to institute
State network stream packet described in the default transport path transmission in business chain routing information.
Further, detection module includes:
Second acquisition unit, for obtaining the network flow report when receiving the network stream packet of the transmission of classifier 105
IP five-tuple in text;
Detection unit, for detecting whether in the presence of with the IP five-tuple is consistent prestores IP five-tuple;
Determination unit, if for not existing and the IP five-tuple is consistent prestores IP five-tuple, it is determined that the network
Stream packet is first message of the network flow;If it exists with the IP five-tuple is consistent prestores IP five-tuple, it is determined that
The network stream packet is not first message of the network flow.
Further, at least there is a business function node 101, each business function node 101 in the business chain
Correspond to a business function agent node 102.
Message transmitting device specific embodiment of the present invention and each embodiment of above-mentioned message transmitting method are essentially identical, herein
It repeats no more.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, computer, clothes
Business device, air conditioner or the network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair
Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.
Claims (10)
1. a kind of message transmitting method, which is characterized in that the message transmitting method the following steps are included:
When business function agent node receive classifier transmission network stream packet when, detect the network stream packet whether be
First message of network flow;
If the network stream packet is not first message of the network flow, the mark of the network flow corresponding record is obtained
Information, and judge whether the identification information is first identifier;
If the identification information is first identifier, the optimization obtained in the business chain routing information of business chain controller transmission is passed
The network stream packet is transmitted according to the optimization transmission path in defeated path in business chain;
Wherein, the optimization transmission path is the institute when the network stream packet needs to be transferred to the next-hop of the business chain
State the business function node that the network stream packet is sent to next-hop by business function agent node.
2. message transmitting method as described in claim 1, which is characterized in that described when business function agent node receives net
When network stream packet, after detecting the step of whether the network stream packet is first message of network flow, further includes:
If the network stream packet is first message of the network flow, first message is denoted as uplink first and is reported
Text;
The record with the first message of uplink corresponding network stream is established, and adds second identifier for the record;
First message of uplink is sent to purpose network according to the default transport path in the business chain routing information, with
The first message of downlink corresponding with first message of uplink is returned for the purpose network;
When receiving first message of downlink, the second identifier of the record is changed to first identifier;
Wherein, the second identifier expression does not receive first message of downlink, and the first identifier expression has received institute
State the first message of downlink;The default transport path is when the network stream packet needs to be transferred to the next-hop of the business chain
When, the network stream packet is sent to the business function agent node of next-hop by the business function agent node.
3. message transmitting method as claimed in claim 2, which is characterized in that the foundation is corresponding with first message of uplink
The record of network flow, and the step of adding second identifier for the record includes:
Obtain the head of the interconnection agreement IP five-tuple information and network service head NSH between the network in first message of uplink
Information;
The note of the first message of uplink corresponding network stream is obtained according to the head information of the IP five-tuple information and the NSH
Record, and second identifier is added for the record.
4. message transmitting method as claimed in claim 3, which is characterized in that the head information of the NSH includes service path mark
Know and service identification, by service path mark and service identification determine in the business chain each business function node and
Corresponding relationship between business function agent node.
5. message transmitting method as claimed in claim 2, which is characterized in that it is described by first message of uplink according to described
Default transport path in business chain routing information is sent to purpose network, so that the purpose network returns and the uplink the
The step of one message corresponding the first message of downlink includes:
The network service head NSH encapsulation of first message of uplink is released, and by the first message of the uplink after de-encapsulation
It is sent to business function node corresponding with the business function agent node, so that the business function node is according to default function
First message of uplink can be handled, and first message of uplink returns to the business function agency section by treated
Point;
When first message of uplink that receives that treated, to treated, first message of uplink carries out NSH encapsulation,
The first message of the uplink after being encapsulated, and it is sent to the business function agent node of next-hop, until the industry
First message of uplink is sent to purpose network by the business function agent node of final jump in business chain, for the purpose
Network returns to the first message of downlink corresponding with first message of uplink.
6. message transmitting method as described in claim 1, which is characterized in that if the network stream packet is not the net
First message of network stream, then obtain the identification information of the network flow corresponding record, and judge the identification information whether be
After the step of first identifier, further includes:
If the identification information of the record is not first identifier, according to the default transport path in the business chain routing information
Transmit the network stream packet.
7. such as message transmitting method as claimed in any one of claims 1 to 6, which is characterized in that described when business function agency's section
Point receive classifier transmission network stream packet when, detect the network stream packet whether be network flow first message
Step includes:
When business function agent node receives the network stream packet of classifier transmission, the IP in the network stream packet is obtained
Five-tuple, and detect whether to exist and the IP five-tuple is consistent prestores IP five-tuple;
If not existing and the IP five-tuple is consistent prestores IP five-tuple, it is determined that the network stream packet is the network flow
First message;
If it exists with the IP five-tuple is consistent prestores IP five-tuple, it is determined that the network stream packet is not the network flow
First message.
8. message transmitting method as claimed in claim 7, which is characterized in that at least there is a business function in the business chain
Energy node, each business function node correspond to a business function agent node.
9. a kind of business catenary system, which is characterized in that the business catenary system includes business function agent node, classifier, industry
It business chain controller, business function node, memory, processor and is stored on the memory and can be on the processor
The message transmissions program of operation, the message transmissions program realize following steps when being executed by the processor:
When the business function agent node receives the network stream packet that the classifier is sent, the network flow report is detected
Text whether be network flow first message;
If the network stream packet is not first message of the network flow, the mark of the network flow corresponding record is obtained
Information, and judge whether the identification information is first identifier;
If the identification information is first identifier, obtain excellent in the business chain routing information that the business chain controller is sent
Change transmission path, transmits the network stream packet in the business chain according to the optimization transmission path;
Wherein, the optimization transmission path is the institute when the network stream packet needs to be transferred to the next-hop of the business chain
State the business function node that the network stream packet is sent to next-hop by business function agent node.
10. a kind of computer readable storage medium, which is characterized in that be stored with message biography on the computer readable storage medium
Defeated program, the message transmissions program realize following steps when being executed by processor:
When receiving the network stream packet of classifier transmission, detect whether the network stream packet is first of network flow report
Text;
If the network stream packet is not first message of the network flow, the mark of the network flow corresponding record is obtained
Information, and judge whether the identification information is first identifier;
If the identification information is first identifier, the optimization obtained in the business chain routing information of business chain controller transmission is passed
The network stream packet is transmitted according to the optimization transmission path in defeated path in the business chain;
Wherein, the optimization transmission path is to incite somebody to action when the network stream packet needs to be transferred to the next-hop of the business chain
The network stream packet is sent to the business function node of next-hop.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710450137.0A CN109088821B (en) | 2017-06-14 | 2017-06-14 | Message transmission method, service chain system and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710450137.0A CN109088821B (en) | 2017-06-14 | 2017-06-14 | Message transmission method, service chain system and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109088821A true CN109088821A (en) | 2018-12-25 |
CN109088821B CN109088821B (en) | 2022-02-25 |
Family
ID=64838982
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710450137.0A Active CN109088821B (en) | 2017-06-14 | 2017-06-14 | Message transmission method, service chain system and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109088821B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109756521A (en) * | 2019-03-21 | 2019-05-14 | 山东浪潮云信息技术有限公司 | A kind of NSH message processing method, apparatus and system |
WO2020220987A1 (en) * | 2019-04-30 | 2020-11-05 | 中兴通讯股份有限公司 | Data packet transmission method and apparatus, data packet transmission management method and apparatus, data forwarding device, and storage medium |
CN112840623A (en) * | 2019-01-22 | 2021-05-25 | 华为技术有限公司 | Data message transmission method and node |
CN114363196A (en) * | 2022-01-17 | 2022-04-15 | 中国人民解放军国防科技大学 | Network service quality guarantee method for active application perception |
CN114826998A (en) * | 2021-01-29 | 2022-07-29 | 中国电信股份有限公司 | Message forwarding method based on service function chain, controller and storage medium |
CN115242885A (en) * | 2022-07-15 | 2022-10-25 | 天翼云科技有限公司 | Cloud data center system, data message transmission method, equipment and medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101090351A (en) * | 2006-06-14 | 2007-12-19 | 华为技术有限公司 | Transport method for function entity in WiMAX network |
CN101159710A (en) * | 2007-11-06 | 2008-04-09 | 中国科学院计算技术研究所 | Service combination searching method and system of structure facing to service |
US20140010084A1 (en) * | 2012-07-09 | 2014-01-09 | Arun Kavunder | System and method associated with a service flow router |
US20150092564A1 (en) * | 2013-09-27 | 2015-04-02 | Futurewei Technologies, Inc. | Validation of Chained Network Services |
CN105743822A (en) * | 2014-12-11 | 2016-07-06 | 华为技术有限公司 | Method and apparatus for processing message |
CN106559333A (en) * | 2015-09-29 | 2017-04-05 | 中兴通讯股份有限公司 | Message forwarding method, business chain agent apparatus and agent equipment |
CN106603602A (en) * | 2015-10-15 | 2017-04-26 | 中兴通讯股份有限公司 | Message routing method based on service chain information and apparatus thereof |
-
2017
- 2017-06-14 CN CN201710450137.0A patent/CN109088821B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101090351A (en) * | 2006-06-14 | 2007-12-19 | 华为技术有限公司 | Transport method for function entity in WiMAX network |
CN101159710A (en) * | 2007-11-06 | 2008-04-09 | 中国科学院计算技术研究所 | Service combination searching method and system of structure facing to service |
US20140010084A1 (en) * | 2012-07-09 | 2014-01-09 | Arun Kavunder | System and method associated with a service flow router |
US20150092564A1 (en) * | 2013-09-27 | 2015-04-02 | Futurewei Technologies, Inc. | Validation of Chained Network Services |
CN105743822A (en) * | 2014-12-11 | 2016-07-06 | 华为技术有限公司 | Method and apparatus for processing message |
CN106559333A (en) * | 2015-09-29 | 2017-04-05 | 中兴通讯股份有限公司 | Message forwarding method, business chain agent apparatus and agent equipment |
CN106603602A (en) * | 2015-10-15 | 2017-04-26 | 中兴通讯股份有限公司 | Message routing method based on service chain information and apparatus thereof |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112840623A (en) * | 2019-01-22 | 2021-05-25 | 华为技术有限公司 | Data message transmission method and node |
CN109756521A (en) * | 2019-03-21 | 2019-05-14 | 山东浪潮云信息技术有限公司 | A kind of NSH message processing method, apparatus and system |
CN109756521B (en) * | 2019-03-21 | 2021-07-13 | 浪潮云信息技术股份公司 | NSH message processing method, device and system |
WO2020220987A1 (en) * | 2019-04-30 | 2020-11-05 | 中兴通讯股份有限公司 | Data packet transmission method and apparatus, data packet transmission management method and apparatus, data forwarding device, and storage medium |
CN114826998A (en) * | 2021-01-29 | 2022-07-29 | 中国电信股份有限公司 | Message forwarding method based on service function chain, controller and storage medium |
CN114826998B (en) * | 2021-01-29 | 2023-05-16 | 中国电信股份有限公司 | Message forwarding method based on service function chain, controller and storage medium |
CN114363196A (en) * | 2022-01-17 | 2022-04-15 | 中国人民解放军国防科技大学 | Network service quality guarantee method for active application perception |
CN114363196B (en) * | 2022-01-17 | 2023-09-19 | 中国人民解放军国防科技大学 | Network service quality guarantee method based on active application perception |
CN115242885A (en) * | 2022-07-15 | 2022-10-25 | 天翼云科技有限公司 | Cloud data center system, data message transmission method, equipment and medium |
CN115242885B (en) * | 2022-07-15 | 2023-10-13 | 天翼云科技有限公司 | Cloud data center system, data message transmission method, device and medium |
Also Published As
Publication number | Publication date |
---|---|
CN109088821B (en) | 2022-02-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109088821A (en) | Message transmitting method, business catenary system and computer readable storage medium | |
CN105577413B (en) | Operations, Administration and Maintenance OAM message processing method and processing device | |
CN104322019B (en) | Service routing system, apparatus and method | |
US9665530B2 (en) | Method and system for implementing elastic network interface and interconnection | |
US9210037B2 (en) | Method, apparatus and system for interconnected ring protection | |
CN109673024A (en) | Processing method, the device and system of data transmission channel | |
CN104813618A (en) | Software-defined network overlay | |
CN105591974B (en) | Message processing method, apparatus and system | |
CN104618236A (en) | Parallel data transmission system and method of acceleration network | |
CN102594713B (en) | A kind of method and apparatus realizing Explicit Congestion and notice | |
CN103200068B (en) | A kind of based on customer service Multiple tunnel transmitting device | |
CN105591859B (en) | The method and apparatus for adjusting port blocked for ERPS gyration state | |
CN102158409A (en) | Retransmission control method for IP (Internet Protocol) message and equipment thereof | |
CN106161246A (en) | The implementation method of alternate routing and device | |
CN111049752A (en) | Load balancing method and device for multiple transmission lines | |
CN101645849A (en) | QoS realization method in transitional environment and PE router | |
CN106302213A (en) | A kind of method and device of data transmission | |
CN105515816A (en) | Processing method and apparatus for detection level information | |
CN108235376A (en) | A kind of user plane anchor point selection method and device | |
CN105745874A (en) | Method and device for determining service function path | |
WO2017211141A1 (en) | Resource release method, system, and device, and computer storage medium | |
CN108400911A (en) | A kind of device and method for realizing Micro-BFD agreements | |
CN106330710A (en) | Data stream scheduling method and device | |
CN104023091B (en) | A kind of multilink fusion method and equipment | |
CN101262438A (en) | L2 packet forward method for a switch |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |