Summary of the invention
Technical problem to be solved by this invention provides the method for the adaptive packet data transmission of a kind of EGDE of being applicable to system.Make that the packet control unit data frame transfer between CCU and the PCU interface is more quick and convenient, thereby improve the speed and the quality of its transfer of data.
For solving the problems of the technologies described above, it is as follows to the invention provides scheme:
A kind of method that is applicable to the adaptive packet data transmission of EGDE system is used for the self-adapting data transmission between Channel Codec Unit and the packet control unit, comprises the steps:
During initial condition, the up-downgoing packet control unit frame all adopts synchronization frame, and the up-downgoing synchronous regime is step-out;
Channel Codec Unit detects downlink grouped control unit frame in real time, if the synchronous regime of downlink grouped control unit frame is correct, then Channel Codec Unit sends the success of upstream packet control unit frame notice packet control unit down-going synchronous, packet control unit changes synchronous regime over to, and sends downlink grouped control unit Frame to Channel Codec Unit; If the synchronous regime of downlink grouped control unit frame is incorrect, then Channel Codec Unit sends the failure of upstream packet control unit frame notice packet control unit down-going synchronous, packet control unit changes desynchronizing state over to, and sends downlink grouped control unit synchronization frame to Channel Codec Unit;
Packet control unit detects upstream packet control unit frame in real time, if the synchronous regime of upstream packet control unit frame is correct, then packet control unit sends the success of downlink grouped control unit frame notification channel codec unit uplink synchronous, Channel Codec Unit changes synchronous regime over to, concurrently serves capable packet control unit Frame and gives packet control unit; If the synchronous regime of upstream packet control unit frame is incorrect, then packet control unit sends the failure of downlink grouped control unit frame notification channel codec unit uplink synchronous, Channel Codec Unit changes desynchronizing state over to, concurrently serves capable packet control unit synchronization frame and gives packet control unit.
Compared with prior art, the invention has the advantages that:
The method of the invention; be the PCU frame synchronization mode different according to the transmission quality Dynamic Selection of Abis mouth; when link establishment, adopt the packet control unit synchronous frame stucture of synchronous protection strictness to guarantee link-quality; after reaching requirement, link-quality uses the more weak packet control unit data frame structure of synchronous protection instead; transmitting user data as much as possible; so both guarantee transmission quality, improved the efficient of Abis time interval resource again.
Technical problem to be solved by this invention, technical scheme main points and beneficial effect will be in conjunction with the embodiments, are further described with reference to accompanying drawing.
Embodiment
Table 1 has provided the data rate under the various coded systems of GPRS/EGPRS.Because the transmission rate of 1 business time-slot of Abis mouth has only 16kb/s, once can only transmit 320 bits.Also to comprise in this 320 bit the synchronization bit that is used for frame synchronization and with user data of mobile phone interaction or the like.Traditional Abis mouth frame format has adopted " 16 synchronous 0 and 19 synchronous 1 " method of synchronization, and this frame format has very strong synchronizing capacity, but available data bit maximum also can only be 285 bits.If the PCU frame among the EDGE adopts this frame structure, no doubt can guarantee the transmission quality of ABIS mouth.But because the exigent transmission bit rate of some coded system among the EDGE, except CS1, CS2 and MCS1, MCS2 and MCS3, other coded system all needs to adopt the ABIS mouth time slot more than at least two, MCS9 even 5 16kbps time slots of needs.Therefore adopt this method of synchronization, can take a large amount of resource of ABIS mouth.Link between CCU and the PCU is more fixing in addition, can frequently not tear the chain link setup open, there is no need to adopt the frame synchronization of strictness like this.Therefore, core concept of the present invention is: when the link-quality difference, adopt the PCU synchronization frame to carry out strict synchronism.But when link was good, transmission PCU Frame by reducing the efficiency of transmission that synchronization bit improves the ABIS mouth, reduced taking of ABIS mouth resource.
As shown in Figure 1, be the grouped data transmission state transition graph.The present invention is divided into three states---initial state with Abis mouth Uplink/Downlink state, synchronous state and step-out attitude.Be initial state during link establishment, up-downgoing is the step-out sign under this state, sends the PCU synchronization frame.Synchronous mark is for synchronous when synchronous flow process is finished, and link has just entered synchronous state, sends the PCU Frame.Link turns to the step-out attitude when finding bad frame is arranged, and synchronous mark is a step-out, sends the PCU synchronization frame.After having received frame, could enter synchronous state once more, send the PCU Frame.
Introduce the concrete steps of the method for the invention below:
CCU unit and PCU unit are the two ends of Abis link.The CCU unit is responsible for the real-time detection of downlink grouped control unit frame synchronization state and the transmission of control and upstream packet control unit frame.Simultaneously, the PCU unit is responsible for the real-time detection of upstream packet control unit frame synchronization state and the transmission of control and downlink grouped control unit frame.
Step 1: at first, the up-downgoing synchronous regime is step-out when initial state, and up-downgoing PCU frame all adopts synchronization frame.
Step 2: the CCU unit detects descending PCU frame in real time.CCU finds the unit that the synchronous head of descending PCU frame is correct, thinks that then down link is good, enters step 3.Otherwise CCU finds the unit that the synchronous head of descending PCU frame makes mistakes, and thinks that then down link is abominable, enters step 4.
Step 3: CCU notifies the down-going synchronous success of PCU unit in ensuing up PCU frame.The PCU unit receives the frame of sign down-going synchronous success, changes synchronous state immediately over to, and will remain on synchronous state always, sends descending PCU Frame to CCU.
Step 4: CCU notifies the failure of PCU down-going synchronous in ensuing up PCU frame.The PCU unit receives the frame of sign down-going synchronous failure, changes the step-out attitude immediately over to, begins to send descending PCU synchronization frame to CCU.
When the CCU unit detected descending PCU frame in real time, the PCU unit also detected up PCU frame in real time.The operation of PCU unit may further comprise the steps:
Step 1:PCU finds the unit that the synchronous head of up PCU frame is correct, thinks that then up link is good, enters step 2.Otherwise PCU finds the unit that the synchronous head of up PCU frame makes mistakes, and thinks that then up link is abominable, enters step 3.
The success of CCU uplink synchronous is notified in step 2:PCU unit in ensuing descending PCU frame.The CCU unit receives the frame of sign uplink synchronous success, changes synchronous state immediately over to, and will remain on synchronous state always, sends up PCU Frame to the PCU unit.
Step 3:PCU notifies the failure of CCU uplink synchronous in ensuing descending PCU frame.The CCU unit receives the frame of sign uplink synchronous failure, changes the step-out attitude immediately over to, begins to send up PCU synchronization frame to PCU.
Below, we are to two kinds of PCU frame formats---and PCU synchronization frame and PCU Frame are set forth in more detail.
First kind of PCU frame, promptly the PCU synchronization frame comprises up-downgoing PCU synchronization frame, synchronous head is formed by 16 synchronous 0 and 19 synchronous 1, has stronger synchronizing capacity, can guarantee transmission quality, carries out when being used for initial state and step-out attitude synchronously; Second kind of PCU frame, promptly the PCU Frame comprises up-downgoing PCU Frame, synchronous head is formed by 5 synchronous 0, has the more information bit, can guarantee transmission speed, and reduces Abis mouth resource, transfer of data when being used for synchronous state.These two kinds of PCU frames all keep a control bit as synchronous mark: this control bit of descending PCU frame is represented uplink synchronous sign Up_Sync, Up_Sync=1 represents that PCU is synchronous with CCU at up direction, and Up_Sync=0 represents that then PCU is in up direction and CCU step-out.
Equally, represent down-going synchronous sign Down_Sync for this control bit of up PCU frame, Down_Sync=1 represents that CCU is synchronous with PCU at down direction, and Down_Sync=0 represents that CCU is in down direction and PCU step-out.
Because the processing procedure basically identical of PCU and CCU, we introduce the processing of CCU in detail here.
Fig. 2 is the descending PCU frame of a CCU process chart.CCU carries out the search of synchronous head (if local Down_Sync is masked as 1 at the Down_Sync sign that carries out at first preserving according to this locality when descending PCU frame is handled, then search for synchronous head according to the frame format of synchronization frame, otherwise, frame format search synchronous head according to Frame), but if do not find synchronous head, CCU thinks that then downlink quality is abominable, and local Down_Sync sign puts 0; Otherwise, thinking that downlink quality is good, local Down_Sync puts 1.And put local Up_Sync sign according to the Up_Sync of descending PCU frame sign.
Fig. 3 is the up PCU frame of a CCU process chart.At first fill in Down_Sync relevant position in the PCU frame control bit according to local Down_Sync.Judge local Up_Sync sign then, local Up_Sync is that 0 expression uplink quality is abominable, fills out PCU bit frame and data bit by the synchronization frame frame format, fills in the back that finishes and sends synchronization frame; Local Up_Sync is that 1 expression up link is good, fills out PCU bit frame and data bit by the Frame frame format, fills in the back that finishes and sends Frame.
In table 2, provided Abis mouth number of time slot shared when the various coded systems of GPRS/EGPRS are used conventional frame format and frame format of the present invention.Clearly, at coded system MCS-6, under MCS-7 and the MCS-9, use the present invention to reduce the waste of Abis time interval resource.
Table 2
Coded system | The Abis mouth takies timeslot number (not using the present invention) | The Abis mouth takies timeslot number (use the present invention) |
CS-1 | 1 | 1 |
CS-2 | 1 | 1 |
CS-3 | 2 | 2 |
CS-4 | 2 | 2 |
| | |
MCS-1 | 1 | 1 |
MCS-2 | 1 | 1 |
MCS-3 | 2 | 2 |
MCS-4 | 2 | 2 |
MCS-5 | 2 | 2 |
MCS-6 | 3 | 2 |
MCS-7 | 4 | 3 |
MCS-8 | 4 | 4 |
MCS-9 | 5 | 4 |
A kind of method that is applicable to the adaptive packet data transmission of EGDE system of the present invention, be not restricted to listed utilization in specification and the execution mode, it can be applied to various suitable the present invention's field fully, for those skilled in the art, can easily realize additional advantage and make amendment, therefore under the situation of the spirit and scope of the universal that does not deviate from claim and equivalency range and limited, the examples shown that the present invention is not limited to specific details, representational equipment and illustrates here and describe.