CN103107990B - A kind of medium conversion system and attaching method thereof - Google Patents

A kind of medium conversion system and attaching method thereof Download PDF

Info

Publication number
CN103107990B
CN103107990B CN201310016711.3A CN201310016711A CN103107990B CN 103107990 B CN103107990 B CN 103107990B CN 201310016711 A CN201310016711 A CN 201310016711A CN 103107990 B CN103107990 B CN 103107990B
Authority
CN
China
Prior art keywords
port
medium
atm
change
interface
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
CN201310016711.3A
Other languages
Chinese (zh)
Other versions
CN103107990A (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.)
Datang Mobile Communications Equipment Co Ltd
Original Assignee
Datang Mobile Communications Equipment 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 Datang Mobile Communications Equipment Co Ltd filed Critical Datang Mobile Communications Equipment Co Ltd
Priority to CN201310016711.3A priority Critical patent/CN103107990B/en
Publication of CN103107990A publication Critical patent/CN103107990A/en
Application granted granted Critical
Publication of CN103107990B publication Critical patent/CN103107990B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Communication Control (AREA)

Abstract

The invention provides a kind of medium conversion system and attaching method thereof, need the data of at substantial in changing with resolution protocol Zhuan Huan Zhuan Ge, compare the problem of losing time.Described system comprises: change of medium box, for realizing the conversion of IP medium and ATM medium on a physical layer; Described change of medium box comprises: IP port and atm port, and IP port is the connectivity port of IP medium, and atm port is the connectivity port of ATM medium; Based on the Iu interface of IP medium, for carrying out the protocol conversion of ATM and IP, comprise protocol stack; Described protocol stack comprises: wireless network layer, transport network layer and physical layer, and wherein, wireless network layer and transport network layer build according to ATM protocol stack, and physical layer builds according to IP stack, and described physical layer Pei Ge has IP port.

Description

