CN104284385B - Apparatus and method for data forwarding - Google Patents
Apparatus and method for data forwarding Download PDFInfo
- Publication number
- CN104284385B CN104284385B CN201310283342.4A CN201310283342A CN104284385B CN 104284385 B CN104284385 B CN 104284385B CN 201310283342 A CN201310283342 A CN 201310283342A CN 104284385 B CN104284385 B CN 104284385B
- Authority
- CN
- China
- Prior art keywords
- teid
- flow table
- table item
- gtp tunnel
- base station
- 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/74—Address processing for routing
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiments of the invention provide a kind of controller, open flow device and method for data forwarding.This method includes:Controller generates the first TEID of the first GTP tunnel and sends the first TEID to base station, and receives the 2nd TEID of first GTP tunnel that the base station generates and sends;Based on the first TEID and the 2nd TEID, the controller sends the first flow table item and the second flow table item to flow device is opened, and first flow table item includes uplink service information corresponding to first GTP tunnel and the first action for indicating the first TEID to be deleted and performed forwarding indicates;Second flow table item includes downlink business information corresponding to first GTP tunnel and for indicating the 2nd TEID of addition and performing the second action instruction of forwarding.The present invention can be realized open Flow Technique application in the telecommunication system.
Description
Technical field
The present invention relates to the communications field, and more particularly, to a kind of apparatus and method for data forwarding.
Background technology
Open flows(OpenFlow)Technology is based on transmission control protocol(Transmission Control Protocol,
TCP)/ Internet protocol(Internet Protocol, IP)Technical conditions, solves current net with the network interconnection theory of innovation
Network faces a variety of bottlenecks caused by new business.Its packet repeating process that will be controlled completely by switch/router originally, turn
Turn to the self-contained process being respectively completed by open flows switch and control server.Increasing mainstream vendor starts support and opened
Liberation techniques so that the route-exchanging device based on open Flow Technique turns into a kind of following trend.
It is a problem urgently to be resolved hurrily how open Flow Technique to be applied in telecommunication system.
The content of the invention
, can will the embodiments of the invention provide a kind of controller, open flow device and method for data forwarding
Open Flow Technique application is in the telecommunication system.
First aspect, there is provided a kind of controller, including memory and processor;Wherein, the memory storage program generation
Code, the processor calls the program code stored in the memory, for performing following operation:Generate the first general packet without
First tunnel endpoint identifier TEID of line Service Tunneling Protocol GTP tunnel simultaneously sends the first TEID to base station, and receives
2nd TEID of first GTP tunnel that the base station generates and sends;Based on the first TEID and the 2nd TEID, to open flows
Equipment sends the first flow table item and the second flow table item, and first flow table item includes uplink service corresponding to first GTP tunnel and believed
Breath and the first action for indicating the first TEID to be deleted and performed forwarding indicate;Second flow table item include this first
Downlink business information corresponding to GTP tunnel and the second action instruction for indicating the 2nd TEID of addition and execution forwarding.
With reference in a first aspect, in the first possible implementation of first aspect, the processor calls the memory
The program code of middle storage, it is specific to perform following operate:Generate the first TEID and by mobility management entity MME to base
Stand and send the first TEID, and receive the 2nd TEID that the base station generates and passes through MME transmissions.
With reference in a first aspect, in second of possible implementation of first aspect, the processor calls the memory
The program code of middle storage, it is specific to perform following operate:Generate the first TEID and sent based on S1-C interfaces to base station and is somebody's turn to do
First TEID, and receive the 2nd TEID that is that the base station generates and being sent based on S1-C interfaces.
With reference in a first aspect, the first or second of possible implementation of first aspect, the 3rd of first aspect the
In the possible implementation of kind, the processor calls the program code stored in the memory, specifically for performing following grasp
Make:Flow device, which is opened, to this sends first flow table item and second flow table item;Wherein, in first flow table item, this first
Uplink service information corresponding to GTP tunnel includes IP address, the IP address of server and the first TEID of the base station;At this
In second flow table item, downlink business information corresponding to first GTP tunnel includes user equipment corresponding to first GTP tunnel
IP address, the IP address of server.
With reference in a first aspect, in the 4th kind of possible implementation of first aspect, the uplink service letter is included in
In the packet header domain of first flow table item, the first action instruction is included in the action fields of first flow table item, described
Downlink business letter is included in the packet header domain of second flow table item, and the second action instruction is included in second flow table item
Action fields in.
Second aspect, there is provided a kind of open flow device, including memory and processor;Wherein, the memory storage journey
Sequence code, the processor calls the program code stored in the memory, for performing following operation:Controller is received to send
The first flow table item and the second flow table item, first flow table item includes uplink service information and use corresponding to first GTP tunnel
The first TEID of first GTP tunnel is deleted in instruction and the first action of execution forwarding indicates;The second flow table item bag
Include downlink business information corresponding to first GTP tunnel and for indicating to add the 2nd TEID of first GTP tunnel and holding
Second action instruction of row forwarding;In business information and first flow table item in the first uplink data messages received
Corresponding to first GTP tunnel during uplink service information matches, based on the first action instruction in first flow table item, delete
The first TEID in first uplink data messages simultaneously forwards first uplink data messages;In the first time line number received
During downlink business information matches corresponding with first GTP tunnel in second flow table item according to the business information in message, base
The second action instruction in second flow table item, adds the 2nd TEID and forwards in the first downstream data message and be somebody's turn to do
First downstream data message.
With reference to second aspect, in the first possible implementation of second aspect, corresponding to first GTP tunnel on
Industry business information includes IP address, the IP address of server and the first TEID of the base station;Corresponding to first GTP tunnel
Downlink business information includes the IP address of user equipment, the IP address of server corresponding to first GTP tunnel.
With reference to second aspect or the first possible implementation, in second of possible implementation of second aspect
In, the uplink service letter is included in the packet header domain of first flow table item, and the first action instruction is included in described the
In the action fields of one flow table item, the downlink business letter is included in the packet header domain of second flow table item, second action
Instruction is included in the action fields of second flow table item.
The third aspect, there is provided a kind of controller, including generation module and transceiver module;The generation module is used to generate the
First tunnel endpoint identifier TEID of one general packet radio service tunnel agreement GTP tunnel;The transceiver module is used for base
Stand and send the first TEID, and receive the 2nd TEID of first GTP tunnel that the base station generates and sends;The generation module
It is additionally operable to based on the first TEID and the 2nd TEID, generates the first flow table item and the second flow table item, wrapped in first flow table item
Include uplink service information corresponding to first GTP tunnel and for indicating the first TEID to be deleted and performed the first of forwarding
Action instruction;Second flow table item include downlink business information corresponding to first GTP tunnel and for indicate addition this second
TEID and the second action instruction for performing forwarding;The transceiver module be additionally operable to open flow device send first flow table item and
Second flow table item.
With reference to the third aspect, in the first possible implementation of the third aspect, the transceiver module is specifically used for:It is logical
Cross mobility management entity MME and send the first TEID to base station, and receive the base station and generate and pass through being somebody's turn to do for MME transmissions
2nd TEID.
With reference to the third aspect, in second of possible implementation of the third aspect, the transceiver module is specifically used for:Base
Send the first TEID to base station in S1-C interfaces, and receive the base station generation and based on S1-C interfaces send this second
TEID。
With reference to the third aspect, or the first or second of possible implementation of the third aspect, the of the third aspect
In three kinds of possible implementations, the generation module is specifically used for based on the first TEID and the 2nd TEID, generate this first
Flow table item and second flow table item;In first flow table item, uplink service information corresponding to first GTP tunnel includes the base
IP address, the IP address of server and the first TEID to stand;In second flow table item, corresponding to first GTP tunnel
Downlink business information includes the IP address of user equipment, the IP address of server corresponding to first GTP tunnel.
With reference to the third aspect or a kind of any of the above described possible implementation of the third aspect, the 3rd of fourth aspect the
In the possible implementation of kind, the uplink service letter is included in the packet header domain of first flow table item, first action
Instruction is included in the action fields of first flow table item, and the downlink business letter is included in the packet header domain of second flow table item
In, the second action instruction is included in the action fields of second flow table item.
Fourth aspect, there is provided a kind of open flow device, including receiving module and processing module;Wherein, the receiving module
For receiving the first flow table item and the second flow table item of controller transmission, first flow table item is corresponding including first GTP tunnel
Uplink service information and the first action for indicating the first TEID of first GTP tunnel to be deleted and performed forwarding refer to
Show;Second flow table item includes downlink business information corresponding to first GTP tunnel and for indicating to add first GTP tunnel
The 2nd TEID and perform forwarding second action instruction;The receiving module is additionally operable to receive in the first uplink data messages,
And first downstream data message;Business information in first uplink data messages with first flow table item this first
Corresponding to GTP tunnel during uplink service information matches, the processing module is indicated based on first action in first flow table item,
Delete the first TEID in first uplink data messages and forward first uplink data messages;In the first downstream data
During corresponding with first GTP tunnel in second flow table item downlink business information matches of business information in message, at this
Module is managed based on the second action instruction in second flow table item, the 2nd TEID is added in the first downstream data message
And forward the first downstream data message.
With reference to fourth aspect, in the first possible implementation of fourth aspect, in first flow table item, this
Uplink service information corresponding to one GTP tunnel includes IP address, the IP address of server and the first TEID of the base station;
In second flow table item, downlink business information corresponding to first GTP tunnel includes user equipment corresponding to first GTP tunnel
IP address, the IP address of server.
With reference to the possible implementation of the first of fourth aspect or fourth aspect, second in fourth aspect may
Implementation in, the uplink service letter is included in the packet header domain of first flow table item, it is described first action instruction bag
Include in the action fields of first flow table item, the downlink business letter is included in the packet header domain of second flow table item, institute
The second action instruction is stated to be included in the action fields of second flow table item.
5th aspect, there is provided a kind of method for data forwarding, including:Controller generates the first general grouped wireless
First tunnel endpoint identifier TEID of Service Tunneling Protocol GTP tunnel simultaneously sends the first TEID to base station, and receives and be somebody's turn to do
2nd TEID of first GTP tunnel that base station generates and sends;The controller to open flow device send the first flow table item and
Second flow table item, first flow table item include uplink service information corresponding to first GTP tunnel and for indicate by this
One TEID deletes and performed the first action instruction of forwarding;Second flow table item includes descending corresponding to first GTP tunnel
Business information and the second action instruction for indicating the 2nd TEID of addition and execution forwarding.
With reference to the 5th aspect, in the first possible implementation of the 5th aspect, the controller generates the first GTP tunnels
First TEID in road simultaneously sends the first TEID to base station, and receives first GTP tunnel that the base station generates and sends
2nd TEID, including:The controller generate the first TEID and by mobility management entity MME to base station send this first
TEID, and receive the 2nd TEID that the base station generates and passes through MME transmissions.
With reference to the 5th aspect, in second of possible implementation of the 5th aspect, the controller generates the first GTP tunnels
First TEID in road simultaneously sends the first TEID to base station, and receives first GTP tunnel that the base station generates and sends
2nd TEID, including:The controller generates the first TEID and sends the first TEID, Yi Jijie to base station based on S1-C interfaces
The 2nd TEID that is receiving base station generation and being sent based on S1-C interfaces.
With reference to the 5th aspect, or the first or second of possible implementation of the 5th aspect, the of the 5th aspect
In three kinds of possible implementations, in first flow table item, uplink service information corresponding to first GTP tunnel includes the base
IP address, the IP address of server and the first TEID to stand;In second flow table item, corresponding to first GTP tunnel
Downlink business information includes the IP address of user equipment, the IP address of server corresponding to first GTP tunnel.
With reference to the 5th aspect or a kind of any of the above described possible implementation of the 5th aspect, the second of the 5th aspect
In the possible implementation of kind, the uplink service letter is included in the packet header domain of first flow table item, first action
Instruction is included in the action fields of first flow table item, and the downlink business letter is included in the packet header domain of second flow table item
In, the second action instruction is included in the action fields of second flow table item.
6th aspect, there is provided a kind of method for data forwarding, including:Open flow device receives what controller was sent
First flow table item and the second flow table item, first flow table item include uplink service information corresponding to first GTP tunnel and are used for
The first action for indicating the first TEID of first GTP tunnel to be deleted and performed forwarding indicates;Second flow table item includes
Downlink business information corresponding to first GTP tunnel and the 2nd TEID and execution for indicating addition first GTP tunnel
Second action instruction of forwarding;Business information in the first uplink data messages received and being somebody's turn to do in first flow table item
Corresponding to first GTP tunnel during uplink service information matches, based on the first action instruction in first flow table item, deleting should
The first TEID in first uplink data messages simultaneously forwards first uplink data messages;In the first downstream data received
During corresponding with first GTP tunnel in second flow table item downlink business information matches of business information in message, it is based on
The second action instruction in second flow table item, the 2nd TEID is added in the first downstream data message and forward this
One downlink data message.
With reference to the 6th aspect, in the first possible implementation of the 6th aspect, in first flow table item, this
Uplink service information corresponding to one GTP tunnel includes IP address, the IP address of server and the first TEID of the base station;
In second flow table item, downlink business information corresponding to first GTP tunnel includes user equipment corresponding to first GTP tunnel
IP address, the IP address of server.
With reference to the 6th aspect or a kind of any of the above described possible implementation of the 6th aspect, the second of the 6th aspect
In the possible implementation of kind, the uplink service letter is included in the packet header domain of first flow table item, first action
Instruction is included in the action fields of first flow table item, and the downlink business letter is included in the packet header domain of second flow table item
In, the second action instruction is included in the action fields of second flow table item.
Therefore, in embodiments of the present invention, realize that GTP tunnel is handed over the control information of base station during establishing by controller
Mutually, the operation of TEID plus-minuss is carried out to data message corresponding to the GTP tunnel as open flow device and forwarding operates, so as to reality
In the case of keeping traditional base station constant now, by open Flow Technique application in the telecommunication system.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, it will make below to required in the embodiment of the present invention
Accompanying drawing is briefly described, it should be apparent that, drawings described below is only some embodiments of the present invention, for
For those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings
Accompanying drawing.
Fig. 1 is application scenario diagram according to embodiments of the present invention.
Fig. 2 is the indicative flowchart of the method according to another embodiment of the present invention for data forwarding.
Fig. 3 is the schematic block diagram of controller according to another embodiment of the present invention.
Fig. 4 is the schematic block diagram of controller according to another embodiment of the present invention.
Fig. 5 is the indicative flowchart of the method according to another embodiment of the present invention for data forwarding.
Fig. 6 is the schematic block diagram of open flow device according to another embodiment of the present invention.
Fig. 7 is the schematic block diagram of open flow device according to another embodiment of the present invention.
Fig. 8 is the indicative flowchart of the method according to another embodiment of the present invention for data forwarding.
Embodiment
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
Site preparation describes, it is clear that described embodiment is the part of the embodiment of the present invention, rather than whole embodiments.Based on this hair
Embodiment in bright, the every other reality that those of ordinary skill in the art are obtained on the premise of creative work is not made
Example is applied, should all belong to the scope of protection of the invention.
It should be understood that the telecommunication system in the embodiment of the present invention can include Generation Mobile Telecommunication System(2nd-
generation2G)System, 3G (Third Generation) Moblie(3rd-generation, 3G)System, Long Term Evolution(Long Term
Evolution, LTE)System, enhanced LTE(LTE-Advanced, LTE-A)System.
Fig. 1 is application scenario diagram according to embodiments of the present invention.As shown in figure 1, under the scene, telecommunication system includes base
Stand, controller and open flow device.Certainly, the telecommunication system can also include other equipment, for sake of simplicity, no longer showing herein
Go out.
Under the scene, for access network, base station still retains S1 interfaces and interacted with core net, that is to say, that
Data message from base station to core network user equipment when, it is still desirable to general packet is established by S1-C interfaces and core net
Radio Service Tunneling Protocol(General Packet Radio Service Tunneling Protocol, GTP)Tunnel connects
Connect, and GTPU data messages are transmitted by the GTP tunnel established with core net based on S1-U interface.Core net can be supported to open
Stream protocol, i.e., TEID is generated by controller, and TEID is interacted with base station, to establish the GTP tunnel between base station and core net, and
TEID corresponding to the GTP tunnel established as open flow device by deleting or adding controller control realize forwarding general packet without
Line Service Tunneling Protocol user plane(General Packet Radio Service Tunneling Protocol User
Plane, GTPU)Data message is to far-end server, or the data message for forwarding far-end server to be sent to base station, that is,
Say, the embodiment of the present invention is by the gateway in original core net(Servicing Gateway, SGW)And packet gateway
(Packet Gateway, PGW)Replace with the controller of the embodiment of the present invention and open flow device.
Under the scene, controller can have MME function, and TEID is interacted with base station by S1-C interfaces, with control
GTP tunnel is established, wherein, the tunnel endpoint identifier that controller is sent to base station(Tunnel end point ID, TEID)For
The TEID of controller generation.Controller can also be without function, i.e. controller and MME possessed by the MME in telecommunication system
It is separate, then now, the TEID of this itself generation can be sent to MME by controller, by MME by the controller
TEID is sent to base station, and now, the interface between MME and base station is S1-C interfaces.
In embodiments of the present invention, the interface between controller and open flow device strengthens interface for a kind of open flows.
In embodiments of the present invention, uplink data messages refer to by the data message of base station to server;Downlink data report
Text refers to by the data message of server to base station.
Interacting TEID with base station, after establishing the first GTP tunnel between base station and core net, the controller to
Open flow device sends the first flow table item and the second flow table item, and first flow table item includes up corresponding to first GTP tunnel
Business information and the first action for indicating the first TEID to be deleted and performed forwarding indicate;Second flow table item includes
Downlink business information corresponding to first GTP tunnel and the second action for indicating the 2nd TEID of addition and execution forwarding
Instruction.Base station will add the first TEID in the first uplink data messages of user equipment, and send to open flow device;Receiving
To the first uplink data messages in business information and first GTP tunnel in first flow table item it is corresponding up
When business information matches, open flow device can be indicated based on first action in first flow table item, described in deletion
The first TEID in first uplink data messages simultaneously forwards first uplink data messages;Server receives user and set
After the first standby uplink data messages, by the first downstream data message that sending destination location is user equipment;What is received
Business information downlink business corresponding with first GTP tunnel in second flow table item in first downstream data message
During information matches, open flow device can be based on the second action instruction in second flow table item, under described first
The 2nd TEID is added in row data message and forwards the first downstream data message.
Therefore, in embodiments of the present invention, realize that GTP tunnel is handed over the control information of base station during establishing by controller
Mutually, TEID plus-minus behaviour is carried out to data message corresponding to the GTP tunnel based on the flow table item that controller issues as open flow device
Make and forwarding operates, so as to realize in the case where keeping traditional base station constant, open Flow Technique is applied in telecommunications system
In system.
In order to which the present invention is more clearly understood, the embodiment of the present invention will be described in detail from controller side below.
Fig. 2 is the indicative flowchart of the method 100 for data transfer according to embodiments of the present invention.As shown in Fig. 2
This method 100 can include:
110, controller generate the first GTP tunnel the first tunnel endpoint identifier TEID and to base station send this first
TEID, and receive the 2nd TEID of first GTP tunnel that the base station generates and sends;
120, based on the first TEID and the 2nd TEID, the controller sends the first flow table item and the to flow device is opened
Two flow table items, first flow table item include uplink service information corresponding to first GTP tunnel and for indicate by this first
TEID deletes and performed the first action instruction of forwarding;Second flow table item includes lower industry corresponding to first GTP tunnel
Information of being engaged in and the second action instruction for indicating the 2nd TEID of addition and execution forwarding.
In embodiments of the present invention, controller interacts the TEID of each self-generating with base station, establishes between base station and core net
For the first GTP tunnel of the data message for transmitting user equipment, the controller to open flow device send the first flow table item and
Second flow table item, first flow table item include uplink service information corresponding to first GTP tunnel and for indicate by this first
TEID deletes and performed the first action instruction of forwarding;Second flow table item includes lower industry corresponding to first GTP tunnel
Information of being engaged in and the second action instruction for indicating the 2nd TEID of addition and execution forwarding;So as on first received
Business information uplink service information corresponding with first GTP tunnel in first flow table item in row data message
Timing, open flow device can delete line number on described first based on the first action instruction in first flow table item
According to the first TEID in message and forward first uplink data messages;In the first downstream data message received
Business information corresponding with first GTP tunnel in second flow table item downlink business information matches when, open flows
Equipment can add institute based on the second action instruction in second flow table item in the first downstream data message
State the 2nd TEID and forward the first downstream data message.
Therefore, in embodiments of the present invention, realize that GTP tunnel is handed over the control information of base station during establishing by controller
Mutually, TEID plus-minus behaviour is carried out to data message corresponding to the GTP tunnel based on the flow table item that controller issues as open flow device
Make and forwarding operates, so as to realize in the case where keeping traditional base station constant, open Flow Technique is applied in telecommunications system
In system.
In embodiments of the present invention, controller can also preserve the first TEID and the 2nd TEID corresponding relation.From
And when the controller breaks down, new controller can be caused to establish GTP tunnels with base station again based on the corresponding relation
Road, and issue the first flow table item and the second flow table item to flow device is correspondingly opened;Or having been received by above-mentioned first flow table
During the open flows device fails of item and the second flow table item, controller can be based on the corresponding relation again to other open flows
Equipment issues first flow table item and the second flow table item.
In embodiments of the present invention, the controller generates the first TEID of the first GTP tunnel in 110 and sent to base station should
First TEID, and the 2nd TEID of first GTP tunnel that the base station generates and sends is received, it can include:The controller
Generate the first TEID and the first TEID is sent to base station by mobility management entity MME, and receive base station generation
And the 2nd TEID sent by the MME.
That is, in embodiments of the present invention, controller can have the work(of original MME in existing telecommunication system
Can, TEID is interacted with base station by S1-C interfaces, to establish GTP tunnel, wherein, the TEID that controller is sent to base station is control
First TEID of device itself generation.
In embodiments of the present invention, the controller generates the first TEID of the first GTP tunnel and sent to base station in S110
First TEID, and the 2nd TEID of first GTP tunnel that the base station generates and sends is received, it can include:The control
Device generates the first TEID and sends the first TEID to base station based on S1-C interfaces, and receives that the base station generates and be based on
The 2nd TEID that S1-C interfaces are sent.
That is, in embodiments of the present invention, controller can have the function of the MME in existing telecommunication system, directly
Connect S1-C interfaces and interact TEID with base station, to establish GTP tunnel, wherein, the TEID that controller is sent to base station is control
First TEID of device itself generation.
According to an embodiment of the invention, the uplink service letter is included in the packet header domain of first flow table item, described
First action instruction is included in the action fields of first flow table item, and the downlink business letter is included in second flow table item
Packet header domain in, it is described second action instruction is included in the action fields of second flow table item.
The content of the first flow table item and the second flow table item described in the embodiment of the present invention can be with as shown in table 1 below, including bag
Header field, counter domain and action fields.
Table 1
Packet header domain | Counter | Action |
In embodiments of the present invention, in first flow table item, uplink service corresponding to first GTP tunnel in the domain of packet header
Information includes IP address, the IP address of server and the first TEID of the base station.Certainly, the first GTP in the packet header domain
Uplink service information corresponding to tunnel can also include TCP/UDP source port numbers, TCP/UDP destination slogans, IP tos information,
Information of user equipment etc..In first flow table item, action fields can include be used for indicate by the first TEID delete and
The first action instruction of forwarding is performed, can specifically include what fields and needs of the first TEID in data message forwarded
Port.
In embodiments of the present invention, in second flow table item, corresponding to first GTP tunnel that packet header domain includes under
Industry business information includes the IP address of user equipment and the IP address of server corresponding to first GTP tunnel.Wherein, the base
The IP address stood is purpose IP address, and the IP address of the server is source IP address.Certainly, the first GTP tunnels in the packet header domain
Downlink business information corresponding to road can also include TCP/UDP source port numbers, TCP/UDP destination slogans, IP tos information etc.
Some other information in existing flow table item.Action fields can include being used to indicate that the 2nd TEID of addition the second action to refer to
Show, can specifically include the end that positions and needs of the 2nd TEID and the 2nd TEID in data message packet header forward
Mouthful etc..
In embodiments of the present invention, the action fields in the first flow table item and the second flow table item can also have other actions to refer to
Show;For example, for the first flow table item, in addition to for indicating to be deleted the base station IP address in uplink data messages
Operation etc.;For the second flow table item, in addition to for indicating the behaviour of the addition base station IP address in downlink data message
Make etc..
In embodiments of the present invention, first flow table item and the second flow table item can also include counter domain, the counter
Domain instruction counts to the project that counts of needs, so as to open flow device can according to counter domain instruction to needing to count
Project counted, specific implementation may be referred to prior art, for sake of simplicity, will not be repeated here.
In embodiments of the present invention, controller can interact the TEID of multiple GTP tunnels with base station, and for different
GTP tunnel, can to it is different open flow device send different GTP tunnels corresponding to flow table item, set by different open flows
It is standby to perform the TEID of data message addition and deletion action corresponding to corresponding GTP tunnel and message forwarding operation.
In embodiments of the present invention, controller can establish multiple GTP tunnels with base station, can for the plurality of GTP tunnel
It is any in the plurality of GTP tunnel is received to send flow table item corresponding to the plurality of GTP tunnel to the same flow device that opens
, can be according to flow table item corresponding to any GTP tunnel, by the same open flow device corresponding to GTP tunnel during data message
Realize the TEID of data message addition and deletion action corresponding to any GTP tunnel and message forwarding operation.
It should be understood that in embodiments of the present invention, flow table item corresponding to GTP tunnel refers to be used to indicate to open flow device to this
Data message corresponding to GTP tunnel carries out the flow table item of TEID deletions and addition, for example, the first flow table item and second above
Flow table item is flow table item corresponding to the first GTP tunnel.It should also be understood that in embodiments of the present invention, GTP tunnel corresponding data message
Refer to the data message that the business information in the flow table item corresponding with the GTP tunnel of the business information in packet header matches.
Therefore, in embodiments of the present invention, realize that GTP tunnel is handed over the control information of base station during establishing by controller
Mutually, flow table item is based on as open flow device to operate data message progress TEID plus-minuss operation and forwarding corresponding to the GTP tunnel,
So as to realize in the case where keeping traditional base station constant, by open Flow Technique application in the telecommunication system.
Fig. 3 is the schematic block diagram of controller 200 according to embodiments of the present invention.As shown in figure 3, the controller 200 wraps
Include memory 210 and processor 220;Wherein, the store program codes of memory 210, the processor 220 call the memory
Program code stored in 210, for performing following operation:Generate the first general packet radio service tunnel agreement GTP tunnels
The first tunnel endpoint identifier TEID in road simultaneously sends the first TEID to base station, and receive that the base station generates and sends should
2nd TEID of the first GTP tunnel;Based on the first TEID and the 2nd TEID, to open flow device send the first flow table item and
Second flow table item, first flow table item include uplink service information corresponding to first GTP tunnel and for indicate by this first
TEID deletes and performed the first action instruction of forwarding;Second flow table item includes lower industry corresponding to first GTP tunnel
Information of being engaged in and the second action instruction for indicating the 2nd TEID of addition and execution forwarding.
Alternatively, the processor 220 calls the program code stored in the memory 210, is additionally operable to perform following behaviour
Make:Generate the first TEID and the first TEID is sent to base station by mobility management entity MME, and receive base station life
Into and by the MME send the 2nd TEID.
Alternatively, the processor 220 calls the program code stored in the memory 210, specific to perform following operate:
Generate the first TEID and the first TEID is sent to base station based on S1-C interfaces, and receive that the base station generates and be based on
The 2nd TEID that S1-C interfaces are sent.
Alternatively, the processor 220 calls the program code stored in the memory 210, specific to perform following operate:
Flow device, which is opened, to this sends first flow table item and second flow table item;Wherein, wherein, in first flow table item, institute
State the IP address of uplink service information corresponding to the first GTP tunnel including the base station, the IP address of server and described the
One TEID;In second flow table item, downlink business information corresponding to first GTP tunnel includes the first GTP tunnels
The IP address of user equipment corresponding to road, the IP address of server.
According to an embodiment of the invention, the uplink service letter is included in the packet header domain of first flow table item, described
First action instruction is included in the action fields of first flow table item, and the downlink business letter is included in second flow table item
Packet header domain in, it is described second action instruction is included in the action fields of second flow table item.
It should be understood that controller 200 according to embodiments of the present invention may correspond in the embodiment of the present invention turn for data
Controller 200 in the method 100 of hair, it is possible to achieve the corresponding flow in method 100, for sake of simplicity, will not be repeated here.
Therefore, in embodiments of the present invention, realize that GTP tunnel is handed over the control information of base station during establishing by controller
Mutually, TEID plus-minus behaviour is carried out to data message corresponding to the GTP tunnel based on the flow table item that controller issues as open flow device
Make and forwarding operates, so as to realize in the case where keeping traditional base station constant, open Flow Technique is applied in telecommunications system
In system.
Fig. 4 is the schematic block diagram of controller 300 according to embodiments of the present invention.As shown in figure 4, the controller 300 wraps
Include transceiver module 310 and generation module 320;
Wherein, the generation module 320 is used for the first tunnel for generating the first general packet radio service tunnel agreement GTP tunnel
Road endpoint identifier TEID;The transceiver module 310 is used to send the first TEID to base station, and receives base station generation concurrently
2nd TEID of first GTP tunnel sent;The generation module 320 is additionally operable to based on the first TEID and the 2nd TEID, raw
Into the first flow table item and the second flow table item, first flow table item includes uplink service information and use corresponding to first GTP tunnel
The first TEID is deleted in instruction and the first action of execution forwarding indicates;Second flow table item includes the first GTP tunnels
Downlink business information corresponding to road and the second action instruction for indicating the 2nd TEID of addition and execution forwarding;The transmitting-receiving
Module 310 is additionally operable to send first flow table item and second flow table item to opening flow device.
Alternatively, the transceiver module 310 is specifically used for:By mobility management entity MME to base station send this first
TEID, and receive the 2nd TEID that the base station generates and passes through MME transmissions.
Alternatively, the transceiver module 310 is specifically used for:First TEID, Yi Jijie are sent to base station based on S1-C interfaces
The 2nd TEID that is receiving base station generation and being sent based on S1-C interfaces.
Alternatively, the generation module 320 is specifically used for, based on the first TEID and the 2nd TEID, generating first flow table
Item and second flow table item;Wherein, in first flow table item, uplink service packet corresponding to first GTP tunnel
Include the IP address of the base station, the IP address of server and the first TEID;In second flow table item, described first
Downlink business information corresponding to GTP tunnel includes the IP address of user equipment, the IP of server corresponding to first GTP tunnel
Address.It should be understood that controller 300 according to embodiments of the present invention may correspond in the embodiment of the present invention be used for data forwarding
Controller 300 in method 100, it is possible to achieve the corresponding flow in method 100, for sake of simplicity, will not be repeated here.
According to an embodiment of the invention, the uplink service letter is included in the packet header domain of first flow table item, described
First action instruction is included in the action fields of first flow table item, and the downlink business letter is included in second flow table item
Packet header domain in, it is described second action instruction is included in the action fields of second flow table item.
Therefore, in embodiments of the present invention, realize that GTP tunnel is handed over the control information of base station during establishing by controller
Mutually, TEID plus-minus behaviour is carried out to data message corresponding to the GTP tunnel based on the flow table item that controller issues as open flow device
Make and forwarding operates, so as to realize in the case where keeping traditional base station constant, open Flow Technique is applied in telecommunications system
In system.
The embodiment of the present invention is described from controller side above, below will be from open flow device to of the invention real
Example is applied to be described.
Fig. 5 is the indicative flowchart of the method 400 for data forwarding according to embodiments of the present invention.As shown in figure 5,
This method 400 can include:
410, open flow device receives the first flow table item and the second flow table item that controller is sent, and first flow table item includes
Uplink service information corresponding to first GTP tunnel and including for indicate by the first TEID of first GTP tunnel delete with
And perform the first action instruction of forwarding;Second flow table item includes downlink business information and bag corresponding to first GTP tunnel
Include for indicating to add the 2nd TEID of first GTP tunnel and performing the second action instruction of forwarding.
420, the first GTP in business information and first flow table item in the first uplink data messages received
Corresponding to tunnel during uplink service information matches, based on the first action instruction in first flow table item, this is deleted on first
The first TEID in row data message simultaneously forwards first uplink data messages;In the first downstream data message received
Business information corresponding with first GTP tunnel in second flow table item downlink business information matches when, based on this
The second action instruction in two flow table items, adds the 2nd TEID in the first downstream data message and forwards this under first
Row data message.
In embodiments of the present invention, controller interacts the TEID of each self-generating with base station, establishes between base station and core net
For the first GTP tunnel of information transfer, the controller sends the first flow table item and the second flow table item to flow device is opened, and this
One flow table item includes uplink service information corresponding to first GTP tunnel and for indicating that the first TEID is deleted and performed
First action instruction of forwarding;Second flow table item includes downlink business information corresponding to first GTP tunnel and for indicating
Add the 2nd TEID and perform the second action instruction of forwarding;So as to the industry in the first uplink data messages received
During corresponding with first GTP tunnel in the packet header domain of first flow table item uplink service information matches of information of being engaged in, open
Equipment is released to delete in first uplink data messages based on the first action instruction in first flow table item
The first TEID and forward first uplink data messages;Business letter in the first downstream data message received
When ceasing downlink business information matches corresponding with first GTP tunnel in second flow table item, open flow device can
Based on the second action instruction in second flow table item, described second is added in the first downstream data message
TEID simultaneously forwards the first downstream data message.
Therefore, in embodiments of the present invention, realize that GTP tunnel is handed over the control information of base station during establishing by controller
Mutually, the operation of TEID plus-minuss is carried out to data message corresponding to the GTP tunnel as open flow device and forwarding operates, so as to reality
In the case of keeping traditional base station constant now, by open Flow Technique application in the telecommunication system.
According to an embodiment of the invention, the uplink service letter is included in the packet header domain of first flow table item, described
First action instruction is included in the action fields of first flow table item, and the downlink business letter is included in second flow table item
Packet header domain in, it is described second action instruction is included in the action fields of second flow table item.
The content of the first flow table item and the second flow table item described in the embodiment of the present invention can be as shown in table 1, including packet header
Domain, counter domain and action fields.
In embodiments of the present invention, in first flow table item, uplink service corresponding to first GTP tunnel in the domain of packet header
Information includes IP address, the IP address of server and the 2nd TEID of the base station, wherein, the IP address of the base station is source IP
Address, the IP address of the server is purpose IP address.Certainly, uplink service corresponding to the first GTP tunnel in the packet header domain
Information can also include TCP/UDP source port numbers, TCP/UDP destination slogans, IP tos information, the IP address of user equipment etc.
Other information.In first flow table item, action fields can include being used to indicate to delete and perform forwarding by the first TEID
The first action instruction, can specifically include the port that forwards of fields and needs of the first TEID in data message.
In embodiments of the present invention, in second flow table item, downlink business information corresponding to first GTP tunnel includes
The IP address of user equipment, the IP address of server and the first TEID corresponding to first GTP tunnel.Certainly, the packet header
Downlink business information corresponding to the first GTP tunnel in domain can also include TCP/UDP source port numbers, TCP/UDP destination interfaces
Number, some other information in the existing flow table item such as IP tos information.Action fields can include be used for indicate addition this second
TEID the second action instruction, it can specifically include the 2nd TEID and the 2nd TEID the position in data message packet header
And need port for forwarding etc..
In embodiments of the present invention, the action fields in the first flow table item and the second flow table item can also have other actions to refer to
Show;For example, for the first flow table item, in addition to for indicating to be deleted the base station IP address in uplink data messages
Operation etc.;For the second flow table item, in addition to for indicating the behaviour of the addition base station IP address in downlink data message
Make etc..
In embodiments of the present invention, first flow table item and the second flow table item can also include counter domain, the counter
Domain instruction counts to the project that counts of needs, so as to open flow device can according to counter domain instruction to needing to count
Project counted, specific implementation may be referred to prior art, for sake of simplicity, will not be repeated here.
In embodiments of the present invention, controller can establish multiple GTP tunnels with base station, can for the plurality of GTP tunnel
It is any in the plurality of GTP tunnel is received to send flow table item corresponding to the plurality of GTP tunnel to the same flow device that opens
, can be according to flow table item corresponding to any GTP tunnel, by the same open flow device corresponding to GTP tunnel during data message
Realize the TEID of data message addition and deletion action corresponding to any GTP tunnel and message forwarding operation.
It should be understood that in embodiments of the present invention, flow table item corresponding to GTP tunnel refers to be used to indicate to open flow device to this
Data message corresponding to GTP tunnel carries out the flow table item of TEID deletions and addition, for example, the first flow table item and second above
Flow table item is flow table item corresponding to the first GTP tunnel.It should also be understood that in embodiments of the present invention, GTP tunnel corresponding data message
Refer to the data message that the business information in the flow table item corresponding with the GTP tunnel of the business information in packet header matches.
Therefore, in embodiments of the present invention, realize that GTP tunnel is handed over the control information of base station during establishing by controller
Mutually, TEID plus-minus behaviour is carried out to data message corresponding to the GTP tunnel based on the flow table item that controller issues as open flow device
Make and forwarding operates, so as to realize in the case where keeping traditional base station constant, open Flow Technique is applied in telecommunications system
In system.
Fig. 6 is the schematic block diagram of opening flow device 500 according to embodiments of the present invention.As shown in fig. 6, the open flows are set
Standby 500 include memory 510 and processor 520;Wherein, the store program codes of memory 510, the processor 520 calls should
Program code stored in memory 510, for performing following operation:Receive the first flow table item and second that controller is sent
Flow table item, first flow table item include uplink service information corresponding to first GTP tunnel and for indicating the first GTP tunnels
First TEID in road deletes and performed the first action instruction of forwarding;Second flow table item and including first GTP tunnel pair
The second action that the downlink business information answered and the 2nd TEID and execution for indicating addition first GTP tunnel are forwarded refers to
Show;Business information in the first uplink data messages received is corresponding with first GTP tunnel in first flow table item
Uplink service information matches when, based in first flow table item this first action instruction, delete the first upstream data report
The first TEID in text simultaneously forwards first uplink data messages;Business letter in the first downstream data message received
When ceasing downlink business information matches corresponding with first GTP tunnel in second flow table item, based in second flow table item
This second action instruction, add the 2nd TEID in the first downstream data message and forward the first downstream data report
Text.
Alternatively, in first flow table item, uplink service information corresponding to first GTP tunnel includes the IP of the base station
Address, the IP address of server and the 2nd TEID, wherein, the IP address of the base station is source IP address, the IP of the server
Address is purpose IP address;In second flow table item, downlink business information corresponding to first GTP tunnel includes the base station
IP address, the IP address of server and the first TEID, wherein, the IP address of the base station is purpose IP address, the server
IP address be source IP address.
According to an embodiment of the invention, the uplink service letter is included in the packet header domain of first flow table item, described
First action instruction is included in the action fields of first flow table item, and the downlink business letter is included in second flow table item
Packet header domain in, it is described second action instruction is included in the action fields of second flow table item.
It should be understood that opening flow device 500 according to embodiments of the present invention may correspond in the embodiment of the present invention be used to count
According to open flow device in the method 400 of forwarding, it is possible to achieve the corresponding flow in method 400, for sake of simplicity, no longer superfluous herein
State.
Therefore, in embodiments of the present invention, realize that GTP tunnel is handed over the control information of base station during establishing by controller
Mutually, TEID plus-minus behaviour is carried out to data message corresponding to the GTP tunnel based on the flow table item that controller issues as open flow device
Make and forwarding operates, so as to realize in the case where keeping traditional base station constant, open Flow Technique is applied in telecommunications system
In system.
Fig. 7 is 600 schematic block diagram of opening flow device according to embodiments of the present invention.As shown in fig. 7, the open flows
Equipment 600 includes receiving module 610 and processing module 620;Wherein, the receiving module 610 is used to receive the of controller transmission
One flow table item and the second flow table item, first flow table item include uplink service information corresponding to first GTP tunnel and for referring to
Show the first action instruction that the first TEID of first GTP tunnel is deleted and performed forwarding;Second flow table item includes should
Downlink business information corresponding to first GTP tunnel and the 2nd TEID and execution for indicating addition first GTP tunnel turn
Second action instruction of hair;The receiving module 610 is additionally operable to receive in the first uplink data messages, and first downstream data report
Text;Business information in first uplink data messages and first GTP tunnel in first flow table item are corresponding up
When business information matches, it is first up to delete this based on the first action instruction in first flow table item for the processing module 620
The first TEID in data message simultaneously forwards first uplink data messages;Business letter in the first downstream data message
When ceasing downlink business information matches corresponding with first GTP tunnel in second flow table item, the processing module 620 is based on should
In second flow table item this second action instruction, add the 2nd TEID in the first downstream data message and forward this first
Downlink data message.
Alternatively, wherein, in first flow table item, uplink service information corresponding to first GTP tunnel includes
The IP address of the base station, the IP address of server and the first TEID;In second flow table item, described first
Downlink business information corresponding to GTP tunnel includes the IP address of user equipment, the IP of server corresponding to first GTP tunnel
Address.
According to an embodiment of the invention, the uplink service letter is included in the packet header domain of first flow table item, described
First action instruction is included in the action fields of first flow table item, and the downlink business letter is included in second flow table item
Packet header domain in, it is described second action instruction is included in the action fields of second flow table item.
It should be understood that opening flow device 600 according to embodiments of the present invention may correspond in the embodiment of the present invention be used to count
According to open flow device in the method 400 of forwarding, it is possible to achieve the corresponding flow in method 400, for sake of simplicity, no longer superfluous herein
State.
Therefore, in embodiments of the present invention, realize that GTP tunnel is handed over the control information of base station during establishing by controller
Mutually, TEID plus-minus behaviour is carried out to data message corresponding to the GTP tunnel based on the flow table item that controller issues as open flow device
Make and forwarding operates, so as to realize in the case where keeping traditional base station constant, open Flow Technique is applied in telecommunications system
In system.
In order to which the present invention is more clearly understood, described below with reference to Fig. 8 in a manner of interactive according to reality of the invention
Apply example.
701, base station determines to need the first GTP tunnel established between core net, and base station generates the 2nd TEID and is based on S1-C
Interface sends the 2nd TEID to controller.
702, controller determines to need the first GTP tunnel between base station and core net, and controller generates the first TEID simultaneously
First TEID is sent to base station based on S1-C interfaces.
703, controller sends the first flow table item and second according to the TEID and the 2nd TEID of itself to flow device 2 is opened
Flow table item, first flow table item carry the first GTP tunnel corresponding to uplink service information and for indicate delete the first TEID and
The action instruction of forwarding is performed, second flow table item carries downlink business information corresponding to the first GTP tunnel and for indicating to add
Add the 2nd TEID and perform the action instruction of forwarding.
704, IP address of the base station based on the opening flow device 1 itself stored, will take destination address is server and carrying
There are the uplink data messages of the first TEID and the IP address of itself to send to open flow device 1.
705, open flow device 2 passes through the exit port of the flow table item instruction of matching after the uplink data messages are received
The uplink data messages are forwarded, wherein, the flow table item in open flow device 1 can be sent by controller to the opening
Flow device 1.
706, open flow device 2 is when receiving the uplink data messages, it is determined that the flow table item of matching is the first flow table item,
The business information that i.e. uplink data messages carry and the uplink service information matches in the packet header domain of the first flow table item, from this
The flow table item matched somebody with somebody is understood, it is necessary to which the first TEID in the uplink data messages is deleted.Based on the flow table item, open flow device 1
The first TEID in the uplink data messages can be deleted.
707, after the first TEID in the packet header by the uplink data messages is deleted, it can be referred to based on first flow table item
The exit port shown, the uplink data messages are forwarded.
708, after server receives the uplink data messages, downlink data report that can be using sending destination location as base station
Text.
709, open flow device 2 is when receiving the downlink data message, it is determined that the flow table item of matching is the second flow table item,
The business information that i.e. downlink data message carries and the downlink business information matches in the packet header domain of the second flow table item, from this
The flow table item matched somebody with somebody is understood, it is necessary to add the 2nd TEID in the uplink data messages.Based on the flow table item, open flow device 2 can
To add the 2nd TEID in the downlink data message
710, after the packet header of the downlink data message is added into the 2nd TEID, it can be indicated based on second flow table item
Exit port, the downlink data message is forwarded.
711, open flow device 1 searches the flow table item of matching after the downlink data message is received, and by the lower line number
The exit port indicated according to message by the flow table item of matching forwards the downlink data message.
Although it should be understood that in Fig. 8,701 show before 702, and in the embodiment of the present invention or controller is first by itself
The TEID of generation is sent to base station, base station the TEID for generating itself send to controller or controller by itself
While the TEID of generation is sent to base station, base station sends the TEID that itself is generated to controller.Although it should also be understood that in figure
Two open flow devices are merely illustrated, core net is not limited and only includes two open flow devices, for example, the open He of flow device 1
There are one or more open flow devices between server.It should also be understood that although the controller shown in Fig. 8 has MME's
Function, the controller in the embodiment of the present invention can also be with MME independences, then now control between base station that can pass through MME
Interaction TEID.
Therefore, in embodiments of the present invention, realize that GTP tunnel is handed over the control information of base station during establishing by controller
Mutually, TEID plus-minus behaviour is carried out to data message corresponding to the GTP tunnel based on the flow table item that controller issues as open flow device
Make and forwarding operates, so as to realize in the case where keeping traditional base station constant, open Flow Technique is applied in telecommunications system
In system.
Those of ordinary skill in the art with reference to each method described in the embodiments described herein it is to be appreciated that walk
Rapid and unit, it can be realized with electronic hardware, computer software or the combination of the two, in order to clearly demonstrate hardware and soft
The interchangeability of part, the step of generally describing each embodiment according to function in the above description and composition.These
Function is performed with hardware or software mode actually, application-specific and design constraint depending on technical scheme.Ability
Domain those of ordinary skill can realize described function using distinct methods to each specific application, but this reality
Now it is not considered that beyond the scope of this invention.
The method or step described with reference to the embodiments described herein can use hardware, the software journey of computing device
Sequence, or the two combination are implemented.Software program can be placed in random access memory(RAM), internal memory, read-only storage(ROM)、
Institute is public in electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technical field
In any other form of storage medium known.
Although by reference to the mode of accompanying drawing and combination preferred embodiment to the present invention have been described in detail, the present invention
It is not limited to this.Without departing from the spirit and substance of the premise in the present invention, those of ordinary skill in the art can be to the present invention
Embodiment carry out various equivalent modifications or substitutions, and these modifications or substitutions all should be in the covering scope of the present invention.
Claims (16)
1. a kind of controller, it is characterised in that including memory and processor;Wherein, the memory storage program code, institute
State processor and call the described program code stored in the memory, for performing following operation:
Generate the first tunnel endpoint identifier TEID of the first general packet radio service tunnel agreement GTP tunnel and sent out to base station
The first TEID is sent, and receives the 2nd TEID of first GTP tunnel that the base station generates and sends;
Based on the first TEID and the 2nd TEID, the first flow table item and the second flow table item, institute are sent to flow device is opened
Stating the first flow table item includes uplink service information corresponding to first GTP tunnel and for indicating to delete the first TEID
And perform the first action instruction of forwarding;Second flow table item includes downlink business corresponding to first GTP tunnel and believed
Breath and the second action instruction for indicating to add the 2nd TEID and execution forwards.
2. controller according to claim 1, it is characterised in that the processor calls the institute stored in the memory
Program code is stated, it is specific to perform following operate:
Generate the first TEID and the first TEID is sent to base station by mobility management entity MME, and receive institute
State base station and generate and pass through the 2nd TEID that the MME is sent.
3. controller according to claim 1, it is characterised in that the processor calls the institute stored in the memory
Program code is stated, it is specific to perform following operate:
Generate the first TEID and the first TEID is sent to base station based on S1-C interfaces, and receive the base station generation
And based on S1-C interfaces send the 2nd TEID.
4. controller according to claim 1, it is characterised in that the processor calls the institute stored in the memory
Program code is stated, specifically for performing following operate:
First flow table item and second flow table item are sent to the flow device that opens;Wherein, in first flow table item
In, uplink service information corresponding to first GTP tunnel includes IP address, the IP address of server and the institute of the base station
State the first TEID;In second flow table item, downlink business information corresponding to first GTP tunnel includes described first
The IP address of user equipment corresponding to GTP tunnel, the IP address of server.
5. the controller according to any one of Claims 1-4, it is characterised in that the uplink service information includes
In the packet header domain of first flow table item, the first action instruction is included in the action fields of first flow table item, institute
State downlink business letter to be included in the packet header domain of second flow table item, the second action instruction is included in second flow table
In the action fields of item.
6. a kind of open flow device, it is characterised in that including memory and processor;Wherein, the memory storage program generation
Code, the processor calls the described program code stored in the memory, for performing following operation:
The first flow table item and the second flow table item that controller is sent are received, wherein the first-class list item includes the first general packet
Uplink service information corresponding to Radio Service Tunneling Protocol GTP tunnel and for indicating the first tunnel of first GTP tunnel
Road endpoint identifier TEID deletes and performed the first action instruction of forwarding, and second flow table item includes the first GTP
Downlink business information corresponding to tunnel and for indicating to add the 2nd TEID of first GTP tunnel and performing the of forwarding
Two action instructions;
First GTP tunnel pair of business information and first flow table item in the first uplink data messages received
During the uplink service information matches answered, based on the first action instruction in first flow table item, delete on described first
The first TEID in row data message simultaneously forwards first uplink data messages;
First GTP tunnel pair of business information and second flow table item in the first downstream data message received
It is descending described first based on the second action instruction in second flow table item during downlink business information matches answered
The 2nd TEID is added in data message and forwards the first downstream data message.
7. open flow device according to claim 6, it is characterised in that uplink service corresponding to first GTP tunnel
Information includes the IP address of base station, the IP address of server and the first TEID corresponding to first GTP tunnel;It is described
Downlink business information corresponding to first GTP tunnel includes the IP address of user equipment, server corresponding to first GTP tunnel
IP address.
8. the opening flow device according to claim 6 or 7, it is characterised in that the uplink service information is included in described
In the packet header domain of first flow table item, the first action instruction is included in the action fields of first flow table item, described descending
Business information is included in the packet header domain of second flow table item, and the second action instruction is included in second flow table item
In action fields.
A kind of 9. method for data forwarding, it is characterised in that including:
Controller generate the first general packet radio service tunnel agreement GTP tunnel the first tunnel endpoint identifier TEID and to
Base station sends the first TEID, and receives the 2nd TEID of first GTP tunnel that the base station generates and sends;
The controller sends the first flow table item and the second flow table item to flow device is opened, wherein the first-class list item includes institute
State uplink service information corresponding to the first GTP tunnel and for indicating the first TEID to be deleted and performed the first of forwarding
Action instruction, second flow table item include downlink business information corresponding to first GTP tunnel and for indicating to add institute
State the 2nd TEID and perform the second action instruction of forwarding.
10. according to the method for claim 9, it is characterised in that the controller generates the first TEID of the first GTP tunnel
And the first TEID is sent to base station, and receive the second of first GTP tunnel that the base station generates and sends
TEID, including:
The controller generates the first TEID and sends the first TEID to base station by mobility management entity MME,
And receive the base station and generate and pass through the 2nd TEID that the MME is sent.
11. according to the method for claim 9, it is characterised in that the controller generates the first TEID of the first GTP tunnel
And the first TEID is sent to base station, and receive the second of first GTP tunnel that the base station generates and sends
TEID, including:
The controller generates the first TEID and sends the first TEID to base station based on S1-C interfaces, and receives institute
The 2nd TEID that is stating base station generation and being sent based on S1-C interfaces.
12. according to the method for claim 9, it is characterised in that
The IP address of uplink service information corresponding to first GTP tunnel including the base station, the IP address of server and
2nd TEID;
Downlink business information corresponding to first GTP tunnel is with including the IP of user equipment corresponding to first GTP tunnel
Location and the IP address of server.
13. the method according to any one of claim 9 to 12, it is characterised in that the uplink service information includes
In the packet header domain of first flow table item, the first action instruction is included in the action fields of first flow table item, institute
State downlink business information to be included in the packet header domain of second flow table item, the second action instruction is included in the second
In the action fields of list item.
A kind of 14. method for data forwarding, it is characterised in that including:
Open flow device receives the first flow table item and the second flow table item that controller is sent, wherein the first-class list item includes the
Uplink service information corresponding to one general packet radio service tunnel agreement GTP tunnel and for indicating the first GTP tunnels
The first tunnel endpoint identifier TEID in road deletes and performed the first action instruction of forwarding, and second flow table item includes institute
State downlink business information corresponding to the first GTP tunnel and for indicating to add the 2nd TEID of first GTP tunnel and holding
Second action instruction of row forwarding;
Business information in the first uplink data messages received and first GTP tunnel in first flow table item
During corresponding uplink service information matches, based on the first action instruction in first flow table item, described first is deleted
The first TEID in uplink data messages simultaneously forwards first uplink data messages;
Business information in the first downstream data message received and first GTP tunnel in second flow table item
During corresponding downlink business information matches, based on the second action instruction in second flow table item, under described first
The 2nd TEID is added in row data message and forwards the first downstream data message.
15. according to the method for claim 14, it is characterised in that uplink service information corresponding to first GTP tunnel
Including the IP address of base station, the IP address of server and the first TEID corresponding to first GTP tunnel;
Downlink business information corresponding to first GTP tunnel is with including the IP of user equipment corresponding to first GTP tunnel
Location and the IP address of server.
16. the method according to any one of claims 14 or 15, it is characterised in that the uplink service information includes
In the packet header domain of first flow table item, the first action instruction is included in the action fields of first flow table item, institute
State downlink business information to be included in the packet header domain of second flow table item, the second action instruction is included in the second
In the action fields of list item.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310283342.4A CN104284385B (en) | 2013-07-05 | 2013-07-05 | Apparatus and method for data forwarding |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310283342.4A CN104284385B (en) | 2013-07-05 | 2013-07-05 | Apparatus and method for data forwarding |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104284385A CN104284385A (en) | 2015-01-14 |
CN104284385B true CN104284385B (en) | 2018-02-23 |
Family
ID=52258748
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310283342.4A Active CN104284385B (en) | 2013-07-05 | 2013-07-05 | Apparatus and method for data forwarding |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104284385B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP3361684B1 (en) | 2015-10-31 | 2020-07-29 | Huawei Technologies Co., Ltd. | Route determining method and corresponding apparatus and system |
US11271777B2 (en) | 2019-09-24 | 2022-03-08 | Pribit Technology, Inc. | System for controlling network access of terminal based on tunnel and method thereof |
US11652801B2 (en) | 2019-09-24 | 2023-05-16 | Pribit Technology, Inc. | Network access control system and method therefor |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101997836A (en) * | 2009-08-13 | 2011-03-30 | 西门子(中国)有限公司 | Method and device for operating packet data protocol context |
CN102625363A (en) * | 2011-12-09 | 2012-08-01 | 中兴通讯股份有限公司 | Mobile evolved packet network system |
WO2012160465A1 (en) * | 2011-05-23 | 2012-11-29 | Telefonaktiebolaget L M Ericsson (Publ) | Implementing epc in a cloud computer with openflow data plane |
WO2013030693A1 (en) * | 2011-08-29 | 2013-03-07 | Telefonaktiebolaget L M Ericsson (Publ) | Implementing a 3g packet core in a cloud computer with openflow data and control planes |
-
2013
- 2013-07-05 CN CN201310283342.4A patent/CN104284385B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101997836A (en) * | 2009-08-13 | 2011-03-30 | 西门子(中国)有限公司 | Method and device for operating packet data protocol context |
WO2012160465A1 (en) * | 2011-05-23 | 2012-11-29 | Telefonaktiebolaget L M Ericsson (Publ) | Implementing epc in a cloud computer with openflow data plane |
WO2013030693A1 (en) * | 2011-08-29 | 2013-03-07 | Telefonaktiebolaget L M Ericsson (Publ) | Implementing a 3g packet core in a cloud computer with openflow data and control planes |
CN102625363A (en) * | 2011-12-09 | 2012-08-01 | 中兴通讯股份有限公司 | Mobile evolved packet network system |
Also Published As
Publication number | Publication date |
---|---|
CN104284385A (en) | 2015-01-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102615567B1 (en) | Information transmission methods and devices | |
CN105009544B (en) | Tunnel processing method, switching equipment and the control device of message | |
CN107027152B (en) | Method and apparatus for virtual soft switching | |
CN109792788A (en) | The method and apparatus that data for being related to tunnel within a wireless communication network are transmitted | |
US20200267623A1 (en) | Apparatus and method for controller and slice-based security gateway for 5g | |
US8270942B2 (en) | Method for the interception of GTP-C messages | |
CN108029037A (en) | IP layers of dual link and carrier aggregation | |
US12041520B2 (en) | Method and system for enhancing charging for co-located SGW and PGW | |
JPWO2011155484A1 (en) | COMMUNICATION SYSTEM, LOGICAL CHANNEL CONTROL DEVICE, CONTROL DEVICE, COMMUNICATION METHOD, AND PROGRAM | |
CN106488504A (en) | Network system and the method for network service | |
US8862869B1 (en) | Method and apparatus for providing network initiated session encryption | |
CN105247946B (en) | Service layer's control in communication network knows control signaling | |
CN106488508A (en) | A kind of data transmission method, apparatus and system | |
CN107846703A (en) | A kind of data transmission method and device | |
CN108259434A (en) | A kind of opening method and server of user side QoS supportabilitys | |
CN104284385B (en) | Apparatus and method for data forwarding | |
CN107919996A (en) | A kind of data pack transmission method and equipment | |
CN102870490A (en) | Data transmission method, network element equipment and communication system | |
CN105264841B (en) | Message forwarding system, apparatus and method | |
CN108617009A (en) | a kind of data transmission method, device, system and packet data network gateway | |
Karimzadeh et al. | Quantitative comparison of the efficiency and scalability of the current and future LTE network architectures | |
Subramanya et al. | SDEC: A platform for software defined mobile edge computing research and experimentation | |
US9660826B2 (en) | Supporting low latency applications at the edge of wireless communication networks | |
EP2844022B1 (en) | Method and system for routing cdn traffic with a shadow packet data network gateway | |
CN106797632A (en) | Realize method, the apparatus and system of business continuance |
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 |