Utilize the method for digital optical fiber direct station transmission ethernet signal
Technical field
The present invention relates to the communications field, especially utilize the method for digital optical fiber direct station transmission ethernet signal.
Background technology
The repeater is the important supplement equipment in the GSM Access Network, has played the effect of continuation base station range and dead zone-eliminating, and operator disposes in a large number at present.Common repeater only is used for transmission base band, and function is comparatively single.
Because the consumption of data message is increasing, traditional 2G/3G can't satisfy the large-capacity data requirement, so WLAN more and more receives pursuing of operator.General traditional WLAN covers and needs cable network and insert, and carries out remote WLAN if desired and covers, and just needs numerous facilities such as bridge to carry out transfer, comparatively difficulty is installed, and its error rate is also higher.As shown in fig. 1, the star net forming mode is adopted in known digital high-frequency amplification station networking.
Summary of the invention
The present invention proposes a kind of method of utilizing digital optical fiber direct station transmission ethernet signal; Utilize this method; Only need pass through gigabit network interface access network based on ethernet by near-end in the repeater; The repeater far-end promptly can be connected to Ethernet through optical fiber, and every repeater far-end just can directly connect equipment such as WLAN, realizes that ethernet signal covers at a distance.
The technical scheme that the present invention solves its technical problem employing is: utilize the method for digital optical fiber direct station transmission ethernet signal, its difference is: may further comprise the steps:
Step 1), at first the nearly far-end of the digital optical fiber direct station identification module of inserting the light inlet socket is optical module or gigabit electricity mouthful module, and the serdes speed corresponding according to recognition result dynamic-configuration module; If optical module becomes 2.4576Gbps with its rate configuration, if electricity mouthful module becomes 1.25Gbps with its rate configuration;
Step 2), on down link, near-end is combined into non-standard CPRI frame with baseband signal and gigabit ethernet signal, the non-standard CPRI frame that will synthesize then is broadcast to all optical modules; Far-end is then carried out and is understood non-standard CPRI frame and with baseband signal and gigabit ethernet signal lock out operation, and baseband signal is delivered to signal processing unit, and ethernet signal is delivered to electricity mouth module;
Step 3), on up link; Far-end then need this locality is up ethernet signal and the up ethernet signal of next stage far-end carry out buffer memory respectively; Mail to upper level after closing the road; Near-end carries out buffer memory respectively with the ethernet signal of all optical modules and reads then, and the ethernet frame that is combined into standard is sent to electricity mouthful module.
By above scheme, the control word of said non-standard CPRI frame takies 2bytes, and IQ data block takies 62bytes, and wherein 30bytes is used to transmit original baseband signal, and 32bytes is used to transmit ethernet signal.
By above scheme; The concrete combination step of said non-standard CPRI frame: when standard ethernet frame being mapped in the CPRI frame; At first remove lead code; Before the Ethernet frame head, add simultaneously bag beginning flag SPD, add end-of-packet sign EPD at postamble, so that receiver module can correctly find the starting and ending point of ethernet frame.
By above scheme, if send continuously when when ul transmissions, having 2 above frames transmission in the buffer memory.
By above scheme, when from the CPRI frame, solving standard ethernet frame, find the data division of ethernet frame according to SPD and EPD, add frame gap then and after frame head adds lead code, directly deliver to the gigabit electricity mouth module of this equipment.
By above scheme, on up link, as relate to a plurality of far-ends and can upload signal simultaneously, each far-end adopts 2 buffers to store the up ethernet signal of local up ethernet signal and next stage far-end respectively; Arbitration modules does not stop to scan this 2 buffers, in detecting buffer, be filled with a frame and above data after, begin data map in uplink CP RI frame; If have data simultaneously in 2 buffers, then judge the data in the little buffer of prioritised transmission remaining space according to the size of buffer remaining space.
By above scheme, in up link, there is multilink to upload data simultaneously when up like near-end, the ethernet signal of every link also must carry out buffer memory, and transmission rule is identical with far-end.
In the CPRI frame, open up the channel transfer ethernet frame of 1.25G.On down link, the digital high-frequency amplification station near-end passes the signal of coming with Ethernet and inserts in the standard C PRI frame through gigabit mouth access network based on ethernet, is broadcast to far-end.Remote equipment receives the Ethernet data in the corresponding time slot, converts the standard ethernet frame formatted data again to, sends to gigabit electricity mouthful module; On up link, each far-end all receives and comes from the up ethernet signal of next stage, and with its buffer memory, simultaneously that this equipment is up ethernet signal carries out buffer memory.During transmission, arbitration modules reads data cached according to the principle of " buffer data that the prioritised transmission remaining space is little ", map in the CPRI frame, is sent to near-end.
Compared with prior art, the present invention can realize the transmission of ethernet signal in digital optical fiber repeater system, and to a certain extent, each far-end all is equivalent to be connected on the gigabit switch in the whole direct discharging station.And owing to adopted the repeater technology, the ethernet signal transmission can make full use of the high reliability and the low characteristics of the error rate of direct discharging station, realizes remote jumbo ethernet communication.
Because digital direct discharging station is all disposed in a lot of places, so can utilize existing direct discharging station to realize the ethernet signal transmission, the installation difficulty and the cost of equipment such as reduction WLAN through increasing a part of device.
Description of drawings
Fig. 1 is a kind of known digital high-frequency amplification station networking mode;
Fig. 2 is a kind of embodiment of the present invention;
Fig. 3 revises back CPRI frame (non-standard) frame structure sketch map;
Fig. 4 is the up Ethernet transmission structure of a near-end sketch map;
Fig. 5 is the up Ethernet transmission structure of a far-end sketch map;
Fig. 6 is a flow chart of the present invention.
Embodiment
Below in conjunction with embodiment and accompanying drawing the present invention is described in further detail, but execution mode of the present invention is not limited thereto.
As shown in Figure 2, on the basis of Fig. 1, all lasers are upgraded to 2.5Gbps, simultaneously do not insert gigabit electricity mouthful module in the light mouth 3 of usefulness at near-end, be connected in the machine room switch through the CAT-5 netting twine again; Also do not insert gigabit electricity mouthful module in the mouth 3 using up of far-end, insert in the expansion equipment through the CAT-5 netting twine, expansion equipment is a wlan device in the present embodiment.Certain expansion equipment can have a variety of, for example has the video monitoring equipment of Ethernet transfer function, and switch etc. are so that realize various difference in functionalitys.
This method is when implementing, and hardware components only needs in the untapped light mouth seat of near-end and far-end, to insert gigabit electricity mouth module, and the nearly far-end light mouth module of upgrading gets final product to 2.5G; Software aspect upgrading relative program can be realized the communication of nearly far-end gigabit Ethernet, and upgrading is very simple.
For describing conveniently, will be called down link from the transmission link of near-end machine transmission data (comprising baseband signal and ethernet signal) to remote termination, the transmission link that sends data to the near-end machine from remote termination is called up link.
Fig. 4 is the up Ethernet transmission structure of a near-end sketch map; Fig. 5 is the up Ethernet transmission structure of a far-end sketch map; Fig. 6 is a flow chart of the present invention.Like Fig. 4, Fig. 5, Fig. 6, the method for utilizing digital optical fiber direct station transmission ethernet signal of the present invention may further comprise the steps:
1), the nearly far-end of the digital optical fiber direct station identification module of inserting the light inlet socket is optical module or gigabit electricity mouthful module, and the serdes speed corresponding according to recognition result dynamic-configuration module.If optical module becomes 2.4576Gbps with its rate configuration, if electricity mouthful module becomes 1.25Gbps with its rate configuration.
2), on down link, near-end is combined into non-standard CPRI frame with baseband signal and gigabit ethernet signal, the non-standard CPRI frame that will synthesize then is broadcast to all optical modules; Far-end is then carried out and is understood non-standard CPRI frame and with baseband signal and gigabit ethernet signal lock out operation, and baseband signal is delivered to signal processing unit, and ethernet signal is delivered to electricity mouth module;
3), on up link, near-end carries out buffer memory respectively with the ethernet signal of all optical modules, reads according to certain rule then, the ethernet frame that is combined into standard is sent to electricity mouthful module; Far-end then need this locality is up ethernet signal and the up ethernet signal of next stage far-end carry out buffer memory respectively, mail to upper level after closing the road.
In the above-mentioned method of utilizing digital optical fiber direct station transmission ethernet signal,, therefore need make amendment to standard C PRI frame format owing in transmission channel, increased gigabit ethernet signal.In the CPRI of standard agreement, under the transmission rate of 2.4576G, basic frame frame frequency is 3.84M, and wherein control word is 1 word (4bytes), and IQ data block is 15 word (60bytes); The basic frame frame frequency of revising back CPRI frame (non-standard) is constant, just control word is become 1 half-word (2bytes), and IQ data block becomes 62bytes, and wherein 30bytes is used to transmit original baseband signal, and 32bytes is used to transmit ethernet signal.
In the above-mentioned method of utilizing digital optical fiber direct station transmission ethernet signal, the ethernet frame format of standard comprises frame gap (96bit is long at least), lead code (7 0x55 and a 0xd5) and data.Fig. 3 revises back CPRI frame (non-standard) frame structure sketch map; As shown in Figure 3, in order to improve efficiency of transmission, when mapping to standard ethernet frame in the CPRI frame; At first remove lead code; Add before the Ethernet frame head simultaneously that (the bag beginning flag K27.7), adds EPD (end-of-packet sign at postamble to SPD; K29.7), so that receiver module can correctly find the starting and ending point (wherein K27.7 and K29.7 are the K sign indicating number in the 8B10B encoding and decoding) of ethernet frame.Simultaneously, if considered frame gap not during transmission when promptly having 2 above frames transmission in the buffer memory, can be sent continuously.When from the CPRI frame, solving standard ethernet frame, find the data division of Ethernet according to SPD and EPD, add lead code at frame head then, add that simultaneously frame gap gets final product.
In the above-mentioned method of utilizing digital optical fiber direct station transmission ethernet signal, on the down link, the data that come from the gigabit network interface map directly in the CPRI frame according to above-mentioned rule, are broadcast to far-end through optical module.Every far-end is separated mapping according to above-mentioned rule, obtains data division in the ethernet frame, add frame gap and lead code after, directly deliver to the gigabit electricity mouthful module of this equipment.
In the above-mentioned method of utilizing digital optical fiber direct station transmission ethernet signal; On up link; Because relating to a plurality of far-ends can upload signal simultaneously, therefore, each far-end adopts 2 buffers to store the up ethernet signal of local up ethernet signal and next stage far-end respectively.Arbitration modules does not stop to scan this 2 buffers, in detecting buffer, be filled with a frame and above data after, begin data map in uplink CP RI frame.If have data simultaneously in 2 buffers, then judge the data in the little buffer of prioritised transmission remaining space according to the size of buffer remaining space.At near-end, owing to uply also have multilink and upload data simultaneously, therefore the ethernet signal of every link also must carry out buffer memory, and transmission rule is identical with far-end.
Above-mentioned instance is a preferred implementation of the present invention; But execution mode of the present invention is not restricted to the described embodiments; Other any do not run counter to change, the modification done under spirit of the present invention and the principle, substitutes, combination, simplify the substitute mode that all should be equivalence, is included within protection scope of the present invention.