Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
Embodiment mono-:
Refer to Fig. 1, the flow chart that Fig. 1 is a kind of message processing method of providing in the embodiment of the present invention.As shown in Figure 1, the method can comprise:
101, receive the Ethernet message of FE interface or the input of GE interface;
Wherein, can be received by MSTP delivery platform the Ethernet message of FE interface or the input of GE interface, in the embodiment of the present invention, by IP message, through Ethernet, encapsulation obtains in advance by RNC for related FE interface or the Ethernet message of GE interface input.
102, determine and internal virtual port that multimedia access control (Media AccessControl, MAC) address that above-mentioned Ethernet message is entrained is corresponding, and by above-mentioned Ethernet message repeating to this internal virtual port;
In the embodiment of the present invention, MSTP delivery platform can be determined the internal virtual port that the MAC Address entrained with above-mentioned Ethernet message is corresponding from the corresponding lists of preset MAC Address and internal virtual port, and adopt two layers of exchanged form by above-mentioned Ethernet message repeating to the internal virtual port of determining.
Wherein, the corresponding lists of preset MAC Address and internal virtual port is as shown in table 1:
Table 1
MAC Address |
Internal virtual port |
08:00:20:0A:8C:6A |
A |
08:00:20:0A:8C:6B |
B |
08:00:20:0A:8C:6C |
C |
08:00:20:0A:8C:6D |
D |
... |
... |
Wherein, the MAC Address in table 1 can be specifically the MAC Address of base station, and for need to transferring to the FE interface of same base or the Ethernet message of GE interface input, entrained MAC Address is identical.
Further, above-mentioned internal virtual port can be to adopt the mode of Virtual Concatenation that at least two road E1 multilink bundling configurations are formed, in practical application, MSTP delivery platform can configure the number of binding E1 link according to the bandwidth of base station, makes the bandwidth of internal virtual port can obtain optimization.In addition, MSTP delivery platform can further configure the number of internal virtual port according to the quantity of base station, and the quantity of base station should equate with the number of internal virtual port.
103, on above-mentioned internal virtual port, above-mentioned Ethernet message is carried out to GFP encapsulation, the gfp frame then encapsulation being obtained is packaged in E1 frame and transmits.
In the embodiment of the present invention, the gfp frame that MSTP delivery platform specifically can obtain encapsulation is packaged into E1 frame and maps in Virtual Concatenation (Virtual Concatenation) container, scheduling by cross board is sent to corresponding base station from synchronous digital hierarchy (Synchronous Digital Hierarchy, SDH) wiring board.
As shown in Figure 2, in the embodiment of the present invention, MSTP delivery platform can be connected with RNC by FE interface or GE interface, the Ethernet message of FE interface or the input of GE interface is converted to the E1 message based on IP over Ethernetover GFP over E1 packaged type and transfers to respectively base station 1,2,3,4; Because the bandwidth of FE interface is 100Mbps, the bandwidth of GE interface is 1000Mbps, so as long as FE interface can replace 50 E1 interfaces to provide message service for base station, or as long as GE interface can replace 500 E1 interfaces to provide message service for base station.Like this, between RNC and MSTP, without the mode of employing E1 cable, directly transmit the E1 message based on IP over Ethernet over GFP over E1 packaged type, thereby can reduce the interface pressure of RNC, be beneficial to the maintenance of RNC.
Embodiment bis-:
Refer to Fig. 3, the structure chart that Fig. 3 is a kind of message processor of providing in the embodiment of the present invention, this message processor can be used as an autonomous device for realizing above-mentioned message processing method, or the part that this message processor can be used as MSTP delivery platform is for realizing above-mentioned message processing method.As shown in Figure 3, this message processor can comprise:
Receiver module 301, for receiving the Ethernet message of FE interface or the input of GE interface;
Wherein, in the embodiment of the present invention Ethernet message of related FE interface or the input of GE interface by RNC, by IP message, through Ethernet, encapsulation obtains in advance.
Forwarding module 302, for determining the MAC Address corresponding internal virtual port entrained with above-mentioned Ethernet message, and by above-mentioned Ethernet message repeating to the internal virtual port of determining;
In the embodiment of the present invention, forwarding module 302 specifically can be determined the internal virtual port that the MAC Address entrained with above-mentioned Ethernet message is corresponding from the corresponding lists of preset MAC Address and internal virtual port, and adopt two layers of exchanged form by above-mentioned Ethernet message repeating to the internal virtual port of determining.
Wherein, the corresponding lists of preset MAC Address and internal virtual port as shown in Table 1 above.Further, above-mentioned internal virtual port can be to adopt the mode of Virtual Concatenation that at least two road E1 multilink bundling configurations are formed, in practical application, can according to the bandwidth of base station, configure the number of binding E1 link, make the bandwidth of internal virtual port can obtain optimization.In addition, can further according to the quantity of base station, configure the number of internal virtual port, the quantity of base station should equate with the number of internal virtual port.
GFP module 303, on the internal virtual port determining, above-mentioned Ethernet message being carried out to GFP encapsulation, obtains gfp frame;
E1 module 304, transmits for above-mentioned gfp frame is packaged into E1 frame.
In the embodiment of the present invention, the gfp frame that E1 module 304 specifically can obtain encapsulation is packaged into E1 frame and maps in Virtual Concatenation container, and the scheduling by cross board is sent to corresponding base station from SDH wiring board.
The message processor that the embodiment of the present invention provides can be connected with RNC by FE interface or GE interface, the Ethernet message of FE interface or the input of GE interface is converted to the E1 message based on IP over Ethernet overGFP over E1 packaged type and transfers to corresponding base station, between RNC and MSTP, without the mode of employing E1 cable, directly transmit the E1 message based on IP over Ethernet over GFP over E1 packaged type like this, thereby the interface pressure that can reduce RNC, is beneficial to the maintenance of RNC.
Embodiment tri-:
Refer to Fig. 4, the flow chart that Fig. 4 is a kind of message processing method of providing in the embodiment of the present invention, the method combines the flow process that above-mentioned message processor processes message and is described in detail.As shown in Figure 3, the flow process that this message is processed is as follows:
401, message processor receives the Ethernet message of the input of FE interface or GE interface.
Wherein, by RNC, by IP message, through Ethernet, encapsulation obtains the Ethernet message of the FE interface that message processor receives or the input of GE interface in advance, and the form of Ethernet message is as shown in table 2:
Table 2
Target MAC (Media Access Control) address |
Source MAC |
Type TYPE |
Clean He PAYLOAD |
Check code CRC |
6 bytes |
6 bytes |
2 bytes |
<=1500 byte |
4 bytes |
Wherein, the target MAC (Media Access Control) address of table 2 can be specifically the MAC Address of base station, the source MAC of table 2 can be specifically the MAC Address of RNC, for need to transferring to the FE interface of same base or the Ethernet message of GE interface input, entrained target MAC (Media Access Control) address is identical, and source MAC is also identical.
402, message processor is determined the internal virtual port that the target MAC (Media Access Control) address entrained with above-mentioned Ethernet message is corresponding from the corresponding lists of preset MAC Address and internal virtual port, and adopt two layers of exchanged form by above-mentioned Ethernet message repeating to the internal virtual port of determining.
Under initial condition, the corresponding lists of MAC Address and internal virtual port is empty, when message processor receives after Ethernet message, Ethernet message can be converted to the E1 message based on IP over Ethernetover GFP over E1 packaged type and be broadcast to all internal virtual ports, and in corresponding lists, record the target MAC (Media Access Control) address that Ethernet message carries and return to some internal virtual ports that Ethernet message receives response, thereby can set up the corresponding relation between MAC Address as shown in table 1 and internal virtual port, so the follow-up target MAC (Media Access Control) address that can carry according to Ethernet message of message processor adopt two layers of exchanged form by Ethernet message repeating to corresponding internal virtual port.
403, message processor carries out GFP encapsulation at internal virtual port by above-mentioned Ethernet message input, obtains gfp frame.
Wherein, GFP is a kind of link layer standard defining in ITU-TG.7041, GFP encapsulation briefly introduces as follows, the data veneer Length Indication (Len) that the core frame head of gfp frame comprises 16 bits and the core frame head error checking and correction (cHEC) of 16 bits, can determine core frame head and the payload of gfp frame by the framing mode of GFP standard regulation (ITU-TG.7041).
At internal virtual port, above-mentioned Ethernet message can be put into client's payload information territory of gfp frame form as shown in Figure 5.Wherein, as shown in Figure 5, being explained as follows of each field in gfp frame form:
Len: data unit length is indicated territory, is used to indicate the length of payload, and length is 16 bits.
CHEC: core frame head error checking and correction territory, for core frame head is carried out to verification, length is 16 bits.
PType: payload frame head, protection PTI, PFI, EXI, UPI information, length is 16 bits.
PTI: payload type indication is Frame or management frames for what determine transmission, and length is 3 bits.
PFI: the indication of payload error checking and correction, be used to indicate payload FCS territory (pFCS) and whether exist, length is 1 bit.
EXI: for identifying the type of GFP expansion frame head, length is 4 bits.
UPI: Payload Type Indicator (PTI) is used in conjunction with User Payload Identifier (UPI), it is the Frame of what type or the management frames of what type that UPI determines.
THEC: the verification of payload frame head, length is 16 bits.
404, message processor is packaged into above-mentioned gfp frame in E1 frame at internal virtual port, obtain based on the E1 message of IP over Ethernet over GFP over E1 packaged type.
Wherein, the feature of E1 frame was 8000 frame/seconds, and every frame period time is 1/8000=125 microsecond.Each E1 frame has 32 time slots, and each time slot is 8 bits, so the length of each frame is 32*8=256 bit, and total speed is 8000*256=2.048Mbps.Wherein, as shown in Figure 6, Fig. 6 represents the frame structure schematic diagram of a road E1 message to the frame structure of E1 message.Because above-mentioned internal virtual port can be to adopt the mode of Virtual Concatenation that at least two road E1 multilink bundling configurations are formed, under these circumstances, above-mentioned gfp frame can be encapsulated in order at least two road E1 frames, at least two road E1 frames are lined up and can be obtained a block frame structure as shown in Figure 7.
In the embodiment of the present invention, can adopt 16 road E1 frames to form an E1 multi-frame, each E1 multi-frame will be enclosed a V byte that represents virtual concatenation overhead.Wherein, the form of V byte is as shown in table 2:
Table 2
Wherein, in V byte, information definition is as follows:
RESERVED, is temporary transient reservation, may use later.
MFI (Multi Frame Indicator field), for E1 multi-frame indication field, wherein all members' of same E1 multi-frame MFI is can be larger 1 than the MFI of a upper E1 multi-frame, represents which multi-frame of sending, is used for arranging the payload of all members bands of receiving at destination MFI.
MST (Member status field), is the mode field of each member in E1 multi-frame, and OK represents that this member condition is normal, and bears the forwarding of message, and FAIL represents that this member condition is abnormal, does not bear the forwarding of message; OK=0, FAIL=1.
SQ:Sequence Indicator field, is sequence number indication field, shows the sequence of member in E1 multi-frame.
RSACK (Re-Sequence Acknowledge), is that the state of each member in E1 multi-frame changes indication field, if member's state sends, changes, and the value of this field will negate, represents that the member's of certain the change of sequence number is confirmed.
GID, is the sign of E1 multi-frame, is used for distinguishing different E1 multi-frames, and the GID of all members in same E1 multi-frame is identical.
CTRL/LCAS, for control domain and link capacity adjustment field, is used for transmitting link information.
CRC (Cyclic Redundancy Check), is cyclic redundancy check field, for calculating message, whether occurs mistake.
The above-mentioned Ethernet message of having described FE or the input of GE interface in detail is encapsulated into the process that GFP is encapsulated into E1 frame again, when multichannel E1 frame forms an E1 multi-frame, each E1 multi-frame has the V byte overhead byte of oneself, can judge that whether the state of current this E1 multi-frame is normal by V byte, if undesired, can carry out the increase of bandwidth and dynamically adjustment.By the sequence number of each E1 multi-frame, at receiving terminal, can recover normal Ethernet message.
405, message processor maps to E1 frame in Virtual Concatenation container, and the scheduling by cross board is sent to corresponding base station from SDH wiring board.
The embodiment of the present invention can be by the Ethernet message repeating of FE interface or the input of GE interface to corresponding internal virtual port, Ethernet message is carried out successively GFP, E1 on corresponding internal virtual port encapsulate, and can obtain the E1 message based on IP over Ethernet over GFP over E1 packaged type.The embodiment of the present invention can convert the Ethernet message of FE interface or the input of GE interface the E1 message based on IP over Ethernet over GFP over E1 packaged type to and transfer to corresponding base station, between RNC and MSTP, without the mode of employing E1 cable, directly transmit the E1 message based on IP overEthernet over GFP over E1 packaged type like this, thereby the interface pressure that can reduce RNC, is beneficial to the maintenance of RNC.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can complete by the relevant hardware of program command, aforesaid program can be stored in a computer read/write memory medium, this program, when carrying out, is carried out the step that comprises said method embodiment; And aforesaid storage medium comprises: various media that can be program code stored such as read-only memory (ROM), random access device (RAM), magnetic disc or CDs.
A kind of message processing method and the equipment that above the embodiment of the present invention are provided are described in detail, applied specific case herein principle of the present invention and execution mode are set forth, the explanation of above embodiment is just for helping to understand method of the present invention and core concept thereof; , 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 meanwhile.