CN106100959A - Data transmission method and system - Google Patents

Data transmission method and system Download PDF

Info

Publication number
CN106100959A
CN106100959A CN201610399033.7A CN201610399033A CN106100959A CN 106100959 A CN106100959 A CN 106100959A CN 201610399033 A CN201610399033 A CN 201610399033A CN 106100959 A CN106100959 A CN 106100959A
Authority
CN
China
Prior art keywords
ndn
message
ipv6
sdn switch
network
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
CN201610399033.7A
Other languages
Chinese (zh)
Other versions
CN106100959B (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.)
Beijing University of Posts and Telecommunications
Original Assignee
Beijing University of Posts and Telecommunications
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 Beijing University of Posts and Telecommunications filed Critical Beijing University of Posts and Telecommunications
Priority to CN201610399033.7A priority Critical patent/CN106100959B/en
Publication of CN106100959A publication Critical patent/CN106100959A/en
Application granted granted Critical
Publication of CN106100959B publication Critical patent/CN106100959B/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
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4633Interconnection of networks using encapsulation techniques, e.g. tunneling

Landscapes

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

Abstract

The embodiment of the invention discloses data transmission method and system.The method is applied to data transmission system, the method includes: SDN controller receives target NDN message, based on this target NDN message, determine purpose IPv6 address, generate the flow label field value of IPv6 heading, issue the first instruction and the second instruction respectively to the first SDN switch and the second SDN switch;First SDN switch encapsulates IPv6 heading to target NDN message, and by IPv6 network, the target NDN message being packaged with IPv6 heading is sent to the second SDN switch;Target NDN message after de-encapsulation, after receiving target NDN message, based on the second instruction, de-encapsulation IPv6 heading on target NDN message, is sent to the 2nd NDN network by the second SDN switch.This programme solves the problem that in prior art, data cannot be transmitted across NDN network and IPv6 network.

Description

