CN106453204A - Data message processing method and device - Google Patents

Data message processing method and device Download PDF

Info

Publication number
CN106453204A
CN106453204A CN201510483930.1A CN201510483930A CN106453204A CN 106453204 A CN106453204 A CN 106453204A CN 201510483930 A CN201510483930 A CN 201510483930A CN 106453204 A CN106453204 A CN 106453204A
Authority
CN
China
Prior art keywords
context data
head
data
message
enhancement mode
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510483930.1A
Other languages
Chinese (zh)
Other versions
CN106453204B (en
Inventor
王翠
孟伟
黄孙亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN201510483930.1A priority Critical patent/CN106453204B/en
Priority to PCT/CN2016/080538 priority patent/WO2017024818A1/en
Publication of CN106453204A publication Critical patent/CN106453204A/en
Application granted granted Critical
Publication of CN106453204B publication Critical patent/CN106453204B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/40Network security protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers

Landscapes

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

Abstract

The invention provides a data message processing method and device. The method comprises the steps that an enhanced context header type is acquired; the enhanced context header type is packaged in a network service header and the network service header is packaged in a data message; and the data message is transmitted along a service forwarding path. With application of the data message processing method and device, a context header type identifier can be further increased in an SFC network so as to enhance further identification for the context header on nodes supporting a service chain.

Description

A kind of method and device of processing data message
Technical field
The present invention relates to communication field, more particularly to a kind of method and device of processing data message.
Background technology
It is currently suggested a kind of technology of business function chain (Service Function Chain, abbreviation SFC), I.e. all of business integration, fictionalize Service overlay (service coverage) layer, form the clothes of oneself Business topology, and bottom-layer network is decoupling, is no longer influenced by the restriction of bottom-layer network structure, framework such as Fig. 1 institute Show.As can be seen that SFC technology includes following assembly:Grader (Classifier), business function turns Send out device (Service Function Forwarder, abbreviation SFF), business function (Service Function, Abbreviation SF), Network head acts on behalf of (Network Service Header Proxy, abbreviation NSH Proxy). Wherein, Classifier is responsible for flow is classified, and according to classification results, carries out Network to flow The encapsulation of head (Network Service Header, abbreviation NSH), determines message on Classifier Follow-up business function path, and carry out encapsulation and the forwarding of overlay layer further, by overlay Technology forwards the packet to next-hop SFF, and SFF receives message, decapsulates overlay layer, and to reception To the message carrying NSH heading parsed, according to the information in NSH head, message is turned Issue corresponding SF process;SF is responsible for carrying out corresponding business function process to the message receiving, place After having managed, further update NSH heading and by update after message be transmitted to E-Packet to oneself SFF;SFF encapsulates according to the corresponding transport layer of the information searching in NSH message further, to NSH Message carries out the encapsulation of overlay, and forwards the message to next-hop SFF.NSH Proxy main representative SFF, is interacted with the SF not perceiving NSH heading.It is exemplified below, for using IPv4-GRE After the overlay technology of (Generic Routing Encapsulation, generic route encapsulation), from Complete message form that Classifier sends out is as shown in Fig. 2 i.e. in original message (original Packet) NSH head, IPv4-GRE head, L2 head on outer envelope.
From the point of view of chain of command, the classifying ruless of SFC and the definition of business function chain and NSH are controlled by SFC Device processed issues or locally configured;From the point of view of data surface encapsulation, business function chain related with business whole Individual NSH is as shown in figure 3, include basic head (Base Header), service path head (Service Path Header), context data head (Context Header), and elongated optional context data; Wherein, basic head primary identity version number, length, context data type and next protocol number; Service path head is most crucial, identifies the business function routing information of whole business function chain, including business road Footpath mark (Service Path ID) and business index (Service Index), wherein, service path mark Know and issue for the overall situation, according to service path mark and business index, node confirms that current message should be forwarded to Which business function chain and which business function go to process;Force context data head (Mandatory Context Header) is used for carrying the contextual information that must carry, optionally elongated Context data head (Optional Variable Length Context Headers) is used for optional carrying Context information.So-called contextual information refers between grader and business function SF, between SFs, industry The information shared between business function SFs and business function transponder SFFs and the information of needs transmission.
Currently, IETF (Internet Engineering Task Force, Internet Engineering Task group) SFC In working group, the definition for context data head includes two kinds:A kind of MD Type (Metadata (unit Data) type)=1 (essential support), now except carrying on optionally elongated in NSH heading , it is necessary to carry the pressure context data head of 4 bytes, message format is as shown in Figure 3 for context data head; Another kind is MD Type (Metadata type)=2 (optional support), now in NSH heading The pressure context data head of 4 bytes need not be carried, message format is as shown in Figure 4;Either MD Type=1 or MD Type=2, wherein, elongated optional context data form is as shown in Figure 5.
Further, in current IETF SFC working group, as MD Type=1, for must carry The pressure context data head of 4 bytes has carried out expanded definition.Expanded definition mainly has two kinds:One kind is For the pressure context data head expanded definition of data center's scene, as shown in Figure 6;One kind be for The pressure context data head expanded definition of mobile context, as shown in Figure 7.But, take when node receives In this case it is not apparent that how to go to parse this context data head during NSH message with context data head, It is that this context data head is gone to parse as the context data of data center's scene, be also treated as The context data of mobile context goes to parse, or the context data being treated as under other scene goes to solve Analysis?If parsing mistake, cannot correctly read context data information, lead to Business Processing failure.
Content of the invention
The technical problem to be solved in the present invention is to provide a kind of method and device of processing data message, to increase Strong Context message head type resolution.
In order to solve above-mentioned technical problem, the invention provides a kind of method of processing data message, application In support business function chain node, including:
Obtain enhancement mode context data head type;
Described enhancement mode context data head type is encapsulated in Network head, and by described network industry Business head is encapsulated in data message;
Described data message is transmitted along business forward-path.
Further, said method also has following feature:Described enhancement mode context data head type bag Include following any one:
The context data head of data center's scene, the context data head of mobile context, broadband network field The context data head of scape.
Further, said method also has following feature:
Described enhancement mode context data head type is according to network design situation and/or context data head Data message is configured.
Further, said method also has following feature:
Described enhancement mode context data head type is locally configured, or Centralized Controller issues.
Further, said method also has following feature:
Described data message is made up of initial data and Network head, or by initial data, network industry Business head and stacking network heading composition.
In order to solve the above problems, present invention also offers a kind of device of processing data message, it is applied to Support the node of business function chain, wherein, including:
Acquisition module, for obtaining enhancement mode context data head type;Described enhancement mode context data Head type includes following any one:The context data head of data center's scene, mobile context upper and lower Civilian data head, the context data head of broadband network scene;
Package module, for described enhancement mode context data head type is encapsulated in Network head, And described Network head is encapsulated in data message, described data message is by initial data and network industry Business head composition, or be made up of initial data, Network head and stacking network heading;
Sending module, for being transmitted described data message along business forward-path.
Further, said apparatus also have following feature:Also include:
Configuration module, for according to network design situation and/or context data head data message to configure State enhancement mode context data head type.
Further, said apparatus also have following feature:
Described acquisition module, is additionally operable to obtain locally configured, or the described increasing that Centralized Controller issues Strong type context data head type.
In order to solve the above problems, present invention also offers a kind of method of processing data message, it is applied to Support the node of business function chain, including:
Receive the data message carrying Network head;
Parse the enhancement mode context data type in described Network head;
Read the context data letter in described data message according to described enhancement mode context data type Breath.
Further, said method also has following feature:Described according to described enhancement mode context data After type reads the context data information in described data message, also include:
If judging to update context data information, in described context data information and/or enhancement mode Context data type is updated.
Further, said method also has following feature:
After described reception carries the data message of Network head, also include:Parse described data message In business forward-path information;
The described context data being read according to described enhancement mode context data type in described data message After information, also include:
Data message after forwarding described data message or update according to described business forward-path information.
In order to solve the above problems, present invention also offers a kind of device of processing data message, it is applied to Support the node of business function chain, wherein, including:
Receiver module, for receiving the data message carrying Network head;
Parsing module, for parsing the enhancement mode context data type in described Network head;
Processing module, for reading in described data message according to described enhancement mode context data type Context data information.
Further, said apparatus also have following feature:Also include:
Update module, if for judging to update context data information, believe to described context data Breath and/or enhancement mode context data type are updated.
Further, said apparatus also have following feature:
Described parsing module, is additionally operable to parse the business forward-path information in described data message;
Described processing module, be additionally operable to according to described business forward-path information forward described data message or Data message after renewal.
To sum up, the present invention provides a kind of method and device of processing data message, in above-mentioned SFC network, Increase context data head type mark further, to strengthen on the node supporting business chain to context number Identification further according to head.
Brief description
Accompanying drawing is used for providing a further understanding of the present invention, and constitutes a part for description, with this Inventive embodiment is used for explaining the present invention together, is not construed as limiting the invention.In the accompanying drawings:
Fig. 1 is the schematic diagram of SFC Technical Architecture;
Fig. 2 is the schematic diagram of the complete message structure sending from Classifier assembly under SFC technology;
Fig. 3 is the Network heading NSH of the MD-type=1 of data surface encapsulation under SFC technology Schematic diagram;
Fig. 4 is the Network heading NSH of the MD-type=2 of data surface encapsulation under SFC technology Schematic diagram;
Fig. 5 is the schematic diagram of optionally elongated context data header structure in NSH;
The schematic diagram of the pressure context data head expanded definition of Tu6Shi data center scene;
Fig. 7 is the schematic diagram of the pressure context data head expanded definition of mobile context;
Fig. 8 is a kind of flow chart of the method for sending node side processing data message of the embodiment of the present invention;
Fig. 9 is the flow process of a kind of method of processing data message of receiving node side of the embodiment of the present invention Figure;
Figure 10 is the message reference lattice strengthening context data head type in NSH of the embodiment of the present invention The schematic diagram of formula;
Figure 11 is the signal based on the processing data message under data center's scene of the embodiment of the present invention one Figure;
Figure 12 is the schematic diagram based on the processing data message under mobile context of the embodiment of the present invention two;
Figure 13 is the enhancement mode context data head type of renewal on the intermediate node of the embodiment of the present invention three Schematic diagram;
Figure 14 is the schematic diagram of the device of processing data message of sending side of the embodiment of the present invention;
Figure 15 is the schematic diagram of the device of processing data message of receiving side of the embodiment of the present invention.
Specific embodiment
For making the object, technical solutions and advantages of the present invention become more apparent, below in conjunction with accompanying drawing Embodiments of the invention are described in detail.It should be noted that in the case of not conflicting, this Shen Please in embodiment and the feature in embodiment can mutual combination in any.
Fig. 8 is a kind of flow chart of the method for sending node side processing data message of the embodiment of the present invention, As shown in figure 8, methods described is applied to support the node of business function chain, including:
Step 11, acquisition enhancement mode context data head type;
Step 12, by described enhancement mode context data head type in encapsulation Network head, and by institute State Network head to be encapsulated in data message;
Step 13, described data message is transmitted along business forward-path.
Further, described enhancement mode context data head type include following any one:Data center The context data head of scene, the context data head of mobile context, the context number of broadband network scene According to head.
Further, described enhancement mode context data head type is according to network design situation and/or up and down Civilian data head data message is configured, and can be locally configured;Can also be that Centralized Controller issues;
Further, described data message is made up of initial data and Network head, or by initial data, Network head and stacking network heading composition;Stacking network heading may refer to Fig. 2, before NSH The part in face is exactly stacking network heading.
Fig. 9 is the flow process of a kind of method of processing data message of receiving node side of the embodiment of the present invention Figure, as shown in figure 9, methods described includes:
Step 21, reception carry the data message of Network head;
Step 22, the enhancement mode context data type parsing in described Network head;
Step 23, according to described enhancement mode context data type read context data head in carry upper Context information.
Further, receiving node can according to actual deployment situation, update context data information and/ Or enhancement mode context data head type.
As shown in Figure 10, it is that the embodiment of the present invention is based on NSH extension enhancement mode context data head type The message parameter format of field;Wherein, E-MD-ty mark Enhanced MD-type, that is, enhanced on Context data head type field;Remain 4 bits in 8 bits of MD-type in this parameter format For the present invention.
Embodiment one:
As shown in figure 11, the business function chain SFC1 within data center is SF2->SF5;Wherein SF1 With SF2 connect to SFF1/TOR (Top-of-Rack, machine top switch) 1, SF3 connect to SFF2/TOR2, SF4 and SF5 connect to SFF3/TOR3;The business that i.e. this business function chain is experienced Forward-path is SFP1:SFF1->SF2>SFF3->SF5.
Message reaches on data center's gateway device, and gateway device is as in business function chain technology Classifier, classifies to message, finds that message forwards corresponding business chain SFC1, i.e. corresponding business Forward-path is SFP1, then the forwarding process of message is as follows:
Step 101:Classifier node-classification finds, obtains enhancement mode context data head type, should Flow needs to enter into data center and is processed, and then obtains business forward-path relevant information and genus Context data header under data center's scene sets up NSH head, is encapsulated in initial data message In, it is forwarded on next-hop node TOR1/SFF1 according to business forward-path;
Step 102:Business forward-path after TOR1/SFF1 receives message, in parsing and reading message Information and enhancement mode context data type, and correctly solved according to enhancement mode context data type field Context data information in analysis message, determines whether the context data that TOR1/SFF1 node needs Information;If it has, then context data letter is properly read according to enhancement mode context data type field Cease and use and (such as, understand and force first 16bits of context data head to be D/F/Source Node ID/Source Interface ID);Then updated using the complete rear context data information that updates if necessary;As Fruit does not have, then do not update context data information;TOR1/SFF1, will according to business forward-path information Message is forwarded to corresponding SF2 and goes to process;
Step 103:After SF2 receives message, correctly solved according to enhancement mode context data type field Context data information in analysis message, determines whether the context data information that SF2 node needs; If it has, then context data information is properly read according to enhancement mode context data type field going forward side by side (such as, understanding forces the 4th 16bits of context data head to be A/Service for the process of row corresponding service Tag), then update if necessary to update context data relevant information after having processed;If it is not, Do not update context data relevant information;Then forward the message to TOR1/SFF1;
Step 104:After SFF1 receives message, parsing and read message in business forward-path information and Enhancement mode context data type, and according to enhancement mode context data type field correctly analytic message In context data information, determine whether TOR1/SFF1 node need context data information; If it has, then properly reading context data information and make according to enhancement mode context data type field With then being updated using the complete rear context data information that updates if necessary;If it is not, not updating Context data information;TOR1/SFF1, according to business forward-path information, forwards the packet to next-hop TOR3/SFF3 goes to process;
Step 105:Business forward-path after TOR3/SFF3 receives message, in parsing and reading message Information and enhancement mode context data type, and correctly solved according to enhancement mode context data type field Context data information in analysis message, determines whether the context data that TOR3/SFF3 node needs Information;If it has, then context data letter is properly read according to enhancement mode context data type field Cease and use and (such as, understand and force first 16bits of context data head to be D/F/Source Node ID/Source Interface ID);Then updated using the complete rear context data information that updates if necessary;As Fruit does not have, then do not update context data information;TOR3/SFF3, will according to business forward-path information Message is forwarded to corresponding SF5 and goes to process;
Step 106:After SF5 receives message, correctly solved according to enhancement mode context data type field Context data information in analysis message, determines whether the context data information that SF5 node needs; If it has, then context data information is properly read according to enhancement mode context data type field going forward side by side (such as, understanding forces the 4th 16bits of context data head to be A/Service for the process of row corresponding service Tag), then update if necessary to update context data relevant information after having processed;If it is not, Do not update context data relevant information;Then forward the message to TOR3/SFF3;
Step 107:Business forward-path after TOR3/SFF3 receives message, in parsing and reading message Information and enhancement mode context data type, and correctly solved according to enhancement mode context data type field Context data information in analysis message, determines whether the context data that TOR3/SFF3 node needs Information;If it has, then context data letter is properly read according to enhancement mode context data type field Cease and use, after complete, peel off NSH head, by message according to the purpose IP address in original message Forwarded.
Embodiment two:
As shown in figure 12, the business function chain SFC2 under mobile context is SF2->SF5;Wherein SF1 Connect to SFF1 with SF2, SF3 connects to SFF2, SF4 and SF5 connects to SFF3;This business i.e. The business forward-path that functional chain is experienced is SFP2:SFF1->SF2>SFF3->SF5.
Message reaches on mobile network gateway equipment (P-GW), and gateway device is as business function chain skill Classifier in art, classifies to message, finds that message forwards corresponding business chain SFC2, i.e. phase The business forward-path answered is SFP2, then the forwarding process of message is as follows:
Step 201:Classifier node-classification finds, obtains enhancement mode context data head type, should Flow needs to enter into mobile network data center and is processed, and then obtains the related letter of business forward-path Breath and the context data header belonging under mobile context set up NSH head, are encapsulated in original datagram Wen Zhong, is forwarded on next-hop node SFF1 according to business forward-path;
Step 202:After SFF1 receives message, parsing and read message in business forward-path information and Enhancement mode context data type, and according to enhancement mode context data type field correctly analytic message In context data information, determine whether SFF1 node need context data information;If Have, then context data information is properly read according to enhancement mode context data type field and use (ratio As understood and forcing first 16bits of context data head to be Flow Cookie);If after complete Renewal context data information is needed then to update;If it is not, not updating context data information;SFF1 According to business forward-path information, forward the packet to corresponding SF2 and go to process;
Step 203:After SF2 receives message, correctly solved according to enhancement mode context data type field Context data information in analysis message, determines whether the context data information that SF2 node needs; If it has, then context data information is properly read according to enhancement mode context data type field going forward side by side (such as, second 16bits of deciphering pressure context data head is for the process of row corresponding service TenTy/Tenant ID), then update if necessary to update context data relevant information after having processed;As Fruit does not have, then do not update context data relevant information;Then forward the message to SFF1;
Step 204:After SFF1 receives message, parsing and read message in business forward-path information and Enhancement mode context data type, and according to enhancement mode context data type field correctly analytic message In context data information, determine whether SFF1 node need context data information;If Have, then properly read context data information and use according to enhancement mode context data type field, Then updated using the complete rear context data information that updates if necessary;If it is not, not updating context Data message;SFF1, according to business forward-path information, forwards the packet to next-hop SFF3 and goes to process;
Step 205:After SFF3 receives message, parsing and read message in business forward-path information and Enhancement mode context data type, and according to enhancement mode context data type field correctly analytic message In context data information, determine whether SFF3 node need context data information;If Have, then context data information is properly read according to enhancement mode context data type field and use (ratio As understood and forcing first 16bits of context data head to be Flow Cookie);If after complete Renewal context data information is needed then to update;If it is not, not updating context data information;SFF3 According to business forward-path information, forward the packet to corresponding SF5 and go to process;
Step 206:After SF5 receives message, correctly solved according to enhancement mode context data type field Context data information in analysis message, determines whether the context data information that SF5 node needs; If it has, then context data information is properly read according to enhancement mode context data type field going forward side by side (such as, second 16bits of deciphering pressure context data head is for the process of row corresponding service TenTy/Tenant ID), then update if necessary to update context data relevant information after having processed;As Fruit does not have, then do not update context data relevant information;Then forward the message to SFF3;
Step 207:After SFF3 receives message, parsing and read message in business forward-path information and Enhancement mode context data type, and according to enhancement mode context data type field correctly analytic message In context data information, determine whether SFF3 node need context data information;If Have, then properly read context data information and use according to enhancement mode context data type field, After complete, peel off NSH head, message is forwarded according to the purpose IP address in original message.
Embodiment three:
As shown in figure 13, for need experience broadband network subsequently into data center data traffic, Business function chain SFC3 is SF2->SF3->SF5;Wherein SF1 and SF2 connects to SFF1, is broadband Network domains, SF3 connects to SFF2, SF4 and SF5 connects to SFF3, is data center network domain 's;That is, the business forward-path that this business function chain is experienced is SFP3:SFF1->SF2->SFF2-> SF3->SFF3->SF5.It may occur that reclassifying on SFF2, subsequently new business forward-path is SFP4:SFF1->SF2->SFF2->SF3->SFF3->SF4;
Message reaches on broadband network device (BNG), and gateway device is as in business function chain technology Classifier, classifies to message, finds that message forwards corresponding business chain SFC3, i.e. corresponding business Forward-path is SFP3, then the forwarding process of message is as follows:
Step 301:Classifier node-classification finds, obtains enhancement mode context data head type, should Flow needs to enter in broadband network and is processed, then obtain business forward-path relevant information and The context data header belonging under broadband network scene sets up NSH head, is encapsulated in initial data message In, it is forwarded on next-hop node SFF1 according to business forward-path;
Step 302:After SFF1 receives message, parsing and read message in business forward-path information and Enhancement mode context data type, and according to enhancement mode context data type field correctly analytic message In context data information be broadband network scene under, determine whether SFF1 node need upper Context data information;If it has, then being properly read up and down according to enhancement mode context data type field Civilian data message simultaneously uses;Then updated using the complete rear context data information that updates if necessary;If not yet Have, then do not update context data information;SFF1, according to business forward-path information, forwards the packet to Corresponding SF2 goes to process;
Step 303:After SF2 receives message, correctly solved according to enhancement mode context data type field Context data information in analysis message is under broadband network scene, determines whether SF2 node needs Context data information;If it has, then being properly read according to enhancement mode context data type field Context data information simultaneously carries out the process of corresponding service, if necessary to update context data after having processed Relevant information then updates;If it is not, not updating context data relevant information;Then message is turned Issue SFF1;
Step 304:After SFF1 receives message, parsing and read message in business forward-path information and Enhancement mode context data type, and according to enhancement mode context data type field correctly analytic message In context data information, determine whether SFF1 node need context data information;If Have, then properly read context data information and use according to enhancement mode context data type field, Then updated using the complete rear context data information that updates if necessary;If it is not, not updating context Data message;SFF1, according to business forward-path information, forwards the packet to next-hop SFF2 and goes to process;
Step 305:SFF2 is reclassified after receiving message, reacquires business forward-path information SFP4, and belong to enhancement mode context data head type and context data head under data center's scene Information sets up NSH head, is encapsulated in initial data message, is forwarded to next-hop according to business forward-path On node SF3;
Step 306:After SF3 receives message, according to the enhancement mode context data type field receiving Correctly the context data information in analytic message is under data center's scene, determines whether SF2 The context data information that node needs;If it has, then according to enhancement mode context data type field just Really read context data information and carry out the process of corresponding service, if necessary in renewal after having processed Context data relevant information then updates;If it is not, not updating context data relevant information;Then Forward the message to SFF2;
Step 307:After SFF2 receives message, parsing and read message in business forward-path information and Enhancement mode context data type, and according to enhancement mode context data type field correctly analytic message In context data information, determine whether SFF2 node need context data information;If Have, then properly read context data information and use according to enhancement mode context data type field, Then updated using the complete rear context data information that updates if necessary;If it is not, not updating context Data message;SFF2, according to business forward-path information, forwards the packet to next-hop SFF3 and goes to process;
Step 308:After SFF3 receives message, parsing and read message in business forward-path information and Enhancement mode context data type, and according to enhancement mode context data type field correctly analytic message In context data information be data center's scene under, determine whether SFF3 node need upper Context data information;If it has, then being properly read up and down according to enhancement mode context data type field Civilian data message simultaneously uses;Then updated using the complete rear context data information that updates if necessary;If not yet Have, then do not update context data information;SFF3, according to business forward-path information, forwards the packet to Corresponding SF5 goes to process;
Step 309:After SF5 receives message, according to the enhancement mode context data type field receiving Correctly the context data information in analytic message is under data center's scene, determines whether SF5 The context data information that node needs;If it has, then according to enhancement mode context data type field just Really read context data information and carry out the process of corresponding service, if necessary in renewal after having processed Context data relevant information then updates;If it is not, not updating context data relevant information;Then Forward the message to SFF3;
Step 310:After SFF3 receives data message, parsing and the business forward-path reading in message are believed Breath and enhancement mode context data type, and correctly parsed according to enhancement mode context data type field Context data information in message, determines whether the context data information that SFF3 node needs; If it has, then properly reading context data information and make according to enhancement mode context data type field With after complete, peeling off NSH head, message being carried out turning according to the purpose IP address in original message Send out.
Example IV:
When nonrecognition enhancement mode context data head type on intermediate node, then ignore this field; Further, intermediate node goes to understand context data header according to necessarily rule.
Figure 14 is the schematic diagram of the device of processing data message of sending side of the embodiment of the present invention, such as schemes Shown in 14, the device of the present embodiment is applied to support the node of business function chain, including:
Acquisition module, for obtaining enhancement mode context data head type;Described enhancement mode context data Head type includes following any one:The context data head of data center's scene, mobile context upper and lower Civilian data head, the context data head of broadband network scene;
Package module, for described enhancement mode context data head type is encapsulated in Network head, And described Network head is encapsulated in data message;
Sending module, for being transmitted described data message along business forward-path.
Wherein, described data message is made up of initial data and Network head, or by initial data, Network head and stacking network heading composition.
In a preferred embodiment, can also include:
Configuration module, for according to network design situation and/or context data head data message to configure State enhancement mode context data head type.
In a preferred embodiment, described acquisition module, is additionally operable to obtain locally configured, or concentrates The described enhancement mode context data head type that controller issues.
Figure 15 is the schematic diagram of the device of processing data message of receiving side of the embodiment of the present invention, such as schemes Shown in 15, the device of the present embodiment is applied to support the node of business function chain, can include:
Receiver module, for receiving the data message carrying Network head;
Parsing module, for parsing the enhancement mode context data type in described Network head;
Processing module, for reading in described data message according to described enhancement mode context data type Context data information.
In a preferred embodiment, described device can also include:
Update module, if for judging to update context data information, believe to described context data Breath and/or enhancement mode context data type are updated.
In a preferred embodiment, described parsing module, is additionally operable to parse the business in described data message Forward-path information;
Described processing module, be additionally operable to according to described business forward-path information forward described data message or Data message after renewal.
One of ordinary skill in the art will appreciate that all or part of step in said method can pass through program Complete to instruct related hardware, described program can be stored in computer-readable recording medium, such as read-only Memorizer, disk or CD etc..Alternatively, all or part of step of above-described embodiment can also use One or more integrated circuits are realizing.Correspondingly, each module/unit in above-described embodiment can adopt The form of hardware is realized, it would however also be possible to employ the form of software function module is realized.The present invention is not restricted to appoint The combination of the hardware and software of what particular form.
These are only the preferred embodiments of the present invention, certainly, the present invention also can have other various embodiments, In the case of without departing substantially from present invention spirit and its essence, those of ordinary skill in the art work as can be according to this Invention is made various corresponding changes and is deformed, but these corresponding changes and deformation all should belong to the present invention Appended scope of the claims.

Claims (14)

1. a kind of method of processing data message, is applied to support the node of business function chain, including:
Obtain enhancement mode context data head type;
Described enhancement mode context data head type is encapsulated in Network head, and by described network industry Business head is encapsulated in data message;
Described data message is transmitted along business forward-path.
2. the method for claim 1 it is characterised in that:Described enhancement mode context data head class Type includes following any one:
The context data head of data center's scene, the context data head of mobile context, broadband network field The context data head of scape.
3. method as claimed in claim 1 or 2 it is characterised in that:
Described enhancement mode context data head type is according to network design situation and/or context data head Data message is configured.
4. method as claimed in claim 1 or 2 it is characterised in that:
Described enhancement mode context data head type is locally configured, or Centralized Controller issues.
5. the method for claim 1 it is characterised in that:
Described data message is made up of initial data and Network head, or by initial data, network industry Business head and stacking network heading composition.
6. a kind of device of processing data message, is applied to support the node of business function chain, its feature exists In, including:
Acquisition module, for obtaining enhancement mode context data head type;Described enhancement mode context data Head type includes following any one:The context data head of data center's scene, mobile context upper and lower Civilian data head, the context data head of broadband network scene;
Package module, for described enhancement mode context data head type is encapsulated in Network head, And described Network head is encapsulated in data message, described data message is by initial data and network industry Business head composition, or be made up of initial data, Network head and stacking network heading;
Sending module, for being transmitted described data message along business forward-path.
7. device as claimed in claim 6 it is characterised in that:Also include:
Configuration module, for according to network design situation and/or context data head data message to configure State enhancement mode context data head type.
8. device as claimed in claims 6 or 7 it is characterised in that:
Described acquisition module, is additionally operable to obtain locally configured, or the described increasing that Centralized Controller issues Strong type context data head type.
9. a kind of method of processing data message, is applied to support the node of business function chain, including:
Receive the data message carrying Network head;
Parse the enhancement mode context data type in described Network head;
Read the context data letter in described data message according to described enhancement mode context data type Breath.
10. method as claimed in claim 9 it is characterised in that:Described upper and lower according to described enhancement mode After civilian data type reads the context data information in described data message, also include:
If judging to update context data information, in described context data information and/or enhancement mode Context data type is updated.
11. methods as described in claim 9 or 10 it is characterised in that:
After described reception carries the data message of Network head, also include:Parse described data message In business forward-path information;
The described context data being read according to described enhancement mode context data type in described data message After information, also include:
Data message after forwarding described data message or update according to described business forward-path information.
A kind of 12. devices of processing data message, are applied to support the node of business function chain, its feature It is, including:
Receiver module, for receiving the data message carrying Network head;
Parsing module, for parsing the enhancement mode context data type in described Network head;
Processing module, for reading in described data message according to described enhancement mode context data type Context data information.
13. devices as claimed in claim 12 it is characterised in that:Also include:
Update module, if for judging to update context data information, believe to described context data Breath and/or enhancement mode context data type are updated.
14. devices as described in claim 12 or 13 it is characterised in that:
Described parsing module, is additionally operable to parse the business forward-path information in described data message;
Described processing module, be additionally operable to according to described business forward-path information forward described data message or Data message after renewal.
CN201510483930.1A 2015-08-07 2015-08-07 Method and device for processing data message Active CN106453204B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510483930.1A CN106453204B (en) 2015-08-07 2015-08-07 Method and device for processing data message
PCT/CN2016/080538 WO2017024818A1 (en) 2015-08-07 2016-04-28 Method and device for processing data message

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510483930.1A CN106453204B (en) 2015-08-07 2015-08-07 Method and device for processing data message

Publications (2)

Publication Number Publication Date
CN106453204A true CN106453204A (en) 2017-02-22
CN106453204B CN106453204B (en) 2020-11-17

Family

ID=57983894

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510483930.1A Active CN106453204B (en) 2015-08-07 2015-08-07 Method and device for processing data message

Country Status (2)

Country Link
CN (1) CN106453204B (en)
WO (1) WO2017024818A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018166325A1 (en) * 2017-03-14 2018-09-20 华为技术有限公司 Method and device for forwarding data packet
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

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112491729A (en) * 2020-09-22 2021-03-12 中兴通讯股份有限公司 Data processing method and device, storage medium and electronic device
CN115460145A (en) * 2022-08-15 2022-12-09 阿里云计算有限公司 Forwarding rule issuing method, intelligent network card and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104639414A (en) * 2015-01-30 2015-05-20 杭州华三通信技术有限公司 Message transmitting method and message transmitting equipment
US20150163150A1 (en) * 2013-12-06 2015-06-11 Telefonaktiebolaget L M Ericsson (Publ) Method and system of service placement for service chaining
US20150195197A1 (en) * 2014-01-06 2015-07-09 Futurewei Technologies, Inc. Service Function Chaining in a Packet Network

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101299766A (en) * 2008-06-19 2008-11-05 中兴通讯股份有限公司 Method for processing locating information format
US9917745B2 (en) * 2013-09-27 2018-03-13 Futurewei Technologies, Inc. Validation of chained network services

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150163150A1 (en) * 2013-12-06 2015-06-11 Telefonaktiebolaget L M Ericsson (Publ) Method and system of service placement for service chaining
US20150195197A1 (en) * 2014-01-06 2015-07-09 Futurewei Technologies, Inc. Service Function Chaining in a Packet Network
CN104639414A (en) * 2015-01-30 2015-05-20 杭州华三通信技术有限公司 Message transmitting method and message transmitting equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
DAVID DOLSON: ""VLAN service Function Chaining draft-dolson-sfc-vlan-00"", 《IETF》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018166325A1 (en) * 2017-03-14 2018-09-20 华为技术有限公司 Method and device for forwarding data packet
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

Also Published As

Publication number Publication date
CN106453204B (en) 2020-11-17
WO2017024818A1 (en) 2017-02-16

Similar Documents

Publication Publication Date Title
US9825856B2 (en) Service function chaining in a packet network
US9832130B2 (en) Data packet routing method and device
WO2016165492A1 (en) Method and apparatus for implementing service function chain
US8812726B2 (en) Service insertion in a computer network using internet protocol version 6 techniques
CN105577413A (en) OAM (Operation, Administration and Management) message processing method and device
US9749239B2 (en) Transparent Rbridge
CN105577416B (en) Service function chain operation, management and maintenance method and node equipment
CN106453204A (en) Data message processing method and device
CN110999265A (en) Managing network connectivity between cloud computing service endpoints and virtual machines
RU2007109068A (en) WAYS AND DEVICES FOR SUPPORTING VPN WITH MOBILITY MANAGEMENT
CN106899500B (en) Message processing method and device for cross-virtual extensible local area network
CN103957161B (en) A kind of message forwarding method and its device
KR101477012B1 (en) Method, apparatus, system and computer-readable recording medium for sdn switching
US7894369B2 (en) Network physical connection inference for IP tunnels
WO2015149620A1 (en) Encapsulation method for service routing packet, service forwarding entity and control plane
CN104202313A (en) Data forwarding method and gateway
US20170331737A1 (en) Using a network service header to manage a network-as-a-system
CN101540772A (en) DPI (deep packet inspection) equipment and communication method thereof
CN103986637B (en) A kind of error message processing method and tunnel device
CN104539530A (en) Host/standby switching uninterrupted forwarding method
US20230188449A1 (en) Load balancing and oam in service function chaining using multiprotocol label switching
CN103986652B (en) A kind of method for tracing route and device
CA3158506A1 (en) Satellite network acceleration and optimization
CN104683238A (en) Method and device for transmitting data messages in LISP (List Processor) network
CN101150510B (en) A method and device for realizing GRE protocol compatible IPinIP protocol

Legal Events

Date Code Title Description
C06 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