A kind of channel multiple devices and method based on the RS frame structure
Technical field
The present invention relates to the channel multiple devices and the method for polymorphic type business datum in a kind of digital microwave communication system.
Background technology
Digital microwave telecommunication is to utilize microwave band to carry out a kind of wireless transmission method of digital information transmission.Digital microwave communication system comprises indoor unit IDU and outdoor unit ODU.As shown in Figure 1, the business datum branch road that IDU is dissimilar with several, comprise E1/T1/J1 branch road, Ethernet branch road, STM-1 branch road, path data-interface branch road GPI, talk-back branch road EOW and network management information branch road OMI carry out error correction coding and modulation treatment after by the certain format multiple connection, give ODU then and send.The channel multiple connection is exactly to finish the technology that code stream merges according to time division multiplexing principle.Reed Solomon error correction coding, especially RS (204,188) form coding is widely used in the microwave telecommunication system as a kind of error correction coding of maturation.Reed Solomon coding is a unit with the frame.RS (204,188) frame is identified by a byte RS frame head, and 187 byte net amounts reach 16 byte checking datas according to this and form.The business datum multiple connection method of existing IDU is to define a kind of base band frame format earlier, adopts the mode of poll that the multichannel business datum is multiplexed in the base band frame, then the segmentation of base band frame code stream is filled into the net amount of RS frame according to part.There is following problem in this channel multiple connection mode: in the process of polymorphic type business datum branch road multiple connection, adopt polling mode to select the business datum branch road, do not consider the sensitivity of different kinds of business data branch road to transmission delay.The clock jitter of time-delay meeting aggravation E1/T1/J1 branch road, STM-1 branch road, path data-interface GPI tributary interface is waited in long multiple connection, and clock jitter can exceed the disposal ability of business datum interface equipment and produce error code under the serious situation; Existing channel multiple connection method is inserted the base band frame identification in channel, the base band frame identification of insertion need take radio channel resource; Simultaneously, twice framing of base band frame and RS frame increased circuit complexity.
Summary of the invention
The present invention is for avoiding above-mentioned existing in prior technology weak point, a kind of channel multiple devices based on the RS frame structure is provided, solve the problem that the polymorphic type business datum is multiplexed into the digital microwave physical channel, and the complexity of reduction channel multiple devices, avoid base band frame identification information busy channel resource, improve channel utilization.
The present invention is achieved through the following technical solutions.
The present invention is based on the channel multiple devices of RS frame structure, be with dissimilar some business datum branch road data multiplexings to the digital microwave physical channel, described business datum branch road comprises: some E1/T1/J1 branch roads, some STM-1 branch roads, Ethernet branch road, universal data interface branch road GPI, talk-back branch road EOW and network management information branch road OMI; Described digital microwave physical channel is used for service data transmission and props up circuit-switched data; It is characterized in that described channel multiple devices comprises:
One business datum interface observation circuit is used to monitor the data bulk and the empty full state of business datum interface buffer area;
One business datum buffer area is used for the data of each business datum branch road of buffer memory;
One multiple connection control circuit is used for selecting the multiple connection data from some business datum branch roads; Described multiple connection control circuit is business datum multiple connection counter of every business datum branch road configuration, with the continuous not number of times of selected multiple connection of described business datum multiple connection counter records corresponding service data branch road;
One RS frame generative circuit is used to generate RS frame and multiple connection Data Identification information and the multiple connection data is filled into the RS frame;
One CPU element is used to be provided with the multiple connection of business datum branch road and enables table.
The characteristics of channel multiple connection method that the present invention is based on the channel multiple devices of RS frame structure are to carry out according to the following steps:
A, some business datum branch roads are divided into the business datum branch road that allows to be multiplexed into the business datum branch road of channel and forbid being multiplexed into channel; Comprise a multiple connection in the channel multiple connection control circuit and enable table, described multiple connection enables business datum branch road of each correspondence in the table, whether allows to be multiplexed into channel to indicate corresponding business datum branch road; Described multiple connection enables table and sets in advance according to application demand, or by the CPU online modification;
B, with business datum interface observation circuit query traffic data Interface status, the state information of business datum interface is fed back to channel multiple connection control circuit;
C, channel multiple connection control circuit enable to show content according to the priority of business datum Interface status, business datum branch road and multiple connection to carry out multiple connection and selects, and a business datum branch road is selected in each multiple connection; Described channel multiple connection control circuit is at first selected from high-priority service data branch road, if do not choose, selects in low priority traffice data branch road again; If all do not choose, then the temporary no professional data of explanation need multiple connection; Channel multiple connection control circuit passes to RS frame generative circuit with selection result;
D, generate RS frame and multiple connection Data Identification information,, finish a multiple connection then with Data Identification information and be used for net amount that the business datum of multiple connection is filled into the RS frame according to part with RS frame generative circuit; Repeating step B, C and D realize the channel multiple connection based on the RS frame.
The characteristics of channel multiple connection method of the present invention also are:
The priority of business datum branch road is meant that described business datum branch road is divided into high-priority service data branch road and low priority traffice data branch road among the described step C; Described high-priority service data branch road refers to multiple connection is waited for the business datum branch road of delay requirement strictness, comprises E1/T1/J1, STM-1 and GPI business datum branch road; Described low priority traffice data branch road refers to multiple connection is waited for that delay requirement is lower than the business datum branch road of high-priority service data branch road; Described low priority traffice data branch road comprises Ethernet branch road, talk-back branch road and network management information branch road.
The method that the multiple connection of channel described in step C control circuit is selected to be used for multiple connection business datum branch road from high-priority service data branch road is: select to allow a business datum branch road of the high-priority service data branch road of multiple connection successively, relatively this business datum branch road in business datum buffer area data in buffer quantity whether greater than business datum multiple connection quantity thresholding; If greater than, select this business datum branch road to carry out multiple connection, the data bulk of multiple connection is 186 bytes, multiple connection is selected to finish; Otherwise, judge as stated above whether next bar high-priority service data branch road satisfies the multiple connection requirement; If high-priority service data branch road does not satisfy the multiple connection requirement, forward low priority traffice data branch road to and carry out the multiple connection selection.
The method that the described channel multiple connection of step C control circuit is selected to be used for multiple connection business datum branch road from low priority traffice data branch road is:
A, from the low priority traffice data branch road that allows multiple connection, select a business datum branch road, relatively this business datum branch road in business datum buffer area data in buffer quantity whether greater than business datum multiple connection quantity thresholding, if greater than, select this business datum branch road to carry out multiple connection, the data bulk of multiple connection is 185 bytes, and multiple connection is selected to finish; Otherwise, change step b over to;
B, judge that whether this business datum branch road multiple connection counter is greater than 3, if greater than 3, select this business datum branch road to carry out the channel multiple connection, this business datum branch road multiple connection counter O reset, the quantity of multiple connection data is current business data buffer area data in buffer quantity; Otherwise this business datum branch road multiple connection counter adds 1, changes step a over to.
The described multiple connection Data Identification of step D information is made up of two bytes; First byte is business datum branch road ID, and span is 0-63, respectively corresponding 63 the business datum branch roads of its intermediate value 1-63, and the no professional data of value 0 expression need multiple connection; When the multiple connection data were the high-priority service data, second byte was used to service data transmission; When the multiple connection data are lower-priority data, the length of the multiple connection data of filling in the second byte representation RS frame, span is 1-185.
The described business datum of step D is filled into RS frame net amount and also comprises according to part: when the data of multiple connection are low priority traffice data and data bulk during less than 185 bytes, mend 0 in the multiple connection data trailer, be filled into RS frame net amount after polishing 185 bytes according to part.
Compared with the prior art, beneficial effect of the present invention is embodied in
1, the invention solves the problem that the polymorphic type business datum is multiplexed into the digital microwave physical channel.Because the multiple connection of business datum branch road selects to adopt the method for dividing based on priority, reduced E1/T1/J1 branch road, STM-1 branch road, thereby the path data-interface GPI branch road wait multiple connection time reaches the purpose of optimizing business datum tributary interface clock jitter performance.
2, the channel multiple devices only needs the framing of a RS frame among the present invention, thereby reduces the complexity of channel multiple devices, avoids base band frame identification information busy channel resource, improves channel utilization.
Description of drawings
Fig. 1 is the key diagram for the IDU signal processing module;
Fig. 2 is the key diagram of RS (204,188) frame structure;
Fig. 3 is the key diagram of multiple connection Data Identification information;
Fig. 4 is a channel multiple devices structural representation of the present invention;
Fig. 5 is a channel multiple connection method flow diagram of the present invention.
Embodiment
As shown in Figure 4, the channel multiple devices based on the RS frame in the present embodiment comprises: business datum interface observation circuit 401, and business datum buffer area 402, multiple connection control circuit 403, RS frame generative circuit 404, CPU element 405 and MUX 406, wherein:
Business datum interface observation circuit 401 is used to monitor the data bulk and the empty full state of business datum interface buffer area;
Business datum buffer area 402 is used for the data of each business datum branch road of buffer memory;
Multiple connection control circuit 403 is used for selecting the multiple connection data from some business datum branch roads; The multiple connection control circuit is business datum multiple connection counter of every business datum branch road configuration, with the continuous not number of times of selected multiple connection of described business datum multiple connection counter records corresponding service data branch road;
RS frame generative circuit 404 is used to generate RS frame and multiple connection Data Identification information and the multiple connection data is filled into the RS frame;
CPU element 405 is used to be provided with the multiple connection of business datum branch road and enables table.
Referring to Fig. 5, the multiple connection method in the present embodiment is carried out according to the following steps:
Step 501, after the system power-up, the user is provided with multiple connection by CPU element 405 and enables table, selects to allow to be multiplexed into the business datum branch road of channel according to user's request.Further be: CPU element 405 is calculated the required channel width summation of branch road that users select, and when channel width that the branch road bandwidth demand can provide greater than system, for avoiding loss of data, the prompting user reselects the business datum branch road of permission multiple connection.
After being provided with successfully, multiple connection control circuit 403 reads in multiple connection and enables table.The user can change multiple connection at any time by CPU element 405 and enable table, and the multiple connection of reading in that can notice multiple connection control circuit 403 after multiple connection enables to show to revise upgrades in time enables table.
Step 502, business datum interface observation circuit 401 each bar business datum of inquiry are propped up the state of circuit-switched data in business datum buffer area 402.The data of each business datum branch road at first are buffered in the business datum buffer area 402 after entering IDU.Business datum interface observation circuit 401 feeds back to multiple connection control circuit 403 with the state information that inquires.
Step 503, a business datum branch road carries out this multiple connection in many business datum branch roads of multiple connection control circuit 403 selections.Further be that multiple connection control circuit 403 is at first selected from high-priority service data branch road in the following manner:
Relatively allow successively a business datum branch road in the high-priority service data branch road of multiple connection in business datum buffer area data in buffer quantity whether greater than business datum multiple connection quantity thresholding; If greater than, select this business datum branch road to carry out multiple connection, the data bulk of multiple connection is 186 bytes, multiple connection is selected to finish; Otherwise, judge as stated above whether next bar high-priority service data branch road satisfies the multiple connection requirement.If the business datum branch road of high priority does not satisfy the multiple connection requirement, forward low priority traffice data branch road to and carry out the multiple connection selection.
Channel multiple connection control circuit selects to be used for multiple connection business datum branch road according to the following steps from low priority traffice data branch road:
A, from the low priority traffice data branch road that allows multiple connection, select one, relatively this business datum branch road in business datum buffer area data in buffer quantity whether greater than business datum multiple connection quantity thresholding, if greater than, select this business datum branch road to carry out multiple connection, the data bulk of multiple connection is 185 bytes, and multiple connection is selected to finish; Otherwise, change step b over to;
B, judge that whether the multiple connection counter of this business datum branch road is greater than 3.If greater than 3, select this business datum branch road to carry out the channel multiple connection, counter O reset, the quantity of multiple connection data is current business data buffer area data in buffer quantity; Otherwise, change step a again over to after the multiple connection counter of business datum branch road added 1.
If all do not choose, then the temporary no professional data of explanation need multiple connection.Channel multiple connection control circuit 403 passes to RS frame generative circuit 404 with selection result.
Step 504, RS frame generative circuit 404 generates RS (204,188) frame.The structure of RS (204,188) frame at first is the frame head sign of a byte as shown in Figure 2, is worth to be " 47H " or step-by-step inverted value " B8H ".The assignment principle of frame head sign is that continuous 7 frames identify immediately following a usefulness " B8H " with " 47H " back, circulation according to this.RS frame generative circuit 404 generates multiple connection Data Identification information according to the selection result of channel multiple connection control circuit 403 simultaneously.As shown in Figure 3, Data Identification information totally 2 bytes.First byte is business datum branch road ID, and span is 0-63, respectively corresponding 63 the business datum branch roads of its intermediate value 1-63, and the no professional data of value 0 expression need multiple connection.When the multiple connection data were the high-priority service data, second byte was used to service data transmission; When the multiple connection data are lower-priority data, the length of the multiple connection data of filling in the second byte representation RS frame, span is 1-185.
RS frame generative circuit 404 is inserted multiple connection data message sign, multiple connection data at the clean data segment of RS frame.Be 16 byte RS frame check position placeholders at last.Finish once multiple connection thus based on the RS frame.Behind the RS coding this 16 byte placeholder is replaced with the corresponding check sign indicating number.
Repeating step 502 to 504 is realized the channel multiple connection based on the RS frame.