A kind of medium conversion system and attaching method thereof
Technical field
The present invention relates to the communication technology, particularly relate to a kind of medium conversion system, and a kind of method of attachment of medium conversion system.
Background technology
At TD SDMA (TimeDivision-SynchronousCodeDivisionMultipleAccess, TD-SCDMA) in system, core net (CoreNetwork, and radio network controller (RadioNetworkController CN), the composition of the Iu interface RNC) can by ATM(AsynchronousTransferMode, asynchronous transfer mode) medium or IP(InternetProtocol, network interconnection agreement) medium composition, wherein, ATM medium comprises: ATM dielectric and ATM light medium, IP medium comprises: IP dielectric and IP light medium.
The protocol stack that two kinds of different media make Iu interface adopt is different, and wherein, when Iu interface is made up of ATM medium, Iu interface adopts ATM protocol stack; When Iu interface is made up of IP medium, Iu interface adopts IP stack.
With reference to Fig. 1, give Iu interface ATM protocol stack schematic diagram in prior art.
With reference to Fig. 2, give Iu interface IP stack schematic diagram in prior art.
Wherein, ATM protocol stack and IP stack are all formed by 3 layers, are wireless network layer (RadioNetworkLayer), transport network layer (TransportNetworkLayer) and physical layer (PhysicalLayer) respectively.The physical layer of ATM protocol stack adopts ATM medium, and the physical layer of IP stack adopts IP medium.
Therefore when reality uses, because the Iu interface of the opposite equip. of CN and RNC may have employed different media, thus cause occurring that ATM medium and IP medium need interconnected scene.Because medium is different, thus the protocol stack that adopts of Iu interface is different, causes the Iu interface of equipment room to be directly communicated with.
In order to solve the above problems, have devised a kind of protocol conversion Zhuan Ge, this protocol conversion Zhuan Ge supports two kinds of protocol stacks of Iu interface simultaneously, namely comprises ATM protocol stack and IP stack simultaneously.
With reference to Fig. 3, give the protocol stack schematic diagram in protocol conversion Zhuan Ge described in prior art.
In protocol conversion Zhuan Ge, adopt ATM protocol stack and IP stack to achieve wireless network layer, transport network layer and physical layer, wherein, described physical layer adopts ATM medium and IP medium simultaneously simultaneously.
Therefore, when the Iu interface of the opposite equip. of CN and RNC adopts different media, one end of described protocol conversion Zhuan Ge can be connected the opposite equip. of RNC, the other end connects the opposite equip. of CN.Thus in protocol conversion Zhuan Ge, realize the conversion of ATM agreement and IP agreement, and the conversion of ATM medium and IP medium, and then realize the UNICOM of CN and RNC.
But, owing to achieving the conversion of ATM agreement and IP agreement in described protocol conversion Zhuan Ge, therefore the data needing Pei Ge a large amount of in Gai Zhuan Ge and service parameter, and need when performing conversion to carry out complicated protocol conversion process, Shuo Ju Pei Ge, process and maintenance complexity very, need the data of at substantial in conversion, compare and lose time.
Summary of the invention
Embodiments provide a kind of medium conversion system, need the data of at substantial in changing with resolution protocol Zhuan Huan Zhuan Ge, compare the problem of losing time.
Accordingly, the embodiment of the present invention additionally provides a kind of method of attachment of medium conversion system.
In order to solve the problem, the invention discloses a kind of medium conversion system, comprising:
Change of medium box, for realizing the conversion of IP medium and ATM medium on a physical layer; Wherein
Described change of medium box comprises: IP port and atm port, and IP port is the connectivity port of IP medium, and atm port is the connectivity port of ATM medium;
Based on the Iu interface of IP medium, for carrying out the protocol conversion of ATM and IP, comprise protocol stack;
Described protocol stack comprises: wireless network layer, transport network layer and physical layer, and wherein, wireless network layer and transport network layer build according to ATM protocol stack, and physical layer builds according to IP stack, and described physical layer Pei Ge has IP port.
Optionally, described Iu interface, also sends Pei Ge and asks to described change of medium box; Described change of medium box, also according to Iu interface Pei Ge Qing Qiu She Ge port, comprising: set up atm link, and the mapping relations of described atm link and IP port.
Optionally, described Pei Ge request comprises Pei Ge parameter, and described Pei Ge parameter comprises: Linktype, link identification, IP address and port value; Wherein, described Linktype, for the type of Pei Ge ATM Adaptation Layer; Described link identification, for uniquely representing an atm link; Described IP address, is specially the IP address of the IP port with described atm link with mapping relations; Described port value, for Pei Ge IP port.
Optionally, described change of medium box, also selects the type of ATM Adaptation Layer according to the Linktype in described Pei Ge parameter, and creates atm link according to link identification; And, according to described Linktype and port value, determine the IP port of described Iu interface side, and set up the mapping relations of described atm link and IP port according to described IP address.
Optionally, described change of medium box, also sends connection request to described Iu interface; Described Iu interface, also creates control channel according to the connection request received.
Optionally, described change of medium box, also sends and asks corresponding Pei Ge to respond with described Pei Ge, and with feedback port, whether Pei Ge is successful; Then described Iu interface, also detects Pei Ge response by described control channel, and periodically whether the described change of medium box of detection normally works.
Optionally, described Iu interface, also responds according to described Pei Ge, creates link-state list to store the mapping relations of atm link and IP port.
Optionally, described system also comprises: core net and radio network controller, and wherein, described Iu Jie Kou Pei Ge is in core net, and Huo Pei Ge is in radio network controller.
Accordingly, the embodiment of the invention also discloses a kind of method of attachment of medium conversion system, adopt as above arbitrary described medium conversion system, described medium conversion system comprises change of medium box and Iu interface, described change of medium box comprises IP port and atm port, wherein the IP port of change of medium box is connected with the IP port of Iu interface, and described method comprises:
Described change of medium box receives described Iu interface and sends Pei Ge request;
Described change of medium box is asked according to described Pei Ge, sets up atm link;
Described change of medium box is asked according to described Pei Ge, sets up the mapping relations of described atm link and IP port.
Optional , Pei Ge request comprises Pei Ge parameter, and described Pei Ge parameter comprises: Linktype, link identification; Described change of medium box is asked according to described Pei Ge, sets up the method for atm link, comprising: described change of medium box selects the type of ATM Adaptation Layer according to the Linktype in described Pei Ge parameter; Described change of medium box creates atm link according to described link identification.
Optional , Pei Ge request comprises Pei Ge parameter, and described Pei Ge parameter comprises: IP address and port value; Described change of medium box is asked according to described Pei Ge, sets up the method for the mapping relations of described atm link and IP port, comprising: described change of medium box, according to described Linktype and port value, determines the IP port of described Iu interface side; Described change of medium box sets up the mapping relations of described atm link and IP port according to described IP address.
Optionally, change of medium box also comprises before receiving Pei Ge request: described change of medium box connection request is to described Iu interface.
Accordingly, the embodiment of the invention also discloses a kind of method of attachment of medium conversion system, adopt as above arbitrary described medium conversion system, described medium conversion system comprises change of medium box and Iu interface, described change of medium box comprises IP port and atm port, wherein the IP port of change of medium box is connected with the IP port of Iu interface, and described method comprises:
The connection request of Iu interface change of medium box;
Iu interface, according to described connection request, sends Pei Ge to described change of medium box and asks Yi Pei Ge port.
Optionally, Iu interface creates control channel according to described connection request; What Iu interface adopted described control channel detection change of medium box to send asks corresponding Pei Ge to respond with described Pei Ge, and with detection port, whether Pei Ge is successful; And whether Iu interface adopts described control channel periodically to detect described change of medium box normally to work.
Compared with prior art, the present invention includes following advantage:
First, when the Iu interface employing different medium of the opposite equip. of CN and RNC, the embodiment of the present invention can adopt change of medium box to realize the conversion of IP medium and ATM medium on a physical layer, and carry out the protocol conversion of ATM and IP in based on the Iu interface of IP medium, thus it is interconnected to realize between different medium, makes the Iu orifice of equipment room.Further, change of medium box realizes conversion on a physical layer, the parameter that therefore Xu Pei Ge is not too much with maintenance.In addition, in the protocol stack based on the Iu interface of IP medium, wireless network layer and transport network layer build according to ATM protocol stack, and physical layer builds according to IP stack, and described physical layer Pei Ge has IP port.Therefore, protocol conversion process is relatively simple, does not need the data of at substantial, compare and save time in conversion.
Secondly, the embodiment of the present invention can set up atm link in change of medium box, and the mapping relations of described atm link and IP port, concrete, select the type of ATM Adaptation Layer according to the Linktype in described Pei Ge parameter, and create atm link according to link identification; And, according to described Linktype and port value, determine the IP port of described Iu interface side, and set up the mapping relations of described atm link and IP port according to described IP address.Thus realize the mapping of the Iu interface of the opposite equip. of CN and RNC, what realize between different medium is interconnected, makes the Iu orifice of equipment room.
Again, in the embodiment of the present invention, Iu interface also creates control channel according to the connection request received, thus detect Pei Ge response by described control channel, and periodically whether the described change of medium box of detection normally works, ensure the normal connection of the Iu interface of equipment room, ensure that data are transmitted normally.
Again, in the embodiment of the present invention based on the Iu interface Ke Yi Pei Ge of IP medium in core net, also Ke Yi Pei Ge , Pei Ge very flexible, easy to use in radio network controller.
Accompanying drawing explanation
Fig. 1 is Iu interface ATM protocol stack schematic diagram in prior art;
Fig. 2 is Iu interface IP stack schematic diagram in prior art;
Fig. 3 is the protocol stack schematic diagram in protocol conversion Zhuan Ge described in prior art;
Fig. 4 is a kind of medium conversion system structure chart described in the embodiment of the present invention;
Fig. 5 is a kind of medium conversion system structural representation described in the embodiment of the present invention;
Fig. 6 is Duan Kou Pei Ge method flow diagram described in the embodiment of the present invention;
Fig. 7 is the Duan Kou Pei Ge method schematic diagram of scheme one described in the embodiment of the present invention;
Fig. 8 is the Duan Kou Pei Ge method schematic diagram of scheme two described in the embodiment of the present invention;
Fig. 9 is Iu Jie Kou Pei Ge flow chart described in the embodiment of the present invention;
Figure 10 is change of medium box described in the embodiment of the present invention and Iu interface data communication scheme.
Embodiment
For enabling above-mentioned purpose of the present invention, feature and advantage become apparent more, and below in conjunction with the drawings and specific embodiments, the present invention is further detailed explanation.
When reality uses, because the Iu interface of the opposite equip. of CN and RNC may have employed different media, thus cause occurring that ATM medium and IP medium need interconnected scene.Because medium is different, thus the protocol stack that adopts of Iu interface is different, causes the Iu interface of equipment room to be directly communicated with.
Wherein, in ATM protocol stack and IP stack, the bilingual of partial content is as follows:
Radio Access Network Application Part (RadioAccessNetworkApplicationPart, RANAP), transmission network user face (TransportNetworkUserPlane), signaling connection control protocol (SignalConnectionControlProtocol, SCCP), broadband Message Transfer Part (MessageTransportPart (broadband), MTP3B), service specific coordination function-Network-Node Interface (Service-SpecificCoordinationFunction-NetworktoNetworkInt erface, SSCF-NNI), Service Specific Connection Oriented Protocol (ServiceSpecificConnectionOrientedProtocol, SSCOP), transmission network chain of command (TransportNetworkControlPlane), MTP third layer user adaptation layer (MTP3-UserAdaptationLayerM3UA), media transmission protocol (MediaTransferProtocol, MTP) SCTP (StreamControlTransmissionProtocol, SCTP), User Datagram Protoco (UDP) (UserDatagramProtocol, UDP), upper layer (IuUPProtocollayer) RTP/RTCP Real-time Transport Control Protocol (Real-timeTransportProtocol/Real-timeTransportControlProt ocol, RTP/RTCP).
The embodiment of the present invention proposes a kind of medium conversion system, can when the Iu interface of the opposite equip. of CN and RNC adopts different medium, and what realize between different medium is interconnected, thus makes the Iu orifice of equipment room.In such a scenario, in the opposite equip. of CN and RNC, one of them Iu interface adopts ATM medium, then another Iu interface adopts IP medium.
Adopt IP medium with the Iu interface of CN below, the Iu interface of RNC adopts ATM medium to be that example is specifically discussed:
With reference to Fig. 4, give a kind of medium conversion system structure chart described in the embodiment of the present invention.
With reference to Fig. 5, give a kind of medium conversion system structural representation described in the embodiment of the present invention.
Described medium conversion system comprises: change of medium box 1, CN2 and RNC3, wherein, there is the Iu interface 21 based on IP medium in CN2.
Wherein, the Iu interface 21 based on IP medium refers to this Iu interface and is made up of IP medium, and namely physical layer Pei Ge's is IP port.
Wherein, described change of medium box 1, for realizing the conversion of IP medium and ATM medium on a physical layer.Comprise: IP port one 1 and atm port 12, IP port one 1 are the connectivity port of IP medium, and atm port 12 is the connectivity port of ATM medium.
Iu interface 21, for carrying out the protocol conversion of ATM and IP, comprises protocol stack.
Wherein, the protocol stack of Iu interface 21 comprises: wireless network layer L1, transport network layer L2 and physical layer L3.Wherein, wireless network layer L1, transport network layer L2 build according to ATM protocol stack, and physical layer L3 builds according to IP stack, and physical layer L3 Pei Ge has IP port.
In concrete enforcement, the physical layer of change of medium box 1 and the physical layer L3 of Iu interface 21 can adopt the UDP transmission means in IP agreement.Change of medium box 1 can realize the adaptation of atm port and IP port, completes the forwarding of UDP mode to atm link, and above-mentioned all Pei Ge have controlled by the equipment (the present embodiment is CN2) at Iu interface 21 place.Specific as follows:
1) create CN2 and change of medium box 1 Pei Ge and control designated lane
In order to make CN2 with RNC3 of employing different medium be communicated with, the IP port in change of medium box 1 first to be made to be communicated with atm port thus to realize data interaction, namely will complete change of medium box 1 Pei Ge, specific as follows:
The connection request of Iu interface 21 receiver media boxcar 1; And Iu interface 21, according to described connection request, sends Pei Ge to described change of medium box 1 and asks Yi Pei Ge port.
Concrete, after the connection request of Iu interface 21 receiver media boxcar 1, also create control channel according to described connection request.
Described control channel is the Tong Xin Pei Ge passage of CN2 to change of medium box 1, and all Tong Dao Pei Ge instructions for change of medium box 1 are all issued by control channel by CN2.This control channel uses identical physical channel with the data between Iu interface 21 and change of medium box 1.
In actual treatment, for realizing CN2 to change of medium box 1 Pei Ge, first to set up control channel between CN2 and change of medium box 1.In embodiments of the present invention, control channel adopts TCP connected mode, CN2 can be regarded as server end, change of medium box 1 can be regarded as client, CN2 can create a special watcher thread in initialization procedure, is responsible for monitoring the connection request on fixing port (concrete port number can at CN2 side She Ge).After receiving the connection request of change of medium box 1 at the port monitored, the TCP that can create between CN2 with change of medium box 1 is connected, thus sets up control channel, i.e. Socket passage.
2) Duan Kou Pei Ge
With reference to Fig. 6, give Duan Kou Pei Ge method flow diagram described in the embodiment of the present invention.
Step 601, change of medium box 1 receives Iu interface 21 and sends Pei Ge and ask;
Change of medium box 1 is after transmission connection request, Iu interface 21 can be received feed back Pei Ge and ask, Pei Ge parameter is there is in described Pei Ge in asking, change of medium box 1 can ask Pei Ge port according to Gai Pei Ge, the IP port in change of medium box 1 and atm port is made to realize being connected, thus CN2 with RNC3 at change of medium box 1 two ends can be communicated with, realize data interaction.
Step 602, change of medium box 1 is asked according to described Pei Ge, sets up atm link;
First change of medium box 1 sets up atm link according to Pei Ge parameter in Pei Ge request, thus the data of atm port can be transmitted by this atm link.
Step 603, change of medium box 1 is asked according to described Pei Ge, sets up the mapping relations of described atm link and IP port.
Change of medium box 1 also sets up the mapping relations of described atm link and IP port according to Pei Ge parameter in Gai Pei Ge request, thus the data of atm port are transferred in corresponding IP port by atm link, thus realize adopting being communicated with of CN2 with RNC3 of different medium.
In actual treatment, may need to create many atm links, therefore need to send many Tiao Pei Ge and ask, after the Jun Pei Ge such as all atm links and port complete, can think that Duan Kou Pei Ge in medium conversion system successfully, follow-uply just can carry out transfer of data.
Concrete, described Pei Ge request comprises Pei Ge parameter, and described Pei Ge parameter comprises: Linktype, link identification, IP address and port value.
Wherein, described Linktype, for the type of Pei Ge ATM Adaptation Layer;
Described link identification, for uniquely representing an atm link;
Described IP address, is specially the IP address of the IP port with described atm link with mapping relations;
Described port value, for Pei Ge IP port.
Optionally, change of medium box 1 is asked according to described Pei Ge, sets up the method for atm link, comprising:
Change of medium box 1 selects the type of ATM Adaptation Layer according to the Linktype in described Pei Ge parameter; And create atm link according to described link identification.
Because different Linktypes can affect the creation method of atm link, and can have an impact to subsequent port Pei Ge, therefore, first will according to the type of Linktype Pei Ge ATM Adaptation Layer (ATMAdaptationLayer, AAL), as AAL2, AAL5 etc.And then create atm link according to link identification.
Optionally, change of medium box 1 is asked according to described Pei Ge, sets up the method for the mapping relations of described atm link and IP port, comprising:
Change of medium box 1, according to described Linktype and port value, determines the IP port of Iu interface 21 side; And change of medium box sets up the mapping relations of described atm link and IP port according to described IP address.
Different Linktypes can cause the compound method of IP port different, such as, when adopting AAL5, the value of IP port can port value in Pei Ge parameter consistent; And during AAL2, the value of IP port can the port value in Shi Pei Ge parameter add a certain threshold value and.
The mapping relations of above-mentioned atm link and IP port also set up by change of medium box 1 according to IP address, thus when the atm port of change of medium box 1 receives data, by this atm link transmission data, and then can be mapped in corresponding IP port, send Iu interface 21 to.
In actual treatment, after control channel creates, CN2 initiatively can send Pei Ge to change of medium box 1 by this control channel and ask, change of medium box 1 creates atm link according to Pei Ge parameter in described Pei Ge request, and create the udp port corresponding with this atm link, namely set up the mapping relations of described atm link and IP port.In actual treatment, physical layer adopts UDP mode to transmit, and therefore one of the specific implementation of IP port is udp port.
Wherein, the form of a kind of Pei Ge parameter of actual treatment can be as follows:
MsgID+LinkType+VPI+VCI+IP+Port;
1. request mark MsgID
Physical significance: identify the request ID(Identity in described Pei Ge request);
Data type: UINT8;
Value: 0x0a.
2. Linktype LinkType
The type of physical significance: Pei Ge ATM Adaptation Layer;
Data type: UINT8;
Value: { 0,1} identifies, then 0 represents employing AAL5 link, and 1 expression adopts AAL2 link as employing set.
Wherein, ATM Adaptation Layer is used for adapt user business.
3. virtual path identifier (VirtualPathidentifier, VPI)
Data type: UINT8;
Value: [0,255].
4. Virtual Path Identifier (VirtualChannelIdentifier, VCI)
Data type: UINT8;
Value: [0,255].
Wherein, VPI and VCI is the noun of ATM transmission, and ATM is divided into several virtual logical path a physical circuit, is called VPI; Then in each VPI, divide virtual channel again, be called VCI, VPI/VCI identifies a virtual connections together.
Therefore, VPI/VCI can be adopted as a kind of link identification, uniquely to represent an atm link.
5. IP address
Physical significance: the IP address with described atm link with the IP port of mapping relations, the IP address of namely corresponding with atm link CN side UDP channel;
Data type: 4 UINT8 numerical value, respectively 4 parts of storing IP address
Value: such as IP address " 192.168.2.7 ", to should message be exactly four continuous print bytes, be 0xc0,0xa8,0x02,0x07 respectively;
6. port value Port
Physical significance: Pei Ge IP port;
Data type: UINT16
Value: [1025,65535], are more than or equal to 1025, and are less than or equal to the integer value of 65535.Being less than or equal to the Port value of 1024, is the system retention that operating system specifies.
Wherein, when LinkType value is different, the Linktype of concrete atm link is different, and it is also different that corresponding end mouth joins Ge method.
Such as, LinkType equals 0, i.e. AAL5 link, and Port represents should the port value of CN side UDP channel of AAL5 link.
And for example, LinkType equals 1, i.e. AAL2 link, Port represents under AAL2 link, the port value of atm link corresponding CN side UDP channel is Port+ threshold value, as threshold value be cid time, the port value being the atm link corresponding CN side UDP channel of i as cid is Port+i, if cid is 255, then the port value of atm link corresponding CN side UDP channel is Port+255.
Adopt above-mentioned Pei Ge parameter, the length of parameter has 10 bytes, comprises the information such as the VPI of an establishment atm link, VCI, corresponding UDP channel.
The above-mentioned description for Pei Ge parameter is only a kind of mode in concrete enforcement, and the different , Pei Ge parameters according to actual conditions may have different Pei Ge method, should not be understood as limitation of the present invention herein.
3) Pei Ge ask response
Optionally, change of medium box 1 also sends asks corresponding Pei Ge to respond with described Pei Ge, so that Duan Kou Pei Ge situation is informed Iu interface 21.
After change of medium box 1 receives Pei Ge request, in asking according to Pei Ge, Pei Ge parameter creates port, comprises the IP port that atm link is corresponding with this atm link.Further, preservation is responsible for:
(1) mapping relations of atm link and change of medium box 1 side udp port, i.e. the mapping relations of atm link and IP port;
(2) mapping relations of change of medium box 1 side udp port and CN side udp port, the IP port of corresponding Iu interface side.
Follow-up, when the IU interface of CN2 and RNC3 carries out signaling and data interaction, all need to adopt this two mapping relations, thus realize the mutual of ATM medium and IP medium.
Change of medium box 1, after completing port Pei Ge, can send the establishment result that Pei Ge response notifies this atm link of CN2.
During Pei Ge responds, a kind of form of response parameter is as follows:
MsgID+Status+IP+Port;
1. response identification MsgID
Physical significance: the response ID that Biao Shi Pei Ge responds;
Data type: UINT8;
Value: 0x0b.
② Pei Ge result mark Status
Physical significance: Biao Shi Pei Ge responds middle port Pei Ge result;
Data type: UINT8;
Value: success or failure, as 0 represents successfully, nonzero value represents various failure cause.
3. IP address
Physical significance: the IP address of atm link corresponding change of medium box 1 side UDP channel;
Data type: 4 UINT8;
Wherein, when Status is nonzero value, namely during failure, IP address field is meaningless.
4. port value Port
Physical significance: the port value of atm link corresponding change of medium box 1 side UDP channel.
Data type: UINT16
Value: [1025,65535], are more than or equal to 1025, and are less than or equal to the integer value of 65535.
The above-mentioned description for response parameter is only a kind of mode in concrete enforcement, and according to the difference of actual conditions, response parameter may have different Pei Ge method, should not be understood as limitation of the present invention herein.
Iu interface 21 receive change of medium box 1 feed back Pei Ge respond after, can according to Gai Pei Ge response creation link-state list to store the mapping relations of atm link and IP port, maintenance link state.Link-state list is as shown in table 1:
ID 0 1 2 3
Link VPI 3 3 4 4
Link VCI 53 54 53 54
Local terminal IP 192.168.2.1 192.168.2.1 192.168.2.1 192.168.2.1
Local terminal Port 2000 2001 2003 2003
Far-end IP Wait to insert Wait to insert Wait to insert Wait to insert
Far-end Port Wait to insert Wait to insert Wait to insert Wait to insert
Linktype 1 1 1 0
Link purposes PS signaling CS signaling PS data CS data
Table 1
Wherein, local terminal IP, local terminal Port, far-end IP and far-end Port are the IP ports corresponding to change of medium box.Part to be inserted responds according to Pei Ge and inserts into Hang Pei Ge.
In the embodiment of the present invention, a Tiao Pei Ge asks only for Pei Ge atm link, and therefore if desired Pei Ge many atm links need send Pei Ge successively and ask into Hang Pei Ge.If Iu interface office in table 1 is to totally two the AAL5 link (CS of signaling link in data, PS territory each one), data link two (CS, PS territory each one), therefore CN2 can send 4 Tiao Pei Ge to change of medium box 1 and asks, only receiving Status in a Tiao Pei Ge request message corresponding Pei Ge response Qie Pei Ge response is that 0(represents Pei Ge success), just can send next Tiao Pei Ge to ask, until all four request full Bu Pei Ge success, terminate change of medium box 1 Pei Ge, the initialization procedure of CN2 successfully terminates, and CN enters normal operating phase.The response message of middle any Tiao Pei Ge request message is unsuccessful or wait-for-response message overtime, all represents boxcar Pei Ge failure, and the initialization procedure failure of CN2, CN2 has information and tells user.
Linktype in upper table represents that this link is AAL2 or AAL5 type, and value is enumerated value, and the LinkType in Pei Ge request message defines identical.Also it should be noted that, for CS numeric field data link, namely in table, ID is the record of 3, because be AAL2 link, that finally distribute to each user is certain cid under this Path, in order to the ATM_UDP mapping relations using a record to set up many cid under this Path, therefore the field " local terminal Port " of this record accurately physical significance be the cardinal extremity mouth of the mapping udp port of all cid under this Path.For example, in table, the field " the local terminal Port of corresponding UDP channel " of this record is 2004, namely notify change of medium box VPI/VCI be 4/54 all cid corresponding to AAL2 link be 0 to 255 all 256 cid paths, the CN side ports scope of one_to_one corresponding UDP path is 2004 to 2259.If like this change of medium box at VPI/VCI/cid be 4/54/15 passage on receive the data that RNC sends, just simple calculations can be passed through: 2004+15=2019, find far-end udp port, being then dealt into far-end IP is 192.168.2.1, and remote port is the UDP channel of 2019.
The udp port value of the IP port of , Pei Ge Iu interface side in concrete enforcement, and the method for the mapping relations of atm link and udp port value can be as follows:
Scheme one
With reference to Fig. 7, give the Duan Kou Pei Ge method schematic diagram of scheme one described in the embodiment of the present invention.
Wherein, RNC3 and change of medium box 1 adopt VPI/VCI to set up atm link, and change of medium box 1 and CN2 transmit data by UDP channel.
Concrete, the atm link in change of medium box 1 and the atm link one_to_one corresponding in RNC3, but all atm links in change of medium box 1, use unified udp port value to communicate with CN2.The udp port value that the corresponding CN2 side of different atm links is different, the atm link corresponding CN2 side udp port value as cid=0 is the atm link corresponding CN2 side udp port value of Base_Port, cid=1 is Base_Port+1, by that analogy.
Concrete, feed back in Pei Ge response at change of medium box 1, the port value of change of medium box 1UDP passage is Port, after CN receives Pei Ge response message, remote port for each this side udp port: Base_Port+i is Port, so just establishes the two ends port mapping relationship of UDP channel.Under the program, both sides udp port is the relation of one-to-many.Change of medium box according to the port numbers receiving UDP message that CN sends and learn source, thus can find the cid link of corresponding AAL2.In like manner, after cid link receives data, change of medium box also can determine the peer port number of UDP channel, thus data send as source udp port value by the udp port value using this side unique.
Scheme two
With reference to Fig. 8, give the Duan Kou Pei Ge method schematic diagram of scheme two described in the embodiment of the present invention.
Concrete, the offside port of corresponding each UDP channel, creates the udp port of a change of medium box side.After change of medium box receives Pei Ge request message, can create the Socket of 256 local UDP types successively, the IP address of Socket should ensure that with the IP address in request message be a network segment, and port range is Base_Port1 to Base_Port1+255.Whole Socket creates successfully, change of medium box should notify IP address, this side of CN in joining in Ge response message of response, " Port " (port value of change of medium box side UDP channel) in response message should insert Base_Port1, after CN receives Pei Ge response message, to calculate the remote port that can obtain corresponding local terminal Port:Base_Port2+i be Base_Port1+i according to simple, so just establishes the two ends port mapping relationship of UDP channel.Under the program, both sides udp port is man-to-man relation.
In the embodiment of the present invention, the method for attachment of medium conversion system comprises in the process of Iu interface:
The connection request of Iu interface change of medium box; Iu interface, according to described connection request, sends Pei Ge to described change of medium box and asks Yi Pei Ge port.
Optionally, Iu interface creates control channel according to described connection request; What Iu interface adopted described control channel detection change of medium box to send asks corresponding Pei Ge to respond with described Pei Ge, and with detection port, whether Pei Ge is successful; And whether Iu interface adopts described control channel periodically to detect described change of medium box normally to work.
Wherein, a kind of processing method of Iu interface is as follows:
With reference to Fig. 9, give Iu Jie Kou Pei Ge flow chart described in the embodiment of the present invention.
When being connected with Iu interface 21 by the discussion , Pei Ge change of medium box 1 of above-described embodiment, specifically comprise following steps:
Iu interface creates watcher thread first, the message of change of medium box is monitored by watcher thread, watcher thread is after receiving connection request, control channel can be created and send and join Ge and ask to change of medium box, then detect and whether receive Pei Ge response to detect Pei Ge whether successful Ruo Pei Ge failure, Ze Pei Ge initialization failure flags, receive initialization failure.If join Ge success, then detect the link whether existing and do not join Ge, if exist, then continue transmission join Ge ask into row join Ge, if do not have, then join Ge initialization Success Flag, receive initialization success.
In the embodiment of the present invention, described Iu interface, also detects Pei Ge response by described control channel, and periodically whether the described change of medium box of detection normally works.
Whether Iu interface can adopt heartbeat detection mechanism to monitor the state of change of medium box normal, after discovery change of medium box operation irregularity, can at once to reporting of user, and such user can grasp the operating state of change of medium box in the very first time.After CN success Pei Ge change of medium box, periodically can send detect-message as HeartBeat message to change of medium box by the control channel set up, and the feedback message that wait-receiving mode is responded, as HeartBeatAck message.The timing cycle interval of user Ke Yi Pei Ge timer.
Wherein, if Iu interface before the timeout, if do not receive the HeartBeatAck message of change of medium box, just be designated as heartbeat failure, when the successive heartbeat frequency of failure exceedes certain preset value, Ke Yi set Ge as ATM max-timeout number of times (user Ke Yi She Ge preset value) time, namely think that irrecoverable error appears in change of medium box, now can stop the monitoring for change of medium box, and report of user.
Wherein, HeartBeat information query change of medium box operating state, message format can be:
MsgID
Physical significance: the message id identifying this message
Data type: UINT8
Value: 0x0c
Wherein, the message format of HeartBeatAck message can be:
MsgID
Physical significance: the message id identifying this message
Data type: UINT8
Value: 0x0d
With reference to Figure 10, give change of medium box described in the embodiment of the present invention and Iu interface data communication scheme.
When being connected with Iu interface 21 by the discussion , Pei Ge change of medium box 1 of above-described embodiment, specifically comprise following communication process:
10.1, change of medium box sends connection request to CN;
10.2, CN creates control channel;
10.3, CN transmission Pei Ge asks to change of medium box;
10.4, change of medium box asks , Pei Ge port according to Pei Ge;
10.5, change of medium box transmission Pei Ge responds to CN;
10.6, CN periodically detects the operating state of change of medium box.
In embodiments of the present invention, can the mode of IP be adopted to encapsulate the ATM message content between Iu interface and change of medium box, therefore in Iu interface, remain and go to resolve ATM message content by ATM protocol stack.
Above-described embodiment adopts IP medium with the Iu interface of CN, the Iu interface of RNC adopts ATM medium to be that example carries out discussing, if the Iu interface of RNC adopts IP medium, the Iu interface of CN adopts ATM medium, only need by the Iu Jie Kou Pei Ge based on IP medium in RNC side, above-mentioned all operations performed by CN also change and are performed by RNC.Concrete grammar is discussed see above-described embodiment, repeats no more herein.
In sum, when the Iu interface employing different medium of the opposite equip. of CN and RNC, the embodiment of the present invention can adopt change of medium box to realize the conversion of IP medium and ATM medium on a physical layer, and carry out the protocol conversion of ATM and IP in based on the Iu interface of IP medium, thus it is interconnected to realize between different medium, makes the Iu orifice of equipment room.Further, change of medium box realizes conversion on a physical layer, the parameter that therefore Xu Pei Ge is not too much with maintenance.In addition, in the protocol stack based on the Iu interface of IP medium, wireless network layer and transport network layer build according to ATM protocol stack, and physical layer builds according to IP stack, and described physical layer Pei Ge has IP port.Therefore, protocol conversion process is relatively simple, does not need the data of at substantial, compare and save time in conversion.
Secondly, the embodiment of the present invention can set up atm link in change of medium box, and the mapping relations of described atm link and IP port, concrete, select the type of ATM Adaptation Layer according to the Linktype in described Pei Ge parameter, and create atm link according to link identification; And, according to described Linktype and port value, determine the IP port of described Iu interface side, and set up the mapping relations of described atm link and IP port according to described IP address.Thus realize the mapping of the Iu interface of the opposite equip. of CN and RNC, what realize between different medium is interconnected, makes the Iu orifice of equipment room.
Again, in the embodiment of the present invention, Iu interface also creates control channel according to the connection request received, thus detect Pei Ge response by described control channel, and periodically whether the described change of medium box of detection normally works, ensure the normal connection of the Iu interface of equipment room, ensure that data are transmitted normally.
Again, in the embodiment of the present invention based on the Iu interface Ke Yi Pei Ge of IP medium in core net, also Ke Yi Pei Ge , Pei Ge very flexible, easy to use in radio network controller.
Each embodiment in this specification all adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar part mutually see.
The present invention can describe in the general context of computer executable instructions, such as program module.Usually, program module comprises the routine, program, object, assembly, data structure etc. that perform particular task or realize particular abstract data type.Also can put into practice the present invention in a distributed computing environment, in these distributed computing environment (DCE), be executed the task by the remote processing devices be connected by communication network.In a distributed computing environment, program module can be arranged in the local and remote computer-readable storage medium comprising memory device.
Finally, also it should be noted that, in this article, the such as relational terms of first and second grades and so on is only used for an entity or operation to separate with another entity or operating space, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, commodity or equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, commodity or equipment.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, commodity or the equipment comprising described key element and also there is other identical element.
Above to a kind of medium conversion system provided by the present invention, and a kind of method of attachment of medium conversion system, be described in detail, apply specific case herein to set forth principle of the present invention and execution mode, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (12)

