CN105791167B - A kind of method for obligating resource, device and system - Google Patents

A kind of method for obligating resource, device and system Download PDF

Info

Publication number
CN105791167B
CN105791167B CN201410826790.9A CN201410826790A CN105791167B CN 105791167 B CN105791167 B CN 105791167B CN 201410826790 A CN201410826790 A CN 201410826790A CN 105791167 B CN105791167 B CN 105791167B
Authority
CN
China
Prior art keywords
address
network
media stream
nat
resource reservation
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
Application number
CN201410826790.9A
Other languages
Chinese (zh)
Other versions
CN105791167A (en
Inventor
王晓燕
王俊青
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201410826790.9A priority Critical patent/CN105791167B/en
Priority to PCT/CN2015/097519 priority patent/WO2016101821A1/en
Publication of CN105791167A publication Critical patent/CN105791167A/en
Application granted granted Critical
Publication of CN105791167B publication Critical patent/CN105791167B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of method for obligating resource, comprising: resource coordination entity receives first network address conversion NAT mapping request, and the first NAT mapping request carries media stream source address;The 2nd NAT mapping request for carrying the media stream source address is sent to the first mapping network element in the first network domain, what reception the first mapping network element returned carries out the first address after NAT conversion to the media stream source address;The 3rd NAT mapping request for carrying first address is sent to the second mapping network element of second network domains, what reception the second mapping network element returned carries out the second address after NAT conversion to first address;The first resource reservation request for carrying the source address or first address is sent to the first network domain to be that media flow transmission carries out resource reservation in the first network domain, it is sent to second network domains and carries first address or the two address Secondary resource reservation request to be that media flow transmission carries out resource reservation in second network domains, solve the problems, such as the resource reservation for each network domains being isolated by multiple NAT device.

Description

A kind of method for obligating resource, device and system
Technical field
The present invention relates to field of communication technology more particularly to a kind of method for obligating resource, device and system.
Background technique
With the needs that the intelligence of operator's pipeline and customer service are experienced, Service assurance is increasingly compeled end to end It cuts.Thus the case where passing through multiple network domains there have been a Media Stream.Network domains can be is managed according to different operators The network range of reason divides;It is also possible to the different function of the network managed according to same operator to divide, for example, nothing Line fidelity (WIreless Fidelity, WiFi) network insertion mobile core network, then access IP multimedia subsystem (IP Multimedia Subsystem, IMS) network, at this point, WiFi, mobile core network and IMS may respectively be a network domains. Moreover, in different network domains, may purpose not enough due to address or Network Isolation, can in network domains on-premise network Address conversion (Network Address Translation, NAT) equipment, then just will appear a Media Stream by multiple Network domains are and at the same time by multiple NAT device.
The current either User Datagram Protocol of NAT (User Datagram Protocol, UDP) simple traversal (Simple Traversal of UDP over NATs, STUN) or use relaying passing through NAT (Traversal Using Relay NAT, TURN), the address after the NAT device of STUN or TURN server can only be all obtained, can only be solved in this way Certainly there is a resource reservation when NAT device in network, and the money of each network domains after being isolated by multiple NAT device can not be solved Source is reserved.
Summary of the invention
In view of this, the embodiment of the invention provides a kind of method for obligating resource, device and system, it is multiple for solving The resource reservation problem of each network domains of NAT device isolation.
According to the first aspect of the invention, a kind of method for obligating resource is provided, comprising: it is first that this method is applied to Media Stream Afterwards respectively by the system of first network domain and the second network domains, comprising:
Resource coordination entity receives first network address conversion NAT mapping request, and the first NAT mapping request carries matchmaker Body stream source location;
The 2nd NAT mapping for sending the carrying media stream source address to the first mapping network element in the first network domain is asked It asks, receive the first mapping network element return carries out the first address after NAT conversion to the media stream source address;
The 3rd NAT mapping request for carrying first address is sent to the second mapping network element of second network domains, Receive the second mapping network element return carries out the second address after NAT conversion to first address;
Sent to the first network domain carry the first resource reservation request of the source address or first address with Resource reservation is carried out for media flow transmission in the first network domain, is sent to second network domains and carries first ground Location or the two address Secondary resource reservation request are to be that media flow transmission progress resource is pre- in second network domains It stays.
In conjunction with the possible embodiment of the first aspect of the present invention, in the first possible embodiment, this method is also It include: the resource coordination entity according to the network domains that preset network topological information determines that Media Stream passes through include described first Network domains and second network domains.
In conjunction with the possible embodiment of the first aspect of the present invention, in the first possible embodiment, described first Media Stream destination address, this method are also carried in NAT mapping request further include: the resource coordination entity is according to the Media Stream The network domains that source address and the Media Stream destination address determine that Media Stream passes through include the first network domain and described second Network domains.
In conjunction with the possible embodiment of the first aspect of the present invention, or combine the first of the first aspect of the present invention can The embodiment of energy, or second of possible embodiment of the first aspect of the present invention is combined, in the third possible reality It applies in mode, further includes: the resource coordination entity saves the first corresponding relationship and the second corresponding relationship, the described first corresponding pass System includes the media stream source address and the first network domain before NAT conversion in the first network domain, the first network domain The corresponding relationship of the first address after middle NAT conversion, second corresponding relationship includes second network domains, second net The the two address corresponding relationship in the first address and second network domains in network domain before NAT conversion after NAT conversion.
In conjunction with the third possible embodiment of the first aspect of the present invention, in the 4th kind of possible embodiment party of the invention In formula, the resource coordination entity is also preset: the location information of the first NAT device and described in the first network domain The location information of second NAT device in two network domains;
Then the first resource for sending the carrying source address or first address to the first network domain is reserved Request specifically includes:
If the location information of first NAT device shows that first NAT device is located at Media Stream by described the The inlet of one network domains, then the resource coordination entity is according to first corresponding relationship and first NAT device Location information determines that Media Stream Media Stream addresses used in the first network domain are first address, to described first Network domains send the first resource reservation request for carrying first address;Alternatively, if the position of first NAT device is believed Breath shows that first NAT device is located at the exit that Media Stream passes through the first network domain, then the resource coordination is real Body determines Media Stream in the first network domain according to the location information of first corresponding relationship and first NAT device Media Stream addresses used are the source address, and the first resource for sending the carrying source address to the first network domain is reserved Request;
Described send to the second network domains carries first address or the two address Secondary resource reservation request It specifically includes:
If the location information of second NAT device shows that second NAT device is located at Media Stream by described the The inlet of two network domains, then the resource coordination entity is according to second corresponding relationship and second NAT device Location information determines that Media Stream Media Stream addresses used in second network domains are second address, to described second Network domains, which are sent, carries the two address Secondary resource reservation request;Alternatively, if the position of second NAT device is believed Breath shows that second NAT device is located at exit of the Media Stream Jing Guo second network domains, then the resource coordination is real Body determines Media Stream in second network domains according to the location information of second corresponding relationship and second NAT device Media Stream addresses used are first address, and the Secondary resource for carrying first address is sent to second network domains Reservation request.
In conjunction with the third possible embodiment of the first aspect of the present invention, in the 5th kind of possible embodiment party of the invention In formula, the first mapping network element is the first software defined network SDN controller, and the second mapping network element is the 2nd SDN control Device processed;
Sent to the first network domain carry the first resource reservation request of the source address or first address with Resource reservation is carried out in the first network domain for media flow transmission to specifically include:
The resource coordination entity sends to the first SDN controller and carries first address or the source address First resource reservation request, so that location information and first net of the first SDN controller according to the first NAT device of preservation Media stream source address and the corresponding relationship of the first address after NAT conversion in network domain before NAT conversion determine Media Stream described Media Stream addresses used in first network domain, triggering resource reservation, in the first network domain be media flow transmission into Row resource reservation;
Correspondingly, pre- to second network domains transmission carrying first address or the two address Secondary resource Request is stayed to be that media flow transmission progress resource reservation specifically includes in second network domains:
The resource coordination entity sends to the 2nd SDN controller and carries first address or second address Secondary resource reservation request so that the 2nd SDN controller is according to the location information of the second NAT device of preservation and described The two address corresponding relationship behind the first address and NAT conversion in second network domains before NAT conversion determines Media Stream in institute State Media Stream addresses used in the second network domains, triggering resource reservation, in second network domains for media flow transmission Carry out resource reservation.
According to the second aspect of the invention, a kind of device is provided, is applied to Media Stream and successively passes through first network respectively In the system of domain and the second network domains, include:
Receiving unit, for receiving first network address conversion NAT mapping request, the first NAT mapping request is carried Media stream source address;
Address acquisition unit, for being sent with carrying the media stream source to the first mapping network element in the first network domain 2nd NAT mapping request of location, after what reception the first mapping network element returned carries out NAT conversion to the media stream source address The first address;The 3rd NAT mapping for sending carrying first address to the second mapping network element of second network domains is asked It asks, receive the second mapping network element return carries out the second address after NAT conversion to first address;
Transmission unit, for sending the first money for carrying the source address or first address to the first network domain Source reservation request is taken with being that media flow transmission carries out resource reservation in the first network domain to second network domains transmission With first address or the two address Secondary resource reservation request to be spread in second network domains for media It is input into row resource reservation.
According to the third aspect of the invention we, it provides a provenance and reserves system, which includes the first of first network domain 2nd SDN controller of software defined network SDN controller and the second network domains, Media Stream successively pass through first network domain respectively With the second network domains, wherein
The first SDN controller, the second net of the carrying media stream source address for receiving the transmission of resource coordination entity Network address conversion NAT mapping request;The first address after being converted for the media stream source address assigning network address conversion NAT, First address is returned into the resource coordination entity;
The 2nd SDN controller, for receiving the of carrying first address that the resource coordination entity is sent Three NAT mapping requests distribute the second address after NAT conversion for first address, second address are returned to described Resource coordination entity;
The first SDN controller is also used to receive the carrying source address or institute that the resource coordination entity is sent State the first resource reservation request of the first address, triggering resource reservation;
The 2nd SDN controller, be also used to receive carrying first address that the resource coordination entity is sent or The two address Secondary resource reservation request, triggering resource reservation.
In conjunction with the third aspect of the present invention, in the first possible embodiment of third aspect present invention, described One SDN controller is also used to after receiving the first resource reservation request, according in the first network domain of preservation The behind media stream source address and NAT conversion in the location information of one NAT device and the first network domain before NAT conversion The corresponding relationship of one address determines Media Stream Media Stream addresses used in the first network domain;
The 2nd SDN controller is also used to after receiving the Secondary resource reservation request, according to preservation The first address and NAT in second network domains in the location information of the second NAT device and second network domains before NAT conversion Two address corresponding relationship after conversion determines Media Stream Media Stream addresses used in second network domains.
The method for obligating resource provided through the embodiment of the present invention solves each network domains being isolated by multiple NAT device Resource reservation problem.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly introduced, it should be apparent that, drawings in the following description are only some embodiments of the invention, for this For the those of ordinary skill in field, without any creative labor, it can also be obtained according to these attached drawings His attached drawing.
Fig. 1 is a kind of flow diagram of method for obligating resource provided in an embodiment of the present invention;
Fig. 2 be another embodiment of the present invention provides a kind of method for obligating resource flow diagram;
Fig. 3 be another embodiment of the present invention provides a kind of method for obligating resource flow diagram;
Fig. 4 be another embodiment of the present invention provides a kind of method for obligating resource flow diagram;
Fig. 5 be another embodiment of the present invention provides a kind of method for obligating resource flow diagram;
Fig. 6 be another embodiment of the present invention provides a kind of method for obligating resource flow diagram;
Fig. 7 is a kind of structure composition schematic diagram of device provided in an embodiment of the present invention;
Fig. 8 be another embodiment of the present invention provides a kind of resource coordination entity structure composition schematic diagram;
Fig. 9 is a kind of composition schematic diagram of resource reservation system provided in an embodiment of the present invention;
Figure 10 is a kind of structure composition schematic diagram of device provided in an embodiment of the present invention.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, the present invention is made into one below in conjunction with attached drawing Step ground detailed description.Obviously, described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments. Based on the embodiments of the present invention, obtained by those of ordinary skill in the art without making creative efforts all Other embodiments shall fall within the protection scope of the present invention.
As shown in Figure 1, being a kind of flow diagram of method for obligating resource provided in an embodiment of the present invention, this method can be with Applied to Media Stream successively respectively by the system of first network domain and the second network domains.It is specifically described below:
Step S101, resource coordination entity receive first network address conversion NAT mapping request, the first NAT mapping Request carries media stream source address.
In the specific implementation, the resource coordination entity of the embodiment of the present invention is only a name, it is not used to limit this entity. Wherein, resource coordination entity can be strategy and charging regulation function entity (Policy and Charging Rules Function, PCRF), or software defined network (Software Defined Network, SDN) controller, certainly It is also not necessarily limited to the two equipment.
Wherein, the first NAT mapping request is the name of a request message, in the specific implementation, this request is also possible to Other requests, but all carry media stream source address.
In the specific implementation, the first NAT mapping request, which can be message, sends what network element was sent, which sends network element can be with It is proxy call conversation control function entity (Proxy-Call Session the Control Function, P- in IMS network CSCF), the network element of control plane information can be sent by being also possible to third-party application server or other.
Step S102 sends to the first mapping network element in the first network domain and carries the second of the media stream source address NAT mapping request, receive the first mapping network element return carries out the first ground after NAT conversion to the media stream source address Location.
In the specific implementation, the first mapping network element can be NAT device, it is also possible to SDN controller.
Step S103 sends the 3rd NAT for carrying first address to the second mapping network element of second network domains Mapping request, receive the second mapping network element return carries out the second address after NAT conversion to first address.
In the specific implementation, the second mapping network element can be NAT device, it is also possible to SDN controller.
Step S104, the first resource for sending the carrying source address or first address to the first network domain are pre- Request is stayed to be that media flow transmission carries out resource reservation in the first network domain, is sent to second network domains and carries institute State the first address or the two address Secondary resource reservation request in second network domains be media flow transmission into Row resource reservation.
In the specific implementation, if the first mapping network element and the second mapping network element are NAT device, first resource reservation request It can be respectively sent to Secondary resource reservation request on the borde gateway in first network domain and the borde gateway of the second network domains. If the first mapping network element and the second mapping network element are SDN controller, first resource reservation request and Secondary resource, which are reserved, is asked Asking can be respectively sent on the SDN controller in first network domain and the SDN controller of the second network domains.
In the specific implementation, as one embodiment, the method for obligating resource further include: the resource coordination entity is according to institute State media stream source address and the Media Stream destination address determine network domains that Media Stream passes through include the first network domain and Second network domains.
In the specific implementation, as another embodiment, also carrying Media Stream destination in the first NAT mapping request Location, then the method for obligating resource further include: the resource coordination entity is according to the media stream source address and the Media Stream The network domains that destination address determines that Media Stream passes through include the first network domain and second network domains.
In the specific implementation, as another embodiment, the location information of the NAT device of each network domains can be stored in money In the coordination entity of source.Wherein, the first mapping network element and the second mapping network element can be NAT device or SDN controller.
Then method for obligating resource further include: the resource coordination entity saves the first corresponding relationship and the second corresponding pass System, first corresponding relationship include the first network domain, media stream source in the first network domain before NAT conversion The corresponding relationship of the first address in location and the first network domain after NAT conversion, second corresponding relationship include described the In the first address and second network domains in two network domains, second network domains before NAT conversion after NAT conversion the Two address corresponding relationship.
In the specific implementation, as another embodiment, the resource coordination entity is also preset: in the first network domain The location information of second NAT device in the location information of first NAT device and second network domains.
Then sending in the step 104 to the first network domain carries the of the source address or first address One resource reservation request specifically includes:
If the location information of first NAT device shows that first NAT device is located at Media Stream by described the The inlet of one network domains, then the resource coordination entity is according to first corresponding relationship and first NAT device Location information determines that Media Stream Media Stream addresses used in the first network domain are first address, to described first Network domains send the first resource reservation request for carrying first address;Alternatively, if the position of first NAT device is believed Breath shows that first NAT device is located at the exit that Media Stream passes through the first network domain, then the resource coordination is real Body determines Media Stream in the first network domain according to the location information of first corresponding relationship and first NAT device Media Stream addresses used are the source address, and the first resource for sending the carrying source address to the first network domain is reserved Request.
Sending in the step 104 to the second network domains carries first address or two address second money Source reservation request specifically includes:
If the location information of second NAT device shows that second NAT device is located at Media Stream by described the The inlet of two network domains, then the resource coordination entity is according to second corresponding relationship and second NAT device Location information determines that Media Stream Media Stream addresses used in second network domains are second address, to described second Network domains, which are sent, carries the two address Secondary resource reservation request;Alternatively, if the position of second NAT device is believed Breath shows that second NAT device is located at exit of the Media Stream Jing Guo second network domains, then the resource coordination is real Body determines Media Stream in second network domains according to the location information of second corresponding relationship and second NAT device Media Stream addresses used are first address, and the Secondary resource for carrying first address is sent to second network domains Reservation request.
Wherein it is determined that Media Stream Media Stream addresses used in first network domain and Media Stream institute in the second network domain Media Stream addresses refer to Media Stream media stream source address and Media Stream used in first network domain in the second network domains Used in media stream source address.
In the specific implementation, being respectively the first SDN in the first mapping network element and the second mapping network element as another embodiment In the scene of controller and the 2nd SDN controller, the location information of the NAT device of each network domains can also be stored in respectively respectively On the SDN controller of a network domains, such as: the NAT location information in first network domain is stored in the first SDN controller, and second The NAT location information of network domains is stored in the 2nd SDN controller.
The first resource reservation request for carrying the source address or first address is then sent to the first network domain To be that media flow transmission progress resource reservation specifically includes in the first network domain:
The resource coordination entity sends to the first SDN controller and carries first address or the source address First resource reservation request, so that location information and first net of the first SDN controller according to the first NAT device of preservation Media stream source address and the corresponding relationship of the first address after NAT conversion in network domain before NAT conversion determine Media Stream described Media Stream addresses used in first network domain, triggering resource reservation, in the first network domain be media flow transmission into Row resource reservation;
It is sent to second network domains and carries first address or the two address Secondary resource reservation request To be that media flow transmission progress resource reservation specifically includes in second network domains:
The resource coordination entity sends to the 2nd SDN controller and carries first address or second address Secondary resource reservation request so that the 2nd SDN controller is according to the location information of the second NAT device of preservation and described The two address corresponding relationship behind the first address and NAT conversion in second network domains before NAT conversion determines Media Stream in institute State Media Stream addresses used in the second network domains, triggering resource reservation, in second network domains for media flow transmission Carry out resource reservation.
In the specific implementation, location information and the first network of the first SDN controller according to the first NAT device of preservation The corresponding relationship of the first address behind media stream source address and NAT conversion in domain before NAT conversion determines Media Stream described the Media Stream addresses used in one network domains can be with specifically:
If the location information of first NAT device shows that first NAT device is located at Media Stream by described the The entrance of one network domains, it is determined that Media Stream Media Stream addresses used in the first network domain are first address; Alternatively, if the location information of first NAT device shows that first NAT device is located at Media Stream by first net The outlet in network domain, it is determined that Media Stream Media Stream addresses used in the first network domain are the source address;
According to NAT in the location information of the second NAT device in second network domains of preservation and second network domains The two address corresponding relationship behind the first address and NAT conversion before conversion determines Media Stream institute in second network domains Media Stream addresses specifically include:
If the location information of second NAT device shows that second NAT device is located at Media Stream by described the The inlet of two network domains, it is determined that Media Stream Media Stream addresses used in second network domains are second ground Location;Alternatively, if the location information of second NAT device shows that second NAT device is located at Media Stream by described the The exit of two network domains, it is determined that Media Stream Media Stream addresses used in second network domains are first ground Location.
In the specific implementation, as another embodiment, the first SDN controller is used for triggering resource reservation, comprising: institute The first SDN controller is stated for generating flow table according to determining Media Stream Media Stream addresses used in the first network domain First SDN switch in the first network domain is handed down to carry out resource reservation;
The 2nd SDN controller is used for triggering resource reservation, comprising: the 2nd SDN controller is used for according to determination Media Stream Media Stream addresses used in second network domains generate flow table issuance give second network domains second SDN switch is to carry out resource reservation.
Therefore method through the embodiment of the present invention, it can solve each network domains being isolated by multiple NAT device Resource reservation problem.If there is multiple NAT device on media stream path, method through the embodiment of the present invention is available every Address after one NAT device also may be implemented when Media Stream transmits in the multiple network domains being isolated by multiple NAT device Resource reservation problem.
The method of the embodiment of the present invention can be applied to system of the media flow transmission Jing Guo two or more network domains In.In this system, multiple network domains successively can successively be passed through when media flow transmission.Wherein, via network domains in can be with There is NAT device;There is NAT device in the network domains that can also have, there is no NAT device in some network domains, as long as being passed through on path By network domains at least there are two NAT device.Media Stream via network domains which be also not necessarily limited to have NAT device Or which is a without NAT device, as long as a total of two or more network domains have NAT device.
For a network domains, if NAT device is located at inlet of the Media Stream Jing Guo network domains, in network domains The address used is the address after NAT;If NAT device is located at exit of the Media Stream Jing Guo network domains, make in network domains Address be NAT before address.
As shown in Fig. 2, for another embodiment of the present invention provides a kind of method for obligating resource flow diagram.The implementation Example is applied in Internet protocol (Internet Protocol, IP) network with the method for obligating resource, and Media Stream is across multiple For resource reservation when network domains are transmitted.The present embodiment is using the network domains passed through when media flow transmission as network domains 1 and network Domain 2 (hereinafter referred to as domain 1 and domain 2), wherein there are NAT device, and domain 1 and the position of the NAT device in domain 2 letter in domain 1 and domain 2 For breath is stored in resource coordination entity.Wherein, message sends network element by taking P-CSCF as an example, and resource coordination entity is with PCRF Example, for the first mapping network element by taking NAT1 equipment as an example, the 2nd NAT maps network element by taking NAT2 equipment as an example.
In the specific implementation, the location information of NAT device may is that NAT device is located at Media Stream process in each network domains The entrance of network domains is also possible to NAT device and is located at outlet of the Media Stream Jing Guo network domains.In the present embodiment, each network domains The location information of middle NAT is located at Media Stream by the entrance in domain 1 with the NAT1 equipment in domain 1, and the NAT2 equipment in domain 2 is located at matchmaker For body stream is by 2 entrance of domain.It is specifically described below:
S201, P-CSCF receive the media negotiation request for carrying media stream source address.
In the specific implementation, media negotiation request can be from user equipment (User Equipment, UE), it can also To be from agent equipment.Media stream source address be Media Stream address information, such as are as follows: IP-s/Port-s (IP-s and Port-s)。
S202, P-CSCF send NAT mapping request to PCRF, carry media stream source address ip-to be converted in the request s/Port-s。
In the specific implementation, Media Stream destination address IP-d/Port-d can also be carried in the NAT mapping request.
The NAT mapping that the NAT1 of S203, PCRF into network domains 1 sends carrying media stream source address ip-s/Port-s is asked It asks.
In the specific implementation, PCRF can determine that the network domains that Media Stream passes through are domain 1 according to preset network topological information With domain 2, and domain 1 is first passed through, then by domain 2.
Optionally, PCRF can also be determined according to the source address and destination address carried in the NAT mapping request in S202 The network domains that Media Stream passes through are domain 1 and domain 2, and first pass through domain 1, then by domain 2.
In the specific implementation, PCRF such as can format at the operation to NAT mapping request received in S202, or not Operation is forwarded.
S204, NAT1 are the address ip 1/Port1 after IP-s/Port-s distribution conversion.
Wherein, IP1/Port1 can correspond to the first address in preceding embodiment.
Optionally, NAT1 also saves the corresponding relationship of IP-s/Port-s and IP1/Port1, for subsequent media stream process It is used when Shi Jinhang address conversion.
S205, NAT1 send NAT mapping response to PCRF, and the address ip 1/Port1 after distribution is carried to map in NAT and is rung PCRF is returned in answering.
NAT turns in media stream source address ip-s/Port-s and domain 1 in S206, PCRF preservation domain 1, domain 1 before NAT conversion The corresponding relationship of IP1/Port1 after changing.
In the specific implementation, the method that the corresponding relationship is saved in PCRF is unlimited, it can as long as this corresponding relationship can be embodied With.Domain 1 can be indicated with mark or corresponding address etc..
The NAT2 of S207, PCRF into network domains 2 sends the NAT mapping request for carrying IP1/Port1.
S208, NAT2 are the address ip 2/Port2 after IP1/Port1 distribution conversion.
Wherein, IP2/Port2 can correspond to the second address in preceding embodiment.
Optionally, NAT2 also saves the corresponding relationship of IP1/Port1 and IP2/Port2, for subsequent media flow through it is out-of-date Carry out use when address conversion.
S209, NAT2 send NAT mapping response to PCRF, and the address ip 2/Port2 after distribution is carried to map in NAT and is rung PCRF is returned in answering.
NAT conversion in media stream source address ip 1/Port1 and domain 2 in S210, PCRF preservation domain 2, domain 2 before NAT conversion The corresponding relationship of IP2/Port2 afterwards.
In the specific implementation, the method that the corresponding relationship is saved in PCRF is unlimited, it can as long as this corresponding relationship can be embodied With.Network domains 2 can be indicated with mark or corresponding address etc..
S211, PCRF send NAT mapping response to P-CSCF, including IP2/Port2.
After S212, P-CSCF obtain the media stream source IP/Port (IP2/Port2) after NAT, continue media consultation process.
Optionally, P-CSCF can send the media association for carrying IP2/Port2 after obtaining IP2/Port2 to callee side It consults and request and asks.
S213, P-CSCF receive media negotiation response, to obtain the media information of Media Stream, wherein may include but not It is limited to the stream information of media, the stream information of media includes the source IP/Port (IP2/Port2) and destination IP/Port (IP-d/ of stream Port-d) etc..
Optionally, media negotiation response can be callee's transmission, be also possible to application server transmission.
S214, P-CSCF initiate resource reservation request to network side, carry media information in the resource reservation request message, It wherein can include but is not limited to the stream information of media, the stream information of media includes the source IP/Port (IP2/Port2) and mesh of stream IP/Port (IP-d/Port-d) etc..
After S215, PCRF receive the resource reservation request of P-CSCF transmission, media information therein is parsed, media are obtained After source IP/Port of stream is IP2/Port2, according to the position NAT in the information and preset domain 1 and domain 2 of S206 and S210 preservation Confidence, which ceases, determines that Media Stream Media Stream addresses used in domain 1 and domain 2 are respectively IP1/Port1 and IP2/Port2, Ye Ji The source address of Media Stream is respectively IP1/Port1 and IP2/Port2 in domain 1 and domain 2.
Specifically, since Media Stream is before entering domain 1, source address IP-s/Port-s, in the entrance for entering network domains 1 When, by the address conversion of NAT1, then source address used in Media Stream is IP1/Port1 in domain 1.Continue the process of transmission In, when entering the entrance in domain 2, by the address conversion of NAT2, then source address used in Media Stream is IP2/ in domain 2 Port2。
The strategy and charging execution function entity (Policy and Charging of S216, PCRF into domain 1 Enforcement Function, PCEF) 1 transmission carrying media stream source address is IP1/Port1 and destination address is IP-d/ The resource reservation request of Port-d.
S217, PCEF1 carry out the resource reservation process in domain 1 according to the resource reservation request.
In the specific implementation, it includes generating mapping table that PCEF1, which carries out resource reservation,.Mapping table indicates corresponding to Media Stream IP packet Priority (for example, DSCP value), or including bandwidth information, bandwidth information is such as to guarantee bandwidth or maximum bandwidth information.Its In, priority and bandwidth information can be requested according to media resource reservation in media information and operator strategy generating.
The PCEF2 transmission carrying media stream source address of S218, PCRF into domain 2 is IP2/Port2 and destination address is IP- The resource reservation request of d/Port-d.
S219, PCEF2 carry out the resource reservation process in domain 2 according to the resource reservation request.
In the specific implementation, S216 and S218 can be and be performed simultaneously, it is also possible to successively execute.
In the specific implementation, in another embodiment, being also possible in S215 first determine Media Stream from S215-S219 The Media Stream addresses used in domain 1 are IP1/Port1, then execute S216;Then determine Media Stream used in the domain 2 again Media Stream addresses are IP2/Port2, then execute S218.
Method through this embodiment, solves in traditional IP, when media flow transmission, by being set by two NAT The resource reservation problem of two network domains of standby isolation.
As shown in figure 3, for another embodiment of the present invention provides a kind of method for obligating resource flow diagram.The implementation Example is that Media Stream have passed through three network domains with embodiment difference shown in Fig. 2: other than network domains 1 and network domains 2, also It has passed through network domains 3.Wherein, there is no NAT device in network domains 3.It is specifically described below:
S301-S314 is identical as S201-S214, and which is not described herein again.
Wherein, due to there is the location information of the NAT device in each domain in PCRF, PCRF will not send NAT mapping to domain 3 Request.
In the specific implementation, PCRF comes in representative domain 3 in the following way without NAT device, and such as: it is pre-configured with and is used to indicate Without the relevant configuration information of configuration NAT device in configuration information or PCRF in domain 3 without NAT device, it is also not necessarily limited to certainly This mode.
After S315, PCRF receive the resource reservation request of P-CSCF transmission, media information therein is parsed, media are obtained After source IP/Port of stream is IP2/Port2, the information, preset network topological information and each net that are saved according to S306 and S310 The location information of NAT device determines that Media Stream Media Stream addresses used in domain 1, domain 2 and domain 3 are respectively IP1/ in network domain Port1, IP2/Port2 and IP2/Port2, namely in domain 1, domain 2 and domain 3 source address of Media Stream be respectively IP1/Port1, IP2/Port2 and IP2/Port2.
S316-S319 is identical as S216-S219, and which is not described herein again.
It is IP2/Port2 and destination address that the PCEF3 of S320, PCRF into network domains 3, which sends and carries media stream source address, For the resource reservation request of IP-d/Port-d.
S321, PCEF3 carry out the resource reservation process of network domains 3 according to the resource reservation request.
It is performed simultaneously in the specific implementation, S316, S318 and S320 can be, is also possible to successively execute.
In the specific implementation, in another embodiment, being also possible in S315 first determine Media Stream from S315-S321 The Media Stream addresses used in domain 1 are IP1/Port1, then execute S216;Then determine Media Stream used in the domain 2 again Media Stream addresses are IP2/Port2, then execute S218;Then determine that Media Stream Media Stream addresses used in domain 3 are again IP2/Port2 then executes S321.
Method through this embodiment, solves in traditional IP, when media flow transmission, by being set by two NAT The resource reservation problem of three network domains of standby isolation.
As shown in figure 4, for another embodiment of the present invention provides a kind of method for obligating resource flow diagram.The implementation Example is applied in SDN network with the method for obligating resource, for resource reservation of the Media Stream when cross-domain 1 and domain 2 are transmitted.Wherein There is NAT device in domain 1 and domain 2, and the location information of domain 1 and the NAT device in domain 2 is stored in resource coordination entity and is Example.Wherein, resource coordination entity is by taking PCRF as an example, the first mapping network element by taking SDN controller 1 as an example, the 2nd NAT map network element with For SDN controller 2.In the present embodiment, Media Stream is located at by the exit in domain 1, in domain 2 with the NAT device in domain 1 NAT device is located at for inlet of the Media Stream by domain 2.
The present embodiment and embodiment shown in Fig. 2 are responsible for address distribution primary difference is that applied in SDN network Network element is SDN controller.It is specifically described below:
S401-S402, identical as S201-S202, which is not described herein again.
The SDN controller 1 of S403, PCRF into network domains 1 sends the NAT for carrying media stream source address ip-s/Port-s Mapping request.
Wherein, PCRF determine Media Stream via domain method embodiment as shown in Figure 2.
S404, SDN controller 1 is the address ip 1/Port1 after IP-s/Port-s distribution conversion.
Optionally, SDN controller 1 saves the corresponding relationship of IP-s/Port-s and IP1/Port1.
Optionally, SDN controller 1 generates flow table also according to determining IP1/Port1, is handed down to SDN switch.Flow table refers to Show that the source IP address/source port for the data packet that source IP address/source port is IP-s/Prot-s is replaced with IP1/ by SDN switch Port1。
S405, SDN controller 1 sends NAT mapping response to PCRF, and the address ip 1/Port1 after distribution is carried in NAT PCRF is returned in mapping response.
S406, identical as S206, which is not described herein again.
The SDN controller 2 of S407, PCRF into network domains 2 sends the NAT mapping request for carrying IP1/Port1.
S408, SDN controller 2 is the address ip 2/Port2 after IP1/Port1 distribution conversion.
Optionally, SDN controller 2 saves the corresponding relationship of IP1/Port1 and IP2/Port2.
Optionally, SDN controller 2 generates flow table also according to determining IP2/Port2, is handed down to SDN switch.Flow table refers to Show that the source IP address/source port for the data packet that source IP address/source port is IP1/Port1 is replaced with IP2/ by SDN switch Port2。
S409, SDN controller 2 sends NAT mapping response to PCRF, and the address ip 2/Port2 after distribution is carried in NAT PCRF is returned in mapping response.
S410-S414, identical as S210-S214, which is not described herein again.
After S415, PCRF receive the resource reservation request of P-CSCF transmission, media information therein is parsed, media are obtained After source IP/Port of stream is IP2/Port2, according to the position NAT in the information and preset domain 1 and domain 2 of S206 and S210 preservation Confidence, which ceases, determines that Media Stream Media Stream addresses used in domain 1 and domain 2 are respectively IP-s/Port-s and IP2/Port2.
Specifically, since Media Stream is before entering network domains 1, source address IP-s/Port-s, since the NAT in domain 1 is set The standby Media Stream that is located at is by the exit in domain 1, therefore the IP/Port used in domain 1 is the address before NAT, i.e. IP-s/Port- s.During continuing transmission, when entering the entrance in domain 2, since the NAT device in domain 2 is located at Media Stream entering by domain 2 At mouthful, therefore the IP/Port used in domain 2 is the address after NAT, i.e. IP2/Port2.
It is IP-s/Port-s and destination that the SDN controller 1 of S416, PCRF into domain 1, which sends and carries media stream source address, Location is the resource reservation request of IP-d/Port-d.
In the specific implementation, SDN controller 1 is according to resource reservation request triggering resource reservation, it may be assumed that according to resource reservation request Corresponding flow table is generated, flow table is issued into the SDN switch in domain 1.So that SDN switch carries out corresponding resource according to flow table It is reserved.The method of specific resource reservation is the same as resource reservation shown in Fig. 2.
It is IP2/Port2 and destination address that the SDN controller 2 of S417, PCRF into domain 2, which sends and carries media stream source address, For the resource reservation request of IP-d/Port-d.
In the specific implementation, SDN controller 2 is according to resource reservation request triggering resource reservation, it may be assumed that asked according to resource reservation It asks, generates corresponding flow table, flow table is issued into the SDN switch in domain 2, so that SDN switch carries out accordingly according to flow table Resource reservation.Specific method for obligating resource is the same as resource reservation shown in Fig. 2.
In the specific implementation, S416 and S417 can be and be performed simultaneously, it is also possible to successively execute.
In the specific implementation, in another embodiment, being also possible in S415 first determine Media Stream from S415-S417 The Media Stream addresses used in domain 1 are IP-s/Port-s, then execute S416;Then determine that Media Stream is used in domain 2 again Media Stream addresses be IP2/Port2, then execute S417.
In the specific implementation, the resource coordination entity in the present embodiment method can also be SDN controller in SDN network.
In the specific implementation, SDN controller is also possible to classification deployment, at this point, outermost SDN controller needs support in figure Shown in PCRF function.Optionally, under SDN controller can be determined according to the Media Stream destination address carried in step 402 Level-one SDN controller, optionally, the SDN controller of next stage can also continue to determine another grade SDN control according to destination address Device.
The embodiment also can be applied to so that Media Stream is by two network domains as an example by more than two network domains.It is logical The method for crossing the present embodiment, solves in SDN network, when media flow transmission, by two nets being isolated by two NAT device The resource reservation problem in network domain.
As shown in figure 5, for another embodiment of the present invention provides a kind of method for obligating resource flow diagram.The implementation Example is applied in SDN network with the method for obligating resource, for resource reservation of the Media Stream when cross-domain 1 and domain 2 are transmitted.This reality Apply example and embodiment shown in Fig. 4 primary difference is that: resource coordination entity does not perceive NAT device in each domain in the embodiment Position, the location information of domain 1 and the NAT device in domain 2 is stored in the SDN controller in each domain.It is specifically described below:
S501-S514, identical as S401-S414, which is not described herein again.
After S515, PCRF receive the resource reservation request of P-CSCF transmission, media information therein is parsed, media are obtained After source IP/Port of stream is IP2/Port2, matchmaker is determined according to the information of S506 and S510 preservation, preset network topological information Address information of the body stream in domain 1 and domain 2.
Due to not having the location information of each domain NAT device in PCRF, the source IP/Port for the Media Stream that PCRF is determined can To be the address before NAT, it is also possible to address after NAT.Specifically, source IP/Port in domain 1 is IP-s/Port-s or IP1/ Port1, source IP/Port in domain 2 are IP1/Port1 or IP2/Port2.
It is IP-s/Port-s or IP1/ that the SDN controller 1 of S516, PCRF into domain 1, which sends and carries media stream source address, Port1, destination address are the resource reservation request of IP-d/Port-d.
S517, SDN controller 1 is located at Media Stream by the outlet in domain 1 according to the position of NAT device in the domain 1 of preservation, with And the corresponding relationship of the IP-s/Port-s in domain 1 before the NAT conversion and IP1/Port1 after conversion determines Media Stream institute in domain 1 Media Stream addresses are IP-s/Port-s, with triggering resource reservation.
In the specific implementation, 1 triggering resource reservation of SDN controller, it may be assumed that corresponding flow table is generated according to resource reservation request, Flow table is issued into the SDN switch in domain 1, so that SDN switch carries out corresponding resource reservation according to flow table.Specific resource is pre- Stay method with resource reservation shown in Fig. 2.
Specifically, SDN controller is with after receiving resource reservation request, determining Media Stream Media Stream used in domain 1 Location generates corresponding flow table according to the Media Stream addresses.
It is IP1/Port1 or IP2/ that the SDN controller 2 of S518, PCRF into domain 2, which sends and carries media stream source address, Port2, destination address are the resource reservation request of IP-d/Port-d.
S519, SDN controller 2 is located at Media Stream by the inlet in domain 2 according to the position of NAT device in the domain 2 of preservation, And the corresponding relationship of the IP1/Port1 in domain 2 before the NAT conversion and IP2/Port2 after conversion determines Media Stream institute in domain 2 Media Stream addresses are IP2/Port2, with triggering resource reservation.
In the specific implementation, 2 triggering resource reservation of SDN controller, it may be assumed that corresponding flow table is generated according to resource reservation request, Flow table is issued into the SDN switch in domain 1, so that SDN switch carries out corresponding resource reservation according to flow table.Specific resource is pre- Stay method with resource reservation shown in Fig. 2.
Specifically, SDN controller generates corresponding flow table according to determining Media Stream addresses.
In the specific implementation, S516 and S518 can be and be performed simultaneously, it is also possible to successively execute.
In the specific implementation, in another embodiment, being also possible in S515 first determine Media Stream from S515-S519 The media stream source address used in domain 1 is IP-s/Port-s or IP1/Port1, then executes S516;Then media are determined again Stream Media Stream addresses used in domain 2 are IP1/Port1 or IP2/Port2, then execute S517.
In the specific implementation, the resource coordination entity in the present embodiment method can also be SDN controller in SDN network.
In the specific implementation, SDN controller is also possible to classification deployment, at this point, outermost SDN controller needs support in figure Shown in PCRF function.Optionally, under SDN controller can be determined according to the Media Stream destination address carried in step 402 Level-one SDN controller, optionally, the SDN controller of next stage can also continue to determine another grade SDN control according to destination address Device.
The embodiment also can be applied to so that Media Stream is by two network domains as an example by more than two network domains.It is logical The method for crossing the present embodiment, solves in SDN network, when media flow transmission, by two nets being isolated by two NAT device The resource reservation problem in network domain.
As shown in fig. 6, for another embodiment of the present invention provides a kind of method for obligating resource flow diagram.The implementation Example is by taking the method for obligating resource is applied in SDN network as an example.The present embodiment and embodiment shown in fig. 5 it is main it is different In: Media Stream have passed through three network domains: other than network domains 1 and network domains 2, also have passed through network domains 3.Wherein, network domains 3 In there is no NAT device.
S601-S610, identical as S501-S510, which is not described herein again.
The SDN controller 3 of S611, PCRF into network domains 3 sends the NAT mapping request for carrying IP2/Port2.
S612, SDN controller 3 determines that domain 3 without NAT device, returns to NAT mapping response, response message instructions field 3 to PCRF No NAT device deployment.
In the specific implementation, can be pre-configured in domain 3 in SDN controller 3 does not have the information of NAT device.SDN controller 3 Can come in the following way in representative domain 3 without NAT device, such as: be pre-configured be used to indicate no NAT device with confidence Without the relevant configuration information of configuration NAT device in breath or SDN controller 3, it is also not necessarily limited to this mode certainly.
S613-S616, identical as S511-S514, which is not described herein again.
After S617, PCRF receive the resource reservation request of P-CSCF transmission, media information therein is parsed, media are obtained After source IP/Port of stream is IP2/Port2, matchmaker is determined according to the information of S606 and S610 preservation, preset network topological information Address information of the body stream in domain 1, domain 2 and domain 3.
Due to not having the location information of each domain NAT device in PCRF, the source IP/Port for the Media Stream that PCRF is determined can To be the address before NAT, it is also possible to address after NAT.Specifically, source IP/Port in domain 1 is IP-s/Port-s or IP1/ Port1, source IP/Port in domain 2 are IP1/Port1 or IP2/Port2.Source IP/Port in domain 3 is IP2/Port2.
It is IP-s/Port-s or IP1/ that the SDN controller 1 of S618, PCRF into domain 1, which sends and carries media stream source address, Port1, destination address are the resource reservation request of IP-d/Port-d.
S619, SDN controller 1 according to the position of NAT device in the domain 1 of preservation in Media Stream by the exit in domain 1, with And the corresponding relationship of the IP-s/Port-s in domain 1 before the NAT conversion and IP1/Port1 after conversion determines Media Stream institute in domain 1 Media Stream addresses are IP-s/Port-s, with triggering resource reservation.
In the specific implementation, 1 triggering resource reservation of SDN controller, it may be assumed that corresponding flow table is generated according to resource reservation request, Flow table is issued into the SDN switch in domain 1, so that SDN switch carries out corresponding resource reservation according to flow table.Specific resource is pre- Stay method with resource reservation shown in Fig. 2.
Specifically, Media Stream Media Stream addresses used in domain 1 can be determined according to resource reservation request, according to determination Media Stream addresses generate flow table.
It is IP1/Port1 or IP2/ that the SDN controller 2 of S620, PCRF into domain 2, which sends and carries media stream source address, Port2, destination address are the resource reservation request of IP-d/Port-d.
S621, SDN controller 2 according to the position of NAT device in the domain 2 of preservation in Media Stream by the entrance in domain 2, and The corresponding relationship of IP1/Port1 in domain 2 before the NAT conversion and IP2/Port2 after conversion determines Media Stream used in the domain 2 Media Stream addresses are IP2/Port2, with triggering resource reservation.
2 triggering resource reservation of SDN controller, it may be assumed that corresponding flow table is generated according to resource reservation request, flow table is issued into domain SDN switch in 2, so that SDN switch carries out relevant resource reservation according to flow table.The same Fig. 2 of specific method for obligating resource Shown in resource reservation.
Specifically, Media Stream Media Stream addresses used in domain 2 can be determined according to resource reservation request, according to determination Media Stream addresses generate flow table.
It is IP2/Port2, destination address that the SDN controller 3 of S622, PCRF into domain 3, which sends and carries media stream source address, For the resource reservation request of IP-d/Port-d.
S623, SDN controller 3 judges to dispose in network without NAT, determines Media Stream Media Stream addresses used in domain 3 For IP2/Port2, resource reservation is carried out.
In the specific implementation, 3 triggering resource reservation of SDN controller, it may be assumed that corresponding flow table is generated according to resource reservation request, Flow table is issued into SDN switch, so that SDN switch carries out resource reservation according to flow table.Specific method for obligating resource is the same as Fig. 2 institute The resource reservation shown.
Specifically, Media Stream Media Stream addresses used in domain 3 can be determined according to resource reservation request, according to determination Media Stream addresses generate flow table.
It is performed simultaneously in the specific implementation, S618, S620 and S622 can be, is also possible to successively execute.
In the specific implementation, in another embodiment, being also possible in S617 first determine Media Stream from S617-S623 The media stream source address used in domain 1 is IP-s/Port-s or IP1/Port1, then executes S618;Then media are determined again Stream Media Stream addresses used in domain 2 are IP1/Port1 or IP2/Port2, then execute S620;Then Media Stream is determined again The Media Stream addresses used in domain 3 are IP2/Port2, then execute S622.
In the specific implementation, the resource coordination entity in the present embodiment method can also be SDN controller in SDN network.
In the specific implementation, SDN controller is also possible to classification deployment, at this point, outermost SDN controller needs support in figure Shown in PCRF function.Optionally, outermost SDN controller can be according to the Media Stream destination carried in step 402 Location determines next stage SDN controller.Optionally, the SDN controller of next stage can also continue to determine according to destination address another Grade SDN controller.
Method through this embodiment, solves in SDN network, when media flow transmission, by by two NAT device every From three network domains resource reservation problem.
Correspondingly, the embodiment of the invention also provides the devices that can be used for implementing above-mentioned each method.Below with reference to specific reality Example and attached drawing is applied the structure composition of the device of the embodiment of the present invention is illustrated.
Fig. 7 is the structure composition schematic diagram of an embodiment of the device of the embodiment of the present invention.As shown in fig. 7, the device is answered For Media Stream successively respectively by the system of first network domain and the second network domains, comprising: receiving unit 71, address obtain Unit 73 and transmission unit 75, in which:
Receiving unit 71, for receiving first network address conversion NAT mapping request, the first NAT mapping request is taken Band media stream source address;
Address acquisition unit 73 carries the media stream source for sending to the first mapping network element in the first network domain 2nd NAT mapping request of address, receive the first mapping network element return carries out NAT conversion to the media stream source address The first address afterwards;The 3rd NAT mapping for carrying first address is sent to the second mapping network element of second network domains Request, receive the second mapping network element return carries out the second address after NAT conversion to first address;
Transmission unit 75 carries the first of the source address or first address for sending to the first network domain Resource reservation request is sent with being that media flow transmission carries out resource reservation in the first network domain to second network domains Carry first address or the two address Secondary resource reservation request in second network domains for Media Stream Transmission carries out resource reservation.
In the specific implementation, as one embodiment, which can also comprise determining that unit 77 with reference to Fig. 8, it to be used for root It include the first network domain and second network domains according to the network domains that preset network topological information determines that Media Stream passes through; Or determine that Media Stream passes through according to the media stream source address and Media Stream destination address that carry in the first NAT mapping request Network domains include the first network domain and second network domains.
In the specific implementation, can also include storage unit 79, for saving the first corresponding relationship and the second corresponding relationship, institute Stating the first corresponding relationship includes the first network domain, the media stream source address in the first network domain before NAT conversion and institute The corresponding relationship of the first address in first network domain after NAT conversion is stated, second corresponding relationship includes second network The second address in the first address and second network domains in domain, second network domains before NAT conversion after NAT conversion Corresponding relationship.
Optionally, the storage unit 79 is also used to save the position letter of the first NAT device in the first network domain The location information of second NAT device in breath and second network domains;
The then transmission unit 75 carries the source address or first address for sending to the first network domain First resource reservation request include: the transmission unit 75, it is described for showing in the location information of first NAT device First NAT device is located at Media Stream when passing through the inlet in the first network domain, according to first corresponding relationship and described The location information of first NAT device determines that Media Stream Media Stream addresses used in the first network domain are first ground Location sends the first resource reservation request for carrying first address to the first network domain;Alternatively, for described first The location information of NAT device show first NAT device be located at Media Stream pass through the first network domain exit when, root Determine that Media Stream is used in the first network domain according to the location information of first corresponding relationship and first NAT device Media Stream addresses be the source address, sent to the first network domain and carry the first resource of the source address and reserved asks It asks;
Correspondingly, the transmission unit 75, carries first address or described second for sending to the second network domains The Secondary resource reservation request of address includes: the transmission unit 75, for showing in the location information of second NAT device When second NAT device is located at inlet of the Media Stream Jing Guo second network domains, according to second corresponding relationship and The location information of second NAT device determines that Media Stream Media Stream addresses used in second network domains are described the Double-address sends to second network domains and carries the two address Secondary resource reservation request;Alternatively, for described The location information of second NAT device shows that second NAT device is located at exit of the Media Stream Jing Guo second network domains When, determine Media Stream in second network domains according to the location information of second corresponding relationship and second NAT device Used in Media Stream addresses be first address, the second money for carrying first address is sent to second network domains Source reservation request.
In the specific implementation, the device can be applied in traditional IP, then the first mapping network element and second maps network element It can be NAT device;Also it can be applied in SDN network, then the first mapping network element and the second mapping network element can control for SDN Device.
In the specific implementation, as another embodiment, if the first mapping network element is the first software defined network SDN control Device processed, the second mapping network element is the 2nd SDN controller, then the transmission unit 75, for sending out to the first network domain Send carry the first resource reservation request of the source address or first address in the first network domain for Media Stream It includes: the transmission unit 75 that transmission, which carries out resource reservation, carries first ground for sending to the first SDN controller The first resource reservation request of location or the source address, so that position of the first SDN controller according to the first NAT device of preservation The corresponding relationship of the first address behind media stream source address and NAT conversion in information and the first network domain before NAT conversion Determine Media Stream Media Stream addresses used in the first network domain, triggering resource reservation, in the first network domain In for media flow transmission carry out resource reservation;
Correspondingly, the transmission unit 75, is used to send carrying first address or described to second network domains Two address Secondary resource reservation request includes: institute to carry out resource reservation in second network domains for media flow transmission Transmission unit 75 is stated, carries first address or the described two address secondth for sending to the 2nd SDN controller Resource reservation request, so that location information and second net of the 2nd SDN controller according to the second NAT device of preservation The two address corresponding relationship behind the first address and NAT conversion in network domain before NAT conversion determines Media Stream described second Media Stream addresses used in network domains, triggering resource reservation, to be that media flow transmission is provided in second network domains Source is reserved.
It can be PCRF entity in the specific implementation, device can be the resource coordination entity in above-described embodiment, it can also be with For SDN controller, or other network equipments.The name of entity does not constitute restriction to entity.
Therefore by using device provided by the above embodiment, each net being isolated by multiple NAT device can solve The resource reservation problem in network domain.If there is multiple NAT device on media stream path, by the device, each available NAT Address after equipment, the resource that also may be implemented when Media Stream transmits in the multiple network domains being isolated by multiple NAT device are pre- Stay problem.
Device provided by the above embodiment can be applied to media flow transmission by two or more network domains In system.In this system, multiple network domains successively can successively be passed through when media flow transmission.Wherein, via network domains in can To there is NAT device;There is NAT device in the network domains that can also have, there is no NAT device in some network domains, as long as on path Via network domains at least there are two NAT device.Media Stream via network domains which be also not necessarily limited to there is NAT to set It is standby or which do not have NAT device, as long as a total of two or more network domains have NAT device.
It is apparent to those skilled in the art that for convenience and simplicity of description, the device of foregoing description Specific work process, and exchange method between other network elements can be with reference to corresponding in preceding method embodiment Journey, details are not described herein.
The device of foregoing description can be used for executing the technical side that device executes in the above-mentioned each method embodiment of the present invention Similar in case, its implementation and embodiment of the method, details are not described herein again.
Fig. 9 is a kind of composition schematic diagram of resource reservation system provided in an embodiment of the present invention.As shown in figure 9, the system Including the first SDN controller 91 in first network domain and the 2nd SDN controller 93 of the second network domains, Media Stream successively passes through respectively Cross first network domain and the second network domains, wherein
The first SDN controller 91, second of the carrying media stream source address for receiving the transmission of resource coordination entity Network address translation NAT mapping request;For the first ground after media stream source address assigning network address conversion NAT conversion First address is returned to the resource coordination entity by location;
The 2nd SDN controller 93, for receiving carrying first address that the resource coordination entity is sent 3rd NAT mapping request distributes the second address after NAT conversion for first address, second address is returned to institute State resource coordination entity;
The first SDN controller 91, be also used to receive the carrying source address that the resource coordination entity is sent or The first resource reservation request of first address, triggering resource reservation;
The 2nd SDN controller 93 is also used to receive carrying first address that the resource coordination entity is sent Or the two address Secondary resource reservation request, triggering resource reservation.
Optionally, the 2nd NAT mapping request is that the resource coordination entity is being received from message transmission network element It is sent after first NAT mapping request of carrying media stream source address.The message, which sends network element, can be the P- in IMS network CSCF, the network element of control plane information can be sent by being also possible to third-party application server or other.
In the concrete realization, optionally, the first SDN controller 91 is also used to receive the first resource pre- After staying request, according in the first network domain of preservation in the location information and the first network domain of the first NAT device The corresponding relationship of the first address behind media stream source address and NAT conversion before NAT conversion determines Media Stream in first net Media Stream addresses used in network domain;
The 2nd SDN controller 93 is also used to after receiving the Secondary resource reservation request, according to the institute of preservation State the first address in the second network domains in the location information of the second NAT device and second network domains before NAT conversion with Two address corresponding relationship after NAT conversion determines Media Stream Media Stream addresses used in second network domains.
In the concrete realization, as one embodiment, the first SDN controller, for according to described the first of preservation Media stream source address and NAT in network domains in the location information of the first NAT device and the first network domain before NAT conversion The corresponding relationship of the first address after conversion determines that Media Stream Media Stream addresses used in the first network domain include: institute The first SDN controller is stated, for showing that first NAT device is located at Media Stream in the location information of first NAT device By the first network domain inlet when, it is determined that Media Stream Media Stream addresses used in the first network domain are First address;Alternatively, the location information in first NAT device shows that first NAT device is located at media Stream is by the exit in the first network domain, it is determined that Media Stream Media Stream used in the first network domain Location is the source address;
Correspondingly, the 2nd SDN controller, for the second NAT device in second network domains according to preservation The two address corresponding relationship behind the first address and NAT conversion in location information and second network domains before NAT conversion Determine that Media Stream Media Stream addresses used in second network domains include: the 2nd SDN controller, for described The location information of second NAT device shows that second NAT device is located at inlet of the Media Stream Jing Guo second network domains When, it is determined that Media Stream Media Stream addresses used in second network domains are second address;Alternatively, in institute The location information for stating the second NAT device shows that second NAT device is located at outlet of the Media Stream Jing Guo second network domains When place, it is determined that Media Stream Media Stream addresses used in second network domains are first address.
Optionally, the first SDN controller is used for triggering resource reservation, comprising: the first SDN controller is used for Flow table issuance is generated to the first network according to determining Media Stream Media Stream addresses used in the first network domain The SDN switch in domain carries out resource reservation;
The 2nd SDN controller is used for triggering resource reservation, comprising: the 2nd SDN controller, for according to determination Media Stream Media Stream addresses used in second network domains generate flow table issuance to second network domains SDN hand over It changes planes to carry out resource reservation.
Wherein, the method that SDN carries out resource reservation is shown in embodiment of the method, and which is not described herein again.
Therefore by using resource reservation system provided by the above embodiment, can solve by multiple NAT device every From each network domains resource reservation problem.If there is multiple NAT device on media stream path, by the resource reservation system, Resource reservation problem when Media Stream transmits in the multiple network domains being isolated by multiple NAT device may be implemented.
Resource reservation system provided by the above embodiment successively can successively pass through multiple network domains, packet when media flow transmission Include first network domain and the second network domains.Wherein, via network domains in can have NAT device;The network domains that can also have In have NAT device, there is no NAT device in some network domains, as long as on path via network domains at least there are two NAT device ?.Media Stream via network domains be also not necessarily limited to which have NAT device or which without NAT device, as long as in total There are two or more than two network domains have NAT device.
It is apparent to those skilled in the art that for convenience and simplicity of description, the resource of foregoing description The specific work process of SDN controller in reserved system, and exchange method between other network elements can refer to aforementioned side Corresponding process in method embodiment, details are not described herein.
The resource reservation system of foregoing description can be used for executing the technical side in the above-mentioned each method embodiment of the present invention Similar in case, its implementation and embodiment of the method, details are not described herein again.
It as shown in Figure 10, is a kind of structural schematic diagram of device provided in an embodiment of the present invention.This may be implemented in the device Method in inventive method embodiment, described device can use general-purpose computing system structure, and computer system can be specifically Processor-based computer.Described device includes at least one processor 1001, communication bus 1003, memory 1005 and At least one communication interface 1007.The device can be the resource coordination entity in above-described embodiment.
Processor 1001 can be a general central processor (CPU), microprocessor, application-specific integrated circuit (application-specific integrated circuit, ASIC), or it is one or more for controlling the present invention program The integrated circuit that program executes.
Wherein, the communication bus 1003 may include an access, and information is transmitted between said modules.The communication interface 1007, using the device of any transceiver one kind, it is used for and other equipment or communication, such as Ethernet, wireless access Net (RAN), WLAN (Wireless Local Area Networks, WLAN) etc..
Memory 1005 can be read-only memory (read-only memory, ROM) or can store static information and refer to The other kinds of static storage device enabled, random access memory (random access memory, RAM) or can store The other kinds of dynamic memory of information and instruction, is also possible to Electrically Erasable Programmable Read-Only Memory (Electrically Erasable Programmable Read-Only Memory, EEPROM), CD-ROM (Compact Disc Read-Only Memory, CD-ROM) or other optical disc storages, optical disc storage (including compression optical disc, laser disc, light Dish, Digital Versatile Disc, Blu-ray Disc etc.), magnetic disk storage medium or other magnetic storage apparatus or can be used in carry or Store have instruction or data structure form desired program code and can by any other medium of computer access, but It is without being limited thereto.These memories are connected by bus with processor.
Wherein, the memory 1005 is used to store the application code for executing the present invention program, executes present invention side The application code of case saves in memory, and execution is controlled by processor 81.The processor 1001 is for executing The application program stored in the memory 1005.
In a kind of possible embodiment, when above-mentioned application program is executed by the processor 1001, realize as follows Function:
First network address conversion NAT mapping request is received, the first NAT mapping request carries media stream source address;
The 2nd NAT mapping for sending the carrying media stream source address to the first mapping network element in the first network domain is asked It asks, receive the first mapping network element return carries out the first address after NAT conversion to the media stream source address;
The 3rd NAT mapping request for carrying first address is sent to the second mapping network element of second network domains, Receive the second mapping network element return carries out the second address after NAT conversion to first address;
Sent to the first network domain carry the first resource reservation request of the source address or first address with Resource reservation is carried out for media flow transmission in the first network domain, is sent to second network domains and carries first ground Location or the two address Secondary resource reservation request are to be that media flow transmission progress resource is pre- in second network domains It stays.
In the concrete realization, it when above-mentioned application program is executed by the processor 1001, can also implement function such as:
It include the first network domain and described according to the network domains that preset network topological information determines that Media Stream passes through Second network domains;Or it is true according to the media stream source address and Media Stream destination address carried in the first NAT mapping request The network domains for determining Media Stream process include the first network domain and second network domains.
In the concrete realization, as one embodiment, it is also used to save the first corresponding relationship and second in the memory Corresponding relationship, first corresponding relationship include the first network domain, the Media Stream in the first network domain before NAT conversion The corresponding relationship of the first address in source address and the first network domain after NAT conversion, second corresponding relationship includes institute State the second network domains, in the first address in second network domains before NAT conversion and second network domains after NAT conversion The two address corresponding relationship.
In the concrete realization, the memory is also used to save the position letter of the first NAT device in the first network domain The location information of second NAT device in breath and second network domains.Then the processor 1001 is sent out to the first network domain The first resource reservation request for carrying the source address or first address is sent, is specifically used for executing: be set in the first NAT Standby location information show first NAT device be located at Media Stream pass through the first network domain inlet when, according to institute The location information for stating the first corresponding relationship and first NAT device determines Media Stream matchmaker used in the first network domain Body stream address is first address, and the first resource for sending carrying first address to the first network domain is reserved to ask It asks;Alternatively, the location information in first NAT device shows that first NAT device is located at Media Stream by described first When the exit of network domains, determine that Media Stream exists according to the location information of first corresponding relationship and first NAT device Media Stream addresses used in the first network domain are the source address, are sent to the first network domain with carrying the source The first resource reservation request of location.
Correspondingly, the processor 1001 is sent to the second network domains carries first address or described the two address Secondary resource reservation request is specifically used for executing: showing second NAT device in the location information of second NAT device When inlet positioned at Media Stream Jing Guo second network domains, according to second corresponding relationship and second NAT device Location information determine that Media Stream Media Stream addresses used in second network domains are second address, to described the Two network domains, which are sent, carries the two address Secondary resource reservation request;Alternatively, believing in the position of second NAT device It is corresponding according to described second when breath shows that second NAT device is located at exit of the Media Stream Jing Guo second network domains The location information of relationship and second NAT device determines that Media Stream Media Stream addresses used in second network domains are First address sends the Secondary resource reservation request for carrying first address to second network domains.
In the specific implementation, as one embodiment, if the first mapping network element is the first SDN controller, second mapping Network element is the 2nd SDN controller, then the processor 1001 is sent to the first network domain carries the source address or described The first resource reservation request of first address is specific to use to be that media flow transmission carries out resource reservation in the first network domain In execution: the first resource reservation request for carrying first address or the source address is sent to the first SDN controller, So that before the first SDN controller is converted according to NAT in the location information of the first NAT device of preservation and the first network domain The corresponding relationship of the first address behind media stream source address and NAT conversion determines Media Stream used in the first network domain Media Stream addresses, triggering resource reservation, to be that media flow transmission carries out resource reservation in the first network domain.
Correspondingly, the processor 1001 is sent to second network domains carries first address or second ground The Secondary resource reservation request of location is to be that media flow transmission carries out resource reservation in second network domains, specifically for holding Row: sending to the 2nd SDN controller and carry first address or the two address Secondary resource reservation request, with Before converting the 2nd SDN controller according to NAT in the location information of the second NAT device of preservation and second network domains The first address and NAT conversion after two address corresponding relationship determine Media Stream matchmaker used in second network domains Body stream address, triggering resource reservation, to be that media flow transmission carries out resource reservation in second network domains.
Described device can be the resource coordination entity in above-described embodiment, including PCRF or SDN controller, can also be with For other network equipments.The name of entity does not constitute restriction to entity.
Therefore by using device provided by the above embodiment, each net being isolated by multiple NAT device can solve The resource reservation problem in network domain.It is available by the resource coordination entity if there is multiple NAT device on media stream path Address after each NAT device, when Media Stream also may be implemented being transmitted in the multiple network domains being isolated by multiple NAT device Resource reservation problem.
Device provided by the above embodiment can be applied to media flow transmission by two or more network domains In system.In this system, multiple network domains successively can successively be passed through when media flow transmission.Wherein, via network domains in can To there is NAT device;There is NAT device in the network domains that can also have, there is no NAT device in some network domains, as long as on path Via network domains at least there are two NAT device.Media Stream via network domains which be also not necessarily limited to there is NAT to set It is standby or which do not have NAT device, as long as a total of two or more network domains have NAT device.
It is apparent to those skilled in the art that for convenience and simplicity of description, the resource of foregoing description The specific work process of coordination entity, and exchange method between other network elements can be with reference in preceding method embodiments Corresponding process, details are not described herein.
The device of foregoing description can be used for executing what resource coordination entity in the above-mentioned each method embodiment of the present invention executed Similar in technical solution, its implementation and embodiment of the method, details are not described herein again.
It will be understood by those skilled in the art that the embodiment of the present invention can provide method, apparatus (equipment) or computer journey Sequence product.Therefore, complete hardware embodiment, complete software embodiment or combining software and hardware aspects can be used in the present invention The form of embodiment.Moreover, it wherein includes the calculating of computer usable program code that the present invention, which can be used in one or more, The computer program implemented in machine usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form of product.Wherein device not only includes resource coordination entity, further includes SDN control or NAT device.
The present invention be referring to according to the method for the embodiment of the present invention, the flow chart of device (equipment) and computer program product And/or block diagram describes.It should be understood that each process in flowchart and/or the block diagram can be realized by computer program instructions And/or the combination of the process and/or box in box and flowchart and/or the block diagram.It can provide these computer programs to refer to Enable the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to generate One machine so that by the instruction that the processor of computer or other programmable data processing devices executes generate for realizing The device for the function of being specified in one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (29)

1. a kind of method for obligating resource, which is characterized in that be applied to Media Stream and successively pass through first network domain and the second net respectively In the system in network domain, comprising:
Resource coordination entity receives first network address conversion NAT mapping request, and the first NAT mapping request carries Media Stream Source address;
The 2nd NAT mapping request for carrying the media stream source address is sent to the first mapping network element in the first network domain, Receive the first mapping network element return carries out the first address after NAT conversion to the media stream source address;
The 3rd NAT mapping request for carrying first address is sent to the second mapping network element of second network domains, is received What the second mapping network element returned carries out the second address after NAT conversion to first address;
The first resource reservation request for carrying the source address or first address is sent in institute to the first network domain State in first network domain and carry out resource reservation for media flow transmission, sent to second network domains carry first address or The two address Secondary resource reservation request is to be that media flow transmission carries out resource reservation in second network domains.
2. method for obligating resource as described in claim 1, which is characterized in that this method further include:
The resource coordination entity includes described first according to the network domains that preset network topological information determines that Media Stream passes through Network domains and second network domains.
3. method for obligating resource as described in claim 1, which is characterized in that also carry matchmaker in the first NAT mapping request Body stream destination address, this method further include:
The resource coordination entity determines what Media Stream passed through according to the media stream source address and the Media Stream destination address Network domains include the first network domain and second network domains.
4. the method for obligating resource as described in claims 1 to 3 is any, which is characterized in that further include: the resource coordination entity The first corresponding relationship and the second corresponding relationship are saved, first corresponding relationship includes the first network domain, first net The corresponding of the first address in media stream source address and the first network domain in network domain before NAT conversion after NAT conversion is closed System, second corresponding relationship include second network domains, the first address in second network domains before NAT conversion and The the two address corresponding relationship in second network domains after NAT conversion.
5. method for obligating resource as claimed in claim 4, which is characterized in that the resource coordination entity is also preset: described In first network domain in the location information of the first NAT device and second network domains the second NAT device location information;
It is then described that the first resource reservation request for carrying the source address or first address is sent to the first network domain It specifically includes:
If the location information of first NAT device shows that first NAT device is located at Media Stream by first net The inlet in network domain, then position of the resource coordination entity according to first corresponding relationship and first NAT device Information determines that Media Stream Media Stream addresses used in the first network domain are first address, to the first network Domain sends the first resource reservation request for carrying first address;Alternatively, if the location information table of first NAT device Bright first NAT device is located at the exit that Media Stream passes through the first network domain, then the resource coordination entity root Determine that Media Stream is used in the first network domain according to the location information of first corresponding relationship and first NAT device Media Stream addresses be the source address, sent to the first network domain and carry the first resource of the source address and reserved asks It asks;
It is described specific to the second network domains transmission carrying first address or the two address Secondary resource reservation request Include:
If the location information of second NAT device shows that second NAT device is located at Media Stream by second net The inlet in network domain, then position of the resource coordination entity according to second corresponding relationship and second NAT device Information determines that Media Stream Media Stream addresses used in second network domains are second address, to second network Domain, which is sent, carries the two address Secondary resource reservation request;Alternatively, if the location information table of second NAT device Bright second NAT device is located at exit of the Media Stream Jing Guo second network domains, then the resource coordination entity root Determine that Media Stream is used in second network domains according to the location information of second corresponding relationship and second NAT device Media Stream addresses be first address, sent to second network domains carry first address Secondary resource it is reserved Request.
6. the method for obligating resource as described in claims 1 to 3 is any, which is characterized in that the first mapping network element is first Software defined network SDN controller, the second mapping network element is the 2nd SDN controller;
The first resource reservation request for carrying the source address or first address is sent in institute to the first network domain It states in first network domain and is specifically included for media flow transmission progress resource reservation:
The resource coordination entity sends to the first SDN controller and carries the first of first address or the source address Resource reservation request, so that location information and the first network domain of the first SDN controller according to the first NAT device of preservation The corresponding relationship of the first address behind media stream source address and NAT conversion before middle NAT conversion determines Media Stream described first Media Stream addresses used in network domains, triggering resource reservation, to be that media flow transmission is provided in the first network domain Source is reserved;
Correspondingly, being asked to second network domains transmission carrying first address or the two address Secondary resource are reserved It asks to be that media flow transmission progress resource reservation specifically includes in second network domains:
The resource coordination entity is sent to the 2nd SDN controller carries first address or described the two address the Two resource reservation requests, so that the 2nd SDN controller is according to the location information of the second NAT device of preservation and described second The two address corresponding relationship behind the first address and NAT conversion in network domains before NAT conversion determines Media Stream described the Media Stream addresses used in two network domains, triggering resource reservation, to be that media flow transmission carries out in second network domains Resource reservation.
7. the method for obligating resource as described in claims 1 to 3 is any, which is characterized in that the progress resource reservation includes: life At mapping table.
8. method for obligating resource as claimed in claim 4, which is characterized in that the progress resource reservation includes: to generate mapping Table.
9. method for obligating resource as claimed in claim 5, which is characterized in that the progress resource reservation includes: to generate mapping Table.
10. method for obligating resource as claimed in claim 6, which is characterized in that the progress resource reservation includes: to generate mapping Table.
11. the method for obligating resource as described in claims 1 to 3 is any, which is characterized in that the resource coordination entity includes plan Slightly with charging regulation function entity PCRF or SDN controller.
12. method for obligating resource as claimed in claim 4, which is characterized in that the resource coordination entity includes strategy and meter Take regulation function entity PCRF or SDN controller.
13. method for obligating resource as claimed in claim 5, which is characterized in that the resource coordination entity includes strategy and meter Take regulation function entity PCRF or SDN controller.
14. method for obligating resource as claimed in claim 6, which is characterized in that the resource coordination entity includes strategy and meter Take regulation function entity PCRF or SDN controller.
15. a kind of resource reservation device, which is characterized in that be applied to Media Stream and successively pass through first network domain and the second net respectively In the system in network domain, comprising:
Receiving unit, for receiving first network address conversion NAT mapping request, the first NAT mapping request carries media Stream source location;
Address acquisition unit carries the media stream source address for sending to the first mapping network element in the first network domain 2nd NAT mapping request receives the carried out after NAT conversion to the media stream source address that the first mapping network element returns One address;The 3rd NAT mapping request for carrying first address is sent to the second mapping network element of second network domains, is connect That receives the second mapping network element return carries out the second address after NAT conversion to first address;
Transmission unit, the first resource for sending the carrying source address or first address to the first network domain are pre- Request is stayed to be that media flow transmission carries out resource reservation in the first network domain, is sent to second network domains and carries institute State the first address or the two address Secondary resource reservation request in second network domains be media flow transmission into Row resource reservation.
16. device as claimed in claim 15, which is characterized in that further include:
Determination unit, the network domains for determining that Media Stream passes through according to preset network topological information include the first network Domain and second network domains;Or according to the media stream source address and Media Stream mesh carried in the first NAT mapping request Address determine Media Stream pass through network domains include the first network domain and second network domains.
17. device as claimed in claim 15, which is characterized in that further include:
Storage unit includes described first for the first corresponding relationship of preservation and the second corresponding relationship, first corresponding relationship In media stream source address and the first network domain in network domains, the first network domain before NAT conversion after NAT conversion The corresponding relationship of first address, second corresponding relationship include second network domains, NAT conversion in second network domains The the two address corresponding relationship in the first preceding address and second network domains after NAT conversion.
18. device as claimed in claim 16, which is characterized in that further include:
Storage unit includes described first for the first corresponding relationship of preservation and the second corresponding relationship, first corresponding relationship In media stream source address and the first network domain in network domains, the first network domain before NAT conversion after NAT conversion The corresponding relationship of first address, second corresponding relationship include second network domains, NAT conversion in second network domains The the two address corresponding relationship in the first preceding address and second network domains after NAT conversion.
19. device as claimed in claim 17, which is characterized in that
The storage unit is also used to save the location information of the first NAT device and second net in the first network domain The location information of second NAT device in network domain;
The then transmission unit carries the first of the source address or first address for sending to the first network domain Resource reservation request includes: the transmission unit, for showing the first NAT in the location information of first NAT device When equipment is located at inlet of the Media Stream by the first network domain, according to first corresponding relationship and the first NAT The location information of equipment determines that Media Stream Media Stream addresses used in the first network domain are first address, to institute It states first network domain and sends the first resource reservation request for carrying first address;Alternatively, in first NAT device Location information show first NAT device be located at Media Stream pass through the first network domain exit when, according to described The location information of first corresponding relationship and first NAT device determines Media Stream media used in the first network domain Stream address is the source address, and the first resource reservation request for carrying the source address is sent to the first network domain;
Correspondingly, the transmission unit, first address or described the two address is carried for sending to the second network domains Secondary resource reservation request includes: the transmission unit, for showing described second in the location information of second NAT device When NAT device is located at inlet of the Media Stream Jing Guo second network domains, according to second corresponding relationship and described second The location information of NAT device determines that Media Stream Media Stream addresses used in second network domains are second address, It is sent to second network domains and carries the two address Secondary resource reservation request;Alternatively, in the 2nd NAT When the location information of equipment shows that second NAT device is located at exit of the Media Stream Jing Guo second network domains, according to The location information of second corresponding relationship and second NAT device determines Media Stream used in second network domains Media Stream addresses are first address, and the Secondary resource for sending carrying first address to second network domains is reserved to ask It asks.
20. device as claimed in claim 18, which is characterized in that
The storage unit is also used to save the location information of the first NAT device and second net in the first network domain The location information of second NAT device in network domain;
The then transmission unit carries the first of the source address or first address for sending to the first network domain Resource reservation request includes: the transmission unit, for showing the first NAT in the location information of first NAT device When equipment is located at inlet of the Media Stream by the first network domain, according to first corresponding relationship and the first NAT The location information of equipment determines that Media Stream Media Stream addresses used in the first network domain are first address, to institute It states first network domain and sends the first resource reservation request for carrying first address;Alternatively, in first NAT device Location information show first NAT device be located at Media Stream pass through the first network domain exit when, according to described The location information of first corresponding relationship and first NAT device determines Media Stream media used in the first network domain Stream address is the source address, and the first resource reservation request for carrying the source address is sent to the first network domain;
Correspondingly, the transmission unit, first address or described the two address is carried for sending to the second network domains Secondary resource reservation request includes: the transmission unit, for showing described second in the location information of second NAT device When NAT device is located at inlet of the Media Stream Jing Guo second network domains, according to second corresponding relationship and described second The location information of NAT device determines that Media Stream Media Stream addresses used in second network domains are second address, It is sent to second network domains and carries the two address Secondary resource reservation request;Alternatively, in the 2nd NAT When the location information of equipment shows that second NAT device is located at exit of the Media Stream Jing Guo second network domains, according to The location information of second corresponding relationship and second NAT device determines Media Stream used in second network domains Media Stream addresses are first address, and the Secondary resource for sending carrying first address to second network domains is reserved to ask It asks.
21. device as claimed in claim 17, which is characterized in that the first mapping network element is the first software defined network SDN controller, the second mapping network element is the 2nd SDN controller,
The then transmission unit carries the first of the source address or first address for sending to the first network domain Resource reservation request includes: the transmission unit to be media flow transmission progress resource reservation in the first network domain, is used In the first resource reservation request for sending carrying first address or the source address to the first SDN controller, so that First SDN controller is according to the media before NAT conversion in the location information of the first NAT device of preservation and the first network domain The corresponding relationship of the first address behind stream source location and NAT conversion determines Media Stream media used in the first network domain Flow address, triggering resource reservation, to be that media flow transmission carries out resource reservation in the first network domain;
Correspondingly, the transmission unit, carries first address or second ground for sending to second network domains The Secondary resource reservation request of location includes: the transmission to be media flow transmission progress resource reservation in second network domains Unit, for reserved to the 2nd SDN controller transmission carrying first address or the two address Secondary resource Request, so that the 2nd SDN controller is according in the location information and second network domains of the second NAT device of preservation The two address corresponding relationship behind the first address and NAT conversion before NAT conversion determines Media Stream in second network domains Used in Media Stream addresses, triggering resource reservation, in second network domains be media flow transmission carry out resource reservation.
22. device as claimed in claim 18, which is characterized in that the first mapping network element is the first software defined network SDN controller, the second mapping network element is the 2nd SDN controller,
The then transmission unit carries the first of the source address or first address for sending to the first network domain Resource reservation request includes: the transmission unit to be media flow transmission progress resource reservation in the first network domain, is used In the first resource reservation request for sending carrying first address or the source address to the first SDN controller, so that First SDN controller is according to the media before NAT conversion in the location information of the first NAT device of preservation and the first network domain The corresponding relationship of the first address behind stream source location and NAT conversion determines Media Stream media used in the first network domain Flow address, triggering resource reservation, to be that media flow transmission carries out resource reservation in the first network domain;
Correspondingly, the transmission unit, carries first address or second ground for sending to second network domains The Secondary resource reservation request of location includes: the transmission to be media flow transmission progress resource reservation in second network domains Unit, for reserved to the 2nd SDN controller transmission carrying first address or the two address Secondary resource Request, so that the 2nd SDN controller is according in the location information and second network domains of the second NAT device of preservation The two address corresponding relationship behind the first address and NAT conversion before NAT conversion determines Media Stream in second network domains Used in Media Stream addresses, triggering resource reservation, in second network domains be media flow transmission carry out resource reservation.
23. the device as described in claim 15 to 22 is any, which is characterized in that described device includes strategy and charging regulation function It can entity PCRF or SDN controller.
24. a kind of resource reservation system, which is characterized in that the system includes the first software defined network SDN in first network domain 2nd SDN controller of controller and the second network domains, Media Stream successively pass through first network domain and the second network domains respectively, In,
The first SDN controller, the second network of the carrying media stream source address for receiving the transmission of resource coordination entity Convert NAT mapping request in location;The first address after being converted for the media stream source address assigning network address conversion NAT, by institute It states the first address and returns to the resource coordination entity;
The 2nd SDN controller, for receiving the 3rd NAT of carrying first address that the resource coordination entity is sent Mapping request distributes the second address after NAT conversion for first address, second address is returned to the resource and is assisted Adjust entity;
The first SDN controller is also used to receive the carrying source address that the resource coordination entity is sent or described the The first resource reservation request of one address, triggering resource reservation;
The 2nd SDN controller is also used to receive carrying first address or described that the resource coordination entity is sent Two address Secondary resource reservation request, triggering resource reservation.
25. resource reservation system as claimed in claim 24, which is characterized in that
The first SDN controller is also used to after receiving the first resource reservation request, according to described the first of preservation Media stream source address and NAT in network domains in the location information of the first NAT device and the first network domain before NAT conversion The corresponding relationship of the first address after conversion determines Media Stream Media Stream addresses used in the first network domain;
The 2nd SDN controller is also used to after receiving the Secondary resource reservation request, according to described the second of preservation The first address and NAT in network domains in the location information of the second NAT device and second network domains before NAT conversion are converted Two address corresponding relationship afterwards determines Media Stream Media Stream addresses used in second network domains.
26. resource reservation system as claimed in claim 25, which is characterized in that
The first SDN controller, for the location information of the first NAT device in the first network domain according to preservation, and The corresponding relationship of the first address behind media stream source address and NAT conversion in the first network domain before NAT conversion determines matchmaker Body stream Media Stream addresses used in the first network domain include:
The first SDN controller, for showing that first NAT device is located in the location information of first NAT device When Media Stream passes through the inlet in the first network domain, it is determined that Media Stream Media Stream used in the first network domain Address is first address;Alternatively, the location information in first NAT device shows first NAT device position Pass through in Media Stream at the exit in the first network domain, it is determined that Media Stream matchmaker used in the first network domain Body stream address is the source address;
Correspondingly, the 2nd SDN controller, the position for the second NAT device in second network domains according to preservation The two address corresponding relationship behind the first address and NAT conversion in information and second network domains before NAT conversion determines Media Stream Media Stream addresses used in second network domains include:
The 2nd SDN controller, for showing that second NAT device is located in the location information of second NAT device When inlet of the Media Stream Jing Guo second network domains, it is determined that Media Stream Media Stream used in second network domains Address is second address;Alternatively, the location information in second NAT device shows second NAT device position When exit of the Media Stream Jing Guo second network domains, it is determined that Media Stream media used in second network domains Stream address is first address.
27. the resource reservation system as described in claim 25 or 26, which is characterized in that
The first SDN controller is used for triggering resource reservation, comprising: the first SDN controller, for according to determining matchmaker Body stream Media Stream addresses used in the first network domain generate flow table issuance to the SDN switch in the first network domain To carry out resource reservation;
The 2nd SDN controller is used for triggering resource reservation, comprising: the 2nd SDN controller, for according to determining matchmaker Body stream Media Stream addresses used in second network domains generate flow table issuance to the SDN switch of second network domains To carry out resource reservation.
28. a kind of computer-usable storage medium, which is characterized in that the computer-usable storage medium is stored with computer can With program code, the computer usable program code is executed by related hardware, to complete claim 1 to 14 any one institute The method stated.
29. a kind of resource reservation device characterized by comprising
At least one processor, communication bus, memory and at least one communication interface,
Wherein, the processor is used to execute the application program stored in the memory,
Wherein, it when the application program is executed by the processor 1001, completes described in claim 1 to 14 any one Method.
CN201410826790.9A 2014-12-25 2014-12-25 A kind of method for obligating resource, device and system Active CN105791167B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201410826790.9A CN105791167B (en) 2014-12-25 2014-12-25 A kind of method for obligating resource, device and system
PCT/CN2015/097519 WO2016101821A1 (en) 2014-12-25 2015-12-15 Resource reservation method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410826790.9A CN105791167B (en) 2014-12-25 2014-12-25 A kind of method for obligating resource, device and system

Publications (2)

Publication Number Publication Date
CN105791167A CN105791167A (en) 2016-07-20
CN105791167B true CN105791167B (en) 2019-01-25

Family

ID=56149245

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410826790.9A Active CN105791167B (en) 2014-12-25 2014-12-25 A kind of method for obligating resource, device and system

Country Status (2)

Country Link
CN (1) CN105791167B (en)
WO (1) WO2016101821A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108632403A (en) * 2018-03-30 2018-10-09 天津麒麟信息技术有限公司 A kind of MAC and IP address transmission method based on Feiteng processor

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1992675A (en) * 2005-12-31 2007-07-04 中兴通讯股份有限公司 Method for guarantying interconnection between network address conversion apparatus and external network
CN101764810A (en) * 2009-12-25 2010-06-30 中国科学院声学研究所 Negotiation method and system provided by cross-domain service
CN102263786A (en) * 2011-07-04 2011-11-30 中兴通讯股份有限公司 Method and system for realizing bearing resource control function
CN102387081A (en) * 2011-11-18 2012-03-21 华为技术有限公司 Communication service QoS assurance method, device and system in NAT scene

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1595887A (en) * 2003-09-08 2005-03-16 华为技术有限公司 A next generation network system and resource management method
FR2913838A1 (en) * 2007-03-13 2008-09-19 France Telecom METHOD OF DYNAMICALLY CONTROLLING THE NUMBER OF TRANSISTOR DATA STREAMS IN A NETWORK ARCHITECTURE
US9036476B2 (en) * 2012-09-28 2015-05-19 Juniper Networks, Inc. Maintaining load balancing after service application with a network device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1992675A (en) * 2005-12-31 2007-07-04 中兴通讯股份有限公司 Method for guarantying interconnection between network address conversion apparatus and external network
CN101764810A (en) * 2009-12-25 2010-06-30 中国科学院声学研究所 Negotiation method and system provided by cross-domain service
CN102263786A (en) * 2011-07-04 2011-11-30 中兴通讯股份有限公司 Method and system for realizing bearing resource control function
CN102387081A (en) * 2011-11-18 2012-03-21 华为技术有限公司 Communication service QoS assurance method, device and system in NAT scene

Also Published As

Publication number Publication date
WO2016101821A1 (en) 2016-06-30
CN105791167A (en) 2016-07-20

Similar Documents

Publication Publication Date Title
US10122547B2 (en) Enabling high-bandwidth, responsive mobile applications in LTE networks
EP3208979A1 (en) Software-defined network-based method and system for implementing content distribution network
US9876756B2 (en) Network access method and device for equipment
EP3306869B1 (en) Message forwarding method, apparatus and system
JP7427082B2 (en) Service offloading methods, devices, systems, electronic devices, and computer programs
CN110235427A (en) The IP index for IP address distribution based on policy control functions
US10904140B2 (en) Integrated wire and wireless network packet broker and method for GTP correlation assigning method of the same
US20150207776A1 (en) Intelligent ip resolver
US11070422B2 (en) Enabling enterprise segmentation with 5G slices in a service provider network
MY158555A (en) Method and system for controlling the bandwidth to comply with a predetermined quality of service at an access point of a communications network operating an aggregation of heterogeneous traffic flows
CN108924050A (en) Data forwarding method and its device, storage medium and network card equipment
CN110278118B (en) End-to-end service quality assurance system
EP1921803A1 (en) A method for processing request of network address/port conversion in communication network
CN106911638B (en) User registration information processing method and device and ePDG equipment
Coronado et al. Flow-based network slicing: Mapping the future mobile radio access networks
CN101159599A (en) Two-layer equipment strategy controlled method
CN105791167B (en) A kind of method for obligating resource, device and system
CN104243628A (en) Continuous multi-port application method and device
Mufadhol et al. Netscan and networx for management bandwidth and traffic with simple routing
Mendiola et al. DynPaC: A path computation framework for SDN
CN106792923A (en) A kind of method and device for configuring qos policy
US11323376B2 (en) Bandwidth control in a network address translation (NAT) environment
EP3353998A1 (en) Advertising method and system in network functions virtualization environment
GB2595937A (en) Access traffic management
US10601961B2 (en) Service function chain dynamic classification

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