Summary of the invention
Main purpose of the present invention provides the Ethernet data processing method of a kind of cascade BBU and the BBU of base station, crosstalk thereby Ethernet data between each BBU of cascade is not existed, and the BBU cascade has better extensibility.
The technical solution adopted for the present invention to solve the technical problems is:
The Ethernet data processing method of a kind of cascade BBU, it comprises:
The Base Band Unit BBU at the corresponding levels that participates in cascade is provided with at least two different VLANs; One of them VLAN is the VLAN that is used to handle the inner Ethernet data of BBU at the corresponding levels; Be labeled as V1; Another VLAN is the VLAN that is used for Ethernet data between the treatments B BU cascade, is labeled as V2;
Receive the Ethernet data that flows into, said Ethernet data is stamped VLAN tag V2;
Judge whether said Ethernet data needs BBU at the corresponding levels to handle; Handle if desired; Then said Ethernet data is sent to the transfer processing unit of BBU at the corresponding levels; And said VLAN tag V2 is replaced with VLAN tag V1 through said transfer processing unit, through the Ethernet data processing module of BBU at the corresponding levels said Ethernet data is handled again; If do not need to handle, then remove said this Ethernet data of VLAN tag V2 reduction, and the Ethernet data after the said reduction is sent needing to flow out Ethernet data among the said VLAN V2.
Preferably, the Ethernet data that said reception flows into specifically comprises:
Receive the Ethernet data that upper level BBU or next stage BBU or radio frequency network control device RNC send over.
Preferably, said Ethernet data after the said reduction is sent, specifically comprises:
Ethernet data after the said reduction is sent to upper level BBU or next stage BBU or backstage control access device.
The present invention also provides the Ethernet data processing method of a kind of cascade BBU, and it comprises:
The Base Band Unit BBU at the corresponding levels that participates in cascade is provided with at least two different VLANs; One of them VLAN is the VLAN that is used to handle the inner Ethernet data of BBU at the corresponding levels; Be labeled as V1; Another VLAN is the VLAN that is used for Ethernet data between the treatments B BU cascade, is labeled as V2;
The Ethernet data that will be used for handling VLAN the needs outflow of the inner Ethernet data of BBU at the corresponding levels marks V1, the Ethernet data of the said V1 of being marked with is sent to the transfer processing unit of BBU at the corresponding levels;
After said transfer processing unit replaced with mark V2 with said mark V1, the said VLAN V2 that is used for Ethernet data between the treatments B BU cascade removed this Ethernet data of reduction with said mark V2, and the Ethernet data after the said reduction is sent.
Preferably, said Ethernet data after the said reduction is sent, specifically comprises:
Ethernet data after the said 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 that is used to handle the inner Ethernet data of BBU at the corresponding levels; Be labeled as V1, another VLAN is the VLAN that is used for Ethernet data between the treatments B BU cascade, is labeled as V2; Said VLAN V2 comprises: higher level's interface processing unit, subordinate's interface processing unit and belong to the said transfer processing unit that is used to handle the VLAN V1 of the inner Ethernet data of BBU at the corresponding levels and is used for the VLAN V2 of Ethernet data between the treatments B BU cascade simultaneously, wherein:
Said higher level's interface processing unit is used to receive the Ethernet data of inflow, and said Ethernet data is stamped VLAN tag V2; Judge whether said Ethernet data needs BBU at the corresponding levels to handle; Handle if desired; Then said Ethernet data is sent to said transfer processing unit; And said VLAN tag V2 is replaced with VLAN tag V1 through said transfer processing unit, through the Ethernet data processing module of this BBU said Ethernet data is handled again; If do not need to handle, then remove said VLAN tag V2 to needing the outflow Ethernet data to send to said subordinate interface processing unit among the said VLAN V2, pass with the Ethernet data that will remove mark V2.
Preferably, said subordinate interface processing unit also connects next stage BBU or connects backstage control access device, is used for the Ethernet data after the said reduction is sent to next stage BBU or backstage control access device;
Said higher level's interface processing unit also is connected with higher level BBU or RNC, is used to receive the Ethernet data that upper level BBU or radio frequency network control device RNC send 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 that is used to handle the inner Ethernet data of BBU at the corresponding levels; Be labeled as V1, another VLAN is the VLAN that is used for Ethernet data between the treatments B BU cascade, is labeled as V2; Said VLAN V2 comprises: higher level's interface processing unit, subordinate's interface processing unit and belong to the said transfer processing unit that is used to handle the VLAN V1 of the inner Ethernet data of BBU at the corresponding levels and is used for the VLAN V2 of Ethernet data between the treatments B BU cascade simultaneously, wherein:
The said VLAN V1 that is used to handle the inner Ethernet data of BBU at the corresponding levels; The Ethernet data that is used for being used to handling VLAN the needs outflow of the inner Ethernet data of BBU at the corresponding levels marks V1, the Ethernet data of the said V1 of being marked with is sent to the transfer processing unit of BBU at the corresponding levels;
After said transfer processing unit replaced with mark V2 with said mark V1, the Ethernet data that sends to the said V2 of being labeled as sent to said higher level's interface processing unit;
Said higher level's interface processing unit is used for the said VLAN V2 that is used for Ethernet data between the treatments B BU cascade is removed this Ethernet data of reduction with said mark V2, and the Ethernet data after the said reduction is sent.
Preferably, said subordinate interface processing unit also connects next stage BBU or connects backstage control access device, is used to receive the Ethernet data that said next stage BBU or backstage control access device send over;
Said higher level's interface processing unit also is connected with higher level BBU or RNC, is used for the Ethernet data after the said reduction is sent to said upper level BBU or RNC.
The technical scheme of embodiment of the present invention; Has following beneficial effect: the Ethernet data processing method of cascade BBU provided by the invention and the BBU of base station; With each the Ethernet data processing module in this BBU that participates in cascade, different according to the Ethernet data function of its carrying, need be divided into 2 different virtual LANs at least; A VLAN V1 is used to handle the inner Ethernet data of BBU at the corresponding levels, and a VLAN V2 is used for Ethernet data between the treatments B BU cascade.VLAN V1 handles the inner Ethernet data of BBU at the corresponding levels, and VLAN V2 is used for the Ethernet data between the treatments B BU cascade.Ethernet data in the VLAN V1 can not reach in the VLAN V2, and the Ethernet data in the VLAN V2 can not reach in the VLAN V1 simultaneously.Ethernet data was not existed crosstalks; Can also make simultaneously the forward BBU (like first order BBU) of numbering not strengthen the inner Ethernet data processing module load of the forward BBU (like first order BBU) of numbering, thereby make the BBU cascade have better extensibility because of the BBU number of participating in cascade at the back increases.
Embodiment
In order to make the object of the invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with accompanying drawing and embodiment.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
The embodiment of the 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:
The Base Band Unit BBU at the corresponding levels of S110, participation cascade is provided with at least two different VLANs; One of them VLAN is the VLAN that is used to handle the inner Ethernet data of BBU at the corresponding levels; Be labeled as V1; Another VLAN is the VLAN that is used for Ethernet data between the treatments B BU cascade, is labeled as V2; Among other the embodiment, also can divide more VLAN according to function corresponding.
This BBU is to each the Ethernet data processing module in it; Ethernet data function according to its carrying is different; At least need be divided into 2 different virtual LANs; That is: a VLAN is used to handle the inner Ethernet data of BBU at the corresponding levels, and a VLAN is used for Ethernet data between the treatments B BU cascade.
The Ethernet data that S120, reception flow into is stamped VLAN tag V2 with said Ethernet data; More concrete: as to receive the Ethernet data that upper level BBU or next stage BBU or radio frequency network control device RNC send over.
S130, judge that whether said Ethernet data needs BBU at the corresponding levels to handle;
S140, processing if desired; Then said Ethernet data is sent to the transfer processing unit of BBU at the corresponding levels; And said VLAN tag V2 is replaced with VLAN tag V1 through said transfer processing unit, through the Ethernet data processing module of BBU at the corresponding levels said Ethernet data is handled again; If do not need to handle, then remove said this Ethernet data of VLAN tag V2 reduction, and the Ethernet data after the said reduction is sent needing to flow out Ethernet data among the said VLAN V2.
The embodiment of the 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:
The Base Band Unit BBU at the corresponding levels of S210, participation cascade is provided with at least two different VLANs; One of them VLAN is the VLAN that is used to handle the inner Ethernet data of BBU at the corresponding levels; Be labeled as V1; Another VLAN is the VLAN that is used for Ethernet data between the treatments B BU cascade, is labeled as V2;
S220, the Ethernet data that will be used for handling VLAN the needs outflow of the inner Ethernet data of BBU at the corresponding levels mark V1, the Ethernet data of the said V1 of being marked with are sent to the transfer processing unit of BBU at the corresponding levels;
After S230, said transfer processing unit replace with mark V2 with said mark V1; The said VLAN V2 that is used for Ethernet data between the treatments B BU cascade removes this Ethernet data of reduction with said mark V2, and the Ethernet data after the said reduction is sent.
The embodiment of the 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 are the VLAN that is used to handle the inner Ethernet data of BBU at the corresponding levels, are labeled as V1; Another VLAN is the VLAN that is used for Ethernet data between the treatments B BU cascade, is labeled as V2; Said VLAN V2 comprises: higher level's interface processing unit A, subordinate's interface are handled unit B and are belonged to the said transfer processing unit E that is used to handle the VLAN V1 of the inner Ethernet data of BBU at the corresponding levels and is used for the VLAN V2 of Ethernet data between the treatments B BU cascade simultaneously, wherein:
Said higher level's interface processing unit A is used to receive the Ethernet data of inflow, and said Ethernet data is stamped VLAN tag V2; Judge whether said Ethernet data needs BBU at the corresponding levels to handle; Handle if desired; Then said Ethernet data is sent to said transfer processing unit E; And said VLAN tag V2 is replaced with VLAN tag V1 through said transfer processing unit E, through the Ethernet data processing module of this BBU said Ethernet data is handled again; If do not need to handle, then remove said VLAN tag V2 to needing the outflow Ethernet data to send to said subordinate interface processing unit B among the said VLAN V2, pass with the Ethernet data that will remove mark V2.
The embodiment of the 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 are the VLAN that is used to handle the inner Ethernet data of BBU at the corresponding levels, are labeled as V1; Another VLAN is the VLAN that is used for Ethernet data between the treatments B BU cascade, is labeled as V2; Said VLAN V2 comprises: higher level's interface processing unit A, subordinate's interface are handled unit B and are belonged to the said transfer processing unit E that is used to handle the VLAN V1 of the inner Ethernet data of BBU at the corresponding levels and is used for the VLAN V2 of Ethernet data between the treatments B BU cascade simultaneously, wherein:
The said VLAN V1 that is used to handle the inner Ethernet data of BBU at the corresponding levels; The Ethernet data that is used for being used to handling VLAN the needs outflow of the inner Ethernet data of BBU at the corresponding levels marks V1, the Ethernet data of the said V1 of being marked with is sent to the transfer processing unit E of BBU at the corresponding levels;
After said transfer processing unit E replaced with mark V2 with said mark V1, the Ethernet data that sends to the said V2 of being labeled as sent to said higher level's interface processing unit A;
Said higher level's interface processing unit A is used for the said VLAN V that is used for Ethernet data between the treatments B BU cascade is removed this Ethernet data of reduction with said mark V2, and the Ethernet data after the said reduction is sent.
Concrete, among 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, that then physically link to each other with this higher level's interface processing unit A is RNC (Radio Network Controller, radio frequency network control); If not first order BBU, that physically link to each other 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 flows into (as shown in Figure 4) and comprises step:
S310, higher level's interface processing unit A receive the Ethernet data that RNC or upper level BBU transmit;
S320, higher level's interface processing unit A stamp VLAN tag V2 with this Ethernet data;
S330, higher level's interface processing unit A resolve this Ethernet data;
S340, judge that whether this Ethernet data needs BBU at the corresponding levels to handle, if carry out step S350, if not, then carry out step S360;
S350 is if the Ethernet data that needs BBU at the corresponding levels to handle; Then pass to VLAN transfer processing unit E; VLAN transfer processing unit E replaces with mark V1 with VLAN tag V2, gives corresponding Ethernet data processing unit processes among the VLAN V1 by VLAN transfer processing unit E again.S360, the data that need handle if not BBU at the corresponding levels; The subordinate's interface that then passes to BBU at the corresponding levels is handled unit B; Subordinate's interface is handled unit B VLAN tag V2 is removed, and is reduced to common Ethernet data, passes to the BBU that next stage is participated in cascade again.
Higher level's interface processing unit A Ethernet data flows out (as shown in Figure 5), comprises step:
S410, higher level's interface processing unit A receive the Ethernet data of VLAN transfer processing unit E or subordinate's interface of BBU at the corresponding levels is handled the Ethernet data that the unit B transmission comes;
S420, higher level's interface processing unit A remove VLAN tag V2, are 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 whether first order BBU of this machine BBU, if then 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 higher level's interface processing unit A should pass to RNC by common Ethernet data,
S460, if not first order BBU, this common Ethernet data of higher level's interface processing unit A passes to upper level BBU.
Handle unit B for subordinate's interface, if not afterbody BBU, the next stage interface is handled unit B and is physically connected BBU.If afterbody BBU, next stage interface processing unit physically connects backstage control access device (like the PC computer) etc.Concrete, subordinate's interface is handled unit B Ethernet data processing procedure and is comprised that subordinate's interface is handled the inflow of unit B Ethernet data and subordinate's interface processing unit B Ethernet data flows out, wherein:
Subordinate's interface is handled unit B Ethernet data inflow (as shown in Figure 6) and is comprised step:
S510, subordinate interface is handled unit B and received the Ethernet data that next stage BBU or backstage control access device transmit: if afterbody BBU, what receive is the Ethernet data that backstage control access device transmits; If not afterbody BBU, what receive is the Ethernet data that next stage BBU transmits;
S520, subordinate's interface are handled unit B the Ethernet data that receives are stamped VLAN tag V2;
S530, subordinate's interface are handled unit B this Ethernet data are resolved;
S540, subordinate's interface are handled unit B and are judged whether this Ethernet data needs BBU at the corresponding levels to handle, if carry out step S550, if not, then carry out step S560;
S550, BBU at the corresponding levels if desired handle, and then pass to transfer processing unit E, and transfer processing unit E replaces with mark V1 with VLAN tag V2, gives corresponding Ethernet data processing unit processes among the VLAN V1 by transfer processing unit E again;
If S560 does not need BBU at the corresponding levels to handle, its Ethernet data is directly passed to higher level's interface processing unit A of BBU at the corresponding levels.
Subordinate's interface is handled the unit B Ethernet data and is flowed out (as shown in Figure 7), comprises step:
S610, subordinate interface is handled the Ethernet data that VLAN transfer processing unit E that unit B receives higher level's interface processing unit A or the BBU at the corresponding levels of BBU at the corresponding levels sends;
S620, subordinate's interface are handled unit B VLAN tag V2 are removed, and are reduced to common Ethernet data;
S630, subordinate interface is handled unit B and is judged whether afterbody BBU of BBU at the corresponding levels, if then carry out step S640, if not, then carry out step S650;
S640 was if afterbody BBU should pass to backstage control access device by common Ethernet data.
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 between each BBU of cascade Ethernet data not exist and crosstalk, and make the BBU cascade have better extensibility.
Be cascaded as example with T100 type base station secondary BBU, BBU and method that more concrete description the foregoing description provides at present.
As shown in Figure 8, this base station secondary BBU cascade (among other the embodiment, also can be more BBU cascade, like three grades of BBU cascades, perhaps more multistage BBU cascade of level Four BBU cascade) comprising: first order BBU and second level BBU.Include the clock master control veneer among the first order BBU; Base-Band Processing veneer etc.; Equally also include the clock master control veneer among the BBU of the second level, Base-Band Processing veneer etc., different is that first order BBU is different with the peripheral unit equipment that second level BBU is connect; That higher level's interface processing unit A1 of first order BBU connects is RNC, and what second level BBU higher level's interface processing unit A2 connect is subordinate's interface processing unit B 1 of first order BBU.That first order BBU subordinate interface processing unit B 1 connects is second level BBU, and what second level BBU subordinate interface processing unit B 2 connect is backstage control access device.
Said embodiment, this first order BBU and second level BBU with identical method with its each Ethernet data processing module in separately, different according to the Ethernet data function of its carrying, be divided into 2 different VLAN V1 and VLAN V2.VLAN V1 is used to handle the inner Ethernet data of BBU at the corresponding levels, and VLAN V2 is used for Ethernet data between the treatments B BU cascade.VLAN V2 comprises 3 Ethernet processing unit that function is different: higher level's interface processing unit corresponds to first order BBU and second level BBU and is made as 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 made as subordinate's interface processing unit B 1 respectively, and subordinate's interface is handled unit B 2; VLAN transfer processing unit corresponds to first order BBU and second level BBU and is made as 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 physically all are positioned at the clock master control veneer of BBU separately.The Ethernet data processing unit that VLAN V1 comprises is mainly the Ethernet baseband processing unit in each BBU.
Describe now from the transmission of ethernet data stream among VLAN V1 and VLAN V2 of 2 directions of uplink and downlink of BBU.
1, down direction ethernet data stream processing procedure may further comprise the steps:
1.1, the Ethernet data that sends from RNC, get into 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, higher level's interface processing unit A1 passes to VLAN transfer processing unit E1 with this Ethernet data.VLAN transfer processing unit E1 replaces with mark V1 with the VLAN tag V2 of this Ethernet data, and the Ethernet data that will mark behind the V1 passes to the corresponding Ethernet data processing unit in the VLAN V1.Program jumps to step 1.7.
1.4, if not the Ethernet data that sends to first order BBU, higher level's interface processing unit A1 passes to the subordinate interface with this Ethernet data and handles unit B 1.
1.5, after the subordinate interface handles the Ethernet data that unit B 1 receives, force the mark V2 that stamps to remove the front, be reduced to common Ethernet data, and the Ethernet data that will remove behind the mark V2 transmits correctly, pass to higher level's interface processing unit A2.
1.6, higher level's interface processing unit A2 receives after the subordinate interface handles unit B 1 and transmit the Ethernet data bag that comes; Second level BBU VLAN tag V2 is stamped in pressure, and the Ethernet data that will mark behind the V2 passes to VLAN transfer processing unit E2.VLAN transfer processing unit E2 replaces with mark V1 with the VLAN tag V2 of this Ethernet data, and the Ethernet data that will mark behind the V1 passes to the corresponding Ethernet data processing unit in the VLAN V1.Program jumps to step 1.7.
1.7, the corresponding Ethernet data processing unit in the VLAN V1 carries out subsequent treatment to this Ethernet data that receives.
1.8, the processing of epicycle Ethernet data finishes.
2, up direction ethernet data stream processing procedure may further comprise the steps:
2.1, for first order BBU:
2.1.1, the Ethernet data that needs are uploaded of the Ethernet data processing unit in the VLAN V1 marks V1, and the Ethernet data that marks passed to the VLAN transfer processing unit E1 of first order BBU.
2.1.2, the VLAN transfer processing unit E1 of first order BBU replaces with VLAN tag V2 with VLAN tag V1, and the Ethernet data that will replace with behind the VLAN tag V2 passes to higher level's interface processing unit A1.
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, be reduced to common Ethernet data, and the Ethernet data that will remove VLAN tag V2 sends to RNC.
2.1.4, RNC carries out subsequent treatment to the Ethernet data that receives.
2.2, for second level BBU:
2.2.1, the Ethernet data processing unit of second level BBU VLAN V1 Ethernet data that needs are uploaded stamps VLAN tag V1, and the Ethernet data that will stamp VLAN tag V1 passes to the VLAN transfer processing unit E2 of second level BBU.
2.2.2, the transfer processing unit E2 of the VLAN of second level BBU replaces with VLAN tag V2 with VLAN tag V1, and the Ethernet data that will replace with behind the VLAN tag V2 passes to higher level's interface processing unit A2.
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 that will remove VLAN tag V2 sends to subordinate's interface and handles unit B 1.
2.2.4, the subordinate interface is handled unit B 1 that the Ethernet data that receives is forced to stamp VLAN tag V2; And Ethernet data analyzed; Not the Ethernet data that first order BBU need handle, pass to higher level's interface processing unit A1 so will be equipped with the Ethernet data of VLAN tag V2.
2.2.5, after higher level's interface processing unit A1 receives the Ethernet data that is equipped with VLAN tag V2, VLAN tag V2 is removed, be reduced to common Ethernet data.
2.2.6, the Ethernet data of higher level's interface processing unit A1 after will reducing pass to RNC.
Through top Ethernet data processing procedure, up, Ethernet data is not crosstalked between down direction Ethernet data first order BBU and the second level BBU.And the BBU cascade has better extensibility.
More than be merely preferred embodiment of the present invention,, all any modifications of within spirit of the present invention and principle, being done, be equal to and replace and improvement etc., all should be included within protection scope of the present invention not in order to restriction the present invention.