Background technology
In the transfer of data of microwave communication, the data sync in order to guarantee to send/receive requires microwave signal to transmit continuously.During usually, with microwave transmission in advance transmission/the receiving element of specified data length be called radio frames.That is, require radio frames to send continuously/receive.
Yet, in microwave communication, need the type of service of transmission a lot, and the PDR of each type of service is also different.
Existing technical scheme is to be that radio frames confirms the data format of transmission in advance, just confirms the type of service combination of transmission in advance, and is that the business datum of every kind of type of service is distributed the data space of fixed position and length in radio frames.When there is the business datum of respective length in the type business, just the business datum of the type relevant position in the radio frames of packing; When the business datum of this type of service does not exist or data length when not enough, then pack into invalid data in the relevant position in radio frames.
That is to say that no matter the actual traffic data amount of each type of service, radio frames is all passed through microwave continuous transmission/reception according to set form.
If the business datum of various types of traffic is full, then the channel utilization of microwave communication is than higher; If the PDR of a type or several types of types of service commonly used is lower, business datum is not enough; Then the relevant position in the radio frames just is filled a large amount of invalid datas; When channel utilization significantly reduced, the type of service that other PDR is higher, business datum is sufficient but needed to wait for follow-up radio frames because of the assigned address that can only be used for its distribution, the data space of length.
In addition, along with the progressively development of the communication technology, the continuous enhancing of wireless communication device features, more and more new types of service having occurred needs to handle.
In the existing technical scheme, when needs increase new type of service, can not distribute to the data space of new business type service data in the radio frames.Therefore usually, when sending, must first the new business type be mapped to a certain type of service commonly used of having distributed, then this business datum be packed in the radio frames; When receiving, again this new business type is discerned, separates, also shone upon back to the new business type from the type of service of its mapping.
This increases a large amount of extra works of treatment to microwave transmission system inevitably, thereby increases the complexity of system, and reduces the stability of system.
For example, for PDH (plesiochronous digital Xu Liang) microwave transport equipment that an overall system capacity is 32 road E1 types of service, mean the data space of having allocated 32 road E1 types of service in its radio frames in advance.When the PDR of E1 type of service lower; When reality only needs the data space of 16 road E1 types of service; The data space of remaining 16 road E1 types of service can only be filled invalid data in the radio frames; But can not directly transmit the business datum of other types of service such as E3 type of service or IP operation type, waste channel capacity greatly.
Transmit the business datum of other type of service if desired, then must be earlier this E3 type of service or IP operation type be mapped to the business datum of E1 type of service, utilize the data space of 16 road idle in radio frames E1 types of service to transmit again.
Therefore, it is low that existing multi-service transmission exists channel utilization, is unfavorable for that simultaneously system changes type of service flexibly and adjusts the data space of each type of service.
Embodiment
Introduce embodiment of the present invention in detail below in conjunction with accompanying drawing.
Fig. 1 is the data structure sketch map of the employed a kind of radio frames of multi-service transmission in the microwave communication provided by the invention.
The data structure of a kind of radio frames used in the present invention is as shown in Figure 1, and it is made up of a plurality of cells (CELL), and each cell further comprises overhead byte (OVERHEAD) and business datum.Each cell comprises the business datum of identical data length, and the business datum in each cell belongs to same type of service.
Wherein, overhead byte further is made up of verification of source identity, cell sequence number, business datum etc., and overhead byte also comprises the verification of type of service and type of service especially.Said overhead byte not necessarily all is confined to the head of cell, can be dispersed in other position in the cell according to the actual requirements.For example, the verification of business datum is usually located at after the business datum.
Fig. 6 is the data structure sketch map of the employed another kind of radio frames of multi-service transmission in the microwave communication provided by the invention.
The data structure of radio frames as shown in Figure 6 is made up of overhead byte and a plurality of cell of radio frames, comprises the overhead byte and the business datum of cell in each cell.Each cell comprises the business datum of identical data length, and the business datum in each cell belongs to same type of service.
Wherein, the overhead byte of radio frames further is made up of radio frames sign, Radio Frame Number etc.; The overhead byte of each cell also comprises the verification of type of service and type of service.The overhead byte of said radio frames can be positioned at other position of radio frames; The overhead byte of each cell can be dispersed in other position in the cell.
Fig. 7 is the data structure sketch map of employed another radio frames of multi-service transmission in the microwave communication provided by the invention.
The data structure of radio frames as shown in Figure 7 is made up of overhead byte and a plurality of cell of radio frames.Each cell comprises the business datum of identical data length, and the business datum in each cell belongs to same type of service.
Wherein, the overhead byte of radio frames further is made up of the type of service of radio frames sign, Radio Frame Number, each cell, also can comprise the verification of the type of service of each cell.The overhead byte of said radio frames also can be positioned at other position of radio frames.
Multi-service transmission also can use other wireless frame data structure in the microwave communication of the present invention, as long as this data structure comprises the type of service of corresponding each business datum.
In the present invention, the type of service of employing comprises: Ethernet service, E1 are professional, E3 is professional, monitoring business and other type of service that can in microwave communication, transmit.
Fig. 2 is a kind of sending ending equipment structural representation of carrying out multi-service transmission of the present invention.As shown in Figure 2, a kind of sending ending equipment 100 that the present invention uses comprises: the 1st data source the 101, the 2nd data source 102 ..., n data source 10N, cell packing device 150, invalid data generator 170, and wireless framer 190.
At transmitting terminal, multiple business data 101,102 ..., 10N exists simultaneously, and via data source 101,102 ..., 10N generates byte (byte) with the bit (bit) of each business datum.Packing device 150 receive from data source 101,102 ..., 10N business datum; When the business datum of a certain type of service reaches predefined packing length (that is business datum length of each cell), then with adding this professional type of service and business datum being generated a cell (CELL).The data structure of each cell such as Fig. 1, Fig. 6 or shown in Figure 7.
When the business datum of a plurality of types of service reached predefined packing length simultaneously, then packing device 150 was selected one type of higher business datum of priority according to the priority of each business datum from each data source, and this business datum is generated a cell.
Invalid data generator 170 constantly produces invalid data, and its data content does not have practical value.When not having business datum to reach predefined packing length, fill the space in the radio frames.
The cell that packing device 150 will comprise business datum is sent to wireless framer 190.If 150 li of packing devices do not have business datum to reach predefined packing length can be packaged into a complete professional cell time, then wireless framer 190 obtains invalid datas from invalid data generator 170 and forms invalid cells.
Wireless framer 190 is combined framing according to Fig. 1, Fig. 6 or data format shown in Figure 7 with a plurality of cells, adds the overhead byte of radio frames in case of necessity, sends as a frame wireless data.The position of professional cell in radio frames of each type of service is unfixed, regularly arranged in radio frames according to first in first out.Like this can each business datum of timely and effective processing, guaranteed the continuity of radio frames again.
Fig. 3 is a kind of receiving device structural representation of carrying out multi-service transmission of the present invention.As shown in Figure 3, a kind of receiving device 200 that the present invention uses comprises: wireless deframer 290, and cell de-packetizer 250, and the 1st data source the 201, the 2nd data source 202 ..., n data source 20N.
At receiving terminal, the radio frames that receives from wave point gets into wireless deframer 290 and separates frame, from radio frames each cell is separated one by one, sends to 250 li of de-packetizer in order.
De-packetizer 250 is obtained the type of service of each cell in the overhead byte.If invalid cell then abandons the invalid data in this cell; If professional cell, then the overhead byte with this cell removes, with the business datum in the cell according to type of service send to corresponding data source passage 201,202 ..., in the 20N.
Fig. 4 is the radio frames transmission flow figure according to multi-service transmission of the present invention.
In step S100, wireless framer 190 prepares to generate a radio frames, and this moment, cell packing device 150 was tabulated according to priority preset, and data source is adjusted on the pairing data source of the highest type of service of priority.For example, be data source 1 at this moment.
In step S110, whether the business datum in packing device 150 judgment data sources 1 reaches predefined packing length, that is the business datum length of a cell among Fig. 1.
If the business datum of data source 1 has reached the business datum length of a cell, then in step S120, packing device 150 adds data source 1 pairing type of service in the type of service of the overhead byte of the 1st cell among Fig. 1 to.And, in step S130, will pack into the 1st cell from the business datum of data source 1.Execution in step S180 then.
If the business datum in current data source has not reached the business datum length of a cell, then packing device 150 judges whether the current data source is the pairing data source of the minimum type of service of priority list medium priority in step S140.
If not the minimum data source of priority, then in step S150, packing device 150 is adjusted to data source on the pairing data source of type of service of low 1 grade of priority according to the priority preset tabulation.For example, be data source 2 at this moment, up to data source N.
If be the minimum data source of priority, mean that the current business datum that has no type of service has reached the business datum length of a cell.Then in step S160, packing device 150 adds the invalid data sign in the cell to, and uses the invalid data filler cell from invalid data generator 170.Execution in step S180 then.
In step S180, wireless framer 190 detects the cell that whether reaches predetermined number and enough generates a radio frames.In example shown in Figure 1, a radio frames comprises n cell.If a radio frames has had enough cells, then in step S190, wireless framer 190 is with each radio frames of cell generation and with its transmission.In case of necessity, for example, when adopting Fig. 6 or wireless frame data structure shown in Figure 7, wireless framer 190 is with the overhead byte that adds radio frames.
Otherwise, return step S100 and generate next cell.
Fig. 5 is the radio frames reception flow chart according to multi-service transmission of the present invention.
In step S200, wireless deframer 290 receives the radio frames that wireless framer 190 is sent, and wherein each cell separated successively, mails to cell de-packetizer 250.
In step S210, cell de-packetizer 250 is adjusted into the 1st cell from wireless deframer 290 with current pending cell.
In step S220, whether de-packetizer 250 these cells of identification have the invalid data sign.If have invalid data sign, then in step S250, de-packetizer 250 abandons invalid data, and execution in step S260.Otherwise, execution in step S230.
In step S230, the type of service in the de-packetizer 250 identification cells.Then, in step S240, the type of service of business datum by identification unpacked, and mail to corresponding data source.Then, execution in step S260.
In step S260, whether the current cell of de-packetizer 250 identifications is cell last in the radio frames, that is the n cell.If not the n cell, then in step S270, de-packetizer 250 is adjusted into following 1 cell from wireless deframer 290 with current cell.
If the current cell of de-packetizer 250 identifications is cell, a n cell last in the radio frames, then in step S290, de-packetizer 250 finishes the reception work of this radio frames.
Through microwave communication multi-service transmission provided by the invention; Can be according to the PDR of the business datum of various types of traffic; Type of service in the flexible combination radio frames changes the data format of radio frames automatically, to reach the channel utilization maximization.
According to the present invention, when needs transmit the business datum of new business type, only need the adjustment priority list to increase new type of service.When sending, the business datum of new business type can obtain corresponding data space automatically according to its priority, then this business datum is packed in the radio frames; When receiving, can directly unpack the business datum that obtains the new business type and be sent in the corresponding data source.
In the present invention, corresponding each data source, further config memory is used for temporal data when step S110 business datum does not reach predetermined cell business datum length.
Simultaneously, among the present invention, when execution in step S120, S130, S160, S170,, also answer waiting step S180, S100 to handle again even if more the type of service of high priority needs to handle.That is packing process should not interrupt.
In addition, in multi-service transmission of the present invention, need carry out data sync at transmitting terminal and receiving terminal.
These technology contents are because identical with prior art and no longer detail.
Though more than combine specific embodiment to set forth the present invention in detail, said specific embodiment just illustrates, but not is used to limit content of the present invention and scope.
Protection scope of the present invention should be as the criterion with the record of claims.According to accompanying drawing of the present invention and detailed description, conspicuous variations and modifications are also in the spirit and scope of claim of the present invention concerning the technical staff who is familiar with the present technique field.