Data transmission method and system
Technical field
The present invention relates to technical field of data transmission, particularly to data transmission method and system.
Background technology
NDN network (Named Data Networking names data network) uses title route, is come by router Cache contents, so that data are transmitted faster, and can improve the recall precision of content.NDN network mainly uses two kinds of messages Obtaining the data with specific names, one is Interest Packet (interest bag), and one is Data Packet (data Bag).Main frame uses the title of Interest Packet data required for the whole Web broadcast, when a router cache When having the data corresponding to the required title of Interest Packet, then data are placed in Data Packet message response Reply.
IPv6 (Internet Protocol Version 6) agreement be Internet Engineering Task group design for substituting The IP next generation protocol of current edition IP agreement (IPv4).
IPv6 network and NDN network are two kinds of heterogeneous networks, and IPv6 network route IPv6 message based on IPv6 address, NDN network route NDN message based on title.In the prior art, the data message of above two network all cannot be right Side's network directly transmits.
In sum, it is provided that a kind of realize the data transmission method that data are transmitted across NDN network and IPv6 network and be The most necessary.
Summary of the invention
Embodiments providing data transmission method and system, being used for solving data in prior art cannot be across NDN The problem that network and IPv6 network are transmitted.Technical scheme is as follows:
First aspect, embodiments provides a kind of data transmission method, is applied to data transmission system, described number SDN controller is included, as the first SDN switch of data sending terminal with as the second of data receiver according to transmission system SDN switch, the first SDN switch and described second SDN switch described in described SDN controller Control on Communication, described first SDN switch connects a NDN network and IPv6 network, and described second SDN switch connects the 2nd NDN network and described IPv6 Network;
Described method includes:
After described first SDN switch receives the target NDN message by a described NDN network route, described SDN Controller receives the described target NDN message sent by the first SDN switch;
Described SDN controller, based on the described target NDN message received, determines purpose IPv6 address;
Described SDN controller generates the flow label field value of IPv6 heading;
Described SDN controller to described first SDN switch and described second SDN switch issue respectively the first instruction and Second instruction;
Described first SDN switch is based on described first instruction, to described target NDN message wrapper containing purpose IPv6 ground Location and the IPv6 heading of described flow label field value;
Described first SDN switch will be packaged with the target NDN message of described IPv6 heading by described IPv6 network It is sent to described second SDN switch;
Described second SDN switch is after receiving the target NDN message being packaged with described IPv6 heading, based on second Instruction, the de-encapsulation described IPv6 heading on described target NDN message;
Described target NDN message after de-encapsulation is sent to described 2nd NDN network by described second SDN switch.
Preferably, described SDN controller, based on the described target NDN message received, determines purpose IPv6 address, bag Include:
Described SDN controller is based on the described target NDN message received, it is judged that the message class of described target NDN message Type;
If described target NDN message is Interest Packet, if described IPv6 network includes two or more and institute State the second SDN switch that the 2nd NDN network is connected, all described second SDN switch added an IPv6 multicast group, And determine IPv6 address for the purpose of the IPv6 multicast address of described IPv6 multicast group;If IPv6 network only existing one with described The second SDN switch that 2nd NDN network is connected, determines IPv6 address for the purpose of the IPv6 address of this second SDN switch;
If described target NDN message is Data Packet, the NDN message name prestored in this locality and IPv6 ground In the mapping table of location, find out the IPv6 address corresponding with the title of described target NDN message, and determine and described target IPv6 address for the purpose of the IPv6 address that the title of NDN message is corresponding.
Preferably, if described target NDN message is Interest Packet, described method also includes:
Described SDN controller using the IPv6 address of the title of described target NDN message and described first SDN switch as One corresponding relation stores this locality.
Preferably, described first instruction includes that first-class table, described second instruction include second table;
Wherein, if described target NDN message is Interest Packet, described first-class table includes with described target NDN The matched rule information of message coupling;If described target NDN message is Data Packet, described first-class table includes with described The matched rule information that all Data Packet corresponding to the Interest Packet that target NDN message is corresponding match; Described first-class table also includes that process action indicates information: to described NDN message wrapper containing described purpose IPv6 address and institute State the IPv6 heading of flow label field value, and the NDN message being packaged with described IPv6 heading is sent out by described IPv6 Network gives described second SDN switch;Described second table includes including described flow label field value in same heading The matched rule information that IPv6 message matches, described second table also includes that process action indicates information: de-encapsulation is in phase The IPv6 heading of the IPv6 message of coupling, sends the NDN message obtained after de-encapsulation to described 2nd NDN network.
Second aspect, embodiments provides another kind of data transmission method, is applied to data transmission system, described Data transmission system includes SDN controller, as the 3rd SDN switch of data sending terminal with as the 4th of data receiver SDN switch, the 3rd SDN switch and described 4th SDN switch described in described SDN controller Control on Communication, the described 3rd SDN switch connects an IPv6 network and NDN network, and described 4th SDN switch connects described NDN network and the 2nd IPv6 Network;
Described method includes:
After described 3rd SDN switch receives the Target IP v6 message by a described IPv6 network route, described SDN controller receives the described Target IP v6 message sent by the 3rd SDN switch;
Described SDN controller generates the title of NDN message;
Described SDN controller is based on the described Target IP v6 message received and described title, to described 3rd SDN exchange Machine and described 4th SDN switch issue the 3rd instruction and the 4th instruction respectively;
Described 3rd SDN switch is based on described 3rd instruction, and described Target IP v6 message is packaged into Name field is The NDN data of described title;
Described 4th SDN switch is based on described 4th instruction, and sending Name field to described NDN network is described title Interest Packet;
Described 3rd SDN switch is after receiving described Interest Packet, based on described 3rd instruction, by institute State NDN data and be sent to described 4th SDN switch with Data Packet type of message;
Described 4th SDN switch, based on described 4th instruction, releases the NDN encapsulation of described Target IP v6 message;
Described Target IP v6 message after de-encapsulation, based on described 4th instruction, is sent by described 4th SDN switch To described 2nd IPv6 network.
Preferably, described 3rd instruction includes that the 3rd stream table, described 4th instruction include the 4th stream table and send Name word Section is the instruction of the Interest Packet of described title;
Wherein, described 3rd stream table includes with all IPv6 messages belonging to same message flow with described Target IP v6 message The matched rule information matched;Described 3rd stream table also includes that process action indicates information: the IPv6 message that will match seals Dress up the NDN data that Name field is described title, receive the Interest Packet that Name field is described title After, described NDN data are sent to described 4th SDN switch with Data Packet type of message;Described 4th stream table includes The matched rule information matched with all Data Packet of corresponding described Interest Packet, described 4th stream table is also Information is indicated: release the NDN encapsulation of the Data Packet matched, and will obtain after de-encapsulation including process action IPv6 message sends to described 2nd IPv6 network.
The third aspect, embodiments provides a kind of data transmission system, including SDN controller, sends out as data First SDN switch of sending end and the second SDN switch as data receiver, described in described SDN controller Control on Communication First SDN switch and described second SDN switch, described first SDN switch connects a NDN network and IPv6 network, Described second SDN switch connects the 2nd NDN network and described IPv6 network;
Described SDN controller includes:
First receiver module, for receiving by the target of a described NDN network route in described first SDN switch After NDN message, receive the described target NDN message sent by the first SDN switch;
Determine module, for based on the described target NDN message received, determine purpose IPv6 address;
First generation module, for generating the flow label field value of IPv6 heading;
First issues module, for issuing the first finger respectively to described first SDN switch and described second SDN switch Order and the second instruction;
Described first SDN switch includes:
First package module, for based on described first instruction, to described target NDN message wrapper containing purpose IPv6 ground Location and the IPv6 heading of described flow label field value;
First sending module, for the target NDN message by being packaged with described IPv6 heading by described IPv6 network It is sent to described second SDN switch;
Described second SDN switch includes:
First de-encapsulation module, is used for after receiving the target NDN message being packaged with described IPv6 heading, based on Second instruction, the de-encapsulation described IPv6 heading on described target NDN message;
Second sending module: the described target NDN message after de-encapsulation is sent to described 2nd NDN network.
Preferably, cover half block really in described SDN controller, including:
Judge submodule, for based on the described target NDN message received, it is judged that the message of described target NDN message Type;
Determine submodule, for judging that described target NDN message is Interest Packet at described judgement submodule In the case of, if described IPv6 network includes the second SDN switch that two or more is connected with described 2nd NDN network, All described second SDN switch are added an IPv6 multicast group, and determines the IPv6 multicast address of described IPv6 multicast group For the purpose of IPv6 address;If IPv6 network only exists second SDN switch being connected with described 2nd NDN network, Determine IPv6 address for the purpose of the IPv6 address of this second SDN switch;
In the case of described judgement submodule judges that described target NDN message is Data Packet, in this locality in advance The NDN message name of storage, with the mapping table of IPv6 address, finds out corresponding with the title of described target NDN message IPv6 address, and determine IPv6 address for the purpose of the IPv6 address corresponding with the title of described target NDN message.
Preferably, described SDN controller, also include:
Memory module, in the case of described target NDN message is Interest Packet, by described target NDN The title of message stores this locality with the IPv6 address of described first SDN switch as a corresponding relation.
Preferably, described first instruction includes that first-class table, described second instruction include second table;
Wherein, if described target NDN message is Interest Packet, described first-class table includes with described target NDN The matched rule information of message coupling;If described target NDN message is Data Packet, described first-class table includes with described The matched rule information that all Data Packet corresponding to the Interest Packet that target NDN message is corresponding match; Described first-class table also includes that process action indicates information: to described NDN message wrapper containing described purpose IPv6 address and institute State the IPv6 heading of flow label field value, and the NDN message of described IPv6 heading will be packaged with by described IPv6 net Network is sent to described second SDN switch;Described second table includes including described flow label field value in same heading The matched rule information that IPv6 message matches, described second table also includes that process action indicates information: de-encapsulation is in phase The IPv6 heading of the IPv6 message of coupling, sends the NDN message obtained after de-encapsulation to described 2nd NDN network.
Fourth aspect, embodiments provides another kind of data transmission system, including SDN controller, as data 3rd SDN switch of transmitting terminal and the 4th SDN switch as data receiver, described SDN controller Control on Communication institute Stating the 3rd SDN switch and described 4th SDN switch, described 3rd SDN switch connects an IPv6 network and NDN net Network, described 4th SDN switch connects described NDN network and the 2nd IPv6 network;
Described SDN controller includes:
Second receiver module, for receiving by the mesh of a described IPv6 network route in described 3rd SDN switch After mark IPv6 message, receive the described Target IP v6 message sent by the 3rd SDN switch;
Second generation module, for generating the title of NDN message;
Second issues module, for based on the described Target IP v6 message received and described title, to described 3rd SDN Switch and described 4th SDN switch issue the 3rd instruction and the 4th instruction respectively;
Described 3rd SDN switch includes:
Second package module, for based on described 3rd instruction, described Target IP v6 message is packaged into Name field is The NDN data of described title;
3rd sending module, for after receiving the Interest Packet that Name field is described title, based on institute State the 3rd instruction, described NDN data are sent to described 4th SDN switch with Data Packet type of message;
Described 4th SDN switch includes:
4th sending module, for based on described 4th instruction, sending Name field to described NDN network is described title Interest Packet;
Second de-encapsulation module, for based on described 4th instruction, releasing the NDN encapsulation of described Target IP v6 message;
5th sending module, for based on described 4th instruction, sending the described Target IP v6 message after de-encapsulation To described 2nd IPv6 network.
Preferably, described 3rd instruction includes that the 3rd stream table, described 4th instruction include the 4th stream table and send Name word Section is the instruction of the Interest Packet of described title;
Wherein, described 3rd stream table includes with all IPv6 messages belonging to same message flow with described Target IP v6 message The matched rule information matched;Described 3rd stream table also includes that process action indicates information: the IPv6 message that will match seals Dress up the NDN data that Name field is described title, receive the Interest Packet that Name field is described title After, described NDN data are sent to described 4th SDN switch with Data Packet type of message;Described 4th stream table includes The matched rule information matched with all Data Packet of corresponding described Interest Packet, described 4th stream table is also Information is indicated: release the NDN encapsulation of the Data Packet matched, and will obtain after de-encapsulation including process action IPv6 message sends to described 2nd IPv6 network.
This programme solves the problem that in prior art, data cannot be transmitted across NDN network and IPv6 network.We In case, when NDN message needs to be transferred to another NDN network from a certain NDN networks spans IPv6 network, by SDN control Device controls SDN switch makes this NDN message be able in this IPv6 network transmission, finally NDN message encapsulation IPv6 heading By another SDN switch de-encapsulation IPv6 heading on NDN message, and it is transferred in another NDN network above-mentioned, real Show NDN message and cross over the function of IPv6 network transmission;When IPv6 message needs to transmit from a certain IPv6 networks spans NDN network Time in another IPv6 network, control SDN switch by SDN controller and IPv6 message encapsulation NDN heading is made this IPv6 Message is able in this NDN network transmission, finally by another SDN switch de-encapsulation NDN message on IPv6 message Head, and be transferred in another IPv6 network above-mentioned, it is achieved that IPv6 message crosses over the function of NDN network transmission.This programme makes Connecting IPv6 network and SDN by SDN switch, the deployment of SDN switch can quickly realize, and realizes low cost, difficulty Little;It addition, use SDN technology IPv6 network and NDN network so that IPv6 message can transmit across NDN network, NDN reports Literary composition can transmit across IPv6 network, it is achieved that to the resource allocation of the overall situation of IPv6 network and two kinds of heterogeneous networks of NDN network and Traffic management and control.
Certainly, arbitrary product or the method for implementing the present invention must be not necessarily required to reach all the above excellent simultaneously Point.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing In having technology to describe, the required accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below is only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to Other accompanying drawing is obtained according to these accompanying drawings.
Fig. 1 is the application scenarios schematic diagram of the embodiment of the present invention;
Fig. 2 is the scene schematic diagram that in the embodiment of the present invention, NDN message transmits across IPv6 network;
The flow chart of a kind of data transmission method that Fig. 3 provides for the embodiment of the present invention;
Fig. 4 is the scene schematic diagram that in the embodiment of the present invention, IPv6 message transmits across NDN network;
The flow chart of the another kind of data transmission method that Fig. 5 provides for the embodiment of the present invention;
The structural representation of a kind of data transmission system that Fig. 6 provides for the embodiment of the present invention;
The structural representation of the another kind of data transmission system that Fig. 7 provides for the embodiment of the present invention.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Describe, it is clear that described embodiment is only a part of embodiment of the present invention rather than whole embodiments wholely.Based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under not making creative work premise Embodiment, broadly falls into the scope of protection of the invention.
For the sake of clarity, first the application scenarios involved by the embodiment of the present invention is done simple introduction.As it is shown in figure 1, Coexisted multiple NDN network and multiple IPv6 network in the entire system, and adjacent NDN network and IPv6 network are handed over by SDN Changing planes and be connected, in system, all of SDN switch is by SDN controller Control on Communication.
It is well known by those skilled in the art that SDN (Software Defined Network, software defined network) network The datum plane of conventional router and control plane can be separated by framework, carry out software program setting controlling plane, control The encapsulation of datum plane message processed and forwarding.Control on network routing device is separated by this network architecture, by collecting In SDN controller management, underlay network device need not be relied on such as, router, switch, fire wall etc., shield from The difference of underlay network device.And control is wide-open, user can with self-defined any want realize network route and Transmission rule strategy, thus more flexible and intelligent.
SDN equipment is divided into SDN controller and SDN switch.SDN controller be responsible for control plane Rulemaking and under Sending out, SDN switch is responsible for the message of data plane and is forwarded.
A kind of data transmission method that the embodiment of the present invention provides, as in figure 2 it is shown, be applied to data transmission system, described Data transmission system includes SDN controller, as the first SDN switch of data sending terminal with as the second of data receiver SDN switch, the first SDN switch and described second SDN switch described in described SDN controller Control on Communication, described first SDN switch connects a NDN network and IPv6 network, and described second SDN switch connects the 2nd NDN network and described IPv6 Network.
It is understood that above-mentioned data sending terminal and data receiver specifically may refer at the IPv6 net shown in Fig. 2 In network, the first SDN switch may be used for sending data, and the second SDN switch may be used for receiving data.
As it is shown on figure 3, a kind of data transmission method that the embodiment of the present invention provides includes:
S101: after described first SDN switch receives the target NDN message by a described NDN network route, institute State SDN controller and receive the described target NDN message sent by the first SDN switch.
It will be appreciated by persons skilled in the art that the first SDN switch receives by a described NDN network route After target NDN message, if first SDN switch this locality does not store the stream table processing this target NDN message of reply, Can be by this target NDN message up sending to SDN controller.
S102: described SDN controller, based on the described target NDN message received, determines purpose IPv6 address.
In embodiments of the present invention, described SDN controller, based on the described target NDN message received, determines purpose IPv6 address, may include that
Described SDN controller is based on the described target NDN message received, it is judged that the message class of described target NDN message Type.
Should be noted that NDN message is divided into Data Packet and the report of two kinds of type of messages of Interest Packet Literary composition, the concrete grammar of the type of message of above-mentioned judgement described target NDN message belongs to prior art, and the application is the most superfluous at this State.It is appreciated that existing any method that may determine that target NDN type of message can be applied in the application, the application Not to the concrete grammar judging target NDN type of message.
For above-mentioned judgement, if described target NDN message is Interest Packet, if described IPv6 network wraps Include the second SDN switch that two or more is connected with described 2nd NDN network, all described second SDN switch are added One IPv6 multicast group, and determine IPv6 address for the purpose of the IPv6 multicast address of described IPv6 multicast group;If in IPv6 network Only exist second SDN switch being connected with described 2nd NDN network, determine the IPv6 ground of this second SDN switch IPv6 address for the purpose of location.
It is understood that all SDN switch in SDN controller communication control system, so SDN controller is permissible Know the quantity of the second SDN switch.
It is well known by those skilled in the art that multicasting technology refers to a kind of net of the corresponding multiple recipients of single sender Network communication technology, IPv6 multicast refers to that Data Packet is sent in IPv6 network certain in network determines node Collection, this subset is referred to as multicast group (multicast group).
In embodiments of the present invention, if described IPv6 network includes that two or more is connected with described 2nd NDN network The second SDN switch, the first SDN switch only sends a data, and the destination address of this number evidence is the IPv6 of multicast group Address, after data are sent to multicast group, all second SDN switch in multicast group all can receive same data, and net In network, other SDN switch then will not receive same data.
For above-mentioned judgement, if described target NDN message is Data Packet, the NDN message prestored in this locality In the mapping table of title and IPv6 address, find out the IPv6 address corresponding with the title of described target NDN message, and really IPv6 address for the purpose of the fixed IPv6 address corresponding with the title of described target NDN message.Now, determine in purpose IPv6 address After, this SDN switch corresponding to purpose IPv6 address is the second SDN switch.
Due in NDN network, main frame uses the name of Interest Packet data required for the whole Web broadcast Claim, when data corresponding to a router cache has the required title of Interest Packet, then data are placed on In Data Packet message, response is replied.Therefore, in embodiments of the present invention, if described target NDN message is Data Packet, shows that there is a certain SDN switch is transmitted across the Interest Packet of correspondence, in this SDN switch in network During sending the Interest Packet of correspondence in network, SDN controller can be by the IPv6 address of this SDN switch Record is in this locality, and therefore SDN controller is easy to know the IPv6 address of this SDN switch.
Further, in embodiments of the present invention, if described target NDN message is Interest Packet, in order to obtain Take the purpose IPv6 address of the Data Packet relative to this Interest Packet, step S102 and step S103 it Between, it is also possible to include step:
Described SDN controller using the IPv6 address of the title of described target NDN message and described first SDN switch as One corresponding relation stores this locality.
S103: described SDN controller generates the flow label field value of IPv6 heading.
In IPv6 network, IPv6 message sends based on stream, and by 3 fields in IPv6 heading: source IPv6 Address, purpose IPv6 address and stream label determine a stream jointly.In IPv6 network can by check message stream label, It may determine which stream message belongs to.In embodiments of the present invention, this flow label field value is exactly in above-mentioned flow label field Occurrence, it is clear that, the process action of the SDN switch data message to having same flow label field value is identical.
S104: described SDN controller issues first respectively to described first SDN switch and described second SDN switch Instruction and the second instruction.
It is understood that this first instruction includes command information: the first SDN switch is identifying this target NDN report Wen Hou, contains described purpose IPv6 address and the IPv6 heading of described flow label field value to this target NDN message wrapper, with And first SDN switch by be packaged with described IPv6 heading this target NDN message send corresponding to purpose IPv6 address SDN switch, is i.e. sent to described second SDN switch.
This second instruction includes command information: the second SDN switch is identifying with described flow label field value After IPv6 message, the described IPv6 heading to the IPv6 message de-encapsulation identified, and by the message after de-encapsulation Send to described 2nd NDN network.It is understood that the IPv6 message with described flow label field value described herein, Representing that the heading of this IPv6 message comprises described flow label field value, this IPv6 message encapsulates described IPv6 the most exactly The target NDN message of heading, the message after de-encapsulation is the most i.e. described target NDN message.
The working mechanism that it is well known by those skilled in the art that SDN is that SDN switch is by first report of a message flow Giving SDN controller on literary composition, SDN controller calculates stream table (forwarding of message flow, encapsulation rule according to the message sent on this Then), then being handed down to SDN switch, when the subsequent packet of this stream arrives this SDN switch again, this SDN switch can be straight Be connected in local cache matched rule information searching based on each stream table to should the stream table of message of bar stream, and according to this The message of process action instruction this stream of information processing in stream table, will not go mutual with SDN controller again.For each Message flow, SDN switch only just can occur mutual with SDN controller when receiving first message of message flow, this mechanism It is called on the first packet of message flow mechanism of sending.
In embodiments of the present invention, in order to avoid belonging to all NDN messages of same stream by a SDN exchange Being required to this first SDN switch during machine transmission interact with SDN controller, described first instruction can include first-class Table, described second instruction can include second table.
Obvious, if described target NDN message is Interest Packet, described first-class table includes with described target The matched rule information of NDN message coupling;If described target NDN message is Data Packet, described first-class table includes same institute State the matched rule letter that all Data Packet corresponding to the Interest Packet that target NDN message is corresponding match Breath;Described first-class table also includes that process action indicates information: to described NDN message wrapper containing described purpose IPv6 address and The IPv6 heading of described flow label field value, and the NDN message of described IPv6 heading will be packaged with by described IPv6 Network sends to purpose IPv6 address, is i.e. sent to described second SDN switch.
Should be noted that each different Interest Packet is considered as a stream in NDN network, belong to A stream can be regarded as in all Data Packet of same Interest Packet.
Described second table includes including in same heading that the IPv6 message of described flow label field value matches Joining Rule Information, described second table also includes that process action indicates information: de-encapsulation is at the IPv6 message matched IPv6 heading, sends the NDN message obtained after de-encapsulation to described 2nd NDN network.It is understood that release envelope The NDN message obtained after dress is i.e. the NDN message before encapsulation.
It is understood that stream table exists matched rule information, the message that SDN switch convection current table is mated Carry out a series of process actions specified by stream table.
S105: described first SDN switch is based on described first instruction, to described target NDN message wrapper containing purpose IPv6 address and the IPv6 heading of described flow label field value.
It is understood that before carrying out above-mentioned encapsulation, described target NDN message includes NDN heading and message load, After encapsulation, whole target NDN message is as a message load, and this message shows as an IPv6 having this IPv6 heading Message.
S106: described first SDN switch will be packaged with the target NDN message of described IPv6 heading by described IPv6 Network is sent to described second SDN switch.
Owing to target NDN message encapsulates described IPv6 heading, show as an IPv6 message, the first SDN switch Based on the purpose IPv6 address in above-mentioned first instruction and described IPv6 heading, message can be sent to purpose IPv6 address, I.e. it is sent to described second SDN switch.
S107: described second SDN switch after receiving the target NDN message being packaged with described IPv6 heading, base In the second instruction, the de-encapsulation described IPv6 heading on described target NDN message.
It is understood that the message obtained after de-encapsulation is described target NDN message.
Described target NDN message after de-encapsulation is sent to described 2nd NDN by S108: described second SDN switch Network.
Should be noted that the second SDN switch is again based on the second instruction to complete the action of above-mentioned de-encapsulation 's.
For the sake of clarity, the embodiment of the present invention combines the concrete mistake that NDN message is transmitted by Fig. 1 and Fig. 2 across IPv6 network Cheng Jinhang underdraws, and in FIG, the network being numbered A, B and C can correspond to the NDN network in Fig. 2, IPv6 respectively Network and the 2nd NDN network, the SDN switch being numbered a and b can correspond to the first SDN switch and second in Fig. 2 respectively SDN switch.
With reference to shown in Fig. 1, after SDN switch a receives the NDN message of NDN network A route, first SDN switch a exists It is local searches stream table, when its this locality do not exist to should the stream table of NDN message time, SDN switch a cannot process this NDN report Literary composition, SDN switch a by this NDN message up sending to SDN controller.
After SDN controller receives this NDN message, the type of message of this NDN message is differentiated:
If the NDN message received is Interest Packet, then by title and SDN switch a of this NDN message A pair mapping relations of conduct of IPv6 address store.
In the case of this NDN message is Interest Packet, if IPv6 network B includes two or more and NDN The SDN switch that network C is connected, all SDN switch are added an IPv6 multicast group, and determine described by SDN controller IPv6 address for the purpose of the IPv6 multicast address of IPv6 multicast group;In FIG, IPv6 network B only exists one and NDN network SDN switch b that C is connected, now, SDN controller determines IPv6 address for the purpose of the IPv6 address of this SDN switch b.
If the NDN message received is Data Packet, the NDN message name that SDN controller can prestore in this locality Claim in the mapping table with IPv6 address, find out the IPv6 address corresponding with the title of this NDN message, and determine and be somebody's turn to do IPv6 address for the purpose of the IPv6 address that the title of NDN message is corresponding.
Then, SDN controller by this NDN message is carried out IPv6 encapsulation instruction and encapsulation in use IPv6 message The flow label field value of head is handed down to SDN switch a.Additionally, the relevant information encapsulating this NDN message is conciliate by SDN controller The instruction of encapsulation is handed down to SDN switch b;This relevant information includes IPv6 address, source, purpose IPv6 address and this signature of failing to be sold at auction Segment value, wherein, IPv6 address, this source is the IPv6 address of SDN switch a, and this purpose IPv6 address is that SDN controller is above-mentioned The purpose IPv6 address determined in step.
After SDN switch a receives Envelope command and this flow label field value of the transmission of SDN controller, NDN message is sealed Dress IPv6 heading, the IPv6 destination address in this IPv6 heading is the purpose that SDN controller determines in above-mentioned steps IPv6 address, IPv6 source address uses the IPv6 address of SDN switch a, and stream label is above-mentioned flow label field value.Encapsulation terminates After, the message after encapsulation is sent to IPv6 network B by SDN switch a, makes the report after this encapsulation be routed to SDN switch b。
After SDN switch b receives the message after above-mentioned encapsulation, this NDN of the encapsulation report issued according to above-mentioned SDN controller The relevant information of literary composition identifies the message after encapsulation.Then SDN switch b is according to corresponding instruction, after first releasing this encapsulation The IPv6 message encapsulation of message, sends the message after decapsulation to NDN network C, completes NDN message across IPv6 network Transmission.
This programme solves the problem that in prior art, data cannot be transmitted across NDN network and IPv6 network.We In case, when NDN message needs to be transferred to another NDN network from a certain NDN networks spans IPv6 network, by SDN control Device controls SDN switch makes this NDN message be able in this IPv6 network transmission, finally NDN message encapsulation IPv6 heading By another SDN switch de-encapsulation IPv6 heading on NDN message, and it is transferred in another NDN network above-mentioned, real Show NDN message and cross over the function of IPv6 network transmission.This programme use SDN switch connect IPv6 network and SDN, The deployment of SDN switch can quickly realize, and realizes low cost, and difficulty is little;It addition, use SDN technology IPv6 network and NDN network makes NDN message can transmit across IPv6 network, it is achieved that to IPv6 network and two kinds of heterogeneous networks of NDN network The resource allocation of the overall situation and traffic management and control.
It is appreciated that in previous embodiment the first SDN switch as data sending terminal and as data receiver Second SDN switch, explanation concrete operations merely for convenience and given title, in actual applications, according to service needed, Any one SDN switch in Fig. 1 can serve as sending the first SDN switch of data, it is also possible to as receiving data The second SDN switch.And, same SDN switch, when different when, both it was probably the SDN friendship sending data Change planes, it is also possible to receive the second SDN switch of data.
Be similar to, a NDN network in previous embodiment, the 2nd NDN network be concrete operations for convenience of explanation and to Fixed title, it only represents two different NDN networks.In actual applications, according to service needed, a NDN network Both may be to the 2nd NDN network transmission data, it is also possible to receive the data from the 2nd NDN network.
In other embodiments of the application, there is also and aforementioned similar concrete operations for convenience of explanation and given title Limiting, it is convenient that it is provided to statement, is not that essence limits certain equipment or what function network only has.The most another One enumerates.
The another kind of data transmission method that the embodiment of the present invention provides, as shown in Figure 4, is applied to data transmission system, institute State data transmission system include SDN controller, the 3rd SDN switch as data sending terminal and as data receiver Four SDN switch, the 3rd SDN switch and described 4th SDN switch described in described SDN controller Control on Communication, described Three SDN switch connect an IPv6 network and NDN network, and described 4th SDN switch connects described NDN network and second IPv6 network.
It is understood that above-mentioned data sending terminal and data receiver specifically may refer at the NDN network shown in Fig. 4 In, the 3rd SDN switch may be used for sending data, and the 4th SDN switch may be used for receiving data.
As it is shown in figure 5, a kind of data transmission method that the embodiment of the present invention provides includes:
S201: after described 3rd SDN switch receives the Target IP v6 message by a described IPv6 network route, Described SDN controller receives the described Target IP v6 message sent by the 3rd SDN switch.
It will be appreciated by persons skilled in the art that the 3rd SDN switch receives by a described IPv6 network route Target IP v6 message after, if the 3rd SDN switch this locality does not store the reply stream that processes of this Target IP v6 message During table, can be by this Target IP v6 message up sending to SDN controller.
S202: described SDN controller generates the title of NDN message.
It is emphasized that the title of this NDN message is unique, should ensure that this title not with in above-mentioned NDN network Existing title repeats mutually.
S203: described SDN controller is based on the described Target IP v6 message received and described title, to the described 3rd SDN switch and described 4th SDN switch issue the 3rd instruction and the 4th instruction respectively.
It is understood that the 3rd instruction can include command information: the 3rd SDN switch is identifying described target After IPv6 message, described Target IP v6 message is encapsulated as the NDN data that Name field is described title;At described 4th SDN Switch sends the Interest Packet that Name field is described title, and the 3rd SDN switch to described NDN network After receiving this Interest Packet, these NDN data are sent to by the 3rd SDN switch with Data Packet type of message Described 4th SDN switch.
Described 4th instruction includes command information: it is institute that the 4th SDN switch sends Name field to described NDN network State the Interest Packet of title, and after receiving the Data Packet that Name field is described title, the 4th SDN switch releases the NDN encapsulation of described Target IP v6 message, and described Target IP v6 message solution being honored as a queen sends to described 2nd IPv6 network.
In embodiments of the present invention, in order to avoid belonging to all IPv6 messages of same stream by the 3rd SDN friendship Change planes transmission time be required to the 3rd SDN switch and interact with SDN controller, the described 3rd instructs and can include the 3rd stream Table, described 4th instruction can include the 4th stream table and send the finger of the Interest Packet that Name field is described title Order;
Wherein, described 3rd stream table includes with all IPv6 messages belonging to same message flow with described Target IP v6 message The matched rule information matched;Described 3rd stream table also includes that process action indicates information: the IPv6 message that will match seals Dress up the NDN data that Name field is described title, receive the Interest Packet that Name field is described title After, described NDN data are sent to described 4th SDN switch with Data Packet type of message;Described 4th stream table includes The matched rule information matched with all Data Packet of corresponding described Interest Packet, described 4th stream table is also Information is indicated: release the NDN encapsulation of the Data Packet matched, and will obtain after de-encapsulation including process action IPv6 message sends to described 2nd IPv6 network.
It is understood that the IPv6 message obtained after de-encapsulation is i.e. the IPv6 message before above-mentioned encapsulation.This area Technical staff it is well known that, in actual application process, can pass through five-tuple: purpose IPv6 address, IPv6 address, source, mesh Port numbers, source port number and transport layer protocol number determine that an IPv6 message flow, concrete determination method are referred to Prior art.
Described Target IP v6 message, based on described 3rd instruction, is packaged into Name word by S204: described 3rd SDN switch Section is the NDN data of described title.
S205: described 4th SDN switch is based on described 4th instruction, and sending Name field to described NDN network is institute State the Interest Packet of title.
S206: described 3rd SDN switch is after receiving described Interest Packet, based on described 3rd instruction, Described NDN data are sent to described 4th SDN switch with Data Packet type of message.
It is understood that be sent to the Data Packet of described 4th SDN switch, its message load includes Described Target IP v6 message.Obvious, the process of above-mentioned transmission is to occur in described NDN network.
It addition, described NDN data are sent to described 4th SDN switch with Data Packet type of message herein, can To be interpreted as, these NDN data are converted into Data Packet by the 3rd SDN switch, are then passed through by this Data Packet Described NDN network is sent to described 4th SDN switch.
S207: described 4th SDN switch, based on described 4th instruction, releases the NDN encapsulation of described Target IP v6 message.
It is understood that the message after de-encapsulation is described Target IP v6 message.
S208: described 4th SDN switch is based on described 4th instruction, by the described Target IP v6 message after de-encapsulation Send to described 2nd IPv6 network.
For the sake of clarity, the embodiment of the present invention combines the concrete mistake that IPv6 message is transmitted by Fig. 1 and Fig. 4 across NDN network Cheng Jinhang underdraws, and in FIG, the network being numbered D, E and F can correspond to the IPv6 network in Fig. 4, NDN respectively Network and the 2nd IPv6 network, the 3rd SDN switch that the SDN switch being numbered c and d can correspond in Fig. 4 and the 4th SDN Switch.
With reference to shown in Fig. 1, when SDN switch c receives the IPv6 message of IPv6 network D route, SDN switch c is first Local search stream table at it, when its this locality do not exist to should the stream table of IPv6 message time, SDN switch c cannot process this IPv6 message, SDN switch c by this IPv6 message up sending to SDN controller.
SDN controller issues to SDN switch c and encapsulates the instruction of this IPv6 message and for encapsulating the name of IPv6 message Claim, such as " a@IP ";Then, IPv6 message is packaged into the NDN data of entitled " a@IP " by SDN switch c.
SDN controller SDN switch d in NDN network E issues: send the Interest of entitled " a@IP " The instruction of Packet, and the instruction of the Data Packet decapsulation to entitled " a@IP " received.Then, SDN switch D sends, to NDN network E, the Interest Packet that Name field is " a@IP ".
After SDN switch c receives this Interest Packet that SDN switch d is sent, will be in above-mentioned steps The NDN data of entitled " a@IP " of encapsulation are sent to SDN switch d with Data Packet type of message.
The Data Packet solution of entitled " a@IP " that receive is gone NDN to encapsulate by SDN switch d, then deblocking is obtained IPv6 message send to IPv6 network F, complete IPv6 message across NDN network transmit.
This programme solves the problem that in prior art, data cannot be transmitted across NDN network and IPv6 network.We In case, when IPv6 message needs to be transferred to another IPv6 network from a certain IPv6 networks spans NDN network, controlled by SDN Device processed controls SDN switch makes this IPv6 message be able in this NDN network transmission IPv6 message encapsulation NDN heading, Afterwards by another SDN switch de-encapsulation NDN heading on IPv6 message, and it is transferred to another IPv6 network above-mentioned In, it is achieved that IPv6 message crosses over the function of NDN network transmission.This programme use SDN switch connect IPv6 network and SDN Network, the deployment of SDN switch can quickly realize, and realizes low cost, and difficulty is little;It addition, use SDN technology IPv6 net Network and NDN network so that IPv6 message can transmit across NDN network, it is achieved that to IPv6 network and two kinds of heterogeneous networks of NDN network The resource allocation of the overall situation of network and traffic management and control.
Corresponding to the embodiment of the method shown in Fig. 3, as seen in figs, a kind of data transmission that the embodiment of the present invention provides System, including SDN controller, the first SDN switch as data sending terminal and the 2nd SDN exchange as data receiver Machine, the first SDN switch and described second SDN switch described in described SDN controller Control on Communication, a described SDN exchange Machine connects a NDN network and IPv6 network, and described second SDN switch connects the 2nd NDN network and described IPv6 network;
Described SDN controller includes:
First receiver module 110, for receiving by a described NDN network route in described first SDN switch After target NDN message, receive the described target NDN message sent by the first SDN switch;
Determine module 120, for based on the described target NDN message received, determine purpose IPv6 address;
First generation module 130, for generating the flow label field value of IPv6 heading;
First issues module 140, for issuing the respectively to described first SDN switch and described second SDN switch One instruction and the second instruction;
Described first SDN switch includes:
First package module 150, for based on described first instruction, to described target NDN message wrapper containing purpose IPv6 address and the IPv6 heading of described flow label field value;
First sending module 160, for the target NDN message by being packaged with described IPv6 heading by described IPv6 net Network is sent to described second SDN switch;
Described second SDN switch includes:
First de-encapsulation module 170, is used for after receiving the target NDN message being packaged with described IPv6 heading, Based on the second instruction, the de-encapsulation described IPv6 heading on described target NDN message;
Second sending module 180: the described target NDN message after de-encapsulation is sent to described 2nd NDN network.
Concrete, cover half block 120 really in described SDN controller, including judging submodule and determining that submodule (in figure not Illustrate):
Judge submodule, for based on the described target NDN message received, it is judged that the message of described target NDN message Type.
Determine submodule, for judging that described target NDN message is Interest Packet at described judgement submodule In the case of, if described IPv6 network includes the second SDN switch that two or more is connected with described 2nd NDN network, All described second SDN switch are added an IPv6 multicast group, and determines the IPv6 multicast address of described IPv6 multicast group For the purpose of IPv6 address;If IPv6 network only exists second SDN switch being connected with described 2nd NDN network, Determine IPv6 address for the purpose of the IPv6 address of this second SDN switch;
In the case of described judgement submodule judges that described target NDN message is Data Packet, in this locality in advance The NDN message name of storage, with the mapping table of IPv6 address, finds out corresponding with the title of described target NDN message IPv6 address, and determine IPv6 address for the purpose of the IPv6 address corresponding with the title of described target NDN message.
Concrete, described SDN controller, also include:
Memory module (not shown), is used in the case of described target NDN message is Interest Packet, The IPv6 address of the title of described target NDN message with described first SDN switch is stored this as a corresponding relation Ground.
Concrete, described first instruction includes that first-class table, described second instruction include second table;
Wherein, if described target NDN message is Interest Packet, described first-class table includes with described target NDN The matched rule information of message coupling;If described target NDN message is Data Packet, described first-class table includes with described The matched rule information that all Data Packet corresponding to the Interest Packet that target NDN message is corresponding match; Described first-class table also includes that process action indicates information: to described NDN message wrapper containing described purpose IPv6 address and institute State the IPv6 heading of flow label field value, and the NDN message of described IPv6 heading will be packaged with by described IPv6 net Network is sent to described second SDN switch;Described second table includes including described flow label field value in same heading The matched rule information that IPv6 message matches, described second table also includes that process action indicates information: de-encapsulation is in phase The IPv6 heading of the IPv6 message of coupling, sends the NDN message obtained after de-encapsulation to described 2nd NDN network.
This programme solves the problem that in prior art, data cannot be transmitted across NDN network and IPv6 network.We In case, when NDN message needs to be transferred to another NDN network from a certain NDN networks spans IPv6 network, by SDN control Device controls SDN switch makes this NDN message be able in this IPv6 network transmission, finally NDN message encapsulation IPv6 heading By another SDN switch de-encapsulation IPv6 heading on NDN message, and it is transferred in another NDN network above-mentioned, real Show NDN message and cross over the function of IPv6 network transmission.This programme use SDN switch connect IPv6 network and SDN, The deployment of SDN switch can quickly realize, and realizes low cost, and difficulty is little;It addition, use SDN technology IPv6 network and NDN network makes NDN message can transmit across IPv6 network, it is achieved that to IPv6 network and two kinds of heterogeneous networks of NDN network The resource allocation of the overall situation and traffic management and control.
Corresponding to the embodiment of the method shown in Fig. 5, as illustrated in figures 4 and 7, a kind of data transmission that the embodiment of the present invention provides System, including SDN controller, the 3rd SDN switch as data sending terminal and the 4th SDN exchange as data receiver Machine, the 3rd SDN switch and described 4th SDN switch described in described SDN controller Control on Communication, described 3rd SDN exchange Machine connects an IPv6 network and NDN network, and described 4th SDN switch connects described NDN network and the 2nd IPv6 network;
Described SDN controller includes:
Second receiver module 210, for receiving by a described IPv6 network route in described 3rd SDN switch After Target IP v6 message, receive the described Target IP v6 message sent by the 3rd SDN switch;
Second generation module 220, for generating the title of NDN message;
Second issues module 230, for based on the described Target IP v6 message received and described title, to the described 3rd SDN switch and described 4th SDN switch issue the 3rd instruction and the 4th instruction respectively;
Described 3rd SDN switch includes:
Second package module 240, for based on described 3rd instruction, being packaged into Name field by described Target IP v6 message NDN data for described title;
3rd sending module 260, is used for after receiving the Interest Packet that Name field is described title, base Instruct in the described 3rd, described NDN data are sent to described 4th SDN switch with Data Packet type of message;
Described 4th SDN switch includes:
4th sending module 250, for based on described 4th instruction, it is described for sending Name field to described NDN network The Interest Packet of title;
Second de-encapsulation module 270, for based on described 4th instruction, releasing the NDN envelope of described Target IP v6 message Dress;
5th sending module 280, for based on described 4th instruction, sending out the described Target IP v6 message after de-encapsulation Deliver to described 2nd IPv6 network.
Concrete, described 3rd instruction includes that the 3rd stream table, described 4th instruction include the 4th stream table and send Name word Section is the instruction of the Interest Packet of described title;
Wherein, described 3rd stream table includes with all IPv6 messages belonging to same message flow with described Target IP v6 message The matched rule information matched;Described 3rd stream table also includes that process action indicates information: the IPv6 message that will match seals Dress up the NDN data that Name field is described title, receive the Interest Packet that Name field is described title After, described NDN data are sent to described 4th SDN switch with Data Packet type of message;Described 4th stream table includes The matched rule information matched with all Data Packet of corresponding described Interest Packet, described 4th stream table is also Information is indicated: release the NDN encapsulation of the Data Packet matched, and will obtain after de-encapsulation including process action IPv6 message sends to described 2nd IPv6 network.
This programme solves the problem that in prior art, data cannot be transmitted across NDN network and IPv6 network.We In case, when IPv6 message needs to be transferred to another IPv6 network from a certain IPv6 networks spans NDN network, controlled by SDN Device processed controls SDN switch makes this IPv6 message be able in this NDN network transmission IPv6 message encapsulation NDN heading, Afterwards by another SDN switch de-encapsulation NDN heading on IPv6 message, and it is transferred to another IPv6 network above-mentioned In, it is achieved that IPv6 message crosses over the function of NDN network transmission.This programme use SDN switch connect IPv6 network and SDN Network, the deployment of SDN switch can quickly realize, and realizes low cost, and difficulty is little;It addition, use SDN technology IPv6 net Network and NDN network so that IPv6 message can transmit across NDN network, it is achieved that to IPv6 network and two kinds of heterogeneous networks of NDN network The resource allocation of the overall situation of network and traffic management and control.
It should be noted that in this article, the relational terms of such as first and second or the like is used merely to a reality Body or operation separate with another entity or operating space, and deposit between not necessarily requiring or imply these entities or operating Relation or order in any this reality.And, term " includes ", " comprising " or its any other variant are intended to Comprising of nonexcludability, so that include that the process of a series of key element, method, article or equipment not only include that those are wanted Element, but also include other key elements being not expressly set out, or also include for this process, method, article or equipment Intrinsic key element.In the case of there is no more restriction, statement " including ... " key element limited, it is not excluded that Including process, method, article or the equipment of described key element there is also other identical element.
Each embodiment in this specification all uses relevant mode to describe, identical similar portion between each embodiment Dividing and see mutually, what each embodiment stressed is the difference with other embodiments.Real especially for device For executing example, owing to it is substantially similar to embodiment of the method, so describe is fairly simple, relevant part sees embodiment of the method Part illustrate.
One of ordinary skill in the art will appreciate that all or part of step realizing in said method embodiment is can Completing instructing relevant hardware by program, described program can be stored in computer read/write memory medium, The storage medium obtained designated herein, such as: ROM/RAM, magnetic disc, CD etc..
The foregoing is only presently preferred embodiments of the present invention, be not intended to limit protection scope of the present invention.All Any modification, equivalent substitution and improvement etc. made within the spirit and principles in the present invention, are all contained in protection scope of the present invention In.

Claims (10)

1. a data transmission method, it is characterised in that be applied to data transmission system, described data transmission system includes SDN Controller, the first SDN switch as data sending terminal and the second SDN switch as data receiver, described SDN is controlled First SDN switch described in device Control on Communication processed and described second SDN switch, described first SDN switch connects a NDN Network and IPv6 network, described second SDN switch connects the 2nd NDN network and described IPv6 network;
Described method includes:
After described first SDN switch receives the target NDN message by a described NDN network route, described SDN controls Device receives the described target NDN message sent by the first SDN switch;
Described SDN controller, based on the described target NDN message received, determines purpose IPv6 address;
Described SDN controller generates the flow label field value of IPv6 heading;
Described SDN controller issues the first instruction and second respectively to described first SDN switch and described second SDN switch Instruction;
Described first SDN switch based on described first instruction, to described target NDN message wrapper containing purpose IPv6 address and The IPv6 heading of described flow label field value;
The target NDN message being packaged with described IPv6 heading is sent by described first SDN switch by described IPv6 network To described second SDN switch;
Described second SDN switch, after receiving the target NDN message being packaged with described IPv6 heading, refers to based on second Order, the de-encapsulation described IPv6 heading on described target NDN message;
Described target NDN message after de-encapsulation is sent to described 2nd NDN network by described second SDN switch.
Method the most according to claim 1, it is characterised in that described SDN controller is based on described target NDN received Message, determines purpose IPv6 address, including:
Described SDN controller is based on the described target NDN message received, it is judged that the type of message of described target NDN message;
If described target NDN message is Interest Packet, if described IPv6 network includes two or more and described the The second SDN switch that two NDN networks are connected, by all described second SDN switch one IPv6 multicast group of addition, and really IPv6 address for the purpose of the IPv6 multicast address of fixed described IPv6 multicast group;If IPv6 network only exists one and described second The second SDN switch that NDN network is connected, determines IPv6 address for the purpose of the IPv6 address of this second SDN switch;
If described target NDN message is Data Packet, the NDN message name prestored in this locality and IPv6 address In mapping table, find out the IPv6 address corresponding with the title of described target NDN message, and determine and described target NDN IPv6 address for the purpose of the IPv6 address that the title of message is corresponding.
Method the most according to claim 2, it is characterised in that if described target NDN message is Interest Packet,
Described method also includes:
Described SDN controller using the IPv6 address of the title of described target NDN message and described first SDN switch as one Corresponding relation stores this locality.
Method the most according to claim 1, it is characterised in that described first instruction includes first-class table, and described second refers to Order includes second table;
Wherein, if described target NDN message is Interest Packet, described first-class table includes with described target NDN message The matched rule information of coupling;If described target NDN message is Data Packet, described first-class table includes with described target The matched rule information that all Data Packet corresponding to the Interest Packet that NDN message is corresponding match;Described First-class table also includes that process action indicates information: to described NDN message wrapper containing described purpose IPv6 address and described stream The IPv6 heading of label field value, and the NDN message being packaged with described IPv6 heading is sent out by described IPv6 network Give described second SDN switch;Described second table includes the IPv6 including described flow label field value in same heading The matched rule information that message matches, described second table also includes that process action indicates information: de-encapsulation is matching The IPv6 heading of IPv6 message, the NDN message that will obtain after de-encapsulation sends to described 2nd NDN network.
5. a data transmission method, it is characterised in that be applied to data transmission system, described data transmission system includes SDN Controller, the 3rd SDN switch as data sending terminal and the 4th SDN switch as data receiver, described SDN is controlled 3rd SDN switch and described 4th SDN switch described in device Control on Communication processed, described 3rd SDN switch connects first IPv6 network and NDN network, described 4th SDN switch connects described NDN network and the 2nd IPv6 network;
Described method includes:
After described 3rd SDN switch receives the Target IP v6 message by a described IPv6 network route, described SDN is controlled Device processed receives the described Target IP v6 message sent by the 3rd SDN switch;
Described SDN controller generates the title of NDN message;
Described SDN controller based on the described Target IP v6 message received and described title, to described 3rd SDN switch and Described 4th SDN switch issues the 3rd instruction and the 4th instruction respectively;
Described 3rd SDN switch is based on described 3rd instruction, and described Target IP v6 message is packaged into Name field is described The NDN data of title;
Described 4th SDN switch is based on described 4th instruction, and sending Name field to described NDN network is described title Interest Packet;
Described 3rd SDN switch is after receiving described Interest Packet, based on described 3rd instruction, by described NDN Data are sent to described 4th SDN switch with Data Packet type of message by described NDN network;
Described 4th SDN switch, based on described 4th instruction, releases the NDN encapsulation of described Target IP v6 message;
Described Target IP v6 message after de-encapsulation, based on described 4th instruction, is sent to institute by described 4th SDN switch State the 2nd IPv6 network.
Method the most according to claim 5, it is characterised in that described 3rd instruction includes the 3rd stream table, and the described 4th refers to Order includes the 4th stream table and sends the instruction of the Interest Packet that Name field is described title;
Wherein, described 3rd stream table includes with all IPv6 messages phase belonging to same message flow with described Target IP v6 message The matched rule information joined;Described 3rd stream table also includes that process action indicates information: be packaged into by the IPv6 message matched Name field is the NDN data of described title, after receiving the Interest Packet that Name field is described title, and will Described NDN data are sent to described 4th SDN switch with Data Packet type of message;Described 4th stream table includes with right Answering the matched rule information that all Data Packet of described Interest Packet match, described 4th stream table also includes Process action instruction information: release the NDN encapsulation of the Data Packet matched, and the IPv6 that will obtain after de-encapsulation Message sends to described 2nd IPv6 network.
7. a data transmission system, it is characterised in that include SDN controller, the first SDN switch as data sending terminal With the second SDN switch as data receiver, the first SDN switch described in described SDN controller Control on Communication and described Second SDN switch, described first SDN switch connects a NDN network and IPv6 network, and described second SDN switch is even Connect the 2nd NDN network and described IPv6 network;
Described SDN controller includes:
First receiver module, for receiving by target NDN of a described NDN network route in described first SDN switch After message, receive the described target NDN message sent by the first SDN switch;
Determine module, for based on the described target NDN message received, determine purpose IPv6 address;
First generation module, for generating the flow label field value of IPv6 heading;
First issues module, for described first SDN switch and described second SDN switch issue respectively the first instruction and Second instruction;
Described first SDN switch includes:
First package module, for based on described first instruction, to described target NDN message wrapper containing purpose IPv6 address and The IPv6 heading of described flow label field value;
First sending module, for sending the target NDN message being packaged with described IPv6 heading by described IPv6 network To described second SDN switch;
Described second SDN switch includes:
First de-encapsulation module, for after receiving the target NDN message being packaged with described IPv6 heading, based on second Instruction, the de-encapsulation described IPv6 heading on described target NDN message;
Second sending module: the described target NDN message after de-encapsulation is sent to described 2nd NDN network.
System the most according to claim 7, it is characterised in that cover half block really in described SDN controller, including:
Judge submodule, for based on the described target NDN message received, it is judged that the type of message of described target NDN message;
Determine submodule, for judging, at described judgement submodule, the feelings that described target NDN message is Interest Packet Under condition, if described IPv6 network includes the second SDN switch that two or more is connected with described 2nd NDN network, by institute There is described second SDN switch to add an IPv6 multicast group, and determine that the IPv6 multicast address of described IPv6 multicast group is mesh IPv6 address;If IPv6 network only exists second SDN switch being connected with described 2nd NDN network, determine IPv6 address for the purpose of the IPv6 address of this second SDN switch;
In the case of described judgement submodule judges that described target NDN message is Data Packet, prestore in this locality NDN message name and IPv6 address mapping table in, find out the IPv6 corresponding with the title of described target NDN message Address, and determine IPv6 address for the purpose of the IPv6 address corresponding with the title of described target NDN message.
System the most according to claim 8, it is characterised in that described SDN controller, also includes:
Memory module, in the case of described target NDN message is Interest Packet, by described target NDN message The IPv6 address of title and described first SDN switch store this locality as a corresponding relation.
10. a data transmission system, it is characterised in that include SDN controller, as data sending terminal the 3rd SDN exchange Machine and the 4th SDN switch as data receiver, the 3rd SDN switch and institute described in described SDN controller Control on Communication Stating the 4th SDN switch, described 3rd SDN switch connects an IPv6 network and NDN network, described 4th SDN switch Connect described NDN network and the 2nd IPv6 network;
Described SDN controller includes:
Second receiver module, for receiving by the target of a described IPv6 network route in described 3rd SDN switch After IPv6 message, receive the described Target IP v6 message sent by the 3rd SDN switch;
Second generation module, for generating the title of NDN message;
Second issues module, for based on the presently described described Target IP v6 message received and described title, to described the Three SDN switch and described 4th SDN switch issue the 3rd instruction and the 4th instruction respectively;
Described 3rd SDN switch includes:
Second package module, for based on described 3rd instruction, described Target IP v6 message is packaged into Name field is described The NDN data of title;
3rd sending module, for after receiving the Interest Packet that Name field is described title, based on described the Described NDN data are sent to described 4th SDN switch with Data Packet type of message by three instructions;
Described 4th SDN switch includes:
4th sending module, for based on described 4th instruction, sending Name field to described NDN network is described title Interest Packet;
Second de-encapsulation module, for based on described 4th instruction, releasing the NDN encapsulation of described Target IP v6 message;
5th sending module, for based on described 4th instruction, sending the described Target IP v6 message after de-encapsulation to institute State the 2nd IPv6 network.
CN201610399033.7A 2016-06-07 2016-06-07 Data transmission method and system Active CN106100959B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610399033.7A CN106100959B (en) 2016-06-07 2016-06-07 Data transmission method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610399033.7A CN106100959B (en) 2016-06-07 2016-06-07 Data transmission method and system

Publications (2)

Publication Number Publication Date
CN106100959A true CN106100959A (en) 2016-11-09
CN106100959B CN106100959B (en) 2019-04-09

Family

ID=57227519

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610399033.7A Active CN106100959B (en) 2016-06-07 2016-06-07 Data transmission method and system

Country Status (1)

Country Link
CN (1) CN106100959B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106790759A (en) * 2016-12-29 2017-05-31 赛尔网络有限公司 IPv4/IPv6 converting systems and method based on SDN
CN112688984A (en) * 2019-10-18 2021-04-20 中国移动通信有限公司研究院 Method, device and medium for issuing and executing instruction to network node
CN114244919A (en) * 2021-12-17 2022-03-25 哈尔滨工业大学 NDN mode implementation method based on protocol non-perception forwarding and NDN controller application program

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104486227A (en) * 2014-12-11 2015-04-01 武汉绿色网络信息服务有限责任公司 System and method for achieving IPv6 flexible arrangement through VxLAN technique
CN104734963A (en) * 2015-03-24 2015-06-24 电子科技大学 IPv4 and IPv6 network interconnection method based on SDN
CN104995882A (en) * 2013-12-11 2015-10-21 华为技术有限公司 Packet processing method and device
EP2984796A1 (en) * 2013-04-12 2016-02-17 NEC Europe Ltd. Method and system for providing an information centric network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2984796A1 (en) * 2013-04-12 2016-02-17 NEC Europe Ltd. Method and system for providing an information centric network
CN104995882A (en) * 2013-12-11 2015-10-21 华为技术有限公司 Packet processing method and device
CN104486227A (en) * 2014-12-11 2015-04-01 武汉绿色网络信息服务有限责任公司 System and method for achieving IPv6 flexible arrangement through VxLAN technique
CN104734963A (en) * 2015-03-24 2015-06-24 电子科技大学 IPv4 and IPv6 network interconnection method based on SDN

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
JOSE SALDANA,FERNANDO PASCUAL等: "Optimization of Low-efficiency Traffic in Openflow Software Defined Networks", 《INTERNATIONAL SYMPOSIUM ON PERFORMANCE EVALUATION OF COMPUTER AND TELECOMMUNICATION SYSTEMS》 *
曹畅,张沛等: "SDN技术在数据中心网络的应用研究", 《TELECOMMUNICATIONS NETWORK TECHNOLOGY》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106790759A (en) * 2016-12-29 2017-05-31 赛尔网络有限公司 IPv4/IPv6 converting systems and method based on SDN
CN106790759B (en) * 2016-12-29 2019-08-13 下一代互联网重大应用技术(北京)工程研究中心有限公司 IPv4/IPv6 converting system and method based on SDN
CN112688984A (en) * 2019-10-18 2021-04-20 中国移动通信有限公司研究院 Method, device and medium for issuing and executing instruction to network node
CN112688984B (en) * 2019-10-18 2023-11-24 中国移动通信有限公司研究院 Method, equipment and medium for issuing and executing instructions to network node
CN114244919A (en) * 2021-12-17 2022-03-25 哈尔滨工业大学 NDN mode implementation method based on protocol non-perception forwarding and NDN controller application program
CN114244919B (en) * 2021-12-17 2024-01-26 哈尔滨工业大学 NDN mode realization method based on protocol non-perception forwarding

Also Published As

Publication number Publication date
CN106100959B (en) 2019-04-09

Similar Documents

Publication Publication Date Title
CN101394361B (en) Packet transmission method, device and system
CN103795636B (en) Multicast processing method, device and system
CN104243302B (en) Business route message processing method, device and network system
CN110266592A (en) The communication means and device of SRV6 network and IP MPLS network
CN105099846B (en) The method and supplier edge device of data message transmission
CN109873760A (en) Handle the method and apparatus of routing and the method and apparatus of data transmission
CN102413060B (en) User private line communication method and equipment used in VPLS (Virtual Private LAN (Local Area Network) Service) network
CN105490957B (en) A kind of load sharing method and device
JPH0936873A (en) Link state routing device
CN106603413B (en) Method and device for transmitting flow through designated path
CN104954265B (en) Send the method and interchanger of multicast message
CN110535768A (en) Multicast data transmission method and relevant device
CN102984043B (en) The retransmission method and device of multicast traffic stream
CN105379228A (en) Method, switch, and controller for implementing ARP
CN102739502B (en) A kind of realize network identity conversion method, Apparatus and system
CN103036919A (en) Method and device for achieving migration of virtual machine in virtual private cloud (VPC)
CN108111413A (en) Method for routing, system and the equipment of stacking network
CN104683210A (en) Automatic tunnel establishing method and device
CN104301252A (en) Data sending system and method
CN106100959A (en) Data transmission method and system
CN109936492A (en) A kind of methods, devices and systems by tunnel transmission message
CN109474507A (en) A kind of message forwarding method and device
CN104780090B (en) Method, apparatus, the PE equipment of VPN multicast transmissions
CN109873766A (en) Message transmitting method and device
CN108259295A (en) MAC Address synchronous method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant