Embodiment
core concept of the present invention is: upstream equipment will distribute the control parameter to send to upstream device for the CPRI link AxC resource of determining the IQ passage, after receiving the notice that correctly receives CPRI link AxC resource distribution control parameter of upstream device transmission, upstream equipment and upstream device begin to distribute in CPRI link AxC resource controls transmitting-receiving IQ data on the determined IQ passage of parameter, make the CPRI link AxC resource can be in any mobile standard, or in cascade, or flexible allocation in mixed mould application, for interconnected between the upstream equipment of different vendor and upstream device provides a kind of general-purpose interface, improved the compatibility of system.
Below in conjunction with accompanying drawing and preferred implementation, technical solution of the present invention is elaborated.
First embodiment of the present invention provides a kind of method of transceiving data, as shown in Figure 2, comprising:
210, upstream equipment obtains the distribution of CPRI link AxC resource and controls parameter information, and this distributes controls parameter information for determining the IQ passage; Should distribute the control parameter information to send to upstream device; After correctly receiving of receiving that upstream device sends distributed the notice of controlling parameter information, control the determined IQ passage of parameter and upstream device carries out the transmitting-receiving of IQ data by distribution;
220, upstream device receives to distribute controls parameter information; Upstream device send correctly receive distribute the notice of controlling parameter information after, control the determined IQ passage of parameter information and upstream equipment carries out the transmitting-receiving of IQ data by distribution.
Further, upstream equipment is BBU, and this upstream device is RRU; Obtain this distribution and control parameter information, comprising:
BBU obtains first group of information; This first group of information controlled parameter information as distributing;
Wherein, first group of information comprises: the IQ passage of the sector of the sampling width of the sector number of the word length of CPRI link, the sign of RRU, RRU, the IQ data of RRU, IQ port number that the sector of RRU takies at the basic frame of CPRI, RRU is in initial address word offset and the initial address bit offset of the basic frame of CPRI.
Further, obtain this distribution and control parameter information, also comprise:
Obtain second group of information;
First group of information and second group of information are controlled parameter information as distributing;
Wherein, second group of information comprises: the idle number that takies number and the basic frame of the single contained fan of RRU of the basic frame of single contained fan of the multiplexing ratio in the sector of RRU, RRU.
Wherein, the multiplexing ratio in the sector of RRU is: (n-b)/m;
Wherein, m, n were illustrated in the time that sends m IQ data, sent n the basic frame of CPRI, and m/n equals the ratio of the frequency of the spreading rate of RRU and the basic frame of CPRI, and m, n, b are 0 natural number, and m, n prime number each other.
Further, distribute by the control channel except Comma byte and synchronization timing passage in CPRI link control channel the transmission of controlling parameter information between upstream equipment and upstream device;
In reserve part by CPRI link control channel between upstream equipment and upstream device, newly-built control channel is distributed the transmission of controlling parameter information.
Further, upstream equipment is BBU, and upstream device is RRU; Or upstream equipment is a RRU, and upstream device is the 2nd RRU.
The method of the transceiving data that provides below by second embodiment of the present invention is described in detail first embodiment of the present invention.The network architecture of the application of the second embodiment of the present invention comprises BBU, first order RRU and second level RRU as shown in Figure 3.Wherein, BBU is that upstream equipment, first order RRU are the upstream device of BBU, and simultaneously, first order RRU is the upstream equipment of second level RRU, and first order RRU has a RRU at least, and second level RRU has a RRU at least.As shown in Figure 4, the method comprises:
410, obtain the network topology structure tables of data.Particularly, this step comprises:
410a according to networking requirement, collects sector configuration, the carrier configuration information of each RRU, for each RRU distributes the ID numbering, determines the BBU capacity requirement.
410b determines network topology architecture, according to sector configuration, the carrier configuration information of RRU, determines BBU as the needed CPRI number of links of upstream equipment, and the bandwidth requirement of the RRU quantity supported of every CPRI link and RRU ID numbering, CPRI link.
410c determines as the needed CPRI number of links of the first order RRU of upstream equipment, and the bandwidth requirement of the second level RRU quantity supported of every CPRI link and RRU ID numbering, CPRI link.
410d forms the network topology structure tables of data according to 410a to the information that 410c collects.
420, determine to control parameter information as the distribution of the AxC resource of every CPRI link of the BBU of upstream equipment.Particularly, as shown in Figure 5, this step can comprise:
420a selects a CPRI link.
420b determines according to the network topology structure tables of data RRU quantity that this CPRI link is supported.
420c determines CPRI link word length according to this CPRI link bandwidth in the network topology structure tables of data.
For example, the word length of corresponding 1 byte of the CPRI link of 614.4M; 1228.8M the word length of corresponding 2 bytes of CPRI link; 2457.6M the word length of corresponding 4 bytes of CPRI link; 3072.0MCPRI the word length of corresponding 5 bytes of link.
420d, a RRU ID numbering selecting this CPRI link to support determines according to the network topology structure tables of data sector number, the IQ data sampling width that this ID numbering RRU plans.
420e determines whether to adopt for the RRU of this ID numbering IQ channel multiplexing technology to save transmission bandwidth.If certain moves the standard spreading rate less than the basic frame rate of CPRI, can multiplexing IQ passage, at this moment, need to determine the multiplexing ratio in sector, i.e. IQ data time division multiplexing to an IQ passage of several sectors; If certain moves the standard spreading rate more than or equal to the basic frame rate of CPRI, not multiplexing IQ passage, at this moment, carry out 420h.
wherein, multiplexing method can be determined according to spreading rate Y and the proportionate relationship between the basic frame rate 3.84M of CPRI of this ID numbering RRU: suppose that Y/3.84=m/n wherein, m, n is natural number, and m, n is prime number each other, namely within the time that passes the individual IQ data of m, can send n the basic frame of CPRI, the relational expression that n is expressed as m is n=am+b, wherein, a, b is natural number, namely can pass a sector in the basic frame period at n CPRI, the data volume of every sector m IQ, no longer send the IQ data in the basic frame period of a remaining b CPRI, thus, the multiplexing ratio in sector is defined as a.
420f determines that according to the result of calculation of 420e this ID numbering RRU takies number at the basic frame of single contained fan of this CPRI link.If not multiplexing IQ passage is skipped this step.
Wherein, the frame number of the basic frame of CPRI that takies continuously at this CPRI link of ID numbering RRU is the multiplexing ratio in sector and several product that takies of the basic frame of single contained fan.
420g determines that this ID numbering RRU is at the idle number of the basic frame of single contained fan of this CPRI link.If not multiplexing IQ passage is skipped this step.
420h determines this required IQ port number in ID numbering every sector of RRU.
420i determines that the IQ passage of this ID numbering RRU the first sector is in initial address word offset and the bit offset of the basic frame of CPRI.
420j determines the AxC resource of all RRU of this CPRI link distributes the control parameter whether to assign, and if so, carries out 420k; If not, carry out 420d to 420i, until on this CPRI link, the AxC resource of all RRU distributes the control parameter to determine to complete.
420k selects a kind of CRC (CRC, Cyclical Redundancy Check) algorithm that distributes control information to protect to above-mentioned AxC resource.
Need to prove, the configuration of 420d to 420i distributes the step of controlling parameter information to adjust according to actual needs, is not limited to above-mentioned steps.
420l determines the AxC resource of all CPRI links of BBU distributes the control parameter whether to assign, if not, repeat 420a to 420k, until the AxC resource of upper all the CPRI links of BBU distributes the control parametric distribution to complete.
430, determine to control parameter information as the distribution of every CPRI link AxC resource of the first order RRU of the upstream equipment of second level RRU.Particularly, this step can comprise:
According to the network topology structure tables of data, determine whether first order RRU has upstream device, in the present embodiment, first order RRU is the upstream equipment of second level RRU, at this moment, determine the distribution control parameter information of the CPRI link AxC resource of first order RRU according to the network topology structure tables of data, detailed process can referring to 420, not repeat them here.
Parameter information is controlled in the distribution of the CPRI link AxC resource that 440, BBU reception, the 410 network topology structure tables of data and 420,430 that obtain obtain.
450, set up BBU and first order RRU, the communication link of first order RRU and second level RRU.
Need to prove, 410 to 450 is initial configuration process of the present embodiment.
460, BBU radio network topology data table.
Particularly, BBU passes through all CPRI interfaces to first order RRU radio network topology data table.First order RRU after receiving the network topology structure tables of data of BBU broadcasting, first to the confirmation of receipt of BBU report network topology data table, afterwards by the CPRI interface to its upstream device second level RRU radio network topology data table.Second level RRU is after the network topology structure tables of data of receiving first order RRU broadcasting, step by step to the confirmation of receipt of BBU report network topology data table.
470, BBU distributes the control parameter to determine the IQ passage according to the AxC resource, and send CPRI link AxC resource distribution control parameter to first order RRU, after receiving the confirmation notice of first order RRU transmission, the IQ passage and the first order RRU that distribute the control parameter to determine by CPRI link AxC resource carry out the transmitting-receiving of IQ data.
Particularly, BBU sends the AxC resource distribution of CPRI link separately according to the network topology structure tables of data to first order RRU and controls parameter, and after receiving the confirmation of receipt notice of first order RRU transmission, according to the RRU ID numbering in the confirmation of receipt notice, distribute the definite IQ passage of control parameter to begin the RRU corresponding with this RRU ID numbering by the AxC resource and carry out the transmitting-receiving of IQ data.
Wherein, BBU controls parameter information by the control channel except Comma byte and synchronization timing passage in CPRI link control channel with the distribution of AxC resource and sends to first order RRU; Or by the newly-built control channel of the reserve part of CPRI link control channel, parameter information is controlled in the distribution of AxC resource and sent to first order RRU.
Wherein, first of the basic frame of CPRI is classified a control word as, and 256 basic frames of CPRI form a superframe, and in a superframe, 256 control words have consisted of the control channel collection, are illustrated in figure 6 as the schematic diagram of CPRI link control channel collection.Wherein, 256 control words of superframe have consisted of a plurality of control channels, Comma byte, synchronous and timing channel, slow speed operation and link management, the layer 1 interior agreement (L1 inband) of band, reserve part, manufacturer's standard, fast operating and link management etc. are arranged respectively, wherein, (Xs=0, Ns=0) be the Comma byte, from (Ns=0, Xs=1) to (Ns=0, Xs=3) is synchronous and timing channel, other the agreement that can see for details is stipulated, does not repeat them here.Wherein, BBU can utilize other control channel except Comma byte, synchronous and timing channel that parameter information is controlled in the distribution of AxC resource and send to first order RRU, or utilizes reserve part to rebulid a CPRI link AxC resource control channel and parameter information is controlled in the distribution of AxC resource sent to first order RRU.
Wherein, the distribution of AxC resource can be controlled parameter information be packaged into the AxC resource and distribute and send to first order RRU after controlling packet.The structural representation of AxC resource distribution control packet comprises packet header, AxC resource distribution control parameter and CRC check algorithm as shown in Figure 7.Wherein, the structural representation in packet header as shown in Figure 8, the structural representation that the AxC resource distribute to be controlled parameter is as shown in Figure 9.
Wherein, packet header comprises following field:
Field Version represents the version of AxC resource distribution control parameter.
Field Word_Length represents the word length of CPRI link, refers to a byte number that word is contained, and with the difference of CPRI interface rate, the length of a word is also different.Wherein, the shared byte length of a word equals the n+1 in Fig. 1.
Field RRU_Num represents RRU quantity, i.e. the RRU number supported of this CPRI link.
The distribution of AxC resource is controlled parameter and is comprised following field:
Field RRU1_ID represents the ID numbering of this RRU in system, i.e. the sign of RRU, below all to indicate the field of RRU1 all relevant to RRU1_ID.
Field RRU1_Sec_Num represents the sector number of RRU1.
Field RRU1_Sample_IQ_Scale represents the IQ data sampling width of RRU1.
Field RRU1_Sec_Mul represents the multiplexing ratio in the sector of RRU1, and namely the IQ data of the several different fans of RRU1 are by the same IQ passage of time-sharing multiplex to the basic frame of CPRI.Wherein, this parameter is only used when IQ channel multiplexing.
Field RRU1_Frm_Use represents the number that takies of the basic frame of the single contained fan of RRU1, and namely the IQ data of the single contained fan of RRU1 take the frame number of the basic frame of CPRI.Wherein, this parameter is only used when IQ channel multiplexing.
Wherein, RRU1 altogether takies continuously the frame number of the basic frame of CPRI and is: the product of RRU1_Sec_Mul and RRU1_Frm_Use.
Field RRU1_Frm_idle represents the idle number of the basic frame of single contained fan of RRU1, be namely idle frame sending the RRU1_Sec_Mul of IQ data and RRU1_Frm_idle the basic frame of CPRI after the basic frame of a RRU1_Frm_Use product CPRI continuously, begin again afterwards the IQ transfer of data of a new round.Wherein, this parameter is only used when IQ channel multiplexing.
Field RRU1_Sec_IQ_Num represents the IQ port number that every sector of RRU1 takies at a basic frame of CPRI.
Field RRU1_word_Offset represents that the IQ passage of the first sector of RRU1 is in the initial address word offset of the basic frame of CPRI.For example the value of initial address word offset Wx can be any one numerical value in 1 to 15 in Fig. 1.
Field RRU1_bit_Offset represents the initial address bit offset of IQ passage in the basic frame of CPRI of the first sector of RRU1.
The IQ passage of the first sector of RRU1 is orientated as at the initial address bit of the basic frame of CPRI: the (individual bit of RRU1_word_Offset x CPRI interface word length+RRU1_bit_Offset).
The AxC resource that is more than the RRU1 in first order RRU is distributed the control parameter, distributes the control parameter identical therewith about the AxC resource of the RRUn in first order RRU (n is positive integer), is not giving unnecessary details at this.
480, first order RRU distributes the control parameter to determine the IQ passage according to CPRI link AxC resource, and begins to carry out the transmission of IQ data according to the IQ passage.Particularly, as shown in figure 10, this step comprises:
480a, first order RRU receive network topology structure tables of data that BBU sends and AxC resource distribute control parameter after, first report confirmation to BBU, control from the distribution of AxC resource the AxC resource of obtaining this RRU parameter according to this RRU ID numbering again and distribute the control parameter, distribute the control parameter to determine the IQ passage according to the AxC resource of this RRU.
480b, first order RRU has determined whether upstream device according to the network topology structure tables of data that obtains, if having, carries out 480c; If no, finish.
480c, first order RRU determines that according to this RRU ID numbering and network topology structure tables of data this RRU supports CPRI interface quantity and the requirement of CPRI link bandwidth of upstream device RRU.
480d selects a CPRI link.
480e determines according to the network topology structure tables of data RRU quantity and the RRU ID numbering thereof that this CPRI link is supported.
480f determines CPRI link word length according to this CPRI link bandwidth that the network topology structure tables of data is determined.
For example, the word length of corresponding 1 byte of 614.4M CPRI link; 1228.8M the word length of corresponding 2 bytes of CPRI link; 2457.6M the word length of corresponding 4 bytes of CPRI link; 3072.0M the word length of corresponding 5 bytes of CPRI link.
480g, a RRU ID who selects this CPRI link to support distributes the multiplexing ratio in sector number, IQ sampling width, sector, the basic frame of CPRI that the control parameter, the direct RRU that extracts this ID numbering plans to take the parameters such as number, CPRI number of basic frame free time, IQ port number from the AxC resource that upstream equipment BBU sends.
480h determines that this ID numbers the initial address skew of IQ passage in the basic frame structure of this CPRI of RRU the first sector, and this initial address skew obtains according to initial address word offset and initial address bit offset:
Particularly, calculate the product of word offset and CPRI link word length, with being offset as initial address with value of this sum of products initial address bit offset.
For example, in Fig. 1, calculate the product of word offset Wx and CPRI link word length, the initial address with being worth as the IQ passage of RRU the first sector of this product and bit offset By is offset.
480i, whether the AxC resource of determining the RRU under this CPRI link distribute is controlled parameter and is assigned, if do not have completely, carries out 480g to 480h; If complete, carry out 480j.
480j selects the CRC algorithm that BBU issues that the distribution control parameter information of above AxC resource is protected.
480k, first order RRU controls parameter information to the distribution that second level RRU issues the AxC resource, and send to BBU after the confirmation of receipt that receives second level RRU transmission, and make BBU according to the RRU ID numbering of confirmation of receipt, carry out the transmission of IQ data between the RRU that begins to number with corresponding RRU ID.
Particularly, first order RRU controls parameter information by the CPRI interface with the distribution of above-mentioned AxC resource and sends to second level RRU, and process of transmitting can referring to 470, not repeat them here particularly.After second level RRU confirmed that the AxC resource is distributed the normal reception of control parameter, second level RRU reported confirmation of receipt by first order RRU to BBU.BBU after receiving the confirmation information, according to the RRU ID numbering that sends confirmation, the transmission of the normal IQ data between beginning BBU and RRU that corresponding RRU ID numbers.
480l, first order RRU determine that whether the AxC resource distribution control parameter of CPRI link is completed, and if so, carries out 490; If not, carry out 480d to 480k.
490, determine whether whether the distribution control parameter of the CPRI link AxC resource of all RRU assigns, if so, carry out 400; If not, carry out 480.
400, system normally moves.
The method of the transceiving data that second embodiment of the present invention provides is not only applicable to the network architecture shown in Figure 3, also be applicable to exist the network architecture of more multistage RRU, for example, under BBU except first order RRU, second level RRU, also there are third level RRU, fourth stage RRU etc., idiographic flow under this network architecture can be with reference to the flow process of the network architecture shown in Figure 3.In addition, also be applicable to the network architecture shown in Figure 11, in Figure 11, BBU is as upstream equipment, first order RRU is only as upstream device, the process of detailed IQ data transmit-receive data can the present embodiment in about the description between BBU and first order RRU, do not repeat them here.In addition, the method for the transceiving data that second embodiment of the present invention provides also is applicable to Star Network framework shown in Figure 12, and wherein, BBU is as upstream equipment, RRU1, RRU2, RRU3 ... RRUn is upstream device.
Method below by the 3rd transceiving data that embodiment provides of the present invention is described in detail second embodiment of the present invention.The network architecture that the 3rd embodiment of the present invention uses is a CDMA2000 cascade website, as shown in figure 13, comprise CDMA2000BBU (hereinafter to be referred as " BBU "), CDMA2000RRU1 (hereinafter to be referred as " RRU1 ") and CDMA2000RRU2 (hereinafter to be referred as " RRU2 "), wherein, BBU connects RRU1 by 1.2288Gbit/s CPRI interface link, and RRU1 is by 1.2288Gbit/s CPRI interface link cascaded RRUs 2.RRU1 is 3 sectors, every sector 4 carrier waves, and IQ data sampling width is 15bit; RRU2 is 3 sectors, every sector 2 carrier waves, and IQ data sampling width is 15bit.
In embodiments of the present invention, BBU provides a CPRI interface, and this CPRI interface is supported two RRU, is respectively RRU1, RRU2, and the CPRI link bandwidth is 1.2288Gbit/s.RRU1 need to provide a CPRI interface for downstream RRU2, and this CPRI interface is supported a RRU, i.e. RRU2, and the CPRI link bandwidth is 1.2288Gbit/s.
Determine the distribution control parameter information of the CPRI link AxC resource of BBU.
Particularly, BBU only has a CPRI link, and this link is supported two RRU, and the word length of CPRI link is 2 bytes, and the sector number of RRU1 is that 3, IQ data sampling width is 15bit.
because the spreading rate of CDMA2000 is 1.2288Mc/s, the basic frame rate of CPRI is 3.84M, therefore, can consider to adopt IQ channel multiplexing technology this moment, it is 1.2288/3.84=8/25 that Y/3.84=m/n is arranged, namely sending in time of chip of 8, can send 25 basic frames of CPRI, thereby n=am+b=3 * 8+1 is arranged, namely can transmit 3 sectors in the basic frame period at 25 CPRI, the data volume of every 8 IQ in sector, remaining 1 CPRI no longer sends the IQ data in the basic frame period, the multiplexing ratio in sector is defined as 3, be three sectors of RRU1, the IQ data of the carrier wave in every sector can be carried on an IQ passage of CPRI link by time-multiplexed mode.
According to above calculating can obtain RRU1 on this CPRI link the basic frame of single contained fan to take number be 8, namely take continuously the IQ data that 3 * 8=24 the basic frame of CPRI comes the every sector of timesharing transmission.After 24 basic frames of CPRI, vacant 1 basic frame of CPRI, namely the idle number of the basic frame of single contained fan is 1, begins afterwards IQ multiplexing transmission next time again.In addition, owing to having adopted IQ channel multiplexing technology, the required IQ port number that takies CPRI of RRU1 is only relevant with the carrier number of RRU1, and can obtain the required IQ port number in the every sector of RRU1 is 4.
It is Wx=1 that RRU1 can directly be defined as word offset in the skew of the initial address of the basic frame of CPRI link, and byte offset is By=0.
Then can utilize with the AxC resource of definite RRU1 and distribute the similar method of controlling parameter, it is as follows that parameter information is controlled in the distribution that obtains the AxC resource of RRU2: the sector number of RRU2 is 3, IQ data sampling width 15bit, the multiplexing ratio in sector is 3, the basic frame of single contained fan to take number be 8, the idle number of the basic frame of single contained fan is 1, and the required IQ port number in every sector is 2.RRU2 need to be from the address of unallocated use in the initial address skew of the basic frame of CPRI, because RRU1 has taken 4 * 15 * 2=120bit in the basic frame of CPRI, the word length of this CPRI link is 2, be 16bit, thereby obtain sending to the IQ data of RRU2 to begin the position after word offset 8, bit skew 7, for example, RRU2 be can define and word offset Wx=9, bit offset By=0 are in the initial address skew of the basic frame of CPRI link.
Control parameter information for the distribution of protection AxC resource and select a kind of CRC check algorithm.
Through above analytic process, BBU required whole parameters in " CPRI link AxC resource distribute control packet " between RRU1 are determined.
Later detailed process can with reference to 440 to 470, not repeat them here.
Further, RRU1 learns that from the network topology structure tables of data RRU1 need to provide a CPRI link for upstream device RRU2, and this CPRI link is supported a RRU, i.e. RRU2, and the CPRI link bandwidth is 1.2288Gbit/s, CPRI link word length is 2 bytes.
RRU1 directly extracts the RRU sector number that is numbered RRU2 from " CPRI link AxC resource is distributed the control packet " that upstream equipment BBU sends be 3, IQ data sampling width 15bit, the multiplexing ratio in sector is 3, the basic frame of single contained fan to take number be 8, the idle number of the basic frame of single contained fan is 1, and the required IQ port number in every sector is 2.RRU2 can directly be defined as word offset Wx=1, byte offset By=0 in the initial address skew of the basic frame of CPRI.The CRC check algorithm that uses BBU to issue carries out verification to above parameter.
Through after above analytic process, RRU1 required whole parameters in " CPRI link AxC resource distribute control packet " between RRU2 just are determined.RRU1 controls parameter to the distribution that RRU2 sends the AxC resource, and after receiving the notice that correctly receives AxC resource distribution control parameter of RRU2 transmission, to the BBU feedback, BBU begins to carry out the transmission of IQ data through RRU1 and RRU2.
Method below by the 4th transceiving data that embodiment provides of the present invention is described in detail second embodiment of the present invention.The network architecture that the 4th embodiment of the present invention uses is the mixed mould website of a LTE and WCDMA, as shown in figure 14, comprise that LTE, WCDMA mix mould BBU (hereinafter to be referred as " mixed mould BBU "), LTE RRU (hereinafter to be referred as " RRU1 ") and WCDMA RRU (hereinafter to be referred as " RRU2 ").Mixed mould BBU connects RRU1 by 3.072Gbit/s CPRI interface, and RRU1 connects RRU2 by 614.4Mbit/s CPRI interface.RRU1 is the RRU of a LTE, is that an omnidirectional covers website, the 20M bandwidth of air-interface, and 2x2MIMO, IQ data sampling width is 15bit; RRU2 is the RRU of a WCDMA, is 3 sectors, every sector 1 carrier wave, and IQ data sampling width is 15bit.
Determine the CPRI link AxC resource distribution control parameter of mixed mould BBU, as follows:
BBU only has a CPRI link.This link is supported two RRU.CPRI link word length is 5 bytes.
The sector number of RRU1 is that 1, IQ data sampling width is 15bit.
The sample rate of LTE 20M bandwidth of air-interface is 30.72M, the basic frame rate of CPRI is 3.84M, it is 30.72/3.84=8/1 that Y/3.84=m/n is arranged, at this moment, the chip that basic frame of CPRI need to send 8 LTE of 1 antenna could satisfy the transmission demand of LTE, need have 16 IQ passages to support the baseband I Q transfer of data of LTE in the basic frame of CPRI for 2 antennas, therefore can not adopt IQ channel multiplexing technology, the required IQ port number in the every sector of RRU1 is 16.
RRU1 can directly be defined as word offset Wx=1, byte offset By=0 in the initial address skew of the basic frame of CPRI.
The sector number of RRU2 is 3, IQ sampling width 15bit.
The spreading rate of WCDMA is 3.84M, and is identical with the basic frame rate of CPRI, so can not adopt IQ channel multiplexing technology.The spreading rate of WCDMA is identical with the basic frame rate of CPRI, and namely the IQ port number of the basic frame carrying of a CPRI WCDMA just equals the carrier number of arranging net of WCDMA.RRU2 is 3 sectors, and every sector 1 carrier wave is so the required IQ port number in the every sector of RRU1 is that the IQ port number that 1,3 sector needs altogether is 3.
RRU2 need to be from the address of unallocated use in the initial address skew of the basic frame of CPRI, because RRU1 has taken the position of 16 * 15 * 2=480bit at the basic frame of CPRI, the word length of this CPRI interface is 5 bytes, be 40bit, thereby obtaining RRU2 should begin the position after word offset 12, bit skew 39, the initial address skew of RRU2 in the basic frame of CPRI be can define this moment and word offset Wx=13, bit offset By=0 are.
Control parameter information for the distribution of protection AxC resource and select a kind of CRC check algorithm.
Just be determined through the required whole parameters in " CPRI link AxC resource distribute control packet " between RRU1 of BBU after above analytic process.
How to utilize CPRI link AxC resource to distribute the control packet to carry out the transmission of IQ data between BBU and RRU1, can referring to the 3rd embodiment appropriate section of the present invention, not give unnecessary details at this.
RRU1 learns that from the network topology structure tables of data RRU1 need to provide a CPRI interface for downstream RRU2, and this CPRI interface is supported a RRU, i.e. RRU2, and the CPRI interface bandwidth is 614.4Mbit/s, determines that CPRI link word length is 1 byte.
RRU1 directly extracts the sector number that is numbered RRU2 from " the AxC resource is distributed the control parameter " that BBU sends be 3, IQ sampling width 15bit, do not use the IQ multiplex technique, and the required IQ port number in every sector is 1.RRU2 can directly be defined as word offset Wx=1, byte offset By=0 in the initial address skew of the basic frame of CPRI.
The CRC check algorithm that uses BBU to issue carries out verification to above parameter.
Distribute to the CPRI link AxC resource between RRU2 through RRU1 after above analytic process and control that in packet, required whole parameters just are determined.RRU1 sends " the AxC resource is distributed the control parameter " to RRU2.About how distributing the control parameter to carry out the transmission of IQ data according to the AxC resource between RRU1 and RRU2, can referring to the 3rd embodiment of the present invention, not give unnecessary details at this.
The 5th embodiment of the present invention provides a kind of device of transceiving data, as shown in figure 15, comprising:
Acquisition module is controlled parameter information for the distribution of obtaining CPRI link AxC resource, and the distribution of this AxC resource is controlled parameter information and is used for determining the IQ passage;
The parameter sending module is used for that parameter information is controlled in the distribution of AxC resource and sends to upstream device;
Receiver module, the notice of parameter information is controlled in the distribution that correctly receives the AxC resource that is used for the transmission of reception upstream device;
Data transmit-receive module is used for after receiver module receives described notice, controls parameter information definite IQ passage and upstream device by the distribution of AxC resource and carries out the IQ data.
Further, upstream device is RRU, and correspondingly, acquisition module obtains the distribution of the AxC resource of CPRI link and controls parameter information, comprising:
Acquisition module obtains first group of information;
First group of information is controlled parameter information as the distribution of AxC resource;
Wherein, first group of information comprises: the IQ passage of the sector of the sampling width of the sector number of the word length of CPRI link, the sign of RRU, RRU, the IQ data of RRU, IQ port number that the sector of RRU takies at the basic frame of CPRI, RRU is in initial address word offset and the initial address bit offset of the basic frame of CPRI.
Further, acquisition module obtains the distribution of the AxC resource of CPRI link and controls parameter information, also comprises:
Acquisition module obtains second group of information;
First group of information and second group of information are controlled parameter information as the distribution of AxC resource;
Wherein, second group of information comprises: the idle number that takies number and the basic frame of the single contained fan of RRU of the basic frame of single contained fan of the multiplexing ratio in the sector of RRU, RRU.
Wherein, the multiplexing ratio in the sector of RRU is: (n-b)/m;
Wherein, m, n were illustrated in the time that sends m IQ data, sent n the basic frame of CPRI, and m/n equals the ratio of the frequency of the spreading rate of RRU and the basic frame of CPRI, and m, n, b are 0 natural number, and m, n prime number each other.
Further, the device of transceiving data is controlled parameter information by the control channel except Comma byte and synchronization timing passage in CPRI link control channel with the distribution of AxC resource and is sent to upstream device; Or
In reserve part by CPRI link control channel, newly-built control channel is controlled parameter information with the distribution of AxC resource and is sent to upstream device.
Need to prove, the device of transceiving data can be a BBU, can be also another RRU.
The 6th embodiment of the present invention provides a kind of device of transceiving data, as shown in figure 16, comprising:
The parameter receiver module, parameter information is controlled in the distribution that is used for the CPRI link AxC resource of reception upstream equipment transmission, and the distribution of this AxC resource is controlled parameter information and is used for definite IQ passage;
Sending module is used for upstream device and sends the notice that parameter information is controlled in the distribution that correctly receives the AxC resource;
Data transmit-receive module is used for after sending module sends described notice, controls parameter information definite IQ passage and upstream equipment by the distribution of AxC resource and carries out the transmitting-receiving of IQ data.
Further, the device of described transceiving data is RRU, and correspondingly, the parameter receiver module receives the distribution of the AxC resource of CPRI link and controls parameter information, comprising:
Receive first group of information that upstream equipment sends;
First group of information is controlled parameter information as the distribution of AxC resource;
Wherein, first group of information comprises: the IQ passage of the sector of the sampling width of the sector number of the word length of CPRI link, the sign of RRU, RRU, the IQ data of RRU, IQ port number that the sector of RRU takies at the basic frame of CPRI, RRU is in initial address word offset and the initial address bit offset of the basic frame of CPRI.
Further, the parameter receiver module receives the distribution of the AxC resource of CPRI link and controls parameter information, also comprises:
Receive second group of information;
First group of information and second group of information are controlled parameter information as the distribution of described AxC resource;
Wherein, second group of information comprises: the idle number that takies number and the basic frame of the single contained fan of RRU of the multiplexing ratio in the sector of RRU, the basic frame of the single contained fan of RRU.
Wherein, the multiplexing ratio in the sector of RRU is: (n-b)/m;
Wherein, m, n were illustrated in the time that sends m IQ data, sent n the basic frame of CPRI, and m/n equals the ratio of the frequency of the spreading rate of RRU and the basic frame of CPRI, and m, n, b are 0 natural number, and m, n prime number each other.
Further, the device of transceiving data is controlled parameter information by the distribution that the control channel except Comma byte and synchronization timing passage in CPRI link control channel receives the AxC resource of upstream equipment transmission; Or
In reserve part by CPRI link control channel, newly-built control channel receives the distribution control parameter information of the AxC resource of upstream equipment transmission.
Need to prove, the device of transceiving data can be a RRU.
The 7th embodiment of the present invention provides a kind of system of the transmission of data, as shown in figure 17, comprising:
The device of the first transceiving data is controlled parameter information for the distribution of the AxC resource of obtaining the CPRI link, and the distribution of this AxC resource is controlled parameter information and is used for determining the IQ passage; The device that parameter information sends to the second transceiving data is controlled in the distribution of AxC resource; After the notice of parameter information was controlled in the distribution that correctly receives the AxC resource that the device that receives the second transceiving data sends, the device of controlling the definite IQ passage of parameter information and the second transmitting-receiving number by the distribution of AxC resource carried out the transmitting-receiving of IQ data;
The device of the second transceiving data, parameter information is controlled in the distribution that be used for to receive the CPRI link AxC resource that the device of the first transceiving data sends; After sending the distribution that correctly receives the AxC resource and control the notice of parameter information to the device of the first transceiving data, control IQ passage that parameter information determines and the device of the first transceiving data carries out the transmitting-receiving of IQ data by the distribution of AxC resource.
Wherein, can respectively referring to the 5th embodiment of the present invention and the 6th embodiment, not repeat them here about the detailed function structure of the device of the device of the first transceiving data and the second transceiving data and the detailed functions of modules.
Wherein, the device of the first transceiving data can be BBU, and correspondingly, the device of the second transceiving data can be RRU.
The device of the first transceiving data can be RRU, and correspondingly, the device of the second transceiving data can be another RRU.
technical scheme provided by the invention will be controlled parameter for the distribution of the CPRI link AxC resource of determining the IQ passage by upstream equipment and send to upstream device, after the notice of parameter is controlled in the distribution that correctly receives CPRI link AxC resource that receives the upstream device transmission, upstream equipment and upstream device begin to control transmitting-receiving IQ data on the determined IQ passage of parameter in the distribution of CPRI link AxC resource, make the AxC resource of CPRI link can be in any mobile standard, or in cascade, or flexible allocation in mixed mould application, for interconnected between the upstream equipment of different vendor and upstream device provides a kind of general-purpose interface, improved the compatibility of system.Simultaneously, utilize IQ channel multiplexing technology, improved the utilance of transmission bandwidth.
Scheme of the present invention is not restricted to listed utilization in specification and execution mode.Concerning the technology of the present invention those of ordinary skill in the field, can make according to the present invention various corresponding changes and distortion, and all these corresponding changes and distortion all belong to the protection range of claim of the present invention.