CN101729423B - Method and device for transmitting data between common public radio interface CPRI ports - Google Patents
Method and device for transmitting data between common public radio interface CPRI ports Download PDFInfo
- Publication number
- CN101729423B CN101729423B CN2009102581569A CN200910258156A CN101729423B CN 101729423 B CN101729423 B CN 101729423B CN 2009102581569 A CN2009102581569 A CN 2009102581569A CN 200910258156 A CN200910258156 A CN 200910258156A CN 101729423 B CN101729423 B CN 101729423B
- Authority
- CN
- China
- Prior art keywords
- data rows
- cpri
- target
- data
- transmit port
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiment of the invention relates to method and device for transmitting data between common public radio interface CPRI ports, belonging to the technical field of communication, wherein the method comprises the following steps of: when the CPRI receive port of a CPRI node receives IQ data columns, copying the IQ data columns received by each CPRI receive port into M portions of IQ data columns, wherein M is not less than the CPRI receive port number of the CPRI node, and each of M portions of IQ data columns corresponds to one CPRI receive port; according to the rules that the CPRI receive port acquires the objective IQ data columns, when the IQ data columns which corresponds to the same CPRI receive port comprise the objective IQ data columns, acquiring the objective IQ data columns and transmitting the objective IQ data columns to the same CPRI receive port. The method and device for transmitting data between common public radio interface CPRI ports can realize that a plurality of ports transmit data simultaneously under the condition of fixed bandwidth, thereby greatly increasing the efficiency of data transmission between the ports and increasing the information processing speed.
Description
Technical field
The present invention relates to the communications field, relate in particular to the method and the common public radio interface CPRI device of transfer of data between a kind of common public radio interface CPRI ports.
Background technology
In modern communication technology, the advantage that Fibre Optical Communication Technology is with low cost with it, bandwidth is big is widely used in the every field of communication.Wherein CPRI (Common Public Radio Interface, general public wireless port) standard just is based on a kind of standard that optical fiber communication produces.This standard is divided into wireless control apparatus REC (Radio Equipment Control with the base station as shown in Figure 1, wireless control apparatus) with wireless device RE (Radio Equipment, wireless device), between REC and the RE, between REC and REC and RE and the RE, (connected mode as shown in Figure 2 can to pass through the connection of CPRI port, comprise between REC and the RE, between RE and the RE), transmission IQ data (In-Phase and Quadrature data, digital baseband data), transmission means is that the IQ data are put into rows of blocks, form the CPRI Frame by data rows, the transmission by Frame reaches transmission and the reception to the IQ data.In the CPRI standard, data frame structure is made up of 16 row blocks as shown in Figure 3, can fill a certain size IQ data in every row block, the general control word (Control Word) of filling on the 0th row block, 1~15 remaining row block can be filled the IQ data according to user's demand.
The inventor finds that the defective that exists in the prior art is in realizing process of the present invention: adopt CPRI data frame transfer IQ data, time delay is bigger, can't satisfy the requirement of CPRI agreement exchange high speed data fully.
Summary of the invention
The purpose of the embodiment of the invention is to provide the method and the device of transfer of data between a kind of common public radio interface CPRI ports, can be implemented in by the embodiment of the invention under the condition of fixed-bandwidth, a plurality of ports carry out the IQ transfer of data simultaneously, improve the efficient of IQ transfer of data between port greatly, thereby improved the speed of information processing.
For achieving the above object, the embodiment of the invention provides the method for transfer of data between a kind of common public radio interface CPRI ports, and described method comprises:
When the CPRI of CPRI node receiving port receives the IQ data rows, the IQ data rows that each CPRI receiving port is received is copied into M part IQ data rows, described M is not less than the CPRI transmit port number of described CPRI node, the corresponding described CPRI transmit port of every part of IQ data rows in described M part IQ data rows;
Obtain the rule of target IQ data rows according to the CPRI transmit port, when the IQ data rows of the same CPRI transmit port of correspondence comprises target IQ data rows, obtain described target IQ data rows and transmit described target IQ data rows to described same CPRI transmit port.
For achieving the above object, the embodiment of the invention also provides a kind of common public radio interface CPRI device, and described device comprises:
The CPRI receiving port, be used to receive the IQ data rows, and the IQ data rows that receives is copied into M part IQ data rows, described M is not less than the CPRI transmit port number of described device, the corresponding described CPRI transmit port of every part of IQ data rows in described M part IQ data rows;
The CPRI transmit port, be used for according to the rule of obtaining target IQ data rows to be sent, when the IQ data rows of the CPRI of correspondence transmit port comprises target IQ data rows, obtain described target IQ data rows to be sent, and send the described target IQ data rows that gets access to.
The beneficial effect of the embodiment of the invention is, the embodiment of the invention is under the condition of fixed-bandwidth, by the rule of obtaining target IQ data that sets in advance, realize that a plurality of CPRI ports carry out the configuration and the transmission of IQ data simultaneously, not only improve the efficient of IQ transfer of data between port and the speed of information processing, and realized IQ exchanges data at a high speed.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present invention, constitutes the application's a part, does not constitute limitation of the invention.In the accompanying drawings:
Fig. 1 is the structural representation of REC and RE in the CPRI standard in the prior art.
Fig. 2 is the structural representation that REC connects two RE in the base station of prior art by the CPRI standard.
Fig. 3 is the structural representation of CPRI Frame in the CPRI standard.
Fig. 4 is the schematic flow sheet of the method for transfer of data between the common public radio interface CPRI ports of the embodiment of the invention one.
Fig. 5 is an application scenarios schematic block diagram of realizing the method for transfer of data between common public radio interface CPRI ports in the embodiment of the invention one by REC and RE.
Fig. 6 is the schematic process flow diagram of the method for transfer of data between the embodiment of the invention two common public radio interface CPRI ports.
Fig. 7 is an application scenarios schematic block diagram of realizing the method for transfer of data between common public radio interface CPRI ports in the embodiment of the invention two by REC and RE.
Fig. 8 is the principle schematic that 3 CPRI ports carry out exchanges data among Fig. 7.
Fig. 9 a is the described scene schematic diagram that carries out the IQ transfer of data between common public radio interface CPRI ports of the embodiment of the invention.
Fig. 9 b is described another scene schematic diagram that carries out the IQ transfer of data between common public radio interface CPRI ports of the embodiment of the invention.
Fig. 9 c is described another scene schematic diagram that carries out the IQ transfer of data between common public radio interface CPRI ports of the embodiment of the invention.
Fig. 9 d is described another scene schematic diagram that carries out the IQ transfer of data between common public radio interface CPRI ports of the embodiment of the invention.
Figure 10 is the functional structure schematic block diagram of common public radio interface CPRI device in the embodiment of the invention three.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, the embodiment of the invention is described in further details below in conjunction with accompanying drawing.The embodiment of the invention is the technology of transfer of data between a kind of common public radio interface CPRI ports, how to realize the high-speed transfer digital baseband data with the explanation of digital baseband IQ data instance between a plurality of CPRI ports.At this, illustrative examples of the present invention and explanation thereof are used to explain the present invention, but not as a limitation of the invention.
Embodiment one
The embodiment of the invention provides the method for transfer of data between a kind of common public radio interface CPRI ports, and as shown in Figure 4, Fig. 4 is the schematic flow sheet of the embodiment of the invention.As can be seen from Figure 4, the method for transfer of data comprises between the port in the present embodiment:
101. when the CPRI of CPRI node receiving port received the IQ data rows, the IQ data rows that each CPRI receiving port is received was copied into M part IQ data rows.
M is not less than the CPRI transmit port number of CPRI node, the corresponding described CPRI transmit port of every part of IQ data rows in M part IQ data rows.
102. obtain the rule of target IQ data rows according to the CPRI transmit port, when the IQ data rows of the same CPRI transmit port of correspondence comprises target IQ data rows, obtain described target IQ data rows and transmit described target IQ data rows to described same CPRI transmit port.
CPRI node in the present embodiment can be wireless control apparatus REC, also can be wireless device RE, each REC and each RE receive and dispatch the IQ data by CPRI receiving port and CPRI transmit port mutually or separately, each REC or RE can comprise a plurality of CPRI receiving ports and CPRI transmit port, wherein the CPRI receiving port is used to receive the IQ data that other CPRI nodes send, the CPRI transmit port is used for sending the IQ data to target CPRI node, these IQ data all are filled in rows of blocks and receive and send, so the rows of blocks that are filled with the IQ data that are received and send are the IQ data rows.
According to step 101, when the CPRI receiving port of CPRI node in the communication network received the IQ data rows, the IQ data rows that this CPRI node can receive each CPRI receiving port was copied into M part, and wherein M is not less than the CPRI transmit port number of CPRI node.3 CPRI receiving ports are for example arranged, 4 CPRI transmit ports, each CPRI receiving port can copy as the IQ data rows that receives 4 parts, also the IQ data rows that receives can be copied as 5 parts or more umber, formulates according to the actual requirements and duplicates the umber of IQ data rows.
The IQ data rows that each CPRI receiving port receives may need to transmit by different CPRI transmit ports, the IQ data rows of corresponding each CPRI transmit port is referred to as target IQ data rows, if the IQ data rows that receives from the CPRI receiving port comprises the target IQ data rows of a corresponding CPRI transmit port, then target IQ data rows to be transferred to each corresponding CPRI transmit port.
In order to make each CPRI transmit port obtain corresponding target IQ data rows, and satisfy the requirement that the CPRI agreement exchanges at a high speed, the IQ data rows that each CPRI receiving port receives need be duplicated from the CPRI receiving port.
Clone method can be, when the CPRI receiving port receives the IQ data rows, duplicate according to CPRI transmit port number, CPRI transmit port number shows has several CPRI transmit ports will participate in the transmission of IQ data rows at most, so M should be not less than the CPRI transmit port number that participates in the transmission data, and the only corresponding CPRI transmit port of each part IQ data rows in the duplicated M part of each CPRI receiving port IQ data rows, different like this CPRI transmitting terminal eloquence can be obtained target IQ data rows simultaneously, carry out the parallel data exchange.
For example, the IQ data rows that each CPRI receiving port is received is copied into M part IQ data rows, can be to set in advance M buffer unit at each CPRI receiving port, the corresponding CPRI transmit port of each buffer unit, the IQ data rows that when duplicating each CPRI receiving port is received copies in M the buffer unit of each CPRI receiving port.
CPRI receiving port and transmit port number are mainly determined by hardware, just confirm at system design stage, can certainly being changed by those skilled in the art according to design.
In the step 102, the CPRI transmit port obtains the rule of target IQ data rows, refers to which row IQ data rows of corresponding which the CPRI receiving port of target IQ data rows of each CPRI transmit port, should obtain which row IQ data rows from which CPRI receiving port.
As an example, can be according to actual needs, the information of the IQ data rows that each the CPRI transmit port that pre-defines need be obtained, be recorded in the information table, this information table can be regarded the CPRI transmit port need obtain target IQ data rows from the IQ data rows that each CPRI receiving port receives set table as, and the CPRI transmit port obtains target IQ data rows according to this information table.
According to above-mentioned rule, when the IQ data that receive when the CPRI receiving port were classified the target IQ data rows of the corresponding CPRI transmit port that writes down in the information table as, then corresponding CPRI transmit port just obtained and transmits the IQ data rows that part that should the CPRI receiving port is replicated.By the above-mentioned explanation M part IQ data rows that can duplicate of each CPRI receiving port as can be known, because the common corresponding same CPRI transmit port of a at least IQ data rows in each M part IQ data rows, so each CPRI transmit port just can obtain from the IQ data rows of correspondence and transmission objectives IQ data rows according to above-mentioned rule.
For such scheme clearly is described,, enumerates an example herein and describe so that those skilled in the art more are expressly understood present embodiment.See also Fig. 5, a kind of application scenarios schematic block diagram of the method for transfer of data between the CPRI port that provides of this enforcement is provided Fig. 5, REC113 links to each other with RE112 with RE111 by the CPRI connection, and each CPRI of REC113 connects and has a CPRI receiving port RX and a CPRI transmit port TX (in like manner each CPRI of RE is connected and also has a CPRI receiving port RX and a CPRI transmit port TX).
REC113 receives the IQ data rows by being connected with two CPRI of RE111, promptly receives the IQ data rows by the RX termination of CPRI receiving port.Supposing should will be to sending the IQ data with RE112 with RE113 in the scene, the IQ data rows that REC113 will receive from the CPRI receiving port of RE111 is copied into 2 parts, and every part of IQ data rows of duplicating be buffered in the buffer unit, the all corresponding CPRI transmit port that points to RE112 of each buffer unit, obtain the rule of target IQ data rows according to predefined each CPRI transmit port, when being cached with target IQ data rows in 2 buffer units of the same CPRI transmit port of correspondence, from the buffer unit that stores target IQ data rows, obtain target IQ data rows, and target IQ data rows is transferred to corresponding C PRI transmitting terminal, the CPRI transmit port sends target IQ data rows to RE112 again.
Embodiment of the invention advantage compared with prior art is, the embodiment of the invention is under the condition of fixed-bandwidth, by the rule of obtaining the target number base band data that sets in advance, realize that a plurality of CPRI ports carry out the IQ exchanges data simultaneously, not only improve the efficient of IQ exchanges data between the CPRI port and the speed of information processing, and realized IQ exchanges data at a high speed.
Embodiment two
The embodiment of the invention provides the method for transfer of data between a kind of common public radio interface CPRI ports, and as shown in Figure 6, Fig. 6 is the schematic process flow diagram of the embodiment of the invention.As can be seen from Figure 6, the method for transfer of data comprises between the CPRI port in the present embodiment:
201.CPRI the CPRI receiving port of node receives the IQ data rows;
The described method of present embodiment is the method that the IQ data rows is transmitted, the CPRI node mainly refers in the communication equipment net equipment that connects by CPRI, such as wireless control apparatus REC and wireless device RE, they connect transmitting-receiving IQ data by CPRI in data link layer.Though in data link layer is to be that unit transmits data with the frame, but the CPRI receiving port all is the order with the IQ data rows of arranging in the frame to be received in regular turn, frame with 16 row is an example, the CPRI receiving port receives the control word data of the 0th row earlier, receive the IQ data of the 1st row again, receive the IQ data of the 2nd row again, by that analogy, after the IQ data of receiving the 15th row, receive the 1st columns certificate of next frame again.
202. the IQ data rows that each CPRI receiving port is received is copied into M part IQ data rows;
The IQ data rows that each CPRI receiving port receives may need to transmit by different CPRI transmit ports, the IQ data rows of corresponding each CPRI transmit port is referred to as target IQ data rows, in order to make each CPRI transmit port obtain corresponding target IQ data rows from the CPRI receiving port, and satisfy the requirement that the CPRI agreement exchanges at a high speed, this step need be duplicated the IQ data rows that each CPRI receiving port receives, this duplicating mainly is that IQ data rows with each CPRI receiving port receives is copied into M part, wherein M is not less than the CPRI transmit port number that participates in the transmission data in the CPRI node, 2 CPRI receiving ports are for example arranged, 4 CPRI transmit ports, each CPRI receiving port can copy as the IQ data rows that receives 4 parts, also the IQ data rows that receives can be copied as 5 parts or more umber, formulate according to the actual requirements and duplicate the umber of IQ data rows.
The corresponding CPRI transmit port of every part of IQ data rows in M part IQ data rows, so that each CPRI transmit port can obtain target IQ data rows from the IQ data rows that a CPRI receiving port receives, thereby make each CPRI transmitting terminal eloquence can obtain target IQ data rows simultaneously, carry out the parallel data exchange, can not produce conflict.
This step can be that the IQ data rows that each CPRI receiving port receives is copied in M the buffer unit of each CPRI receiving port in the process that the IQ data rows that each CPRI receiving port is received is copied into M part IQ data rows, the corresponding CPRI transmit port of each buffer unit, when the corresponding CPRI transmit port of certain the IQ data rows in M the IQ data rows of the same CPRI receiving port of correspondence, other CPRI transmit ports just can not obtain target IQ data rows by this part IQ data rows again, can only obtain target IQ data rows from a IQ data rows identical with this part IQ data rows, this just can be so that the CPRI transmit port all be to obtain the IQ data from independent a IQ data rows when obtaining target IQ data rows.
The method of enumerating buffer memory IQ data rows herein is exemplary, present embodiment is not done concrete restriction at this, more should be with this example as restriction of the present invention, those skilled in the art fully can be according to the above description and the ordinary skill knowledge grasped adopt similar cache way to implement the scheme that this step relates to.
203. obtain the rule of target IQ data rows according to the CPRI transmit port, when the IQ data rows of the same CPRI transmit port of correspondence comprises target IQ data rows, obtain described target IQ data rows;
The rule of obtaining target IQ data rows in this step promptly is meant which row IQ data rows of corresponding which the CPRI receiving port of target IQ data rows of each CPRI transmit port, should obtain which row IQ data rows from which CPRI receiving port, as an example, can be according to actual needs, the information of the IQ data rows that each the CPRI transmit port that pre-defines need be obtained, be recorded in the information table, the information of wherein obtaining the IQ data rows comprises the serial number that source IQ data rows sign that the CPRI transmit port need dispose and/or CPRI transmit port send target IQ data rows, and IQ data rows sign in source is meant that the target IQ data rows that needs on the corresponding CPRI transmit port to dispose is the IQ data rows which CPRI receiving port receives.So in order to obtain target IQ data rows, get the source IQ data rows sign that is read as earlier same CPRI transmit port configuration from this information table, the CPRI transmit port just knows to have obtained which IQ data rows like this.The corresponding CPRI transmit port of the every part of IQ data rows that is replicated as can be known according to step 202, so when the IQ of corresponding same CPRI transmit port data rows comprised target IQ data rows, the IQ data rows of obtaining corresponding source IQ data rows sign from the IQ data rows of the same CPRI transmit port of correspondence was as target IQ data rows.Such as when storing target IQ data rows in the buffer unit of corresponding same CPRI transmit port, according to source IQ data rows sign in the information table, the CPRI transmit port obtains the IQ data rows of corresponding source IQ data rows sign as target IQ data rows from the buffer unit that stores target IQ data rows.
Need to prove that each CPRI transmit port need dispose in this step target IQ data rows can be that demand according to actual IQ data configuration is by the preassigned IQ data rows of user, thereby the sign of these IQ data rows is arranged in the table, and those skilled in the art can be provided with the sign of the IQ data rows in each CPRI transmit port correspondence table according to the actual requirements flexibly.
Except obtaining the target IQ data rows, can also realize obtaining the purpose of target IQ data rows in this step by obtaining serial number that the CPRI transmit port sends target IQ data rows by reading in the information table label manner.For example send the serial number of target IQ data rows according to same CPRI transmit port, obtain the information table of IQ data rows rule from preservation, obtain the sending order number of (as reading) target IQ data rows and the CPRI receiving terminal of target IQ data rows correspondence, when the IQ data rows of the same CPRI transmit port of correspondence comprises the target IQ data rows of corresponding sending order number and target CPRI receiving port, from the IQ data rows of the described same CPRI transmit port of correspondence, obtain to should serial number and the IQ data rows of target CPRI receiving port as target IQ data rows.Wherein can obtain target IQ data rows by clock control CPRI transmit port, promptly by the clock of regulating CPRI receiving port and CPRI transmit port make the CPRI transmit port corresponding constantly from corresponding IQ data, obtain to should serial number and the IQ data rows of target CPRI receiving port as target IQ data rows, can realize fully according to the ordinary skill knowledge of grasping these those skilled in the art, so locate to repeat no more.
204. transmit described target IQ data rows to described same CPRI transmit port;
After step 203 gets access to target IQ data rows, promptly can carry out the transmission of target IQ data rows.In the present embodiment because the corresponding many parts of IQ data rows of CPRI transmit port, so can the described target IQ data rows that gets access to be transferred to same CPRI transmit port by the mode of parallel transmission in this step, target IQ data are arranged and sent to the serial number of the data based transmission target of target IQ IQ data rows in regular turn.
CPRI transmit port in this step is the data pulse one by one of receive logic device transmission periodically, these data pulses that is to say the sky Frame, the target IQ data rows that gets access to are inserted according to the serial number that sends in the block of corresponding sending order in the sky Frame number to send.
In order to make those skilled in the art better understand the described method of present embodiment, enumerate below carry out IQ data rows transmission between common public radio interface CPRI ports example so that the described data transmission method of present embodiment is carried out aid illustration, what need statement is, this example only is to understand present embodiment for the ease of those skilled in the art, so the concrete steps in this example can not be interpreted as the only execution mode of this method, promptly just the concrete steps in this example are interpreted as restriction factor of the present invention.
See also Fig. 7, a kind of application scenarios schematic block diagram of realizing the method for transfer of data between common public radio interface CPRI ports by REC and RE that Fig. 7 provides for present embodiment, RE realizes and RE210 by 3 optical fiber respectively, RE211, RE212 carries out CPRI and connects, wherein the port of the corresponding CPRI0 of REC is CPRI0 receiving port and CPRI0 transmit port, the port of the corresponding CPRI 1 of REC is CPRI1 receiving port and CPRI1 transmit port, the port of the corresponding CPRI 2 of REC is CPRI2 receiving port and CPRI2 transmit port, for the exchanges data between each CPRI port of clearer explanation with reference to Fig. 8, Fig. 8 carries out the principle schematic of exchanges data for each CPRI port among Fig. 7,3 receiving ports are respectively the CPRI0 receiving port, the CPRI1 receiving port, the CPRI2 receiving port is used to receive the IQ data rows that corresponding RE sends; 3 transmitting terminals are respectively CPRI0 transmit port, CPRI1 transmit port, CPRI2 transmit port, are used for sending to corresponding RE the IQ data rows of exchange.The information table such as the table 1~table 3 that obtain IQ data rows rule of predefined each transmit port correspondence, for example table 1 has been stipulated the information of the IQ data rows of the required transmission of CPRI0 transmit port, comprised in the information of IQ data rows that source IQ data rows sign is (with the formal notation of " An ", wherein " n " is the row sequence number of the corresponding block of IQ data that is replicated, be designated as A11 as the 11IQ data rows), and the sending order of target IQ data rows number, data frame format is an example with 16 row blocks.
Sending order number | ?0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 |
Source IQ data rows sign | ?A11 | A12 | B0 | B1 | B2 | C7 | C8 | C9 |
Sending order number | ?8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |
Source IQ data rows sign | ?A7 | B7 | A10 | C10 | A1 | A2 | A13 | A12 |
Table 1
Sending order number | ?0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 |
Source IQ data rows sign | ?B11 | B12 | C0 | C1 | C2 | A7 | A8 | A9 |
Sending order number | ?8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |
Source IQ data rows sign | ?B7 | C7 | C10 | B10 | C1 | C2 | C13 | C6 |
Table 2
Sending |
0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 |
Source IQ data rows sign | C11 | C12 | A0 | A1 | A2 | B7 | B8 | B9 |
Sending order number | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |
Source IQ data rows sign | C7 | A7 | B10 | A10 | B1 | B2 | B13 | B6 |
Table 3
CPRI0 receiving port, CPRI1 receiving port and CPRI2 receiving port respectively by CPRI be connected 0, CPRI connects 1, CPRI connects 2 and receives IQ data rows that RE210, RE211, RE212 send, the IQ data difference that the IQ data rows that each CPRI receiving port receives comprises.Each CPRI receiving port duplicates the IQ data rows that receives, because the IQ data sending terminal is the CPRI0 transmit port, the CPRI1 transmit port, the CPRI2 transmit port, i.e. 3 data transmitting terminals, so the IQ data rows that each CPRI receiving port is received is copied into 3 parts, every part of IQ data rows of duplicating is deposited in the buffer unit, because each corresponding described CPRI transmit port of 3 buffer units of each CPRI receiving port correspondence, so just corresponding 3 buffer units that are cached with different I Q data rows of same CPRI transmit port, as shown in Figure 8,3 corresponding CPRI0 transmit ports of buffer units difference such as CPRI0 receiving port correspondence, the CPRI1 transmit port, the CPRI2 transmit port, equally, 3 buffer units of CPRI1 receiving port correspondence are corresponding CPRI0 transmit port respectively, the CPRI1 transmit port, the CPRI2 transmit port, 3 buffer units of CPRI2 receiving port correspondence are corresponding CPRI0 transmit port respectively, the CPRI1 transmit port, the CPRI2 transmit port.
According to preserving the described information table that obtains IQ data rows rule, i.e. table 1, table 2 and table 3, read the source IQ data rows sign of transmitting for each CPRI transmit port in table 1, table 2 and the table 3, the source IQ data rows of transmitting such as the CPRI0 transmit port needs that read according to table 1 is designated A11, A12, B0, B1, B2, C7, C8, C9, A7, B7, A10, C10, A1, A2, A13, A12.When being cached with the target IQ data rows of corresponding these signs in 3 buffer units of corresponding CPRI0 transmit port, the IQ data rows of obtaining corresponding described source IQ data rows sign from 3 buffer units of corresponding CPRI0 transmit port is as target IQ data rows.Wherein,, in like manner, obtain the target IQ data rows of No. 1 CPRI transmit port and No. 2 CPRI transmit port correspondences so after getting access to the corresponding target IQ data rows of A12 sign, duplicate the corresponding IQ data rows of A12 sign because A12 is a duplicate marking.Get access to that the mode by parallel transmission is transferred to corresponding C PRI transmit port with described target IQ data rows after the corresponding target IQ data rows.
The target IQ data rows that gets access to number is inserted in the empty Frame that each transmit port receives according to sending order in the information table; Its hollow Frame is the pulse data frame that sends to transmitting terminal according to the scheduled time; There is not data writing in this sky Frame; Sending order number also is the block sequence number in the Frame; Number in regular turn the target IQ data rows that gets access to is sent to RE according to sending order; So that RE processes accordingly according to the IQ data that receive; So far whole transfer of data exchange process is finished
Present embodiment can also realize obtaining target IQ data by the serial number that sends target IQ data rows, such as sending order number (1-16) that from the information table of corresponding No. 0 transmit port, reads described target IQ data rows and the corresponding CPRI receiving port of source IQ data rows sign, control by clock comprises the target IQ data rows of corresponding described sending order number and target CPRI receiving port as can be known in the buffer unit of corresponding No. 0 CPRI transmit port, then from corresponding buffer unit, obtain to should serial number and the IQ data rows of target CPRI receiving port as target IQ data rows.The IQ data rows that gets access to promptly is the target IQ data rows of source IQ data rows sign or respective sequence number in the correspondence table 1.No. 1 transmit port and No. 2 transmit ports obtain the mode of IQ data rows also can be the same with No. 0 transmit port, so repeat no more.
Based on above-mentioned explanation, those skilled in the art have reason to believe, the described method of present embodiment goes for the scene of a plurality of REC and RE, for example: please refer to Fig. 9 a~Fig. 9 d, Fig. 9 a~Fig. 9 d is described four the scene schematic diagrames that carry out the IQ transfer of data between common public radio interface CPRI ports of present embodiment, Fig. 9 a scene that to be a REC link to each other by a CPRI with each RE wherein, REC in this scene receives the IQ data rows that sends from each RE, by the described method of the foregoing description, REC among Fig. 9 a is under the condition of fixed-bandwidth, by the rule of obtaining the target number base band data that sets in advance, just can realize that a plurality of CPRI ports carry out the IQ exchanges data simultaneously, thereby send corresponding IQ data to target RE.Though a REC is connected by CPRI with three RE among Fig. 9 b, but each RE connects REC by two CPRI at least, this just make REC with have at least two CPRI transmitting-receiving ports during the CPRI of each RE is connected, REC still can realize that a plurality of CPRI ports carry out the IQ exchanges data simultaneously according to the described method of the foregoing description in such scene.A RE is connected by CPRI with two REC respectively among Fig. 9 c, but each REC connects RE by two CPRI at least, this just make RE with have at least two CPRI transmitting-receiving ports during the CPRI of each REC is connected, RE can realize that a plurality of CPRI ports carry out the IQ exchanges data simultaneously according to the described method of the foregoing description in such scene.Similar with Fig. 9 c, a REC links to each other with CRPI with a REC with a RE respectively among Fig. 9 d, but be connected by two CPRI at least with RE, also be connected by two CPRI at least with REC, this just make REC with all have at least two CPRI transmitting-receiving ports during the CPRI of RE, REC is connected, the REC in the middle of being positioned in such scene can realize that a plurality of CPRI ports carry out the IQ exchanges data simultaneously according to the described method of the foregoing description.
So by Fig. 9 a~Fig. 9 d as can be known REC and RE all can realize the method for transfer of data between the described common public radio interface CPRI ports of present embodiment, between the CPRI node, improved the speed of transmission IQ data so greatly.Advantage based on this embodiment of the invention is, CRPI node in the present embodiment is by duplicating the IQ data rows that receives and exchange when distributing the CPRI transmit port of each IQ data rows correspondence and can effectively realize IQ data between many CPRI port by the information table that obtains IQ data rows rule, accelerated the efficiency of transmission of IQ data, made that the base station can be supported at a high speed, the IQ data of flow are transmitted fast greatly under existing limited bandwidth.
Embodiment three
In order better to realize the described method of the foregoing description, the embodiment of the invention also provides a kind of common public radio interface CPRI device, as shown in figure 10, Figure 10 is the functional structure schematic block diagram of device of the common public radio interface CPRI of the embodiment of the invention, and described device comprises: CPRI receiving port 401 and CPRI transmit port 402;
CPRI transmit port 402 is used for when the IQ data rows of the CPRI of correspondence transmit port comprises target IQ data rows, obtaining target IQ data rows to be sent according to the rule of obtaining target IQ data rows to be sent, and sends the target IQ data rows that gets access to;
Serial parallel translation interface 403 is used for when CPRI transmit port 402 obtains target IQ data, obtains target IQ data rows and transfers to CPRI transmit port 402 with the mode of the parallel transmission CPRI receiving port 401 from correspondence by the serial parallel translation interface.
Buffer unit, 412, be used for the duplicated IQ data rows of buffer memory;
CPRI transmit port 402, specifically be used for according to the rule of obtaining target IQ data rows to be sent, when the IQ data rows of preserving when corresponding cache unit 412 comprises target IQ data rows, obtain target IQ data rows to be sent, and send the target IQ data rows that gets access to from buffer unit.
CPRI transmit port 402 can comprise in the present embodiment:
Read module 422 is used for reading corresponding source IQ data rows sign from the information table that first memory module 421 is preserved;
CPRI transmit port 402 can comprise in the present embodiment:
The 3rd acquisition module 426, when being used for IQ data rows when corresponding CPRI transmit port 402 and comprising the target IQ data rows of corresponding sending order number and target CPRI receiving port, from the IQ data rows of the CPRI transmit port 402 of correspondence, obtain to should serial number and the IQ data rows of target CPRI receiving port as target IQ data rows.
The described device of present embodiment can well be carried out embodiment one and embodiment two described methods, make under the condition of fixed-bandwidth, a plurality of CPRI ports carry out transfer of data simultaneously, have improved the efficient of transfer of data between port greatly, thereby have improved the speed of information processing.
At last, one of ordinary skill in the art will appreciate that all or part of step that realizes in the foregoing description method is to instruct relevant hardware to finish by program, described program can be stored in the computer read/write memory medium, and this program comprises the steps: when carrying out
When the CPRI of CPRI node receiving port received the IQ data rows, the IQ data rows that each CPRI receiving port is received was copied into M part IQ data rows;
Obtain the rule of target IQ data rows according to the CPRI transmit port, when the IQ data rows of the same CPRI transmit port of correspondence comprises target IQ data rows, obtain described target IQ data rows and transmit described target IQ data rows to described same CPRI transmit port.
Described storage medium can be ROM/RAM, magnetic disc, CD etc.
Above-described specific embodiment; purpose of the present invention, technical scheme and beneficial effect are further described; institute is understood that; above-mentioned only is specific embodiments of the invention; and be not intended to limit the scope of the invention; all any modifications of being made within the spirit and principles in the present invention, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (10)
1. the method for transfer of data between a common public radio interface CPRI ports is characterized in that described method comprises:
When the CPRI of CPRI node receiving port receives the IQ data rows, the IQ data rows that each CPRI receiving port is received is copied into M part IQ data rows, described M is not less than the CPRI transmit port number of described CPRI node, the corresponding described CPRI transmit port of every part of IQ data rows in described M part IQ data rows;
Obtain the rule of target IQ data rows according to the CPRI transmit port, when the IQ data rows of the same CPRI transmit port of correspondence comprises target IQ data rows, obtain described target IQ data rows and transmit described target IQ data rows to described same CPRI transmit port, wherein, described target IQ data rows is the IQ data rows of corresponding each CPRI transmit port.
2. method according to claim 1 is characterized in that, the described IQ data rows that each CPRI receiving port is received is copied into M part IQ data rows and comprises,
The IQ data rows that each CPRI receiving port is received copies in M the buffer unit of described each CPRI receiving port, each corresponding described CPRI transmit port of a described M buffer unit;
Described when the IQ of corresponding same CPRI transmit port data rows comprises target IQ data rows, obtain described target IQ data rows, comprise,
When storing target IQ data rows in the buffer unit of the same CPRI transmit port of correspondence, from the buffer unit that stores described target IQ data rows, obtain described target IQ data rows.
3. method according to claim 1 is characterized in that, describedly obtains the rule of target IQ data rows according to the CPRI transmit port, when the IQ data rows of the same CPRI transmit port of correspondence comprises target IQ data rows, obtains described target IQ data rows, comprising:
From the information table of preserving the described rule of obtaining target IQ data rows, be read as the source IQ data rows sign of described same CPRI transmit port configuration;
When the IQ data rows of the same CPRI transmit port of correspondence comprised target IQ data rows, the IQ data rows of obtaining corresponding described source IQ data rows sign from the IQ data rows of the described same CPRI transmit port of correspondence was as target IQ data rows.
4. method according to claim 1 is characterized in that, describedly obtains the rule of target IQ data rows according to the CPRI transmit port, when the IQ data rows of the same CPRI transmit port of correspondence comprises target IQ data rows, obtains described target IQ data rows, comprise,
Send the serial number of target IQ data rows according to described same CPRI transmit port, from the information table of preserving the described IQ of obtaining data rows rule, obtain the sending order number of described target IQ data rows and the CPRI receiving port of described target IQ data rows correspondence;
When the IQ data rows of the same CPRI transmit port of correspondence comprises the target IQ data rows of corresponding described sending order number and target CPRI receiving port, from the IQ data rows of the described same CPRI transmit port of correspondence, obtain to should serial number and the IQ data rows of target CPRI receiving port as target IQ data rows.
5. according to any described method of claim 1-4, it is characterized in that the described target IQ data rows of described transmission comprises to described same CPRI transmit port:
Mode by parallel transmission is transferred to described same CPRI transmit port with described target IQ data rows.
6. a common public radio interface CPRI device is characterized in that, described device comprises:
The CPRI receiving port, be used to receive the IQ data rows, and the IQ data rows that receives is copied into M part IQ data rows, described M is not less than the CPRI transmit port number of described device, the corresponding described CPRI transmit port of every part of IQ data rows in described M part IQ data rows;
The CPRI transmit port, be used for according to the rule of obtaining target IQ data rows to be sent, when the IQ data rows of the CPRI of correspondence transmit port comprises target IQ data rows, obtain described target IQ data rows to be sent, and send the described target IQ data rows that gets access to, wherein, described target IQ data rows is the IQ data rows of corresponding each CPRI transmit port.
7. device according to claim 6 is characterized in that,
Described CPRI receiving port comprises receiver module and M buffer unit,
Described receiver module is used to receive the IQ data rows, the IQ data rows that receives is copied in the described M buffer unit each corresponding described CPRI transmit port of a described M buffer unit;
Described CPRI transmit port, specifically be used for according to the rule of obtaining target IQ data rows to be sent, when the IQ data rows of preserving when the corresponding cache unit comprises target IQ data rows, obtain described target IQ data rows to be sent from described buffer unit, and send the described target IQ data rows that gets access to.
8. device according to claim 6 is characterized in that, described CPRI transmit port comprises:
First memory module is used to preserve the information table of the described IQ of obtaining data rows rule;
Read module is used for reading corresponding source IQ data rows sign from the information table that first memory module is preserved;
First acquisition module is used for when the IQ data rows of corresponding CPRI transmit port comprises target IQ data rows, and the IQ data rows of obtaining corresponding described source IQ data rows sign from the IQ data rows of described CPRI transmit port is as target IQ data rows.
9. device according to claim 6 is characterized in that, described CPRI transmit port comprises:
Second memory module is used to preserve the information table of the described IQ of obtaining data rows rule;
Second acquisition module, be used for sending the serial number of target IQ data rows according to described same CPRI transmit port, from the described information table that obtains IQ data rows rule that described second memory module is preserved, obtain the sending order number of described target IQ data rows and the CPRI receiving port of described target IQ data rows correspondence;
The 3rd acquisition module, when being used for IQ data rows when corresponding CPRI transmit port and comprising the target IQ data rows of corresponding described sending order number and target CPRI receiving port, from the IQ data rows of the CPRI transmit port of correspondence, obtain to should serial number and the IQ data rows of target CPRI receiving port as target IQ data rows.
10. according to the described device of claim 6-9, it is characterized in that described device also comprises the serial parallel translation interface,
When described CPRI transmit port obtains described target IQ data, specifically be used for obtaining described target IQ data rows and transferring to the CPRI transmit port with the mode of parallel transmission CPRI receiving port from correspondence by described serial parallel translation interface.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2009102581569A CN101729423B (en) | 2009-12-21 | 2009-12-21 | Method and device for transmitting data between common public radio interface CPRI ports |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2009102581569A CN101729423B (en) | 2009-12-21 | 2009-12-21 | Method and device for transmitting data between common public radio interface CPRI ports |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101729423A CN101729423A (en) | 2010-06-09 |
CN101729423B true CN101729423B (en) | 2011-11-09 |
Family
ID=42449664
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2009102581569A Active CN101729423B (en) | 2009-12-21 | 2009-12-21 | Method and device for transmitting data between common public radio interface CPRI ports |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101729423B (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102316517A (en) * | 2010-06-30 | 2012-01-11 | 华为技术有限公司 | Intelligence quotient (IQ) data transmission method and device |
CN102315898B (en) * | 2010-06-30 | 2014-02-26 | 华为技术有限公司 | Method and device for transmitting IQ (intelligence quotient) data |
CN103326810B (en) * | 2012-03-23 | 2017-03-01 | 京信通信***(中国)有限公司 | The sending, receiving method of same-phase orthogonal data and device |
CN103701717B (en) * | 2013-11-22 | 2017-09-29 | 北京邮电大学 | Cloud base station user data processing method, device and system |
CN104539388B (en) * | 2014-12-08 | 2020-05-05 | 中兴通讯股份有限公司 | Data transmitting and receiving method and device |
CN105812289B (en) * | 2014-12-31 | 2020-11-03 | 中兴通讯股份有限公司 | Data exchange method and device |
CN106412991B (en) * | 2015-07-30 | 2019-07-19 | 深圳市中兴微电子技术有限公司 | A kind of data transmission method, sending device and reception device |
CN108990106B (en) * | 2017-06-02 | 2021-11-23 | 中兴通讯股份有限公司 | Data transmission method and equipment |
-
2009
- 2009-12-21 CN CN2009102581569A patent/CN101729423B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN101729423A (en) | 2010-06-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101729423B (en) | Method and device for transmitting data between common public radio interface CPRI ports | |
CN102549552B (en) | For the treatment of the method for the packet in flow-aware network nodes | |
CN101894092B (en) | Multi-core CPU and inter-core communication method thereof | |
CN103024008A (en) | Data transmission method, device and system in internet of things | |
CN101788956B (en) | Multi-channel data storage method, device and receiving system | |
CN102315964B (en) | Loopback method for testing message and exchange device | |
CN101895398A (en) | Method and device for data communication | |
CN101510837B (en) | Ethernet bridge equipment, method and equipment for migrating polymerization mouth address | |
CN101459615A (en) | Method, terminal port and system for packet transmission | |
CN103404191A (en) | Data transmission method, data transmission device and data transmission system | |
CN115442572A (en) | Data transmission method and device | |
CN101237405B (en) | Data buffer method and device | |
CN102650932A (en) | Method, equipment and system for accessing data | |
CN102904803A (en) | Message transmission method and equipment | |
CN105992186A (en) | Data transmission method and device | |
CN106372013B (en) | Long-distance inner access method, device and system | |
CN101753580A (en) | Packet processing chip and data storage and forwarding method thereof | |
CN109286564A (en) | A kind of message forwarding method and device | |
CN102857443B (en) | Data writing method, device and system | |
CN102929799A (en) | Data collection and storage method and system | |
CN102170401A (en) | Method and device of data processing | |
CN102624617B (en) | Data exchange system and data exchange method | |
CN110737627B (en) | Data processing method, device and storage medium | |
CN102299937A (en) | Method and system for distributing clock server based on network | |
CN101883449A (en) | Method, device and system of IQ (Inphase Quadrature) data exchange between BBMs (Base Band Modules) and RRUs (Radio Remote Units) |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |