Summary of the invention
Main purpose of the present invention is to provide the Ethernet data processing method of a kind of cascade BBU and the BBU of base station, thus makes the Ethernet data between each BBU of cascade there is not crosstalk, and BBU cascade has better extensibility.
The technical solution adopted for the present invention to solve the technical problems is:
An Ethernet data processing method of cascade BBU, it comprises:
Participate in the Base Band Unit BBU at the corresponding levels of cascade and be provided with at least two different VLANs, one of them VLAN is the VLAN of the Ethernet data for the treatment of BBU inside at the corresponding levels, be labeled as V1, another VLAN is the VLAN for the treatment of Ethernet data between BBU cascade, is labeled as V2;
Receive the Ethernet data flowed into, described Ethernet data is stamped VLAN tag V2;
Judge that described Ethernet data is the need of BBU process at the corresponding levels, if need process, then described Ethernet data is sent to the transfer processing unit of BBU at the corresponding levels, and by described transfer processing unit, described VLAN tag V2 is replaced with VLAN tag V1, then by the Ethernet data processing module of BBU at the corresponding levels, described Ethernet data is processed; If do not need process, then remove described VLAN tag V2 reduce this Ethernet data to needing to flow out Ethernet data in described VLAN V2, and the Ethernet data after described reduction is sent.
Preferably, the described Ethernet data receiving inflow, specifically comprises:
Receive the Ethernet data that upper level BBU or next stage BBU or radio frequency network control device RNC sends over.
Preferably, described Ethernet data after described reduction to be sent, specifically comprises:
Ethernet data after described reduction is sent to upper level BBU or next stage BBU or Background control access device.
The present invention also provides the Ethernet data processing method of a kind of cascade BBU, and it comprises:
Participate in the Base Band Unit BBU at the corresponding levels of cascade and be provided with at least two different VLANs, one of them VLAN is the VLAN of the Ethernet data for the treatment of BBU inside at the corresponding levels, be labeled as V1, another VLAN is the VLAN for the treatment of Ethernet data between BBU cascade, is labeled as V2;
By needing the Ethernet data flowed out to mark V1 in the VLAN of the Ethernet data for the treatment of BBU inside at the corresponding levels, the Ethernet data of the described V1 of being marked with is sent to the transfer processing unit of BBU at the corresponding levels;
After described mark V1 is replaced with mark V2 by described transfer processing unit, described mark V2 is removed this Ethernet data of reduction by the described VLAN V2 for the treatment of Ethernet data between BBU cascade, and is sent by the Ethernet data after described reduction.
Preferably, described Ethernet data after described reduction to be sent, specifically comprises:
Ethernet data after described reduction is sent to upper level BBU or next stage BBU or RNC.
The present invention also provides a kind of BBU of base station, it comprises: at least two different VLANs, one of them VLAN is the VLAN of the Ethernet data for the treatment of BBU inside at the corresponding levels, be labeled as V1, another VLAN is the VLAN for the treatment of Ethernet data between BBU cascade, is labeled as V2; Described VLAN V2 comprises: higher level's interface processing unit, subordinate's interface processing unit and belong to the described transfer processing unit for the treatment of the VLAN V1 of the Ethernet data of BBU the inside at the corresponding levels and VLAN V2 for the treatment of Ethernet data between BBU cascade simultaneously, wherein:
Described higher level's interface processing unit, for receiving the Ethernet data of inflow, stamps VLAN tag V2 by described Ethernet data; Judge that described Ethernet data is the need of BBU process at the corresponding levels, if need process, then described Ethernet data is sent to described transfer processing unit, and by described transfer processing unit, described VLAN tag V2 is replaced with VLAN tag V1, then by the Ethernet data processing module of BBU at the corresponding levels, described Ethernet data is processed; If do not need process, then remove described VLAN tag V2 reduce this Ethernet data to needing to flow out Ethernet data in described VLAN V2, and the Ethernet data after described reduction is sent.
Preferably, described subordinate interface processing unit also connects next stage BBU or connects Background control access device, for the Ethernet data after described reduction is sent to next stage BBU or Background control access device;
Described higher level's interface processing unit is also connected with upper level BBU or RNC, for receiving the Ethernet data that upper level BBU or radio frequency network control device RNC sends over.
The present invention also provides a kind of BBU of base station, it comprises: at least two different VLANs, one of them VLAN is the VLAN of the Ethernet data for the treatment of BBU inside at the corresponding levels, be labeled as V1, another VLAN is the VLAN for the treatment of Ethernet data between BBU cascade, is labeled as V2; Described VLAN V2 comprises: higher level's interface processing unit, subordinate's interface processing unit and belong to the described transfer processing unit for the treatment of the VLAN V1 of the Ethernet data of BBU the inside at the corresponding levels and VLAN V2 for the treatment of Ethernet data between BBU cascade simultaneously, wherein:
The VLAN V1 of the described Ethernet data for the treatment of BBU inside at the corresponding levels, for by needing the Ethernet data flowed out to mark V1 in the VLAN of the Ethernet data for the treatment of BBU inside at the corresponding levels, the Ethernet data of the described V1 of being marked with is sent to the transfer processing unit of BBU at the corresponding levels;
The Ethernet data of the described V2 of being labeled as is sent to described higher level's interface processing unit after described mark V1 being replaced with mark V2 by described transfer processing unit;
Described higher level's interface processing unit, for described mark V2 being removed by the described VLAN V2 for the treatment of Ethernet data between BBU cascade this Ethernet data of reduction, and sends the Ethernet data after described reduction.
Preferably, described subordinate interface processing unit also connects next stage BBU or connects Background control access device, for receiving the Ethernet data that described next stage BBU or Background control access device send over;
Described higher level's interface processing unit is also connected with upper level BBU or RNC, for the Ethernet data after described reduction is sent to described upper level BBU or RNC.
Implement technical scheme of the present invention, there is following beneficial effect: the Ethernet data processing method of cascade BBU provided by the invention and the BBU of base station, each Ethernet data processing module in this BBU of cascade will be participated in, different according to the Ethernet data function of its carrying, at least need to be divided into 2 different virtual LANs, VLAN V1 is for the treatment of the Ethernet data of BBU inside at the corresponding levels, and a VLAN V2 is for the treatment of Ethernet data between BBU cascade.The Ethernet data of VLAN V1 process BBU inside at the corresponding levels, VLAN V2 is for the treatment of the Ethernet data between BBU cascade.Ethernet data in VLAN V1 can not reach in VLAN V2, and the Ethernet data simultaneously in VLAN V2 can not reach in VLAN V1.Ethernet data between each BBU of cascade so both can have been made to there is not crosstalk, simultaneously can also make the forward BBU of numbering (as first order BBU) not because participating in the BBU increased number of cascade below and strengthen forward BBU (as first order BBU) the inner Ethernet data processing module load of numbering, thus make BBU cascade have better extensibility.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
The embodiment of the present invention provides the Ethernet data processing method of a kind of cascade BBU, and as shown in Figure 1, the method comprising the steps of:
S110, participate in the Base Band Unit BBU at the corresponding levels of cascade and be provided with at least two different VLANs, one of them VLAN is the VLAN of the Ethernet data for the treatment of BBU inside at the corresponding levels, be labeled as V1, another VLAN is the VLAN for the treatment of Ethernet data between BBU cascade, is labeled as V2; In other embodiment, also can divide more VLAN according to corresponding function.
This BBU is to each Ethernet data processing module in it, different according to the Ethernet data function of its carrying, at least need to be divided into 2 different virtual LANs, that is: VLAN is for the treatment of the Ethernet data of BBU inside at the corresponding levels, and a VLAN is for the treatment of Ethernet data between BBU cascade.
The Ethernet data that S120, reception flow into, stamps VLAN tag V2 by described Ethernet data; More specifically: receive the Ethernet data that upper level BBU or next stage BBU or radio frequency network control device RNC sends over.
S130, judge that described Ethernet data is the need of BBU process at the corresponding levels;
If S140 needs process, then described Ethernet data is sent to the transfer processing unit of BBU at the corresponding levels, and by described transfer processing unit, described VLAN tag V2 is replaced with VLAN tag V1, then by the Ethernet data processing module of BBU at the corresponding levels, described Ethernet data is processed; If do not need process, then remove described VLAN tag V2 reduce this Ethernet data to needing to flow out Ethernet data in described VLAN V2, and the Ethernet data after described reduction is sent.
The embodiment of the present invention also provides the Ethernet data processing method of another kind of cascade BBU, and as shown in Figure 2, the method comprising the steps of:
S210, participate in the Base Band Unit BBU at the corresponding levels of cascade and be provided with at least two different VLANs, one of them VLAN is the VLAN of the Ethernet data for the treatment of BBU inside at the corresponding levels, be labeled as V1, another VLAN is the VLAN for the treatment of Ethernet data between BBU cascade, is labeled as V2;
S220, by need in the VLAN of the Ethernet data for the treatment of BBU inside at the corresponding levels flow out Ethernet data mark V1, the Ethernet data of the described V1 of being marked with is sent to the transfer processing unit of BBU at the corresponding levels;
After described mark V1 is replaced with mark V2 by S230, described transfer processing unit, described mark V2 is removed this Ethernet data of reduction by the described VLAN V2 for the treatment of Ethernet data between BBU cascade, and is sent by the Ethernet data after described reduction.
The embodiment of the present invention also provides a kind of BBU of base station, as shown in Figure 3, comprise: at least two different VLANs, one of them VLAN is the VLAN of the Ethernet data for the treatment of BBU inside at the corresponding levels, be labeled as V1, another VLAN is the VLAN for the treatment of Ethernet data between BBU cascade, is labeled as V2; Described VLAN V2 comprises: higher level's interface processing unit A, subordinate interface processing unit B and belong to the transfer processing unit E of the described VLAN V1 for the treatment of the Ethernet data of BBU the inside at the corresponding levels and VLAN V2 for the treatment of Ethernet data between BBU cascade simultaneously, wherein:
Described higher level's interface processing unit A, for receiving the Ethernet data of inflow, stamps VLAN tag V2 by described Ethernet data; Judge that described Ethernet data is the need of BBU process at the corresponding levels, if need process, then described Ethernet data is sent to described transfer processing unit E, and by described transfer processing unit E, described VLAN tag V2 is replaced with VLAN tag V1, then by the Ethernet data processing module of BBU at the corresponding levels, described Ethernet data is processed; If do not need process, be then sent to described subordinate interface processing unit B remove described VLAN tag V2 to needing to flow out Ethernet data in described VLAN V2, reduce this Ethernet data, and the Ethernet data after reduction is sent.
The embodiment of the present invention also provides the BBU of another kind of base station, as shown in Figure 3, it comprises: at least two different VLANs, one of them VLAN is the VLAN of the Ethernet data for the treatment of BBU inside at the corresponding levels, be labeled as V1, another VLAN is the VLAN for the treatment of Ethernet data between BBU cascade, is labeled as V2; Described VLAN V2 comprises: higher level's interface processing unit A, subordinate interface processing unit B and belong to the transfer processing unit E of the described VLAN V1 for the treatment of the Ethernet data of BBU the inside at the corresponding levels and VLAN V2 for the treatment of Ethernet data between BBU cascade simultaneously, wherein:
The VLAN V1 of the described Ethernet data for the treatment of BBU inside at the corresponding levels, for by needing the Ethernet data flowed out to mark V1 in the VLAN of the Ethernet data for the treatment of BBU inside at the corresponding levels, the Ethernet data of the described V1 of being marked with is sent to the transfer processing unit E of BBU at the corresponding levels;
The Ethernet data of the described V2 of being labeled as is sent to described higher level's interface processing unit A after described mark V1 being replaced with mark V2 by described transfer processing unit E;
Described higher level's interface processing unit A, for described mark V2 being removed by the described VLAN V for the treatment of Ethernet data between BBU cascade this Ethernet data of reduction, and sends the Ethernet data after described reduction.
Concrete, in the BBU according to above-mentioned base station, the concrete processing procedure of Ethernet data is:
For higher level's interface processing unit A, if belong to first order BBU, then that be physically connected with this higher level's interface processing unit A is RNC (Radio Network Controller, radio frequency network controls); If not first order BBU, that be physically connected with higher level's interface processing unit A is BBU.
This higher level's interface processing unit A Ethernet data processing procedure comprises: higher level's interface processing unit A Ethernet data flows into and higher level's interface processing unit A Ethernet data flows out; Wherein:
Higher level's interface processing unit A Ethernet data inflow (as shown in Figure 4) comprises step:
S310, higher level's interface processing unit A receive the Ethernet data that RNC or upper level BBU transmits;
This Ethernet data is stamped VLAN tag V2 by S320, higher level's interface processing unit A;
S330, higher level's interface processing unit A resolve this Ethernet data;
S340, judge that this Ethernet data is the need of BBU process at the corresponding levels, if carry out step S350, if not, then carries out step S360;
S350 is if need the Ethernet data of BBU process at the corresponding levels, then pass to VLAN transfer processing unit E, VLAN tag V2 is replaced with mark V1 by VLAN transfer processing unit E, then gives corresponding Ethernet data processing unit processes in VLAN V1 by VLAN transfer processing unit E.S360, need data to be processed if not BBU at the corresponding levels, then pass to the subordinate interface processing unit B of BBU at the corresponding levels, VLAN tag V2 removes by subordinate interface processing unit B, is reduced to common Ethernet data, then passes to the BBU that next stage participates in cascade.
Higher level's interface processing unit A Ethernet data flows out (as shown in Figure 5), comprises step:
The subordinate interface processing unit B of Ethernet data or BBU at the corresponding levels that S410, higher level's interface processing unit A receive VLAN transfer processing unit E transmits the Ethernet data of coming;
VLAN tag V2 removes by S420, higher level's interface processing unit A, is reduced to common Ethernet data;
S430, higher level's interface processing unit A transmit this common Ethernet data;
S440, higher level's interface processing unit A judge the machine BBU whether first order BBU, if it is carry out step S450, if not, then carry out step S460;
If this higher level's interface processing unit of S450 A belongs to first order BBU, then this common Ethernet data is passed to RNC by higher level's interface processing unit A,
S460, if not first order BBU, this common Ethernet data of higher level's interface processing unit A passes to upper level BBU.
For subordinate interface processing unit B, if not afterbody BBU, next stage interface processing unit B physically connects BBU.If afterbody BBU, next stage interface processing unit physically connects Background control access device (as PC computer) etc.Concrete, subordinate interface processing unit B Ethernet data processing procedure comprises subordinate interface processing unit B Ethernet data and flows into and the outflow of subordinate interface processing unit B Ethernet data, wherein:
Subordinate interface processing unit B Ethernet data inflow (as shown in Figure 6) comprises step:
S510, subordinate interface processing unit B receive the Ethernet data that next stage BBU or Background control access device transmit: if afterbody BBU, what receive is the Ethernet data that Background control access device transmits; If not afterbody BBU, what receive is the Ethernet data that next stage BBU transmits;
The Ethernet data received is stamped VLAN tag V2 by S520, subordinate interface processing unit B;
S530, subordinate interface processing unit B resolve this Ethernet data;
S540, subordinate interface processing unit B judge that this Ethernet data is the need of BBU process at the corresponding levels, if carry out step S550, if not, then carries out step S560;
If S550 needs BBU process at the corresponding levels, then pass to transfer processing unit E, VLAN tag V2 is replaced with mark V1 by transfer processing unit E, then gives corresponding Ethernet data processing unit processes in VLAN V1 by transfer processing unit E;
If S560 does not need BBU process at the corresponding levels, its Ethernet data is directly passed to higher level's interface processing unit A of BBU at the corresponding levels.
Subordinate interface processing unit B Ethernet data flows out (as shown in Figure 7), comprises step:
The Ethernet data that the VLAN transfer processing unit E of higher level's interface processing unit A or BBU at the corresponding levels that S610, subordinate interface processing unit B receive BBU at the corresponding levels sends;
VLAN tag V2 removes by S620, subordinate interface processing unit B, is reduced to common Ethernet data;
S630, subordinate interface processing unit B judge BBU at the corresponding levels whether afterbody BBU, if it is carry out step S640, if not, then carry out step S650;
This common Ethernet data, if afterbody BBU, is passed to Background control access device by S640.
S650, if not afterbody BBU, this common Ethernet data is passed to higher level's interface processing unit of next stage BBU.
Above-mentioned BBU and Ethernet data processing procedure can make Ethernet data between each BBU of cascade there is not crosstalk, and make BBU cascade have better extensibility.
Now be cascaded as example with T100 type base station secondary BBU, more specifically describe BBU and method that above-described embodiment provides.
As shown in Figure 8, this base station secondary BBU cascade (in other embodiment, also can be more BBU cascade, as three grades of BBU cascades, level Four BBU cascade or more multistage BBU cascade) comprising: first order BBU and second level BBU.Clock master veneer is included in first order BBU, Base-Band Processing veneer etc., clock master veneer is equally also included in the BBU of the second level, Base-Band Processing veneer etc., difference is that first order BBU is different with the peripheral unit equipment that second level BBU connects, that higher level's interface processing unit A1 of first order BBU connects is RNC, the subordinate interface processing unit B1 of what second level BBU higher level's interface processing unit A2 connect is first order BBU.That first order BBU subordinate interface processing unit B1 connects is second level BBU, and what second level BBU subordinate interface processing unit B2 connect is Background control access device.
Described embodiment, this first order BBU and second level BBU in the same way by its separately in each Ethernet data processing module, different according to Ethernet data function of its carrying, be divided into 2 different VLAN V1 and VLAN V2.VLAN V1 is for the treatment of the Ethernet data of BBU inside at the corresponding levels, and VLAN V2 is for the treatment of Ethernet data between BBU cascade.VLAN V2 comprises the different Ethernet processing unit of 3 functions: higher level's interface processing unit, corresponds to first order BBU and second level BBU and is set to higher level's interface processing unit A1 respectively, higher level's interface processing unit A2; Subordinate's interface processing unit, corresponds to first order BBU and second level BBU and is set to subordinate interface processing unit B1 respectively, subordinate interface processing unit B2; VLAN transfer processing unit, corresponds to first order BBU and second level BBU and is set to transfer processing unit E1 respectively, transfer processing unit E2.Higher level's interface processing unit, subordinate's interface processing unit and VLAN transfer processing unit are physically all positioned at the clock master veneer of respective BBU.The Ethernet data processing unit that VLAN V1 comprises is mainly the Ethernet baseband processing unit in each BBU.
Be described from the transmission of ethernet data stream among VLAN V1 and VLAN V2 in uplink and downlink 2 directions of BBU now.
1, down direction ethernet data stream processing procedure comprises the following steps:
1.1, from the Ethernet data that RNC sends, enter higher level's interface processing unit A1, force to stamp first order BBU VLAN tag V2.
1.2, higher level's interface processing unit A1 analyzes Ethernet data, judges whether this Ethernet data sends to first order BBU.
1.3 if send to the Ethernet data of first order BBU, and this Ethernet data is passed to VLAN transfer processing unit E1 by higher level's interface processing unit A1.The VLAN tag V2 of this Ethernet data is replaced with mark V1 by VLAN transfer processing unit E1, and passes to corresponding Ethernet data processing unit in VLAN V1 by marking the Ethernet data after V1.Programming jump is to step 1.7.
1.4, if not the Ethernet data sending to first order BBU, this Ethernet data is passed to subordinate interface processing unit B1 by higher level's interface processing unit A1.
1.5, after the Ethernet data that subordinate's interface processing unit B1 receives, the mark V2 forcing above to stamp is removed, is reduced to common Ethernet data, and the Ethernet data after removing mark V2 is correctly transmitted, pass to higher level's interface processing unit A2.
1.6, after higher level's interface processing unit A2 receives the next Ethernet data bag of subordinate interface processing unit B1 transmission, second level BBU VLAN tag V2 is stamped in pressure, and passes to VLAN transfer processing unit E2 by marking the Ethernet data after V2.The VLAN tag V2 of this Ethernet data is replaced with mark V1 by VLAN transfer processing unit E2, and passes to corresponding Ethernet data processing unit in VLAN V1 by marking the Ethernet data after V1.Programming jump is to step 1.7.
1.7, the corresponding Ethernet data processing unit in VLAN V1 carries out subsequent treatment to this Ethernet data received.
1.8, the process of epicycle Ethernet data terminates.
2, up direction ethernet data stream processing procedure comprises the following steps:
2.1, for first order BBU:
2.1.1 the Ethernet data processing unit, in VLAN V1 marks V1 by needing the Ethernet data uploaded, and the Ethernet data marked is passed to the VLAN transfer processing unit E1 of first order BBU.
2.1.2, VLAN tag V1 is replaced with VLAN tag V2, and the Ethernet data after replacing with VLAN tag V2 is passed to higher level's interface processing unit A1 by the VLAN transfer processing unit E1 of first order BBU.
2.1.3, after higher level's interface processing unit A1 receives and be equipped with VLAN tag V2 Ethernet data, VLAN tag V2 is removed, is reduced to common Ethernet data, and the Ethernet data removing VLAN tag V2 is sent to RNC.
2.1.4, RNC carries out subsequent treatment to the Ethernet data received.
2.2, for second level BBU:
2.2.1, the Ethernet data processing unit of second level BBU VLAN V1 is stamped VLAN tag V1 by needing the Ethernet data uploaded, and the Ethernet data stamping VLAN tag V1 is passed to the VLAN transfer processing unit E2 of second level BBU.
2.2.2, VLAN tag V1 is replaced with VLAN tag V2, and the Ethernet data after replacing with VLAN tag V2 is passed to higher level's interface processing unit A2 by the transfer processing unit E2 of the VLAN of second level BBU.
2.2.3 after, higher level's interface processing unit A2 receives and is equipped with VLAN tag V2 Ethernet data, VLAN tag V2 is removed, be reduced to common Ethernet data, and the Ethernet data removing VLAN tag V2 is sent to subordinate interface processing unit B1.
2.2.4, the Ethernet data received is forced to stamp VLAN tag V2 by subordinate's interface processing unit B1, and Ethernet data is analyzed, not that first order BBU needs Ethernet data to be processed, so the Ethernet data being equipped with VLAN tag V2 is passed to higher level's interface processing unit A1.
2.2.5, after higher level's interface processing unit A1 receives the Ethernet data being equipped with VLAN tag V2, VLAN tag V2 is removed, is reduced to common Ethernet data.
2.2.6, the Ethernet data after reduction is passed to RNC by higher level's interface processing unit A1.
Through Ethernet data processing procedure above, up, between down direction Ethernet data first order BBU and second level BBU, Ethernet data does not have crosstalk.And BBU cascade has better extensibility.
These are only preferred embodiment of the present invention, not in order to limit the present invention, all any amendments done within the spirit and principles in the present invention, equivalent replacement and improvement etc., all should be included within protection scope of the present invention.