CN106100959B - Data transmission method and system - Google Patents
Data transmission method and system Download PDFInfo
- Publication number
- CN106100959B CN106100959B CN201610399033.7A CN201610399033A CN106100959B CN 106100959 B CN106100959 B CN 106100959B CN 201610399033 A CN201610399033 A CN 201610399033A CN 106100959 B CN106100959 B CN 106100959B
- Authority
- CN
- China
- Prior art keywords
- ndn
- message
- ipv6
- target
- sdn switch
- 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.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4633—Interconnection 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 systems.This method is applied to data transmission system, this method comprises: SDN controller receives target NDN message, based on target NDN message, determine the address destination IP v6, the flow label field value for generating IPv6 heading issues the first instruction and the second instruction to the first SDN switch and the second SDN switch respectively;First SDN switch encapsulates IPv6 heading to target NDN message, and the target NDN message for being packaged with IPv6 heading is sent to the second SDN switch by IPv6 network;Second SDN switch is after receiving target NDN message, and based on the second instruction, the target NDN message after de-encapsulation is sent to the 2nd NDN network by IPv6 heading of the de-encapsulation on target NDN message.This programme solve the problems, such as in the prior art data can not across NDN network and IPv6 network transmitted.
Description
Technical field
The present invention relates to technical field of data transmission, in particular to data transmission method and system.
Background technique
NDN network (Named Data Networking, name data network) is routed using title, by router come
Cache contents to make data transmission faster, and can improve the recall precision of content.NDN network mainly uses two kinds of messages
The data with specific names are obtained, one is Interest Packet (interest packets), and one is Data Packet (data
Packet).The title of data required for host is broadcasted using Interest Packet to whole network, when a router cache
When there are data corresponding to the required title of Interest Packet, then data is placed in Data Packet message and is responded
It replys.
IPv6 (Internet Protocol Version 6) agreement is the design of Internet Engineering Task group 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 is to route IPv6 message based on the address IPv6,
NDN network is to route NDN message based on title.In the prior art, the data message of above two network all can not be right
It is directly transmitted in square network.
In conclusion providing a kind of data transmission method for realizing that across the NDN network of data and IPv6 network are transmitted is
Very necessary.
Summary of the invention
The embodiment of the invention provides data transmission method and systems, and for solving, data can not be across NDN in the prior art
The problem of network and IPv6 network are transmitted.Technical solution is as follows:
In a first aspect, being applied to data transmission system, the number the embodiment of the invention provides a kind of data transmission method
It include SDN controller, as the first SDN switch of data sending terminal and as the second of data receiver according to Transmission system
SDN switch, the first SDN switch and second SDN switch described in the SDN controller communication control, described first
SDN switch connects the first NDN network and IPv6 network, and second SDN switch connects the 2nd NDN network and the IPv6
Network;
The described method includes:
After the target NDN message that first SDN switch receives by the first NDN network routing, the SDN
Controller receives the target NDN message sent by the first SDN switch;
The SDN controller determines the address destination IP v6 based on the target NDN message received;
The SDN controller generates the flow label field value of IPv6 heading;
The SDN controller to first SDN switch and second SDN switch issue respectively the first instruction and
Second instruction;
First SDN switch is based on first instruction, comprising destination IP v6 to target NDN message encapsulation
The IPv6 heading of location and the flow label field value;
The target NDN message for being packaged with the IPv6 heading is passed through the IPv6 network by first SDN switch
It is sent to second SDN switch;
Second SDN switch is based on second after receiving the target NDN message for being packaged with the IPv6 heading
Instruction, the IPv6 heading of the de-encapsulation on the target NDN message;
The target NDN message after de-encapsulation is sent to the 2nd NDN network by second SDN switch.
Preferably, the SDN controller determines the address destination IP v6 based on the target NDN message received, packet
It includes:
The SDN controller judges the message class of the target NDN message based on the target NDN message received
Type;
If the target NDN message is Interest Packet, if in the IPv6 network including more than two and institute
The second SDN switch that the 2nd NDN network is connected is stated, an IPv6 multicast group is added in all second SDN switches,
And determine that the IPv6 multicast address of the IPv6 multicast group is the address purpose IPv6;If in IPv6 network there is only one with it is described
The second SDN switch that 2nd NDN network is connected determines that the address IPv6 of second SDN switch is the address purpose IPv6;
If the target NDN message is Data Packet, in local pre-stored NDN message name and IPv6
In the mapping table of location, the address IPv6 corresponding with the title of the target NDN message, and the determining and target are found out
The corresponding address IPv6 of the title of NDN message is the address purpose IPv6.
Preferably, if the target NDN message is Interest Packet, the method also includes:
The SDN controller using the address IPv6 of the title of the target NDN message and first SDN switch as
One corresponding relationship is stored to local.
Preferably, first instruction includes the first flow table, and second instruction includes the second flow table;
Wherein, if the target NDN message is Interest Packet, first flow table includes with the target NDN
The matching rule information of message matching;If the target NDN message is Data Packet, first flow table includes with described
The matching rule information that all Data Packet corresponding to the corresponding Interest Packet of target NDN message match;
First flow table further includes processing movement instruction information: including the address the destination IP v6 and institute to NDN message encapsulation
The IPv6 heading of flow label field value is stated, and the NDN message hair for being packaged with the IPv6 heading is passed through into the IPv6
Network gives second SDN switch;It includes the flow label field value that second flow table, which includes in same heading,
The matching rule information that IPv6 message matches, second flow table further include processing movement instruction information: de-encapsulation is in phase
The NDN message obtained after de-encapsulation is sent to the 2nd NDN network by the IPv6 heading of matched IPv6 message.
Second aspect, the embodiment of the invention provides another data transmission methods, are applied to data transmission system, described
Data transmission system includes SDN controller, as the third SDN switch of data sending terminal and as the 4th of data receiver
SDN switch, third SDN switch and the 4th SDN switch described in the SDN controller communication control, the third
SDN switch connects the first IPv6 network and NDN network, and the 4th SDN switch connects the NDN network and the 2nd IPv6
Network;
The described method includes:
It is described after the Target IP v6 message that the third SDN switch receives by the first IPv6 network routing
SDN controller receives the Target IP v6 message sent by third SDN switch;
The SDN controller generates the title of NDN message;
The SDN controller is based on the Target IP v6 message received and the title, the 3rd SDN of Xiang Suoshu exchange
Machine and the 4th SDN switch issue third instruction and the 4th instruction respectively;
The third SDN switch is instructed based on the third, and the Target IP v6 message, which is packaged into Name field, is
The NDN data of the title;
4th SDN switch is based on the 4th instruction, and it is the title that Xiang Suoshu NDN network, which sends Name field,
Interest Packet;
The third SDN switch is instructed, by institute after receiving the Interest Packet based on the third
It states NDN data and the 4th SDN switch is sent to Data Packet type of message;
4th SDN switch is based on the 4th instruction, releases the NDN encapsulation of the Target IP v6 message;
4th SDN switch is based on the 4th instruction, and the Target IP v6 message after de-encapsulation is sent
To the 2nd IPv6 network.
Preferably, the third instruction includes third flow table, and the 4th instruction is including the 4th flow table and sends Name word
Section is the instruction of the Interest Packet of the title;
Wherein, the third flow table includes with all IPv6 messages for belonging to same message flow with the Target IP v6 message
The matching rule information to match;The third flow table further includes processing movement instruction information: the IPv6 message to match is sealed
The NDN data that Name field is the title are dressed up, the Interest Packet that Name field is the title is being received
Afterwards, the NDN data are sent to the 4th SDN switch with Data Packet type of message;4th flow table includes
With the matching rule information that all Data Packet of the corresponding Interest Packet match, the 4th flow table is also
Instruction information is acted including processing: being released the NDN encapsulation of the Data Packet that matches, and will be obtained after de-encapsulation
IPv6 message is sent to the 2nd IPv6 network.
The third aspect the embodiment of the invention provides a kind of data transmission system, including SDN controller, is sent out as data
First SDN switch of sending end and the second SDN switch as data receiver, described in the SDN controller communication control
First SDN switch and second SDN switch, first SDN switch connect the first NDN network and IPv6 network,
Second SDN switch connects the 2nd NDN network and the IPv6 network;
The SDN controller includes:
First receiving module, for receiving the target routed by the first NDN network in first SDN switch
After NDN message, the target NDN message sent by the first SDN switch is received;
Determining module, for determining the address destination IP v6 based on the target NDN message received;
First generation module, for generating the flow label field value of IPv6 heading;
First issues module, for issuing the first finger respectively to first SDN switch and second SDN switch
It enables and second instructs;
First SDN switch includes:
First package module, for being encapsulated comprising destination IP v6 to the target NDN message based on first instruction
The IPv6 heading of location and the flow label field value;
First sending module, the target NDN message for that will be packaged with the IPv6 heading pass through the IPv6 network
It is sent to second SDN switch;
Second SDN switch includes:
First de-encapsulation module, for being based on after receiving the target NDN message for being packaged with the IPv6 heading
Second instruction, the IPv6 heading of the de-encapsulation on the target NDN message;
Second sending module: the target NDN message after de-encapsulation is sent to the 2nd NDN network.
Preferably, the determining module in the SDN controller, comprising:
Judging submodule, for judging the message of the target NDN message based on the target NDN message received
Type;
Submodule is determined, for judging that the target NDN message is Interest Packet in the judging submodule
In the case where, if in the IPv6 network including more than two the second SDN switches being connected with the 2nd NDN network,
An IPv6 multicast group is added in all second SDN switches, and determines the IPv6 multicast address of the IPv6 multicast group
For the address purpose IPv6;If the second SDN switch being connected there is only one with the 2nd NDN network in IPv6 network,
The address IPv6 for determining second SDN switch is the address purpose IPv6;
In the case where the judging submodule judges that the target NDN message is Data Packet, local preparatory
In the NDN message name of storage and the mapping table of the address IPv6, find out corresponding with the title of the target NDN message
The address IPv6, and determine that the address IPv6 corresponding with the title of the target NDN message is the address purpose IPv6.
Preferably, the SDN controller, further includes:
Memory module is used in the case where the target NDN message is Interest Packet, by the target NDN
The address IPv6 of the title of message and first SDN switch is as a corresponding relationship storage to local.
Preferably, first instruction includes the first flow table, and second instruction includes the second flow table;
Wherein, if the target NDN message is Interest Packet, first flow table includes with the target NDN
The matching rule information of message matching;If the target NDN message is Data Packet, first flow table includes with described
The matching rule information that all Data Packet corresponding to the corresponding Interest Packet of target NDN message match;
First flow table further includes processing movement instruction information: including the address the destination IP v6 and institute to NDN message encapsulation
The IPv6 heading of flow label field value is stated, and the NDN message for being packaged with the IPv6 heading is passed through into the IPv6 net
Network is sent to second SDN switch;It includes the flow label field value that second flow table, which includes in same heading,
The matching rule information that IPv6 message matches, second flow table further include processing movement instruction information: de-encapsulation is in phase
The NDN message obtained after de-encapsulation is sent to the 2nd NDN network by the IPv6 heading of matched IPv6 message.
Fourth aspect, the embodiment of the invention provides another data transmission system, including SDN controller, as data
The third SDN switch of transmitting terminal and the 4th SDN switch as data receiver, SDN controller communication control institute
Third SDN switch and the 4th SDN switch are stated, the third SDN switch connects the first IPv6 network and NDN net
Network, the 4th SDN switch connect the NDN network and the 2nd IPv6 network;
The SDN controller includes:
Second receiving module, for receiving the mesh routed by the first IPv6 network in the third SDN switch
After marking IPv6 message, the Target IP v6 message sent by third SDN switch is received;
Second generation module, for generating the title of NDN message;
Second issues module, for based on the Target IP v6 message received and the title, the 3rd SDN of Xiang Suoshu
Interchanger and the 4th SDN switch issue third instruction and the 4th instruction respectively;
The third SDN switch includes:
Second package module, for being instructed based on the third, the Target IP v6 message, which is packaged into Name field, is
The NDN data of the title;
Third sending module, for being based on institute after receiving the Interest Packet that Name field is the title
Third instruction is stated, the NDN data are sent to the 4th SDN switch with Data Packet type of message;
4th SDN switch includes:
4th sending module, for based on the 4th instruction, it to be the title that Xiang Suoshu NDN network, which sends Name field,
Interest Packet;
Second de-encapsulation module, for releasing the NDN encapsulation of the Target IP v6 message based on the 4th instruction;
5th sending module, for based on the 4th instruction, the Target IP v6 message after de-encapsulation to be sent
To the 2nd IPv6 network.
Preferably, the third instruction includes third flow table, and the 4th instruction is including the 4th flow table and sends Name word
Section is the instruction of the Interest Packet of the title;
Wherein, the third flow table includes with all IPv6 messages for belonging to same message flow with the Target IP v6 message
The matching rule information to match;The third flow table further includes processing movement instruction information: the IPv6 message to match is sealed
The NDN data that Name field is the title are dressed up, the Interest Packet that Name field is the title is being received
Afterwards, the NDN data are sent to the 4th SDN switch with Data Packet type of message;4th flow table includes
With the matching rule information that all Data Packet of the corresponding Interest Packet match, the 4th flow table is also
Instruction information is acted including processing: being released the NDN encapsulation of the Data Packet that matches, and will be obtained after de-encapsulation
IPv6 message is sent to the 2nd IPv6 network.
This programme solve the problems, such as in the prior art data can not across NDN network and IPv6 network transmitted.We
In case, when NDN message is needed from a certain NDN networks spans IPv6 network transmission into another NDN network, controlled by SDN
Device, which controls SDN switch, enables the NDN message to transmit in the IPv6 network NDN message encapsulation IPv6 heading, finally
By IPv6 heading of another SDN switch de-encapsulation on NDN message, and it is transferred in above-mentioned another NDN network, it is real
The function that NDN message crosses over IPv6 network transmission is showed;When IPv6 message is needed from a certain IPv6 networks spans NDN network transmission
When into another IPv6 network, controlling SDN switch by SDN controller makes the IPv6 to IPv6 message encapsulation NDN heading
Message is able to transmit in the NDN network, finally by NDN message of another SDN switch de-encapsulation on IPv6 message
Head, and be transferred in above-mentioned another IPv6 network, realize the function that IPv6 message crosses over NDN network transmission.Make in this programme
IPv6 network and SDN network are connected with SDN switch, the deployment of SDN switch can fast implement, and cost of implementation is low, difficulty
It is small;In addition, connect IPv6 network and NDN network using SDN technology, allow across the NDN network transmission of IPv6 message, NDN report
Text can across IPv6 network transmission, realize to the global resource allocation of two kinds of heterogeneous networks of IPv6 network and NDN network and
Traffic management and control.
Certainly, it implements any of the products of the present invention or method must be not necessarily required to reach all the above excellent simultaneously
Point.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.
Fig. 1 is the application scenarios schematic diagram of the embodiment of the present invention;
Fig. 2 is schematic diagram of a scenario of the NDN message across IPv6 network transmission in the embodiment of the present invention;
Fig. 3 is a kind of flow chart of data transmission method provided in an embodiment of the present invention;
Fig. 4 is schematic diagram of a scenario of the IPv6 message across NDN network transmission in the embodiment of the present invention;
Fig. 5 is the flow chart of another data transmission method provided in an embodiment of the present invention;
Fig. 6 is a kind of structural schematic diagram of data transmission system provided in an embodiment of the present invention;
Fig. 7 is the structural schematic diagram of another data transmission system provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
For the sake of clarity, simple introduction is done to application scenarios involved in the embodiment of the present invention first.As shown in Figure 1,
Multiple NDN networks and multiple IPv6 networks coexist in the entire system, adjacent NDN network and IPv6 network are handed over by SDN
It changes planes and is connected, all SDN switches are by SDN controller communication control in system.
It is well known by those skilled in the art that SDN (Software Defined Network, software defined network) network
Framework can mutually separate the data plane of conventional router with control plane, carry out software program setting, control in control plane
The encapsulation and forwarding of data plane message processed.This network architecture separates the control on network routing device, by collecting
In SDN controller management, without rely on underlay network device for example, router, interchanger, firewall etc., shield and come from
The difference of underlay network device.And control be it is wide-open, user can with it is customized it is any want realize network routing and
Transmission rule strategy, thus more flexible and intelligent.
SDN equipment is divided into SDN controller and SDN switch.SDN controller is responsible for the Rulemaking of control plane under
Hair, SDN switch are responsible for the message forwarding of data plane.
A kind of data transmission method provided in an embodiment of the present invention, as shown in Fig. 2, it is applied to data transmission system, it is described
Data transmission system includes SDN controller, as the first SDN switch of data sending terminal and as the second of data receiver
SDN switch, the first SDN switch and second SDN switch described in the SDN controller communication control, described first
SDN switch connects the first NDN network and IPv6 network, and second SDN switch connects the 2nd NDN network and the IPv6
Network.
It is understood that above-mentioned data sending terminal and data receiver can specifically refer to IPv6 net shown in Fig. 2
In network, the first SDN switch can be used for sending data, and the second SDN switch can be used for receiving data.
As shown in figure 3, a kind of data transmission method provided in an embodiment of the present invention includes:
S101: after the target NDN message that first SDN switch receives by the first NDN network routing, institute
It states SDN controller and receives the target NDN message sent by the first SDN switch.
It will be appreciated by persons skilled in the art that the first SDN switch is received by the first NDN network routing
After target NDN message, if the first SDN switch locally without store to should be to the flow table that target NDN message is handled when,
Target NDN message up sending can be given to SDN controller.
S102: the SDN controller determines the address destination IP v6 based on the target NDN message received.
In embodiments of the present invention, the SDN controller determines purpose based on the target NDN message received
The address IPv6 may include:
The SDN controller judges the message class of the target NDN message based on the target NDN message received
Type.
It should be noted that NDN message is divided into the report of Data Packet and Interest two kinds of type of messages of Packet
Text, the specific method of the type of message of the above-mentioned judgement target NDN message belong to the prior art, and the application is no longer superfluous herein
It states.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 specific method for judging target NDN type of message.
For above-mentioned judgement, if the target NDN message is Interest Packet, if wrapping in the IPv6 network
More than two the second SDN switches being connected with the 2nd NDN network are included, all second SDN switches are added
One IPv6 multicast group, and determine that the IPv6 multicast address of the IPv6 multicast group is the address purpose IPv6;If in IPv6 network
The second SDN switch being connected there is only one with the 2nd NDN network, with determining the IPv6 of second SDN switch
Location is the address purpose IPv6.
It is understood that all SDN switches in SDN controller communication control system, so SDN controller can be with
Know the quantity of the second SDN switch.
It is well known by those skilled in the art that multicasting technology refers to that single sender corresponds to a kind of net of multiple recipients
The network communication technology, IPv6 multicast, which refers to, determines node for some being sent in network of Data Packet in IPv6 network
Collection, this subset are known as multicast group (multicast group).
In embodiments of the present invention, if including that two or more is connected with the 2nd NDN network in the IPv6 network
The second SDN switch, the first SDN switch only sends a data, and the destination address of this part of data is the IPv6 of multicast group
Address, after data are sent to multicast group, all second SDN switches in multicast group all can receive same data, and net
Other SDN switches not will receive same data then in network.
For above-mentioned judgement, if the target NDN message is Data Packet, in local pre-stored NDN message
In the mapping table of title and the address IPv6, the address IPv6 corresponding with the title of the target NDN message is found out, and really
The fixed address IPv6 corresponding with the title of the target NDN message is the address purpose IPv6.At this point, being determined in the address destination IP v6
Afterwards, SDN switch corresponding to the address destination IP v6 is the second SDN switch.
Since in NDN network, host broadcasts the name of required data using Interest Packet to whole network
Claim, when data corresponding to a router cache has the required title of Interest Packet, is then placed on data
It responds and replys in Data Packet message.Therefore in embodiments of the present invention, if the target NDN message is Data
Packet shows to be transmitted across corresponding Interest Packet into network there are a certain SDN switch, in the SDN switch
During sending corresponding Interest Packet into network, SDN controller can be by the address IPv6 of the SDN switch
It is recorded in local, therefore SDN controller is easy to know the address IPv6 of the SDN switch.
Further, in embodiments of the present invention, if the target NDN message is Interest Packet, in order to obtain
The address destination IP v6 for taking the Data Packet relative to the Interest Packet, step S102 and step S103 it
Between, can with comprising steps of
The SDN controller using the address IPv6 of the title of the target NDN message and first SDN switch as
One corresponding relationship is stored to local.
S103: the SDN controller generates the flow label field value of IPv6 heading.
In IPv6 network, IPv6 message is sent based on stream, and passes through 3 fields in IPv6 heading: source IP v6
Address, the address destination IP v6 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, which is exactly in above-mentioned flow label field
Occurrence, it is clear that, SDN switch is identical to the processing of the data message for possessing same flow label field value movement.
S104: the SDN controller issues first to first SDN switch and second SDN switch respectively
Instruction and the second instruction.
It is understood that first instruction includes command information: the first SDN switch is identifying target NDN report
Wen Hou includes the IPv6 heading of the address the destination IP v6 and the flow label field value to the encapsulation of target NDN message, with
And first SDN switch that the target NDN message for being packaged with the IPv6 heading is sent to the address destination IP v6 is corresponding
SDN switch is sent to second SDN switch.
Second instruction includes command information: the second SDN switch is being identified with the flow label field value
After IPv6 message, the IPv6 heading to the IPv6 message de-encapsulation identified, and by the message after de-encapsulation
It is sent to the 2nd NDN network.It is understood that the IPv6 message with the flow label field value described herein,
The heading for indicating the IPv6 message includes the flow label field value, which is substantially exactly to encapsulate the IPv6
The target NDN message of heading, the message after de-encapsulation is substantially the target NDN message.
It is well known by those skilled in the art that the working mechanism of SDN is that SDN switch reports first of a message flow
SDN controller is given on text, SDN controller calculates flow table (forwarding of message flow, encapsulation rule according to the message sent on this
Then), then it is handed down to SDN switch, when the subsequent packet of this stream reaches this SDN switch again, which can be straight
The flow table of the message based on the matching rule information searching of each flow table to corresponding this stream in local cache is connect, and according to this
The message of processing movement instruction this of information processing stream in flow table, will not go and the interaction of SDN controller again.For each
Message flow, SDN switch only can just be interacted in first message for receiving message flow with SDN controller, 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 all NDN messages for belonging to the same stream are exchanged by the first SDN
Machine is required to first SDN switch when transmitting and interacts with SDN controller, and first instruction may include first-class
Table, second instruction may include the second flow table.
Obvious, if the target NDN message is Interest Packet, first flow table includes with the target
The matching rule information of NDN message matching;If the target NDN message is Data Packet, first flow table includes same institute
State the matching rule letter that all Data Packet corresponding to the corresponding Interest Packet of target NDN message match
Breath;First flow table further includes processing movement instruction information: to NDN message encapsulation comprising the address the destination IP v6 and
The IPv6 heading of the flow label field value, and the NDN message for being packaged with the IPv6 heading is passed through into the IPv6
Network is sent to the address destination IP v6, that is, is sent to second SDN switch.
It 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 the same Interest Packet.
Second flow table includes in same heading include the flow label field value that matches of IPv6 message
With Rule Information, second flow table further includes processing movement instruction information: de-encapsulation is in the IPv6 message to match
The NDN message obtained after de-encapsulation is sent to the 2nd NDN network by IPv6 heading.It is understood that releasing envelope
The NDN message obtained after dress is the NDN message before encapsulation.
It is understood that there are matching rule information in flow table, SDN switch is only to the matched message of flow table institute
Carry out a series of processing movements specified by flow table.
S105: first SDN switch is based on first instruction, includes purpose to target NDN message encapsulation
The IPv6 heading of the address IPv6 and the flow label field value.
It is understood that before carrying out above-mentioned encapsulation, the target NDN message includes NDN heading and message load,
After encapsulation, for entire target NDN message as a message load, which shows as the IPv6 for possessing the IPv6 heading
Message.
S106: the target NDN message for being packaged with the IPv6 heading is passed through the IPv6 by first SDN switch
Network is sent to second SDN switch.
Since target NDN message encapsulates the IPv6 heading, an IPv6 message, the first SDN switch are shown as
Message can be sent to the address destination IP v6 based on the address destination IP v6 in above-mentioned first instruction and the IPv6 heading,
It is sent to second SDN switch.
S107: second SDN switch is after receiving the target NDN message for being packaged with the IPv6 heading, base
In the second instruction, the IPv6 heading of the de-encapsulation on the target NDN message.
It is understood that the message obtained after de-encapsulation is the target NDN message.
S108: the target NDN message after de-encapsulation is sent to the 2nd NDN by second SDN switch
Network.
It should be noted that the second SDN switch is again based on the second instruction to complete the movement of above-mentioned de-encapsulation
's.
For the sake of clarity, specific mistake of combination of the embodiment of the present invention Fig. 1 and Fig. 2 to NDN message across IPv6 network transmission
Cheng Jinhang underdraws, and in Fig. 1, the network marked as A, B and C can be respectively corresponded as the first NDN network, the IPv6 in Fig. 2
Network and the 2nd NDN network, the SDN switch marked as a and b can respectively correspond as the first SDN switch and second in Fig. 2
SDN switch.
Shown in referring to Fig.1, after SDN switch a receives the NDN message of NDN network A routing, SDN switch a exists first
It locally searches flow table, and when the flow table of the corresponding NDN message is not present in its local, SDN switch a can not handle NDN report
Text, SDN switch a give the NDN message up sending to SDN controller.
After SDN controller receives the NDN message, the type of message of the NDN message is differentiated:
If the NDN message received is Interest Packet, by the title of the NDN message and SDN switch a
Conduct a pair of mapping relations of the address IPv6 store.
In the case where the NDN message is Interest Packet, if in IPv6 network B including more than two and NDN
An IPv6 multicast group is added in all SDN switches by the SDN switch that network C is connected, SDN controller, and described in determination
The IPv6 multicast address of IPv6 multicast group is the address purpose IPv6;In Fig. 1, there is only one and NDN network in IPv6 network B
The SDN switch b that C is connected, at this point, SDN controller determines that the address IPv6 of SDN switch b is the address purpose IPv6.
If the NDN message received is Data Packet, SDN controller can be in local pre-stored NDN message name
Claim in the mapping table with the address IPv6, find out the address IPv6 corresponding with the title of the NDN message, and determines and be somebody's turn to do
The corresponding address IPv6 of the title of NDN message is the address purpose IPv6.
Then, SDN controller will carry out IPv6 message used in the instruction and encapsulation of IPv6 encapsulation to the NDN message
The flow label field value of head is handed down to SDN switch a.In addition, SDN controller conciliates the relevant information for encapsulating the NDN message
The instruction of encapsulation is handed down to SDN switch b;The relevant information includes the address source IP v6, the address destination IP v6 and the signature of failing to be sold at auction
Segment value, wherein the address source IP v6 is the address IPv6 of SDN switch a, and the address destination IP v6 is SDN controller above-mentioned
The address destination IP v6 determined in step.
After SDN switch a receives the Envelope command and the flow label field value of the transmission of SDN controller, NDN message is sealed
IPv6 heading is filled, the IPv6 destination address in the IPv6 heading is the purpose that SDN controller determines in above-mentioned steps
The address IPv6, IPv6 source address use the address IPv6 of SDN switch a, and stream label is above-mentioned flow label field value.Encapsulation terminates
Afterwards, the message after encapsulation is sent in IPv6 network B by SDN switch a, and the report after making the encapsulation is routed to SDN switch
b。
After SDN switch b receives the message after above-mentioned encapsulation, reported according to encapsulation NDN that above-mentioned SDN controller issues
The relevant information of text identifies the message after encapsulation.Then SDN switch b is according to corresponding instruction, after first releasing the encapsulation
The IPv6 message of message encapsulates, and the message after decapsulation is then sent to NDN network C again, completes across the IPv6 network of NDN message
Transmission.
This programme solve the problems, such as in the prior art data can not across NDN network and IPv6 network transmitted.We
In case, when NDN message is needed from a certain NDN networks spans IPv6 network transmission into another NDN network, controlled by SDN
Device, which controls SDN switch, enables the NDN message to transmit in the IPv6 network NDN message encapsulation IPv6 heading, finally
By IPv6 heading of another SDN switch de-encapsulation on NDN message, and it is transferred in above-mentioned another NDN network, it is real
The function that NDN message crosses over IPv6 network transmission is showed.IPv6 network and SDN network are connected using SDN switch in this programme,
The deployment of SDN switch can fast implement, and cost of implementation is low, and difficulty is small;In addition, using SDN technology connection IPv6 network and
NDN network allows across the IPv6 network transmission of NDN message, realizes to two kinds of heterogeneous networks of IPv6 network and NDN network
Global resource allocation and traffic management and control.
It is appreciated that as the first SDN switch of data sending terminal and as data receiver in previous embodiment
Second SDN switch, it is merely for convenience to illustrate concrete operations and given title, in practical applications, according to business needs,
Any one of Fig. 1 SDN switch all can serve as to send the first SDN switch of data, can also be used as reception data
The second SDN switch.Moreover, the same SDN switch both may be at different times the first SDN friendship for sending data
It changes planes, it is also possible to receive the second SDN switch of data.
It is similar, in previous embodiment the first NDN network, the 2nd NDN network be concrete operations for convenience of explanation and to
Fixed title only indicates two different NDN networks.In practical applications, according to business needs, the first NDN network
It both may be to the 2nd NDN network transmission data, it is also possible to receive the data from the 2nd NDN network.
In the application other embodiments, there is also with aforementioned similar concrete operations for convenience of explanation and given title
It limits, is provided to statement conveniently, be not that essence limits what some equipment or network only has the function of.Here not another
One enumerates.
Another kind data transmission method provided in an embodiment of the present invention, as shown in figure 4, being applied to data transmission system, institute
Stating data transmission system includes SDN controller, the third SDN switch as data sending terminal and as data receiver
Four SDN switches, third SDN switch and the 4th SDN switch described in the SDN controller communication control, described
Three SDN switches connect the first IPv6 network and NDN network, and the 4th SDN switch connects the NDN network and second
IPv6 network.
It is understood that above-mentioned data sending terminal and data receiver can specifically refer to NDN network shown in Fig. 4
In, third SDN switch can be used for sending data, and the 4th SDN switch can be used for receiving data.
As shown in figure 5, a kind of data transmission method provided in an embodiment of the present invention includes:
S201: after the Target IP v6 message that the third SDN switch receives by the first IPv6 network routing,
The SDN controller receives the Target IP v6 message sent by third SDN switch.
It is routed it will be appreciated by persons skilled in the art that third SDN switch is received by the first IPv6 network
Target IP v6 message after, if third SDN switch is locally without storing to should be to the stream that Target IP v6 message is handled
When table, Target IP v6 message up sending can be given to SDN controller.
S202: the SDN controller generates the title of NDN message.
It is emphasized that the title of the NDN message is uniquely, to should ensure that the title not and in above-mentioned NDN network
Existing title mutually repeats.
S203: the SDN controller is based on the Target IP v6 message received and the title, Xiang Suoshu third
SDN switch and the 4th SDN switch issue third instruction and the 4th instruction respectively.
It is understood that third instruction may include command information: third SDN switch is identifying the target
After IPv6 message, the Target IP v6 message is encapsulated as the NDN data that Name field is the title;In the 4th SDN
Interchanger sends the Interest Packet that Name field is the title, and third SDN switch to the NDN network
After receiving this Interest Packet, which is sent to by third SDN switch with Data Packet type of message
4th SDN switch.
4th instruction includes command information: it is institute that the 4th SDN switch, which sends Name field to the NDN network,
The Interest Packet of title is stated, and after receiving the Data Packet that Name field is the title, the 4th
SDN switch releases the NDN encapsulation of the Target IP v6 message, and the Target IP v6 message that solution is honored as a queen be sent to it is described
2nd IPv6 network.
In embodiments of the present invention, in order to avoid all IPv6 messages for belonging to the same stream are handed over by the 3rd SDN
It changes planes and is required to the third SDN switch when transmitting and is interacted with SDN controller, the third instruction may include third stream
Table, the 4th instruction may include the 4th flow table and the finger for sending the Interest Packet that Name field is the title
It enables;
Wherein, the third flow table includes with all IPv6 messages for belonging to same message flow with the Target IP v6 message
The matching rule information to match;The third flow table further includes processing movement instruction information: the IPv6 message to match is sealed
The NDN data that Name field is the title are dressed up, the Interest Packet that Name field is the title is being received
Afterwards, the NDN data are sent to the 4th SDN switch with Data Packet type of message;4th flow table includes
With the matching rule information that all Data Packet of the corresponding Interest Packet match, the 4th flow table is also
Instruction information is acted including processing: being released the NDN encapsulation of the Data Packet that matches, and will be obtained after de-encapsulation
IPv6 message is sent to the 2nd IPv6 network.
It is understood that the IPv6 message obtained after de-encapsulation is the IPv6 message before above-mentioned encapsulation.This field
Technical staff is well known that, in actual application process, can pass through five-tuple: the address destination IP v6, the address source IP v6, mesh
Port numbers, source port number and transport layer protocol number determine an IPv6 message flow, it is specific to determine that method refer to
The prior art.
S204: the third SDN switch is instructed based on the third, and the Target IP v6 message is packaged into Name word
Section is the NDN data of the title.
S205: the 4th SDN switch is based on the 4th instruction, and it is institute that Xiang Suoshu NDN network, which sends Name field,
State the Interest Packet of title.
S206: the third SDN switch is instructed after receiving the Interest Packet based on the third,
The NDN data are sent to the 4th SDN switch with Data Packet type of message.
It is understood that being sent to the Data Packet of the 4th SDN switch, include in message load
The Target IP v6 message.Obvious, the process of above-mentioned transmission occurs in the NDN network.
In addition, the NDN data are sent to the 4th SDN switch with Data Packet type of message herein, it can
To be interpreted as, which is converted into Data Packet by third SDN switch, then passes through the Data Packet
The NDN network is sent to the 4th SDN switch.
S207: the 4th SDN switch is based on the 4th instruction, releases the NDN encapsulation of the Target IP v6 message.
It is understood that the message after de-encapsulation is the Target IP v6 message.
S208: the 4th SDN switch is based on the 4th instruction, by the Target IP v6 message after de-encapsulation
It is sent to the 2nd IPv6 network.
For the sake of clarity, specific mistake of combination of the embodiment of the present invention Fig. 1 and Fig. 4 to IPv6 message across NDN network transmission
Cheng Jinhang underdraws, and in Fig. 1, the network marked as D, E and F can be respectively corresponded as the first IPv6 network, the NDN in Fig. 4
Network and the 2nd IPv6 network, the SDN switch marked as c and d can correspond to third SDN switch and the 4th SDN in Fig. 4
Interchanger.
Shown in referring to Fig.1, when SDN switch c receives the IPv6 message of IPv6 network D routing, SDN switch c is first
Flow table is locally searched at it, when the flow table of the corresponding IPv6 message is not present in its local, SDN switch c can not handle this
IPv6 message, SDN switch c give the IPv6 message up sending to SDN controller.
SDN controller issues the instruction for encapsulating the IPv6 message and the name for encapsulating IPv6 message to SDN switch c
Claim, such as " a@IP ";Then, IPv6 message is packaged into the NDN data of entitled " a@IP " by SDN switch c.
SDN switch d of the SDN controller into NDN network E is issued: sending 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 the Interest Packet that Name field is " a@IP " to NDN network E.
It, will be in above-mentioned steps after SDN switch c receives the Interest Packet transmitted by SDN switch d
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 receives is gone NDN to encapsulate by SDN switch d, then obtains deblocking
IPv6 message be sent to IPv6 network F, complete across the NDN network transmission of IPv6 message.
This programme solve the problems, such as in the prior art data can not across NDN network and IPv6 network transmitted.We
In case, when IPv6 message is needed from a certain IPv6 networks spans NDN network transmission into another IPv6 network, controlled by SDN
Device control SDN switch processed enables the IPv6 message to transmit in the NDN network IPv6 message encapsulation NDN heading, most
NDN heading by another SDN switch de-encapsulation on IPv6 message afterwards, and it is transferred to above-mentioned another IPv6 network
In, realize the function that IPv6 message crosses over NDN network transmission.SDN switch connection IPv6 network and SDN are used in this programme
The deployment of network, SDN switch can fast implement, and cost of implementation is low, and difficulty is small;In addition, connecting IPv6 net using SDN technology
Network and NDN network, allow across the NDN network transmission of IPv6 message, realize to two kinds of heterogeneous networks of IPv6 network and NDN network
The global resource allocation and traffic management and control of network.
Corresponding to embodiment of the method shown in Fig. 3, as seen in figs, a kind of data transmission provided in an embodiment of the present invention
System, the first SDN switch including SDN controller, as data sending terminal and the 2nd SDN exchange as data receiver
Machine, the first SDN switch and second SDN switch described in the SDN controller communication control, the first SDN exchange
Machine connects the first NDN network and IPv6 network, and second SDN switch connects the 2nd NDN network and the IPv6 network;
The SDN controller includes:
First receiving module 110, for receiving in first SDN switch by the first NDN network routing
After target NDN message, the target NDN message sent by the first SDN switch is received;
Determining module 120, for determining the address destination IP v6 based on the target NDN message received;
First generation module 130, for generating the flow label field value of IPv6 heading;
First issues module 140, for issuing respectively to first SDN switch and second SDN switch
One instruction and the second instruction;
First SDN switch includes:
First package module 150, for including purpose to target NDN message encapsulation based on first instruction
The IPv6 heading of the address IPv6 and the flow label field value;
First sending module 160, the target NDN message for that will be packaged with the IPv6 heading pass through the IPv6 net
Network is sent to second SDN switch;
Second SDN switch includes:
First de-encapsulation module 170, for after receiving the target NDN message for being packaged with the IPv6 heading,
Based on the second instruction, the IPv6 heading of the de-encapsulation on the target NDN message;
Second sending module 180: the target NDN message after de-encapsulation is sent to the 2nd NDN network.
Specifically, the determining module 120 in the SDN controller, including judging submodule and determining submodule are (in figure not
Show):
Judging submodule, for judging the message of the target NDN message based on the target NDN message received
Type.
Submodule is determined, for judging that the target NDN message is Interest Packet in the judging submodule
In the case where, if in the IPv6 network including more than two the second SDN switches being connected with the 2nd NDN network,
An IPv6 multicast group is added in all second SDN switches, and determines the IPv6 multicast address of the IPv6 multicast group
For the address purpose IPv6;If the second SDN switch being connected there is only one with the 2nd NDN network in IPv6 network,
The address IPv6 for determining second SDN switch is the address purpose IPv6;
In the case where the judging submodule judges that the target NDN message is Data Packet, local preparatory
In the NDN message name of storage and the mapping table of the address IPv6, find out corresponding with the title of the target NDN message
The address IPv6, and determine that the address IPv6 corresponding with the title of the target NDN message is the address purpose IPv6.
Specifically, the SDN controller, further includes:
Memory module (not shown) is used in the case where the target NDN message is Interest Packet,
Using the address IPv6 of the title of the target NDN message and first SDN switch as a corresponding relationship storage to originally
Ground.
Specifically, first instruction includes the first flow table, second instruction includes the second flow table;
Wherein, if the target NDN message is Interest Packet, first flow table includes with the target NDN
The matching rule information of message matching;If the target NDN message is Data Packet, first flow table includes with described
The matching rule information that all Data Packet corresponding to the corresponding Interest Packet of target NDN message match;
First flow table further includes processing movement instruction information: including the address the destination IP v6 and institute to NDN message encapsulation
The IPv6 heading of flow label field value is stated, and the NDN message for being packaged with the IPv6 heading is passed through into the IPv6 net
Network is sent to second SDN switch;It includes the flow label field value that second flow table, which includes in same heading,
The matching rule information that IPv6 message matches, second flow table further include processing movement instruction information: de-encapsulation is in phase
The NDN message obtained after de-encapsulation is sent to the 2nd NDN network by the IPv6 heading of matched IPv6 message.
This programme solve the problems, such as in the prior art data can not across NDN network and IPv6 network transmitted.We
In case, when NDN message is needed from a certain NDN networks spans IPv6 network transmission into another NDN network, controlled by SDN
Device, which controls SDN switch, enables the NDN message to transmit in the IPv6 network NDN message encapsulation IPv6 heading, finally
By IPv6 heading of another SDN switch de-encapsulation on NDN message, and it is transferred in above-mentioned another NDN network, it is real
The function that NDN message crosses over IPv6 network transmission is showed.IPv6 network and SDN network are connected using SDN switch in this programme,
The deployment of SDN switch can fast implement, and cost of implementation is low, and difficulty is small;In addition, using SDN technology connection IPv6 network and
NDN network allows across the IPv6 network transmission of NDN message, realizes to two kinds of heterogeneous networks of IPv6 network and NDN network
Global resource allocation and traffic management and control.
Corresponding to embodiment of the method shown in fig. 5, as illustrated in figures 4 and 7, a kind of data transmission provided in an embodiment of the present invention
System, the third SDN switch including SDN controller, as data sending terminal and the 4th SDN exchange as data receiver
Machine, third SDN switch and the 4th SDN switch described in the SDN controller communication control, the 3rd SDN exchange
Machine connects the first IPv6 network and NDN network, and the 4th SDN switch connects the NDN network and the 2nd IPv6 network;
The SDN controller includes:
Second receiving module 210, for receiving in the third SDN switch by the first IPv6 network routing
After Target IP v6 message, the Target IP v6 message sent by third SDN switch is received;
Second generation module 220, for generating the title of NDN message;
Second issues module 230, for based on the Target IP v6 message received and the title, Xiang Suoshu third
SDN switch and the 4th SDN switch issue third instruction and the 4th instruction respectively;
The third SDN switch includes:
The Target IP v6 message is packaged into Name field for instructing based on the third by the second package module 240
For the NDN data of the title;
Third sending module 260, for receive Name field be the title Interest Packet after, base
It is instructed in the third, the NDN data is sent to the 4th SDN switch with Data Packet type of message;
4th SDN switch includes:
4th sending module 250, for based on the 4th instruction, it to be described that Xiang Suoshu NDN network, which sends Name field,
The Interest Packet of title;
Second de-encapsulation module 270, for releasing the NDN envelope of the Target IP v6 message based on the 4th instruction
Dress;
5th sending module 280, for based on the 4th instruction, the Target IP v6 message after de-encapsulation to be sent out
It send to the 2nd IPv6 network.
Specifically, the third instruction includes third flow table, the 4th instruction is including the 4th flow table and sends Name word
Section is the instruction of the Interest Packet of the title;
Wherein, the third flow table includes with all IPv6 messages for belonging to same message flow with the Target IP v6 message
The matching rule information to match;The third flow table further includes processing movement instruction information: the IPv6 message to match is sealed
The NDN data that Name field is the title are dressed up, the Interest Packet that Name field is the title is being received
Afterwards, the NDN data are sent to the 4th SDN switch with Data Packet type of message;4th flow table includes
With the matching rule information that all Data Packet of the corresponding Interest Packet match, the 4th flow table is also
Instruction information is acted including processing: being released the NDN encapsulation of the Data Packet that matches, and will be obtained after de-encapsulation
IPv6 message is sent to the 2nd IPv6 network.
This programme solve the problems, such as in the prior art data can not across NDN network and IPv6 network transmitted.We
In case, when IPv6 message is needed from a certain IPv6 networks spans NDN network transmission into another IPv6 network, controlled by SDN
Device control SDN switch processed enables the IPv6 message to transmit in the NDN network IPv6 message encapsulation NDN heading, most
NDN heading by another SDN switch de-encapsulation on IPv6 message afterwards, and it is transferred to above-mentioned another IPv6 network
In, realize the function that IPv6 message crosses over NDN network transmission.SDN switch connection IPv6 network and SDN are used in this programme
The deployment of network, SDN switch can fast implement, and cost of implementation is low, and difficulty is small;In addition, connecting IPv6 net using SDN technology
Network and NDN network, allow across the NDN network transmission of IPv6 message, realize to two kinds of heterogeneous networks of IPv6 network and NDN network
The global resource allocation and traffic management and control of network.
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality
Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation
In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to
Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those
Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment
Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that
There is also other identical elements in process, method, article or equipment including the element.
Each embodiment in this specification is all made of relevant mode and describes, same and similar portion between each embodiment
Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for device reality
For applying example, since it is substantially similar to the method embodiment, so being described relatively simple, related place is referring to embodiment of the method
Part explanation.
Those of ordinary skill in the art will appreciate that all or part of the steps in realization above method embodiment is can
It is completed with instructing relevant hardware by program, the program can store in computer-readable storage medium,
The storage medium designated herein obtained, such as: ROM/RAM, magnetic disk, CD.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all
Any modification, equivalent replacement, improvement and so within the spirit and principles in the present invention, are all contained in protection scope of the present invention
It is interior.
Claims (10)
1. a kind of data transmission method, which is characterized in that be applied to data transmission system, the data transmission system includes SDN
Controller, the first SDN switch as data sending terminal and the second SDN switch as data receiver, the SDN control
First SDN switch described in device communication control processed and second SDN switch, first SDN switch connect the first NDN
Network and IPv6 network, second SDN switch connect the 2nd NDN network and the IPv6 network;
The described method includes:
After the target NDN message that first SDN switch receives by the first NDN network routing, the SDN control
Device receives the target NDN message sent by the first SDN switch;
The SDN controller determines the address destination IP v6 based on the target NDN message received;
The SDN controller generates the flow label field value of IPv6 heading;
The SDN controller issues the first instruction and second to first SDN switch and second SDN switch respectively
Instruction;
First SDN switch is based on first instruction, to target NDN message encapsulation comprising the address destination IP v6 and
The IPv6 heading of the flow label field value;
First SDN switch sends the target NDN message for being packaged with the IPv6 heading by the IPv6 network
To second SDN switch;
Second SDN switch refers to after receiving the target NDN message for being packaged with the IPv6 heading based on second
It enables, the IPv6 heading of the de-encapsulation on the target NDN message;
The target NDN message after de-encapsulation is sent to the 2nd NDN network by second SDN switch.
2. the method according to claim 1, wherein the SDN controller is based on the target NDN received
Message determines the address destination IP v6, comprising:
The SDN controller judges the type of message of the target NDN message based on the target NDN message received;
If the target NDN message is Interest Packet, if including more than two in the IPv6 network with described the
An IPv6 multicast group is added in all second SDN switches by the second SDN switch that two NDN networks are connected, and really
The IPv6 multicast address of the fixed IPv6 multicast group is the address purpose IPv6;If there is only one and described second in IPv6 network
The second SDN switch that NDN network is connected determines that the address IPv6 of second SDN switch is the address purpose IPv6;
If the target NDN message is Data Packet, in local pre-stored NDN message name and the address IPv6
In mapping table, the address IPv6 corresponding with the title of the target NDN message, and the determining and target NDN are found out
The corresponding address IPv6 of the title of message is the address purpose IPv6.
3. according to the method described in claim 2, it is characterized in that, if the target NDN message is Interest
Packet,
The method also includes:
The SDN controller is using the address IPv6 of the title of the target NDN message and first SDN switch as one
Corresponding relationship is stored to local.
4. described second refers to the method according to claim 1, wherein first instruction includes the first flow table
Enabling includes the second flow table;
Wherein, if the target NDN message is Interest Packet, first flow table includes with the target NDN message
Matched matching rule information;If the target NDN message is Data Packet, first flow table includes with the target
The matching rule information that all Data Packet corresponding to the corresponding Interest Packet of NDN message match;It is described
First flow table further includes processing movement instruction information: including the address the destination IP v6 and institute to target NDN message encapsulation
The IPv6 heading of flow label field value is stated, and the target NDN message of the IPv6 heading will be packaged with described in
IPv6 network is sent to second SDN switch;It includes the signature of failing to be sold at auction that second flow table, which includes in same heading,
The matching rule information that the IPv6 message of segment value matches, second flow table further include processing movement instruction information: releasing envelope
Mounted in the IPv6 heading of the IPv6 message to match, the target NDN message obtained after de-encapsulation is sent to described second
NDN network.
5. a kind of data transmission method, which is characterized in that be applied to data transmission system, the data transmission system includes SDN
Controller, the third SDN switch as data sending terminal and the 4th SDN switch as data receiver, the SDN control
Third SDN switch described in device communication control processed and the 4th SDN switch, the third SDN switch connection first
IPv6 network and NDN network, the 4th SDN switch connect the NDN network and the 2nd IPv6 network;
The described method includes:
After the Target IP v6 message that the third SDN switch receives by the first IPv6 network routing, the SDN control
Device processed receives the Target IP v6 message sent by third SDN switch;
The SDN controller generates the title of NDN message;
The SDN controller based on the Target IP v6 message received and the title, Xiang Suoshu third SDN switch and
4th SDN switch issues third instruction and the 4th instruction respectively;
The third SDN switch is instructed based on the third, and it is described that the Target IP v6 message, which is packaged into Name field,
The NDN data of title;
4th SDN switch is based on the 4th instruction, and it is the title that Xiang Suoshu NDN network, which sends Name field,
Interest Packet;
The third SDN switch is instructed, by the NDN after receiving the Interest Packet based on the third
Data are sent to the 4th SDN switch by the NDN network with Data Packet type of message;
4th SDN switch is based on the 4th instruction, releases the NDN encapsulation of the Target IP v6 message;
4th SDN switch is based on the 4th instruction, and the Target IP v6 message after de-encapsulation is sent to institute
State the 2nd IPv6 network.
6. according to the method described in claim 5, the described 4th refers to it is characterized in that, third instruction includes third flow table
Enable includes the 4th flow table and the instruction for sending the Interest Packet that Name field is the title;
Wherein, the third flow table includes with all IPv6 message phases for belonging to same message flow with the Target IP v6 message
The matching rule information matched;The third flow table further includes processing movement instruction information: the Target IP v6 message to match is sealed
The NDN data that Name field is the title are dressed up, the Interest Packet that Name field is the title is being received
Afterwards, the NDN data are sent to the 4th SDN switch with Data Packet type of message;4th flow table includes
With the matching rule information that all Data Packet of the corresponding Interest Packet match, the 4th flow table is also
Instruction information is acted including processing: being released the NDN encapsulation of the Data Packet that matches, and will be obtained after de-encapsulation
Target IP v6 message is sent to the 2nd IPv6 network.
7. a kind of data transmission system, which is characterized in that including SDN controller, as the first SDN switch of data sending terminal
With the second SDN switch as data receiver, the first SDN switch described in the SDN controller communication control and described
Second SDN switch, first SDN switch connect the first NDN network and IPv6 network, and second SDN switch connects
Connect the 2nd NDN network and the IPv6 network;
The SDN controller includes:
First receiving module, for receiving the target NDN routed by the first NDN network in first SDN switch
After message, the target NDN message sent by the first SDN switch is received;
Determining module, for determining the address destination IP v6 based on the target NDN message received;
First generation module, for generating the flow label field value of IPv6 heading;
First issues module, for first SDN switch and second SDN switch issue respectively the first instruction and
Second instruction;
First SDN switch includes:
First package module, for based on first instruction, to target NDN message encapsulation comprising the address destination IP v6 and
The IPv6 heading of the flow label field value;
First sending module, the target NDN message for that will be packaged with the IPv6 heading are sent by the IPv6 network
To second SDN switch;
Second SDN switch includes:
First de-encapsulation module, for being based on second after receiving the target NDN message for being packaged with the IPv6 heading
Instruction, the IPv6 heading of the de-encapsulation on the target NDN message;
Second sending module: the target NDN message after de-encapsulation is sent to the 2nd NDN network.
8. system according to claim 7, which is characterized in that the determining module in the SDN controller, comprising:
Judging submodule, for judging the type of message of the target NDN message based on the target NDN message received;
Submodule is determined, for judging that the target NDN message is the feelings of Interest Packet in the judging submodule
Under condition, if including more than two the second SDN switches being connected with the 2nd NDN network in the IPv6 network, by institute
There is second SDN switch that an IPv6 multicast group is added, and determines that the IPv6 multicast address of the IPv6 multicast group is mesh
The address IPv6;If the second SDN switch being connected there is only one with the 2nd NDN network in IPv6 network, determine
The address IPv6 of second SDN switch is the address purpose IPv6;
In the case where the judging submodule judges that the target NDN message is Data Packet, it is stored in advance locally
NDN message name and the address IPv6 mapping table in, find out IPv6 corresponding with the title of the target NDN message
Address, and determine that the address IPv6 corresponding with the title of the target NDN message is the address purpose IPv6.
9. system according to claim 8, which is characterized in that the SDN controller, further includes:
Memory module is used in the case where the target NDN message is Interest Packet, by the target NDN message
Title and first SDN switch the address IPv6 as corresponding relationship storage to local.
10. a kind of data transmission system, which is characterized in that exchanged including SDN controller, as the 3rd SDN of data sending terminal
Machine and the 4th SDN switch as data receiver, third SDN switch and institute described in the SDN controller communication control
The 4th SDN switch is stated, the third SDN switch connects the first IPv6 network and NDN network, the 4th SDN switch
Connect the NDN network and the 2nd IPv6 network;
The SDN controller includes:
Second receiving module, for receiving the target routed by the first IPv6 network in the third SDN switch
After IPv6 message, the Target IP v6 message sent by third SDN switch is received;
Second generation module, for generating the title of NDN message;
Second issues module, for based on the presently described Target IP v6 message received and the title, Xiang Suoshu
Three SDN switches and the 4th SDN switch issue third instruction and the 4th instruction respectively;
The third SDN switch includes:
Second package module, for being instructed based on the third, it is described that the Target IP v6 message, which is packaged into Name field,
The NDN data of title;
Third sending module, for after receiving the Interest Packet that Name field is the title, based on described the
The NDN data are sent to the 4th SDN switch with Data Packet type of message by three instructions;
4th SDN switch includes:
4th sending module, for based on the 4th instruction, it to be the title that Xiang Suoshu NDN network, which sends Name field,
Interest Packet;
Second de-encapsulation module, for releasing the NDN encapsulation of the Target IP v6 message based on the 4th instruction;
5th sending module, for based on the 4th instruction, the Target IP v6 message after de-encapsulation to be sent to institute
State the 2nd IPv6 network.
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 CN106100959A (en) | 2016-11-09 |
CN106100959B true 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) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106790759B (en) * | 2016-12-29 | 2019-08-13 | 下一代互联网重大应用技术(北京)工程研究中心有限公司 | IPv4/IPv6 converting system and method based on SDN |
CN112688984B (en) * | 2019-10-18 | 2023-11-24 | ***通信有限公司研究院 | Method, equipment and medium for issuing and executing instructions to network node |
CN114244919B (en) * | 2021-12-17 | 2024-01-26 | 哈尔滨工业大学 | NDN mode realization method based on protocol non-perception forwarding |
Citations (4)
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 |
-
2016
- 2016-06-07 CN CN201610399033.7A patent/CN106100959B/en active Active
Patent Citations (4)
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)
Title |
---|
Optimization of Low-efficiency Traffic in Openflow Software Defined Networks;Jose Saldana,Fernando Pascual等;《International Symposium on Performance Evaluation of Computer and Telecommunication Systems》;20140821;550-555 |
SDN技术在数据中心网络的应用研究;曹畅,张沛等;《TELECOMMUNICATIONS NETWORK TECHNOLOGY》;20130920;第12卷;42-45 |
Also Published As
Publication number | Publication date |
---|---|
CN106100959A (en) | 2016-11-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101394361B (en) | Packet transmission method, device and system | |
CN103795636B (en) | Multicast processing method, device and system | |
CN102804693B (en) | For realizing the method and apparatus of L2 VPN on ip networks | |
CN103312611B (en) | Message processing method, device label processing method and equipment | |
CN102739541B (en) | The method, apparatus and system of a kind of routing function startup and transfer of data | |
CN104954265B (en) | Send the method and interchanger of multicast message | |
CN105009544A (en) | Tunnel processing method for packet, switching device and control device | |
CN107968750A (en) | Message transmitting method, device and node | |
CN106100959B (en) | Data transmission method and system | |
CN110535768A (en) | Multicast data transmission method and relevant device | |
CN110138618A (en) | A kind of message processing method, apparatus and system | |
CN104683210A (en) | Automatic tunnel establishing method and device | |
CN108111413A (en) | Method for routing, system and the equipment of stacking network | |
CN101110746B (en) | Edge equipment of operators, city Ethernet access network and its data processing method | |
CN110831249B (en) | Communication method and device | |
CN113328915B (en) | Associated network measuring method based on SRv6 | |
CN101394333A (en) | Packet forwarding method, apparatus and network system | |
CN108322391B (en) | Data transmission method based on flow table | |
CN105490957A (en) | Load sharing method and device | |
CN104301252A (en) | Data sending system and method | |
CN101908996B (en) | Method for accessing private network and data transmission method, device and system | |
CN106941437A (en) | A kind of information transferring method and device | |
CN102571375B (en) | Multicast forwarding method and device as well as network device | |
CN105933235B (en) | Data communications method and device | |
CN104579973B (en) | Message forwarding method and device in a kind of Virtual Cluster |
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 |