patents.google.com

CN104753791B - A kind of data package processing method, device and system - Google Patents

  • ️Tue Jan 01 2019

Specific embodiment

Below in conjunction with the attached drawing in the present invention, the technical solution in the present invention is clearly and completely described, is shown So, described embodiment is only section Example of the invention, instead of all the embodiments.Based on the reality in the present invention Example is applied, all other embodiment obtained by those of ordinary skill in the art without making creative efforts all belongs to In the scope of protection of the invention.

In order to solve the problems in the existing technology, the embodiment of the present invention proposes a kind of while including SDN network frame The hybrid SDN network framework of structure and conventional network architecture, hybrid routing device is according to entrained in the data packet received Contract signing relationship identification information, the routing direction of the data packet is determined, when the contract signing relationship identification information indicates the number When needing to be handled into SDN network according to packet, the data packet is sent to the SDN controller and carries out SDN processing, or is worked as When the contract signing relationship identification information indicates that the data packet does not need to be handled into SDN network, the data packet is sent out It gives the non-SDN routing device and carries out the processing of routine data packet, thus, the compatibility of SDN network and general networks is realized, and Data packet and business demand are associated, the SDN that can carry out standard for some data packets is handled, and to other data Bao Ze is not necessarily to handle via SDN network and related network elements, saves controller processing expense, optimizes the network architecture, be also number Better flexibility is provided according to the processing of packet.

In order to achieve the above object, the embodiment of the invention provides a kind of data package processing methods, thus, by data packet with Business demand is associated, and realizes the compatibility of SDN network and general networks, can determine have according to the business demand of data packet The processing scheme of body.

As shown in Figure 1, be the flow diagram of data package processing method provided in an embodiment of the present invention, in this scenario, Hybrid routing device, SDN controller and non-SDN routing device are included at least in hybrid SDN network framework, it is basic herein On, this method specifically includes:

Step S101, the described hybrid routing device receives the data packet for carrying contract signing relationship identification information.

Step S102, the described hybrid routing device determines the data packet according to the contract signing relationship identification information Routing direction.

When the contract signing relationship identification information indicates that the data packet needs to be handled into SDN network, step is executed Rapid S103.

When the contract signing relationship identification information indicates that the data packet does not need to be handled into SDN network, execute Step S104.

Wherein, the contract signing relationship identification information, specifically:

When initiating data packet, by service application, added mark is believed on the data packet head for the data packet initiated Breath is handled for indicating whether initiated data packet needs to enter SDN network.

The introducing of contract signing relationship identification information in this way realizes being associated with for data packet and business.

Step S103, the data packet is sent to the SDN controller and carried out at SDN by the described hybrid routing device Reason.

In specific application scenarios, the processing of this step specifically:

The data packet is sent to the SDN controller by exit passageway and carries out SDN by the hybrid routing device Processing.

It should be noted that after this step is completed, on SDN controller, also being needed to preferably realize that SDN is handled Treatment process below is carried out, is specifically included:

Application layer identification of the SDN controller in SDN is encoded for the operation of the data packet;

The SDN controller is encoded according to the operation recognized, carries out SDN processing to the data packet;

Wherein, the operation coding, the specially encoded information in the setting of higher protocol layer, are used to indicate the SDN Controller is to the particular content for needing to enter the SDN processing that the data packet that SDN network is handled is carried out.

Further, the SDN controller encodes it for the operation of the data packet in the application layer identification of SDN Afterwards, further includes:

The SDN controller identifies the service priority processing letter that the data packet whether is carried in the operation coding Breath;

If it is judged that be it is yes, the SDN controller by the data packet be sent to service priority processing application, institute Service priority processing application is stated according to global network bandwidth and traffic conditions, information is handled in conjunction with the service priority, is The data packet selection forwarding routing, completes the service priority processing of the data packet;

If it is judged that be it is no, the SDN controller is forwarded rule according to conventional openflow controller mode Then, openflow router is sent by the data packet.

Processing in this way can make the treatment process of data packet more intelligent, can be preferential based on different business Grade is handled, and is the important method that the landing of future company's flow management strategy is implemented, great application value.

Step S104, the data packet is sent to the non-SDN routing device and carried out often by the described hybrid routing device Advise data packet processing.

Compared with prior art, the technical solution that the embodiment of the present invention is proposed has the advantage that

By the technical solution proposed using the embodiment of the present invention, realize it is a kind of simultaneously include SDN network framework with The hybrid SDN network framework of conventional network architecture, hybrid routing device is according to label entrained in the data packet received About relation identity information determines the routing direction of the data packet, when the contract signing relationship identification information indicates the data packet When needing to be handled into SDN network, the data packet is sent to the SDN controller and carries out SDN processing, or when described When contract signing relationship identification information indicates that the data packet does not need to be handled into SDN network, the data packet is sent to The non-SDN routing device carries out the processing of routine data packet, thus, data packet and business demand are associated, for some Data packet can carry out the SDN processing of standard, and then be not necessarily to handle via SDN network and related network elements to other data packet, Controller processing expense is saved, the network architecture is optimized, also provides better flexibility for the processing of data packet.

It is described in detail, but is not limited to down with treatment process of the specific embodiment to above-mentioned technical proposal below State embodiment.

The embodiment of the present invention proposes a kind of hybrid software definition network architecture, i.e., hybrid SDN net described above Network framework, structural schematic diagram is as shown in Fig. 2, the framework is mixed by the routing device and traditional routing equipment for supporting SDN function Group-network construction.

The main feature of the network architecture is as follows:

It 1, is the hybrid internet frame being made of the routing device and traditional routing equipment of support SDN function Structure is supported between the router of SDN and traditional routing according to the communication of original IP routing mode and intercommunication.

2, support the routing device device of SDN function that can be supported according to Openflow agreement to corresponding control Device inquires the forwarding and processing mode processing of IP data packet.

3, traditional routing equipment is responsible for basic IP routing forwarding, does not carry out additional process operations to IP data packet.

4, there is one to judge the domain selection function that IP data packet is sent at the edge of network, be normally based on IP data The signing information of packet, to determine whether transferring to SDN router (to need to forward data packet in this case to handle data packet To the domain SDN), or (delivering a packet to the non-domain SDN) is handled according to common IP data packet.

On the basis of the above-mentioned network architecture, for the number realized common IP data packet and SDN controller is needed to handle According between packet differentiation routing or traffic-engineering requirements, the standard openflow interchanger/routing for needing to define original SDN Device carries out function improvement, i.e., the route device that the hybrid SDN of support that the embodiment of the present invention is proposed is handled.

As shown in figure 3, a kind of structure of the route device for supporting hybrid SDN processing proposed by the embodiment of the present invention Schematic diagram.

Firstly, in order to support the device for the shunting processing function based on contract signing relationship of data packet, to need to IP number Following improvement is carried out according to packet:

I.e. each service application adds contract signing relationship field before initiating the transmission of IP data packet on IP data packet head (1 bit, 0 represents general data packet, and 1 represents the data packet for needing via controller to handle).

Certainly in specific application scenarios, in addition to above-mentioned contract signing relationship field, can also expand in more higher protocol layer For the concrete operations coding labeled as " 1 " (data packet for needing via controller to handle), these contents can be in the application of SDN for exhibition Layer identification, to carry out more fine flow processing (such as realizing service priority based on data package operation) and the flow to data packet Engineering operation.

Based on above-mentioned improvement, the route device of hybrid SDN processing is supported to increase data packet contract signing relationship newly and judged mould Block function.

Data packet contract signing relationship judgment module function, which is mainly responsible for, signs all IP data packets that the router receives About relationship judges, according to the IP packet content for reaching router, there are two types of judgment models:

One is directly forward (for example, IP data packet contract signing relationship field header adds " 0 ") according to Traditional IP routing mode;

Another kind is to send controller by Openflow agreement for data packet head by exit passageway, transfers to controller It carries out data packet processing (for example, " 1 " can be added by IP data packet contract signing relationship field header to judge).

Further, it is contemplated that the priority differentiated demand of data packet processing is based on the above-mentioned network architecture and routing Device, the embodiment of the present invention further propose the implementation method of data packet traffic priority.

As shown in figure 4, the data packet industry of the route device based on hybrid SDN processing proposed by the embodiment of the present invention The flow diagram for priority implementation method of being engaged in, detailed process and method are as follows:

Step S401, IP traffic 1,2 ..., n arrive first at the route device of hybrid SDN processing, in route device Contract signing relationship judgment module, sort out first need SDN handle data flow (for example, the signing field of IP data packet head is 1)。

The packet header for the stream for needing SDN controller to handle will be sent to controller and handle, and further execute step S402;

And other IP traffics for not needing SDN processing will be forwarded according to original routing forwarding mode, it is conventional Forward process is not present invention range of concern, and this will not be detailed here.

Step S402, the data packet for needing SDN controller to handle judges forward rule in controller, according in IP data packet Upper-layer protocol additional operations field, decide whether to operate high level data Packet analyzing and be sent to upper layer application logic and (specifically may be used To be service priority processing application).

That is, service priority processing will be sent to using it for the data packet for having service priority to handle His data packet will be forwarded issuing for rule according to traditional openflow controller mode, arrive openflow switch;

Step S403, after data packet is sent to service priority processing application, using meeting according to global network bandwidth and stream Situation is measured, in conjunction with the precedence field of each business, is routed for data packet selection forwarding, to complete the industry based on IP data packet Business priority processing.

It should be further noted that the division mode and name of above-mentioned contract signing relationship identification means and each module A kind of only specific embodiment, specific content can be adjusted according to actual needs, and such variation will not influence Protection scope of the present invention.

Compared with prior art, the technical solution that the embodiment of the present invention is proposed has the advantage that

By the technical solution proposed using the embodiment of the present invention, realize it is a kind of simultaneously include SDN network framework with The hybrid SDN network framework of conventional network architecture, hybrid routing device is according to label entrained in the data packet received About relation identity information determines the routing direction of the data packet, when the contract signing relationship identification information indicates the data packet When needing to be handled into SDN network, the data packet is sent to the SDN controller and carries out SDN processing, or when described When contract signing relationship identification information indicates that the data packet does not need to be handled into SDN network, the data packet is sent to The non-SDN routing device carries out the processing of routine data packet, thus, data packet and business demand are associated, for some Data packet can carry out the SDN processing of standard, and then be not necessarily to handle via SDN network and related network elements to other data packet, Controller processing expense is saved, the network architecture is optimized, also provides better flexibility for the processing of data packet.

In order to realize that above-mentioned technical solution, the embodiment of the present invention further provide a kind of hybrid routing device, Structural schematic diagram is as shown in figure 5, it is applied to include at least hybrid routing device, SDN controller and non-SDN routing device Hybrid SDN network framework in, comprising:

Receiving module 51, for receiving the data packet for carrying contract signing relationship identification information;

Determining module 52, for determining received by the receiving module 51 according to the contract signing relationship identification information The routing direction of the data packet;

Forwarding module 53, for determining that the contract signing relationship identification information indicates the data packet when the determining module 52 When needing to be handled into SDN network, the data packet is sent to the SDN controller and carries out SDN processing, or when described When determining module 52 determines that the contract signing relationship identification information indicates that the data packet does not need to be handled into SDN network, The data packet is sent to the non-SDN routing device and carries out the processing of routine data packet.

Wherein, the contract signing relationship identification information, specifically:

When initiating data packet, by service application, added mark is believed on the data packet head for the data packet initiated Breath is handled for indicating whether initiated data packet needs to enter SDN network.

Further, the forwarding module 53, is specifically used for:

When the determining module 52 determines that the contract signing relationship identification information indicates that the data packet needs to enter SDN network When being handled, the data packet is sent to by the SDN controller by exit passageway and carries out SDN processing.

Further, the embodiment of the present invention also proposed a kind of hybrid SDN network framework, structural schematic diagram such as Fig. 6 It is shown, include at least hybrid routing device 61, SDN controller 62 and non-SDN routing device 63, in which:

The hybrid routing device 61, for receiving the data packet for carrying contract signing relationship identification information, and according to institute Contract signing relationship identification information is stated, determines the routing direction of the data packet, when the contract signing relationship identification information indicates the number When needing to be handled into SDN network according to packet, the data packet is sent to the SDN controller 62 and carries out SDN processing, or When the contract signing relationship identification information indicates that the data packet does not need to be handled into SDN network, by the data packet It is sent to the non-SDN routing device 63 and carries out the processing of routine data packet;

The SDN controller 62, the data packet for being forwarded to the hybrid routing device 61 carry out SDN processing;

The non-SDN router, the data packet for being forwarded to the hybrid routing device 61 carry out routine data Packet processing.

Wherein, the contract signing relationship identification information, specifically:

When initiating data packet, by service application, added mark is believed on the data packet head for the data packet initiated Breath is handled for indicating whether initiated data packet needs to enter SDN network.

In specific application scenarios, the SDN controller 62 is specifically used for:

It is encoded in the application layer identification of SDN for the operation of the data packet;

According to the operation coding recognized, SDN processing is carried out to the data packet;

Wherein, the operation coding, the specially encoded information in the setting of higher protocol layer, are used to indicate the SDN 62 pairs of controller need to enter the particular content that the SDN that the data packet that SDN network is handled is carried out is handled.

Further, the SDN controller 62, is also used to:

When the SDN controller 62 SDN application layer identification to for the data packet operation coding when, it is described SDN controller 62 identifies the service priority processing information that the data packet whether is carried in the operation coding;

If it is judged that be it is yes, the SDN controller 62 by the data packet be sent to service priority processing application 64, the service priority processing, according to global network bandwidth and traffic conditions, is handled using 64 in conjunction with the service priority Information completes the service priority processing of the data packet for data packet selection forwarding routing;

If it is judged that be it is no, the SDN controller 62 is forwarded according to conventional openflow controller mode The data packet is sent openflow router by rule.

By the technical solution proposed using the embodiment of the present invention, realize it is a kind of simultaneously include SDN network framework with The hybrid SDN network framework of conventional network architecture, hybrid routing device is according to label entrained in the data packet received About relation identity information determines the routing direction of the data packet, when the contract signing relationship identification information indicates the data packet When needing to be handled into SDN network, the data packet is sent to the SDN controller and carries out SDN processing, or when described When contract signing relationship identification information indicates that the data packet does not need to be handled into SDN network, the data packet is sent to The non-SDN routing device carries out the processing of routine data packet, thus, data packet and business demand are associated, for some Data packet can carry out the SDN processing of standard, and then be not necessarily to handle via SDN network and related network elements to other data packet, Controller processing expense is saved, the network architecture is optimized, also provides better flexibility for the processing of data packet.

Through the above description of the embodiments, those skilled in the art can be understood that the present invention can be by Software adds the mode of required general hardware platform to realize, naturally it is also possible to which by hardware, but in many cases, the former is more Good embodiment.Based on this understanding, technical solution of the present invention substantially in other words contributes to the prior art Part can be embodied in the form of software products, which is stored in a storage medium, if including Dry instruction is used so that a computer equipment (can be personal computer, server or the network equipment etc.) executes this hair Method described in bright each embodiment.

It will be appreciated by those skilled in the art that attached drawing is the schematic diagram of a preferred embodiment, module or stream in attached drawing Journey is not necessarily implemented necessary to the present invention.

It will be appreciated by those skilled in the art that the module in device in embodiment can describe be divided according to embodiment It is distributed in the device of embodiment, corresponding change can also be carried out and be located in one or more devices different from the present embodiment.On The module for stating embodiment can be merged into a module, can also be further split into multiple submodule.

The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.

Disclosed above is only several specific embodiments of the invention, and still, the present invention is not limited to this, any ability What the technical staff in domain can think variation should all fall into protection scope of the present invention.