1. a medium conversion system, is characterized in that, comprising:
Change of medium box, for realizing the conversion of IP medium and ATM medium on a physical layer; Wherein
Described change of medium box comprises: IP port and atm port, and IP port is the connectivity port of IP medium, and atm port is the connectivity port of ATM medium;
Based on the Iu interface of IP medium, for carrying out the protocol conversion of ATM and IP, comprise protocol stack;
Described protocol stack comprises: wireless network layer, transport network layer and physical layer, and wherein, wireless network layer and transport network layer build according to ATM protocol stack, and physical layer builds according to IP stack, and described physical layer configurations has IP port;
Wherein, described Iu interface, also sends configuring request to described change of medium box; Described change of medium box, the configuring request also according to Iu interface arranges port, comprising: set up atm link, and the mapping relations of described atm link and IP port;
Described configuring request comprises configuration parameter, and described configuration parameter comprises: Linktype, link identification, IP address and port value; Wherein said Linktype, for configuring the type of ATM Adaptation Layer; Described link identification, for uniquely representing an atm link; Described IP address, is specially the IP address of the IP port with described atm link with mapping relations; Described port value, for configuration of IP port.
2. system according to claim 1, is characterized in that:
Described change of medium box, also selects the type of ATM Adaptation Layer according to the Linktype in described configuration parameter, and creates atm link according to link identification; And, according to described Linktype and port value, determine the IP port of described Iu interface side, and set up the mapping relations of described atm link and IP port according to described IP address.
3. system according to claim 1, is characterized in that;
Described change of medium box, also sends connection request to described Iu interface;
Described Iu interface, also creates control channel according to the connection request received.
4., according to the arbitrary described system of claims 1 to 3, it is characterized in that;
Described change of medium box, also sends the configuration response corresponding with described configuring request, with feedback port whether configuration successful;
Then described Iu interface, also detects configuration response by control channel, and periodically whether the described change of medium box of detection normally works.
5. system according to claim 4, is characterized in that, described Iu interface, also according to described configuration response, creates link-state list to store the mapping relations of atm link and IP port.
6. system according to claim 5, is characterized in that, also comprises core net and radio network controller, and wherein, described Iu interface configuration in core net, or is configured in radio network controller.
7. a method of attachment for medium conversion system, is characterized in that, adopt as arbitrary in claim 1 to 6 as described in medium conversion system, wherein the IP port of change of medium box is connected with the IP port of Iu interface, and described method comprises:
Described change of medium box receives the configuring request that described Iu interface sends;
Described change of medium box, according to described configuring request, sets up atm link;
Described change of medium box, according to described configuring request, sets up the mapping relations of described atm link and IP port.
8. method according to claim 7, is characterized in that, configuring request comprises configuration parameter, and described configuration parameter comprises: Linktype, link identification;
Described change of medium box, according to described configuring request, is set up the method for atm link, being comprised:
Described change of medium box selects the type of ATM Adaptation Layer according to the Linktype in described configuration parameter;
Described change of medium box creates atm link according to described link identification.
9. method according to claim 7, is characterized in that, configuring request comprises configuration parameter, and described configuration parameter comprises: IP address and port value;
Described change of medium box, according to described configuring request, is set up the method for the mapping relations of described atm link and IP port, being comprised:
Described change of medium box, according to described Linktype and port value, determines the IP port of described Iu interface side;
Described change of medium box sets up the mapping relations of described atm link and IP port according to described IP address.
10. method according to claim 8, is characterized in that, change of medium box also comprises before receiving configuring request:
Described change of medium box connection request gives described Iu interface.
The method of attachment of 11. 1 kinds of medium conversion system, is characterized in that, adopt as arbitrary in claim 1 to 6 as described in medium conversion system, wherein the IP port of change of medium box is connected with the IP port of Iu interface, and described method comprises:
The connection request of Iu interface change of medium box;
Iu interface, according to described connection request, sends configuring request with configured port to described change of medium box.
12. methods according to claim 11, is characterized in that, also comprise:
Iu interface creates control channel according to described connection request;
The configuration response corresponding with described configuring request that Iu interface adopts described control channel to detect change of medium box to send, with detection port whether configuration successful; And
Whether the described control channel that adopts Iu interface periodically detects described change of medium box and normally works.
CN201310016711.3A 2013-01-16 2013-01-16 A kind of medium conversion system and attaching method thereof Active CN103107990B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310016711.3A CN103107990B (en) 2013-01-16 2013-01-16 A kind of medium conversion system and attaching method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310016711.3A CN103107990B (en) 2013-01-16 2013-01-16 A kind of medium conversion system and attaching method thereof

Publications (2)

Publication Number Publication Date
CN103107990A CN103107990A (en) 2013-05-15
CN103107990B true CN103107990B (en) 2015-12-02

Family

ID=48315560

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310016711.3A Active CN103107990B (en) 2013-01-16 2013-01-16 A kind of medium conversion system and attaching method thereof

Country Status (1)

Country Link
CN (1) CN103107990B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104967549A (en) * 2015-07-01 2015-10-07 大唐移动通信设备有限公司 ATM (Asynchronous Transfer Mode) transmission based core network element and implementation method of ATM transmission based core network

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1326624A (en) * 1998-09-16 2001-12-12 科学研究公司 Systems and methods for asynchronous transfer mode and internet protocol
CN1499850A (en) * 2002-11-06 2004-05-26 华为技术有限公司 Method for building transmission load supporting in general mobile communication system
CN1968191A (en) * 2006-04-10 2007-05-23 华为技术有限公司 Method for ATM message transmission based on IP network
CN101047929A (en) * 2006-03-28 2007-10-03 大唐移动通信设备有限公司 Data test device suitable for interface between base station and its controller

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1326624A (en) * 1998-09-16 2001-12-12 科学研究公司 Systems and methods for asynchronous transfer mode and internet protocol
CN1499850A (en) * 2002-11-06 2004-05-26 华为技术有限公司 Method for building transmission load supporting in general mobile communication system
CN101047929A (en) * 2006-03-28 2007-10-03 大唐移动通信设备有限公司 Data test device suitable for interface between base station and its controller
CN1968191A (en) * 2006-04-10 2007-05-23 华为技术有限公司 Method for ATM message transmission based on IP network

Also Published As

Publication number Publication date
CN103107990A (en) 2013-05-15

Similar Documents

Publication Publication Date Title
CN102647355B (en) LACP (Link Aggregation Control Protocol) consultation processing method, relay node and system
CN100563251C (en) A kind of method for establishing two-way transmitted inspecting session
CN104735001B (en) Link discovery method, apparatus and system in software defined network
CN103166874B (en) A kind of message forwarding method and equipment
CN103259685B (en) Detect method and the network equipment of link failure
JP2011229180A (en) Zigbee/ip gateway
CN104104570A (en) Aggregation processing method in IRF (Intelligent Resilient Framework) system and device
CN110460483B (en) Profinet and Modbus equipment heterogeneous networking method based on SDN
CN101714945A (en) System and method for realizing internetwork communication
CN104363181A (en) Traffic transmission control method and device
CN104518936A (en) Method and device for link dynamic aggregation
CN105281951A (en) Double-main-device conflict detection method for VSU system, and network equipment
CN104539818A (en) Method for IP phone to achieve multiple device standby and system
CN104734952A (en) Data message forwarding method and device
CN109753392A (en) The method and its system of network bridging device, bus test
CN101309169A (en) Network management method and network management system, network apparatus
CN105306276B (en) OAM protocol encapsulating method, system and EPON based on software defined network access net
CN103107990B (en) A kind of medium conversion system and attaching method thereof
CN109005080B (en) Distributed packet forwarding implementation method, implementation system and automatic test method
CN104426715A (en) Distributed testing tool control method
CN101626343A (en) Method and apparatus for exchanging data packet and communication device
CN109618021A (en) Modify the method and girff of IP address
WO2021120285A1 (en) Profinet protocol-based access method in industrial sdn
CN104320322A (en) Message control method and equipment
CN103312600B (en) A kind of industrial bus gateway apparatus realizing the control of I/O rank based on wide area network application

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant