CN101471725B - Method for frame synchronization of distributed base station - Google Patents
Method for frame synchronization of distributed base station Download PDFInfo
- Publication number
- CN101471725B CN101471725B CN2007103085247A CN200710308524A CN101471725B CN 101471725 B CN101471725 B CN 101471725B CN 2007103085247 A CN2007103085247 A CN 2007103085247A CN 200710308524 A CN200710308524 A CN 200710308524A CN 101471725 B CN101471725 B CN 101471725B
- Authority
- CN
- China
- Prior art keywords
- synchronous
- ultra
- ultra group
- group
- synchronization
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Synchronisation In Digital Transmission Systems (AREA)
Abstract
The invention discloses a method for synchronizing frames in a distributed base station. The method comprises the following steps: setting a synchronization state machine with an initial state, a super-group synchronization state and a frame synchronization state; setting the synchronization head information with the first synchronization word in each super-group of operation maintenance data channel, and setting the synchronization head information with the first synchronization word in each super-group of user data channel; when the synchronization state machine is in the initial state, continuously detecting the first synchronization words in the synchronization head information of the received data and determining whether the synchronization state machine comes into the super-group synchronization state according to the detection result; when the synchronization state machine is in the super-group synchronization state, continuously detecting the remaining information in the synchronization head information of the received super-group and determining whether the synchronization state machine comes into the frame synchronization state; and when the synchronization state machine is in the frame synchronization state, determining the frame header of the next frame. The technical proposal of the frame-synchronizing method can increase the accuracy in frame synchronization.
Description
Technical field
The present invention relates to the communication technology, relate in particular to the frame synchornization method in the distributed base station.
Background technology
Distributed base station is a kind of base station combination of can the flexible distributed formula installing; It comprises Base Band Unit equipment (BBU) and RF remote equipment (RRU); And BBU links to each other through the Ir interface with RRU; Wherein, BBU is called the wireless device controls center (being called for short REC) of inside of base station again, and RRU is called the wireless device (being called for short RE) of inside of base station again.
The data type that exchanges between REC and the RE comprises: user data (when user data was transmitted according to the form of plural number, this complex data was called the IQ data) and operation maintenance data (C&M data).Wherein, the C&M data are used for the information that coffret and RE operation of equipment administer and maintain, and can comprise polytype message such as parameter configuration class message, condition managing class message, alarm management class message, version management class.The IQ data are used to transmit the user data that is sent to subscriber equipment from the base station or is sent to the base station from subscriber equipment.
In Time Division-Synchronous Code Division Multiple Access (TD-SCDMA) system, the frame structure of each 5ms (millisecond) subframe is as shown in Figure 1, comprises 7 business time-slots (slot) and 1 special time slot.Among Fig. 1, the label in 7 real cracks of business is TS0 to TS6, and wherein, first professional real crack TS0 is fixed for descending time slot, and second real crack TS1 of business is fixed for ascending time slot.Special time slot comprises descending pilot frequency (DwPTS), and protection is (GP) and three channels of ascending pilot frequency (UpPTS) at interval.
In order in the TD-SCDMA system, to realize the high-speed serial data transmission between inside of base station REC and the RE, be provided with the Frame classification sketch map shown in Fig. 2 a and Fig. 2 b.Among Fig. 2 a, each time slot of 5ms subframe is subdivided into ultra group (Super-Group) that a plurality of length are 25us (microsecond), if the ultra group # of all in the subframe; The situation that then comprises ultra group in each time slot can for example comprise the 0th to the 26th ultra group among the TS0 shown in Fig. 2 a, like this can be shown in Fig. 2 b; The 5ms subframe comprises 200 ultra groups altogether; Each ultra group comprises 32 groups (Group) again, and each group is made up of 24 words, and the capacity of the IQ data that can carry is the 32*24=768 bit.Fig. 3 shows the structural representation of a group.As shown in Figure 3, this group comprises 24 words, representes with W=0...23.The byte number that each word comprises representes that with T the value of T depends on aggregate date rate, and this aggregate date rate is called as Ir circuit bit rate.The byte number that each word comprises among Fig. 3 is 4, representes with T=0...3, and each byte is corresponding to 8 bits, and promptly the total length of word is 32 bits among Fig. 2, and obtainable data transfer rate is 1228.8Mbps; In like manner, if the byte number that each word comprises is 8, promptly the total length of word is 64 bits, and then obtainable data transfer rate is 2457.6Mbps.If bit representes with B, then utilize index B and the index T can each interior bit of word of addressing, wherein, B=0, T=0 are lowest order.Among Fig. 3, the direction of arrow on right side is in order to represent a plurality of transmission sequence.
When utilizing above-mentioned subframe to carry data, C&M data and IQ data can transmit in timesharing.Wherein, among the UpPTS and TS1 after the GP time slot, the data overall width comprises 32 ultra groups, in descending IQ Data-carrying other time slot (can comprise the GP time slot, also can not comprise the GP time slot) in downlink data frame in downlink data frame in descending C&M Data-carrying; Among the TS0 and DwPTS before the GP time slot, the data overall width comprises 30 ultra groups, in up IQ Data-carrying other time slot (can comprise the GP time slot, also can not comprise the GP time slot) in uplink data frames in uplink data frames in up C&M Data-carrying.For describing conveniently, can the time slot that carry the C&M data be called C&M passage (operation maintenance data passage), the time slot that carries the IQ data is called IQ passage (user data channel).
In order to realize synchronously; In first group of C&M passage and each ultra group of IQ passage, carry synchronous head information; Preceding 2 bytes with each ultra first group of organizing of C&M passage in the prior art are used as synchronously, and first byte is deposited synchronization character K28.5, and second byte deposited synchronization character K28.7; First byte of each ultra first group of organizing of IQ passage is used as synchronously; It deposits synchronization character K28.5; Shown in Fig. 4 a and Fig. 4 b; Fig. 4 a is that synchronous head information is deposited sketch map in ultra first group of organizing of C&M passage, and first corresponding byte of zone shown in the grey is used to deposit synchronization character K28.5, and second byte deposited synchronization character K28.7; Fig. 4 b is that synchronous head information is deposited sketch map in ultra first group of organizing of IQ passage, and the corresponding byte in zone shown in the grey is used to deposit synchronization character K28.5.In addition, be provided with synchronous state machine as shown in Figure 5, the transformational relation between each state is shown in the arrow among Fig. 5; Synchronous state machine is the state machine of when powering on or reset, using of safeguarding Ir interface operate as normal, and when carrying out when synchronous, AREQ1,2 two states are to attempt access state; Wait for synchronous head information, after from the data that receive, detecting 1 synchronous head of C&M passage, just thinking the basic synchronization state; And sync id is set is 1, and after from the data that receive, being consecutively detected the synchronous head information of 3 C&M passages again, state jumps to real complete synchronous regime; Be the FSYNC state, start operate as normal., when being consecutively detected the synchronous head information of second C&M passage, get into the SYNC1 state therebetween, when being consecutively detected the synchronous head information of the 3rd C&M passage, get into the SYNC2 state.Under any state, failure signal (LOS, Loss Of Signal) is drawn high all and can directly be jumped to the AREQ1 state.Wherein, Being consecutively detected synchronous head information refers to and detects from the data that receive after the current synchronous head information again that the desired locations from the data that receive detects synchronous head information; For length is ultra group of 25us, and desired locations should be the position that detects after the current synchronous head information again behind the 25us at interval.
But in this frame synchronization scheme, because the down direction of C&M channel always has 32 ultra groups, up direction always has 30 ultra groups; Therefore only detect the synchronous head of 4 ultra groups receiving continuously; Can not confirm the relation of these 4 ultra groups and Zheng GeC &M channel, and then can't determine the frame head of next 5ms subframe, the accuracy rate of frame synchronization is lower; And when taking place to surpass the group skew, error can be bigger.
Summary of the invention
In view of this, the frame synchornization method in a kind of distributed base station is provided among the present invention, so that improve the accuracy rate of frame synchronization.
Frame synchornization method in the distributed base station provided by the invention comprises:
Setting comprises the synchronous state machine of initial condition, ultra group synchronous regime and frame synchronization state;
In each ultra group of operation maintenance data passage, the synchronous head information that comprises first synchronization character is set, in each ultra group of user data channel, the synchronous head information that comprises first synchronization character is set;
When synchronous state machine is initial condition, first synchronization character in the reception synchronization of data header is carried out continuity detect, confirm according to testing result whether synchronous state machine gets into ultra group synchronous regime;
When synchronous state machine is organized synchronous regime for surpassing, the remaining information in the synchronous head information of the ultra group of receive is carried out continuity detect, confirm based on testing result whether synchronous state machine gets into frame synchronization state;
When synchronous state machine is frame synchronization state, confirm the frame head of next frame.
Preferably, saidly first synchronization character in the reception synchronization of data header carried out continuity detect, confirm according to testing result whether synchronous state machine gets into ultra group synchronous regime and comprise:
A, from the reception data, detect said first synchronization character, when detecting said first synchronization character, the synchronization character continuous detecting number M value that is set to 0 is added one;
B, judge the ultra group of synchronization threshold whether said M value equals to preset, if equal, execution in step D then; Otherwise, execution in step C;
C, the desired locations from the reception data detect said first synchronization character, when detecting said first synchronization character, said M value is added one, and return execution in step B; Said desired locations refers to the position that detects after the current synchronous head information again after the ultra group length at interval;
D, confirm that synchronous state machine gets into ultra group synchronous regime.
Preferably, further comprise among the step C: when not detecting said synchronization character, said M value is set to 0, and returns execution in step A;
Perhaps, further comprise among the step C: when not detecting said synchronization character, said M value is subtracted one, and return execution in step B.
Preferably, this method further comprises: at synchronous state machine is when surpassing the group synchronous regime, in ultra group of being received, to detect first synchronization character in the synchronous head information, if detect said first synchronization character, then definite synchronous state machine remains on and surpasses the group synchronous regime; Otherwise, confirm that synchronous state machine return back to initial condition.
Preferably, the synchronous head information in each ultra group of said operation maintenance data passage and user data channel further comprises: ultra group number;
Said to the remaining information in the synchronous head information of the ultra group of receive carry out continuity detect by: the ultra group number in the ultra synchronous head information of organizing of institute's receptions is carried out the continuity detection;
Said when synchronous state machine is frame synchronization state, confirm that the frame head of next frame is: when synchronous state machine is frame synchronization state,, confirm the frame head of next frame according to the ultra group number in the synchronous head information of the ultra group of receive.
Preferably; Said in each ultra group of operation maintenance data passage, the setting comprises that the synchronous head information of first synchronization character comprises: first byte in first group of each ultra group of operation maintenance data passage is deposited first synchronization character, and second byte deposited ultra group number;
Said in each ultra group of user data channel, the setting comprises that the synchronous head information of first synchronization character comprises: first byte in first group of each ultra group of user data channel is deposited first synchronization character, and second byte deposited ultra group number.
Preferably, this method further comprises: first byte in first group of protection interval each ultra group of time slot is deposited first synchronization character, and second byte deposited ultra group number.
Preferably, saidly ultra group number in the synchronous head information of the ultra group of received carried out continuity detect, confirm according to testing result whether synchronous state machine gets into frame synchronization state and comprise:
A, from received ultra group, obtain ultra group number, write down said ultra group number, and will be set to 0 ultra group number continuous detecting number N value and add one;
B, judge the frame synchronization threshold value whether said N value equals to preset, if equal, execution in step d then; Otherwise, execution in step c;
C, from the ultra group of the next one that received, obtain ultra group number,, write down said ultra group number, and said N value is added one, afterwards, return execution in step b at said ultra group number and the ultra group number consecutive hours that last time obtained;
D, confirm that synchronous state machine gets into frame synchronization state.
Preferably, this method further comprises: when synchronous state machine is frame synchronization state, first synchronization character in the synchronous head information of the ultra group of receive and ultra group number are continued to detect, confirm according to testing result whether synchronous state machine remains on frame synchronization state.
Preferably, said first synchronization character in the synchronous head information of the ultra group of received and ultra group number are continued detection, confirm according to testing result whether synchronous state machine remains on frame synchronization state and comprise:
1) first synchronization character in the detection synchronous head information in ultra group of being received if do not detect said first synchronization character, confirms that then synchronous state machine return back to initial condition; Otherwise, execution in step 2);
2) from said ultra group, obtain ultra group number,, confirm that then synchronous state machine remains on frame synchronization state, when receiving the ultra group of the next one, return execution in step 1) if said ultra group number is continuous with the ultra group number of last time obtaining; Otherwise, confirm that synchronous state machine return back to ultra group synchronous regime.
Preferably, the synchronous head information in each ultra group of said operation maintenance data passage further comprises: second synchronization character and ultra group number;
Saidly remaining information in the synchronous head information of the ultra group of receive is carried out continuity detect and comprise:, institute detects second synchronization character from receiving the synchronous head information of ultra group, when detecting said second synchronization character, definite entering operation maintenance data passage; Ultra group number in the ultra group of synchronous head information of operation maintenance data passage is carried out continuity detect, confirm according to testing result whether synchronous state machine gets into frame synchronization state;
Said when synchronous state machine is frame synchronization state, confirm that the frame head of next frame is: when synchronous state machine is frame synchronization state,, confirm the frame head of next frame according to the ultra group number in the ultra group of synchronous head information of said operation maintenance data passage.
Preferably, said in each ultra group of user data channel, the setting comprises that the synchronous head information of first synchronization character comprises: first byte in first group of each ultra group of user data channel is deposited first synchronization character;
Said in each ultra group of operation maintenance data passage, the setting comprises that the synchronous head information of first synchronization character comprises: first byte in first group of each ultra group of operation maintenance data passage is deposited first synchronization character; Second byte deposited second synchronization character, and the 3rd byte deposited ultra group number.
Preferably, the said ultra group number that the operation maintenance data passage is surpassed in the synchronous head information of organizing is carried out continuity and is detected, and confirms according to testing result whether synchronous state machine gets into frame synchronization state and comprise:
A, from ultra group of the operation maintenance data passage that received, obtain ultra group number, write down said ultra group number, and will be set to 0 ultra group number continuous detecting number N value and add one;
B, judge the frame synchronization threshold value whether said N value equals to preset, if equal, execution in step d then; Otherwise, execution in step c;
C, from the ultra group of the next one of the operation maintenance data passage that received, obtain ultra group number,, write down said ultra group number, and said N value is added one, afterwards, return execution in step b at said ultra group number and the ultra group number consecutive hours that last time obtained;
D, confirm that synchronous state machine gets into frame synchronization state.
Preferably, when synchronous state machine was frame synchronization state, this method further comprised:
1) first synchronization character in the detection synchronous head information in ultra group of being received if do not detect said first synchronization character, confirms that then synchronous state machine return back to initial condition; If detect said first synchronization character, then execution in step 2);
2) from said ultra group, detect second synchronization character, if detect said second synchronization character, then ultra group of detection number K value at preset not operation service data passage is not 0 o'clock, and said K value is set to 0, and execution in step 4); Otherwise, ultra group of detection number K value of preset not operation service data passage added one, and execution in step 3);
3) whether judge said K value greater than the total number of the ultra group of presetting of not operation service data passage, if greater than, confirm that then synchronous state machine return back to the ultra synchronous regime of organizing; Otherwise, when receiving the ultra group of the next one, return execution in step 1);
4) from said ultra group, obtain ultra group number,, confirm that then synchronous state machine remains on frame synchronization state, when receiving the ultra group of the next one, return execution in step 1) if said ultra group number is continuous with the ultra group number of last time obtaining; Otherwise, confirm that synchronous state machine return back to ultra group synchronous regime.
Preferably, when synchronous state machine was frame synchronization state, this method further comprised:
1) first synchronization character in the detection synchronous head information in ultra group of being received if do not detect said first synchronization character, confirms that then synchronous state machine return back to initial condition; If detect said first synchronization character, then execution in step 2);
2) from said ultra group, detect second synchronization character, if detect said second synchronization character, then ultra group of detection number L value with predetermined operations service data passage adds one, and execution in step 3); Otherwise, be not 0 o'clock in ultra group of detection number L value of predetermined operations service data passage, said L value is set to 0, and execution in step 4);
3) in said L value during greater than ultra group of total number of operation maintenance data passage, said L value is set to 0, confirms that synchronous state machine return back to ultra group synchronous regime; During smaller or equal to ultra group of total number of operation maintenance data passage, confirm that synchronous state machine remains on frame synchronization state in said L value, when receiving next ultra group, return execution in step 1);
4) from said ultra group, obtain ultra group number,, confirm that then synchronous state machine remains on frame synchronization state, when receiving the ultra group of the next one, return execution in step 1) if said ultra group number is continuous with the ultra group number of last time obtaining; Otherwise, confirm that synchronous state machine return back to ultra group synchronous regime.
Preferably, the synchronous head information in each ultra group of said operation maintenance data passage further comprises: second synchronization character;
Saidly remaining information in the synchronous head information of the ultra group of receive is carried out continuity detect and comprise:, institute detects second synchronization character from receiving the synchronous head information of ultra group, when detecting said second synchronization character, definite entering operation maintenance data passage; All second synchronization characters in the synchronous head information of the ultra group of operation maintenance data passage are carried out continuity detect, confirm according to testing result whether synchronous state machine gets into frame synchronization state;
Said when synchronous state machine is frame synchronization state, confirm that the frame head of next frame is: when synchronous state machine is frame synchronization state,, confirm the frame head of next frame according to ultra group of number of operation maintenance data passage and user data channel.
Preferably, said in each ultra group of user data channel, the setting comprises that the synchronous head information of first synchronization character comprises: first byte in first group of each ultra group of user data channel is deposited first synchronization character;
Said in each ultra group of operation maintenance data passage, the setting comprises that the synchronous head information of first synchronization character comprises: first byte in first group of each ultra group of operation maintenance data passage is deposited first synchronization character, and second byte deposited second synchronization character.
Preferably, said all second synchronization characters that the operation maintenance data passage surpassed in the synchronous head information of organizing carry out continuity and detect, and confirm according to testing result whether synchronous state machine gets into frame synchronization state and comprise:
A, when from ultra group of reception data, detecting second synchronization character, the continuous detecting number N value that is set to 0 second synchronization character is added one;
B, judge whether said N value equals ultra group of total number of operation maintenance data passage, if equal, execution in step d then; Otherwise, execution in step c;
C, from the ultra group of the next one of the operation maintenance data passage that received, detect second synchronization character, when detecting said second synchronization character, said N value is added one, and return execution in step b;
D, confirm that synchronous state machine gets into frame synchronization state.
Preferably, when synchronous state machine was frame synchronization state, this method further comprised:
1) first synchronization character in the detection synchronous head information in ultra group of being received if do not detect said first synchronization character, confirms that then synchronous state machine return back to initial condition; If detect said first synchronization character, then execution in step 2);
2) detection second synchronization character from said ultra group, if detect said second synchronization character, then ultra group of detection number K value at preset not operation service data passage is not 0 o'clock, said K value is set to 0, when receiving the ultra group of the next one, returns execution in step 1); Otherwise, ultra group of detection number K value of preset not operation service data passage added one, and execution in step 3);
3) whether judge said K value greater than the total number of the ultra group of presetting of not operation service data passage, if greater than, confirm that then synchronous state machine return back to the ultra synchronous regime of organizing; Otherwise, when receiving the ultra group of the next one, return execution in step 1).
Preferably, when synchronous state machine was frame synchronization state, this method further comprised:
1) first synchronization character in the detection synchronous head information in ultra group of being received if do not detect said first synchronization character, confirms that then synchronous state machine return back to initial condition; If detect said first synchronization character, then execution in step 2);
2) from said ultra group, detect second synchronization character, if detect said second synchronization character, then ultra group of detection number L value with predetermined operations service data passage adds one, and execution in step 3); Otherwise, be not 0 o'clock in ultra group of detection number L value of predetermined operations service data passage, said L value is set to 0, when receiving the ultra group of the next one, returns execution in step 1);
3) in said L value during greater than ultra group of total number of operation maintenance data passage, said L value is set to 0, confirms that synchronous state machine return back to ultra group synchronous regime; During smaller or equal to ultra group of total number of operation maintenance data passage, confirm that synchronous state machine remains on frame synchronization state in said L value, when receiving next ultra group, return execution in step 1).
Can find out that from such scheme setting of the present invention comprises the synchronous state machine of initial condition, ultra group synchronous regime and frame synchronization state, and in operation maintenance data passage and each ultra group of user data channel, the synchronous head information that comprises first synchronization character is set; Afterwards; When synchronous state machine is initial condition, first synchronization character in the reception synchronization of data header is carried out continuity detect, confirm according to testing result whether synchronous state machine gets into ultra group synchronous regime; When synchronous state machine is organized synchronous regime for surpassing; Remaining information in the synchronous head information of the ultra group of receive is carried out continuity detect, confirm according to testing result whether synchronous state machine gets into frame synchronization state, and then when synchronous state machine is frame synchronization state; Confirm the frame head of next frame, thereby improved the accuracy rate of frame synchronization.
Further; Through when synchronous state machine is organized synchronous regime for surpassing; First synchronization character in the synchronous head information of the ultra group of receive is continued to detect; And then can confirm whether synchronous state machine remains on ultra group synchronous regime, desynchronizing state whether occurs with detection at any time, guarantees the accuracy of frame synchronization according to testing result.
Further; Also through when synchronous state machine is frame synchronization state; All information in the synchronous head information of the ultra group of receive are continued to detect; And then can confirm whether synchronous state machine remains on frame synchronization state, desynchronizing state whether occurs with detection at any time according to testing result, guarantee the accuracy of frame synchronization.
Description of drawings
Fig. 1 is the structural representation of TD-SCDMA system subframe in the prior art;
Fig. 2 a and Fig. 2 b are the classification sketch map of TD-SCDMA system-frame in the prior art;
Fig. 3 is the structural representation of a group in the classification sketch map shown in Fig. 2 b;
Fig. 4 a and Fig. 4 b be in shown in Figure 3 group synchronous head information deposit sketch map;
Fig. 5 is the sketch map of synchronous state machine in the prior art;
Fig. 6 is the sketch map of synchronous state machine in the embodiment of the invention;
Fig. 7 deposits sketch map for the synchronous head information of a C&M passage in the embodiment of the invention one and a ultra group of IQ passage;
Process chart when Fig. 8 is initial condition for synchronous state machine in the embodiment of the invention one;
Fig. 9 is the process chart when synchronous state machine is organized synchronous regime for surpassing in the embodiment of the invention one;
Process chart when Figure 10 is frame synchronization state for synchronous state machine in the embodiment of the invention one;
Figure 11 deposits sketch map for the synchronous head information of a ultra group of C&M passage in the embodiment of the invention two;
Process chart when Figure 12 is initial condition for synchronous state machine in the embodiment of the invention two;
Figure 13 is the process chart when synchronous state machine is organized synchronous regime for surpassing in the embodiment of the invention two;
A process chart when Figure 14 is frame synchronization state for synchronous state machine in the embodiment of the invention two;
Another process chart when Figure 15 is frame synchronization state for synchronous state machine in the embodiment of the invention two;
Figure 16 is the process chart when synchronous state machine is organized synchronous regime for surpassing in the embodiment of the invention three;
A process chart when Figure 17 is frame synchronization state for synchronous state machine in the embodiment of the invention three;
Another process chart when Figure 18 is frame synchronization state for synchronous state machine in the embodiment of the invention three.
Embodiment
Among the present invention, synchronous state machine as shown in Figure 6 is set at first, this synchronous state machine comprises initial condition, ultra group synchronous regime and frame synchronization state; Transformational relation between three states is shown in the arrow among Fig. 6, and when powering on or reset, synchronous state machine at first gets into initial condition; This initial condition also is desynchronizing state or synchronous regime not; According to the synchronous situation in the synchronizing process, get into ultra group synchronous regime by initial condition successively afterwards, get into frame synchronization state by ultra group synchronous regime again; Be complete synchronous regime, can start operate as normal this moment.Wherein, when synchronous state machine is in ultra group synchronous regime or frame synchronization state,, then jump to initial condition immediately in case LOS takes place.In addition, the title of each state of synchronous state machine is represented and can at will be defined, do not limit among the present invention.
In order can between each state, to change according to the synchronous situation in the synchronizing process, in C&M passage and each ultra group of IQ passage, be provided with synchronous head information among the present invention, comprise synchronization character in this synchronous head information, preferably, also can comprise ultra group number (SGN).At first when synchronous state machine is original state, can carries out continuity to the synchronization character in the reception synchronization of data header and detect, confirm based on testing result whether synchronous state machine gets into ultra group synchronous regime; Afterwards, after synchronous state machine gets into ultra group synchronous regime, the remaining information in the synchronous head information of the ultra group of receive is carried out continuity again detect, and confirm based on testing result whether synchronous state machine gets into frame synchronization state; And then, when synchronous state machine is frame synchronization state, start operate as normal, receives the ultra group number that surpasses in the synchronous head information of organizing or, confirm the frame head of next frame, thereby improved the accuracy rate of frame synchronization based on institute based on ultra group of number of C&M passage and IQ passage.
For making the object of the invention, technical scheme and advantage clearer, below in conjunction with embodiment and accompanying drawing, to further explain of the present invention.
Embodiment one
In the present embodiment, in each ultra group of C&M passage and IQ passage, the identical synchronous head information of structure is set, comprises synchronization character and ultra group number during this synchronous head information of same.When specifically being provided with, can first byte in first group of C&M passage and each ultra group of IQ passage be deposited synchronization character, second byte deposited ultra group number, and synchronization character and said ultra group number constitute synchronous head information.Wherein, synchronization character can be K28.5, also can be other synchronization character.
Ultra group in the corresponding prior art; It then can be the content that in first group of the ultra group of IQ passage, increases SGN; This SGN can leave second byte in said first group in, in first group of the ultra group of C&M passage, removes the K28.7 synchronization character, changes the content of the ultra group number SGN of transmission into; As shown in Figure 7; Fig. 7 deposits sketch map for the synchronous head information of a C&M passage and a ultra group of IQ passage, and the corresponding byte (being first byte) in zone shown in the grey is used to deposit synchronization character K28.5, and the corresponding byte (i.e. second byte) in zone shown in the grey grid is used to deposit SGN.Wherein, the scope of SGN is 0-199.
Afterwards, the handling process under each state of synchronous state machine is as follows:
(1) when synchronous state machine is initial condition, the synchronization character in the reception synchronization of data header is carried out continuity detect, confirm according to testing result whether synchronous state machine gets into ultra group synchronous regime.
During concrete the realization, in the present embodiment variable M or counter M can be set in advance, be used to represent synchronization character continuous detecting number, and the initial value that M is set is 0; Correspondingly, ultra group synchronization threshold Hm is set, i.e. the maximum occurrences of M; Can carry out flow process as shown in Figure 8 afterwards.Process chart when Fig. 8 is initial condition for synchronous state machine in the embodiment of the invention one, this flow process comprises the steps:
Step 801 detects synchronization character from the reception data, when detecting said synchronization character, the M value that is set to 0 is added one.
Step 802 judges whether said M value equals Hm, if equal, then execution in step 807; Otherwise, execution in step 803.
Wherein, be ultra group of 25us for length, desired locations refers to the position that detects after the current synchronous head information again behind the 25us at interval.
Step 804 judges whether to detect said synchronization character, if detect said synchronization character, then execution in step 805; Otherwise, but execution in step 806.
In this step, when not detecting said synchronization character, also can said M value be subtracted one, afterwards, return execution in step 802.
Step 805 adds one with said M value, and returns execution in step 802.
Step 807 confirms that synchronous state machine gets into ultra group synchronous regime.
(2) when synchronous state machine is organized synchronous regime for surpassing, the ultra group number in the synchronous head information of the ultra group of receive is carried out continuity detect, confirm according to testing result whether synchronous state machine gets into frame synchronization state.
During concrete the realization, in the present embodiment variable N or counter N can be set in advance, be used to represent ultra group number continuous detecting number, and the initial value that N is set is 0; Correspondingly, frame synchronization threshold value Hn is set, i.e. the maximum occurrences of N.Then detailed process can comprise:
A, from received ultra group, obtain ultra group number, write down said ultra group number, and will be set to 0 ultra group number continuous detecting number N value and add one;
B, judge the frame synchronization threshold value whether said N value equals to preset, if equal, execution in step d then; Otherwise, execution in step c;
C, from the ultra group of the next one that received, obtain ultra group number,, write down said ultra group number, and said N value is added one, afterwards, return execution in step b at said ultra group number and the ultra group number consecutive hours that last time obtained;
D, confirm that synchronous state machine gets into frame synchronization state.
Further, among the step c, when said ultra group number and the ultra group number of last time obtaining are discontinuous, can said N value be set to 0, and when receiving the ultra group of the next one, return execution in step a; Perhaps, among the step c, when said ultra group number and the ultra group number of last time obtaining are discontinuous, can write down said ultra group number, and said N value is subtracted one, return execution in step b afterwards.
Further, in this state, can also continue the synchronization character in the synchronous head information of the ultra group of receive to detect, confirm according to testing result whether synchronous state machine remains on ultra group synchronous regime.For example, can be in ultra group of being received continuous detecting or detect the synchronization character in the synchronous head information at interval according to Preset Time, if detect said synchronization character, confirm that then synchronous state machine remains on ultra group synchronous regime; Otherwise, confirm that synchronous state machine return back to initial condition.
Fig. 9 shows the process chart when synchronous state machine is organized synchronous regime for surpassing in the embodiment of the invention one, and this preferable flow process comprises the steps:
Step 901 detects the synchronization character in the synchronous head information in ultra group of being received, if detect said synchronization character, confirm that then synchronous state machine remains on ultra group synchronous regime, execution in step 902; Otherwise, confirm that synchronous state machine return back to initial condition, the N value is set to 0, detects next ultra group.
In this step,, when detecting synchronization character, can detect first byte of this ultra first group of group,, confirm that then synchronous state machine return back to initial condition if this byte is not K28.5 for synchronous head information deposit position shown in Figure 7; Otherwise, execution in step 902.
Step 902 is obtained ultra group number, and the N value is added one from said ultra group.
In this step,, when detecting ultra group number, can detect second byte of this ultra first group of group for synchronous head information deposit position shown in Figure 7.
Step 903 judges whether said N value is 1, if then execution in step 904; Otherwise, execution in step 905.
Step 904 writes down said ultra group number, when receiving the ultra group of the next one, returns execution in step 901.
Step 905 judges whether said ultra group number and the ultra group number of last time obtaining be continuous, if continuously, then execution in step 907; Otherwise, execution in step 906.
In this step, when said ultra group number and the ultra group number of last time obtaining are discontinuous, also can write down said ultra group number, and said N value is subtracted one, execution in step 907 afterwards.
Wherein, Comprising 200 ultra situation about organizing for a 5ms subframe described in the prior art, if ultra group number is labeled as 1~199, is 0 for the current ultra group number of obtaining then; The ultra group number of last time obtaining is 199 situation, also is regarded as ultra group number (following similar situation is identical among this paper) continuously.
Step 906, said N value is set to 0, when receiving the ultra group of the next one, returns execution in step 901.
Step 907 judges whether said N value equals Hn, if equal, then execution in step 909; Otherwise, execution in step 908.
Step 908 writes down said ultra group number, when receiving the ultra group of the next one, returns execution in step 901.
Step 909 confirms that synchronous state machine gets into frame synchronization state.
(3) when synchronous state machine is frame synchronization state, can confirm the frame head of next frame according to the ultra group number in the synchronous head information of the ultra group of receive.
Comprise 200 ultra situation about organizing for a 5ms subframe described in the prior art, after synchronous state machine gets into frame synchronization state, the frame head position that can extrapolate next frame through ultra group ultra group number of current reception.
Further, in this state, can also continue to detect, confirm according to testing result whether synchronous state machine remains on ultra group synchronous regime synchronization character in the synchronous head information of the ultra group of receive and ultra group number.Wherein, the lasting detection of being carried out can be that each ultra group is carried out continuously, also can be according to the preset time interval at interval ultra group to be carried out.
During concrete the realization, can carry out flow process shown in figure 10.Process chart when Figure 10 is frame synchronization state for synchronous state machine in the embodiment of the invention one, this flow process comprises the steps:
Step 1001 detects the synchronization character in the synchronous head information in ultra group of being received, if detect said synchronization character, then execution in step 1002; Otherwise, confirm that synchronous state machine return back to initial condition, detect next ultra group.
In this step,, when detecting synchronization character, can detect first byte of this ultra first group of group,, confirm that then synchronous state machine return back to initial condition if this byte is not K28.5 for synchronous head information deposit position shown in Figure 7; Otherwise, execution in step 1002.
Step 1002 is obtained ultra group number from said ultra group.
Step 1003 judges whether said ultra group number and the ultra group number of last time obtaining be continuous, if continuously, confirms that then synchronous state machine remains on frame synchronization state, when receiving the ultra group of the next one, returns execution in step 1001; Otherwise, confirm that synchronous state machine return back to ultra group synchronous regime, detects next ultra group.
In the present embodiment, if reach ultra group synchronously after, system still can continue detection to synchronization character, then the Hm value can need not to establish too greatly, preferably, can be set at: the arbitrary integer in 2 to 5.
Equally, if after reaching frame synchronization, system still can continue to detect to synchronization character and ultra group number, and then the Hn value also need not to establish too greatly, preferably, can be set at: the arbitrary integer in 2 to 5.
In addition, in the present embodiment, do not comprise the situation of GP time slot for the IQ channel; The ultra group of in the GP time slot each; Also can deposit synchronization character in first byte in first group, second byte deposited ultra group number, and promptly all ultra groups are provided with the identical synchronous head information of structure in the 5ms subframe.
In the present embodiment, can be in whole 5ms subframe continual detection frame synchronization.
Embodiment two
In the present embodiment, in each ultra group of IQ passage, the synchronous head information that comprises first synchronization character is set; In each ultra group of C&M passage, the synchronous head information that comprises first synchronization character, second synchronization character and ultra group number is set; Promptly in C&M passage and IQ passage ultra group, structure different synchronization header is set; Synchronous head information in ultra group of the IQ passage includes only first synchronization character, comprises first synchronization character, second synchronization character and ultra group number during synchronous head information of same in ultra group of the C&M passage.When specifically being provided with, can first byte in first group of each ultra group of IQ passage be deposited first synchronization character; First byte in first group of each ultra group of C&M passage is deposited first synchronization character, and second byte deposited second synchronization character, and the 3rd byte deposited SGN.Wherein, first synchronization character can be K28.5, and second synchronization character can be K28.7, and certainly, first synchronization character and second synchronization character also can be other synchronization character.
Ultra group in the corresponding prior art; Then can be to keep the synchronous head information of the ultra group of IQ passage constant; In first group of the ultra group of C&M passage, increase the content of SGN, this SGN can leave the 3rd byte in said first group in, and is shown in figure 11; Figure 11 deposits sketch map for the synchronous head information of a ultra group of C&M passage; First corresponding byte of zone shown in the grey is used to deposit synchronization character K28.5, and second byte is used to deposit K28.7, and the corresponding byte (i.e. the 3rd byte) in zone shown in the grey grid is used to deposit SGN.Wherein, for descending, the C&M passage comprises 32 ultra groups altogether; If according to shown in Fig. 2 a, numbering, then should the ultra numbering of organizing to be 33~64, certainly; Actual numbering can not be 33~64 also, also can be that other continuous and scope covers 32 numberings that surpass group; For up, the C&M passage comprises 30 ultra groups altogether, if according to shown in Fig. 2 a, numbering, the numbering that then should surpass group can be 0~29, and is certain, and actual numbering can not be 0~29 also, also can be that other continuous and scope covers 30 numberings that surpass group.
Afterwards, the handling process under each state of synchronous state machine is as follows:
(1) when synchronous state machine is initial condition, first synchronization character in the reception synchronization of data header is carried out continuity detect, confirm according to testing result whether synchronous state machine gets into ultra group synchronous regime.
During concrete the realization, in the present embodiment variable M or counter M can be set in advance, be used to represent synchronization character continuous detecting number, and the initial value that M is set is 0; Correspondingly, ultra group synchronization threshold Hm is set, i.e. the maximum occurrences of M; Can carry out flow process shown in figure 12 afterwards.Process chart when Figure 12 is initial condition for synchronous state machine in the embodiment of the invention two, this flow process comprises the steps:
Wherein, be ultra group of 25us for length, desired locations refers to the position that detects after the current synchronous head information again behind the 25us at interval.
In this step, when not detecting said first synchronization character, also can said M value be subtracted one, afterwards, return execution in step 1202.
(2) at synchronous state machine during for ultra group synchronous regime,, institute detects second synchronization character from receiving the synchronous head information of ultra group, when detecting said second synchronization character, definite entering C&M passage; Ultra group number in the ultra group of synchronous head information of C&M passage is carried out continuity detect, confirm according to testing result whether synchronous state machine gets into frame synchronization state.
During concrete the realization, in the present embodiment variable N or counter N can be set in advance, be used to represent ultra group number continuous detecting number, and the initial value that N is set is 0; Correspondingly, frame synchronization threshold value Hn is set, i.e. the maximum occurrences of N.Then the ultra group number in the ultra group of synchronous head information of C&M passage is carried out continuity and detects, confirm that according to testing result the detailed process whether synchronous state machine gets into frame synchronization state can comprise:
A, from ultra group of the C&M passage that received, obtain ultra group number, write down said ultra group number, and will be set to 0 ultra group number continuous detecting number N value and add one;
B, judge the frame synchronization threshold value whether said N value equals to preset, if equal, execution in step d then; Otherwise, execution in step c;
C, from the ultra group of the next one of the C&M passage that received, obtain ultra group number,, write down said ultra group number, and said N value is added one, afterwards, return execution in step c at said ultra group number and the ultra group number consecutive hours that last time obtained;
D, confirm that synchronous state machine gets into frame synchronization state.
Further, among the step c, when said ultra group number and the ultra group number of last time obtaining are discontinuous, can said N value be set to 0, and when receiving the ultra group of the next one, return execution in step a; Perhaps, among the step c, when said ultra group number and the ultra group number of last time obtaining are discontinuous, can write down said ultra group number, and said N value is subtracted one, return execution in step b afterwards.
Further, in this state, can also continue first synchronization character in the synchronous head information of the ultra group of receive to detect, confirm based on testing result whether synchronous state machine remains on ultra group synchronous regime.For example, can be in ultra group of being received continuous detecting or detect the synchronization character in the first synchronous head information at interval according to Preset Time, if detect said first synchronization character, confirm that then synchronous state machine remains on ultra group synchronous regime; Otherwise, confirm that synchronous state machine return back to initial condition.
Figure 13 shows the process chart when synchronous state machine is organized synchronous regime for surpassing in the embodiment of the invention two, and this preferable flow process comprises the steps:
In this step, for Fig. 4 a and synchronous head information deposit position shown in Figure 11, when detecting first synchronization character, whether first byte that can detect this ultra first group of group is K28.5.
In this step, for synchronous head information deposit position shown in Figure 11, when detecting second synchronization character, whether second byte that can detect this ultra first group of group is K28.7.
In this step,, when detecting ultra group number, can detect the 3rd byte of this ultra first group of group for synchronous head information deposit position shown in Figure 11.
In this step, when said ultra group number and the ultra group number of last time obtaining are discontinuous, also can write down said ultra group number, and said N value is subtracted one, execution in step 1308 afterwards.
(3) when synchronous state machine is frame synchronization state,, confirm the frame head of next frame according to the ultra group number in the ultra group of synchronous head information of said C&M passage.
Comprise 200 ultra situation about organizing for a 5ms subframe described in the prior art, after synchronous state machine gets into frame synchronization state, the frame head position that can extrapolate next frame through ultra group ultra group number of current reception.
Further, in this state, can also continue first synchronization character, second synchronization character and the ultra group number in the synchronous head information of the ultra group of receive to detect, confirm based on testing result whether synchronous state machine remains on frame synchronization state.Wherein, the lasting detection of being carried out can be that each ultra group is carried out continuously, also can be according to the preset time interval at interval ultra group to be carried out.
During concrete the realization, in the present embodiment variable K or counter K can be set in advance, be used to represent that ultra group of non-C&M passage detects number, and the initial value that K is set is 0; Preset ultra group total number Hk, the i.e. maximum occurrences of K of non-C&M passage correspondingly, are set.In the present embodiment; The situation that does not comprise the GP time slot for the IQ channel; The ultra group of in the GP time slot each; Also can deposit first synchronization character in first byte in first group, all ultra groups of promptly removing in the 5ms subframe ultra group of C&M channel are provided with the identical synchronous head information of structure, then this moment non-C&M passage presetly surpass that to organize total number Hk be ultra group of total number that ultra group of total number of IQ channel adds the GP time slot.For example, for the classification situation of the frame shown in Fig. 2 a and Fig. 2 b, when descending, Hk can be 168, and when up, Hk can be 170.For other situation, the total number Hk of preset ultra group of non-C&M passage is ultra group of total number of IQ channel.For example, for the classification situation of the frame shown in Fig. 2 a and Fig. 2 b, if the IQ channel does not comprise in GP time slot and the GP time slot synchronous head information is not set, when then descending, Hk can be 165, and when up, Hk can be 167; If the IQ channel comprises the GP time slot, when then descending, Hk can be 168, and when up, Hk can be 170.
Referring to Figure 14, a process chart when Figure 14 is frame synchronization state for synchronous state machine in the embodiment of the invention two, this flow process comprises the steps:
Step 1401 detects first synchronization character in the synchronous head information in ultra group of being received, if detect said first synchronization character, then execution in step 1402; Otherwise, confirm that synchronous state machine return back to initial condition, detect next ultra group.
Step 1402 detects second synchronization character from said ultra group, if detect said second synchronization character, then execution in step 1405; Otherwise, execution in step 1403.
Step 1403 adds one with said K value.
Whether step 1404 judges said K value greater than Hk, if greater than, confirm that then synchronous state machine return back to ultra group synchronous regime, detects next ultra group; Otherwise, when receiving the ultra group of the next one, return execution in step 1401.
Step 1405 judges whether the K value is 0, if 0, then execution in step 1407; Otherwise, execution in step 1406.
Step 1406, said K value is set to 0.
Step 1407 is obtained ultra group number from said ultra group.
Step 1408 judges whether said ultra group number and the ultra group number of last time obtaining be continuous, if continuously, confirms that then synchronous state machine remains on frame synchronization state, when receiving the ultra group of the next one, returns execution in step 1401; Otherwise, confirm that synchronous state machine return back to ultra group synchronous regime, detects next ultra group.
Perhaps, can set in advance a variables L or counter L in the present embodiment, be used to represent that ultra group of C&M passage detects number, and the initial value that L is set is 0; Preset ultra group total number Hl, the i.e. maximum occurrences of L of C&M passage correspondingly, are set.In the present embodiment; The situation that does not comprise the GP time slot for the IQ channel; The ultra group of in the GP time slot each also can be deposited first synchronization character in first byte in first group, and all that promptly remove in the 5ms subframe ultra group of C&M channel surpass the identical synchronous head information of structure that are provided with of organizing.For example, for the classification situation of the frame shown in Fig. 2 a and Fig. 2 b, when descending, Hl can be 32, and when up, Hl can be 30.
Referring to Figure 15, another process chart when Figure 15 is frame synchronization state for synchronous state machine in the embodiment of the invention two, this flow process comprises the steps:
Step 1505 judges whether the L value is 0, if 0, then execution in step 1507; Otherwise, execution in step 1506.
In the present embodiment, if reach ultra group synchronously after, system still can continue detection to synchronization character, then the Hm value can need not to establish too greatly, preferably, can be set at: the arbitrary integer in 2 to 5.
Equally, if after reaching frame synchronization, system still can continue to detect to synchronization character and ultra group number, and then the Hn value also need not to establish too greatly, preferably, can be set at: the arbitrary integer in 2 to 5.
In the present embodiment, can be in the C&M passage continual detection frame synchronization.
Embodiment three
In the present embodiment, in each ultra group of IQ passage, the synchronous head information that comprises first synchronization character is set; In each ultra group of C&M passage, the synchronous head information that comprises first synchronization character and second synchronization character is set; Promptly in C&M passage and IQ passage ultra group, structure different synchronization header is set; Synchronous head information in ultra group of the IQ passage can include only first synchronization character, can comprise first synchronization character and second synchronization character during synchronous head information of same in ultra group of the C&M passage.When specifically being provided with, can first byte in first group of each ultra group of IQ passage be deposited first synchronization character; First byte in first group of each ultra group of C&M passage is deposited first synchronization character, and second byte deposited second synchronization character.Wherein, first synchronization character can be K28.5, and second synchronization character can be K28.7, and certainly, first synchronization character and second synchronization character also can be other synchronization character.
Ultra group in the corresponding prior art then can be to keep the synchronous head information of IQ passage and the ultra group of C&M passage constant, as shown in Figs. 4a and 4b.
Afterwards, the handling process under each state of synchronous state machine is as follows:
(1) when synchronous state machine is initial condition, first synchronization character in the reception synchronization of data header is carried out continuity detect, confirm according to testing result whether synchronous state machine gets into ultra group synchronous regime.During concrete the realization, can be consistent with flow process shown in Figure 12, repeat no more here.
(2) at synchronous state machine during for ultra group synchronous regime,, institute detects second synchronization character from receiving the synchronous head information of ultra group, when detecting said second synchronization character, definite entering C&M passage; All second synchronization characters in the synchronous head information of the ultra group of C&M passage are carried out continuity detect, confirm according to testing result whether synchronous state machine gets into frame synchronization state.
During concrete the realization, in the present embodiment variable N or counter N can be set in advance, be used to represent ultra group number continuous detecting number, and the initial value that N is set is 0; Correspondingly, frame synchronization threshold value Hn is set, i.e. the maximum occurrences of N; In the present embodiment, owing to be all second synchronization characters in the synchronous head information of the ultra group of C&M passage to be carried out continuity detect, so the value of Hn can be ultra group of total number of C&M passage; For example for the classification situation of the frame shown in Fig. 2 a and Fig. 2 b, when descending, Hn can be 32; When up, Hn can be 30.Correspondingly, the ultra group number in the ultra group of synchronous head information of C&M passage is carried out continuity detects, confirm that according to testing result the detailed process whether synchronous state machine gets into frame synchronization state can comprise:
A, when from ultra group of reception data, detecting second synchronization character, the continuous detecting number N value that is set to 0 second synchronization character is added one;
B, judge whether said N value equals ultra group of total number Hn of C&M passage, if equal, execution in step d then; Otherwise, execution in step c;
C, from the ultra group of the next one of the C&M passage that received, detect second synchronization character, when detecting said second synchronization character, said N value is added one, and return execution in step b;
D, confirm that synchronous state machine gets into frame synchronization state.
Further, among the step c, when not detecting said second synchronization character,, can said N value be set to 0 if said N value is not 0.
Further, in this state, can also continue first synchronization character in the synchronous head information of the ultra group of receive to detect, confirm based on testing result whether synchronous state machine remains on ultra group synchronous regime.For example, can be in ultra group of being received continuous detecting or detect the synchronization character in the first synchronous head information at interval according to Preset Time, if detect said first synchronization character, confirm that then synchronous state machine remains on ultra group synchronous regime; Otherwise, confirm that synchronous state machine return back to initial condition.
Figure 16 shows the process chart when synchronous state machine is organized synchronous regime for surpassing in the embodiment of the invention three, and this preferable flow process comprises the steps:
In this step, for the synchronous head information deposit position shown in Fig. 4 a and Fig. 4 b, when detecting synchronization character, whether first byte that can detect this ultra first group of group is K28.5.
In this step, for the synchronous head information deposit position shown in Fig. 4 a, when detecting second synchronization character, whether second byte that can detect this ultra first group of group is K28.7.
Step 1604 judges whether said N value equals Hn, if then execution in step 1605; Otherwise, when receiving the ultra group of the next one, return execution in step 1601.
(3) when synchronous state machine is frame synchronization state,, confirm the frame head of next frame according to ultra group of number of C&M passage and IQ passage.
Comprise the situation of 200 ultra groups for a 5ms subframe described in the prior art, after synchronous state machine gets into frame synchronization state, ultra group of number of C&M passage that can be through current reception and the frame head position that the total number of ultra group is extrapolated next frame.
Further, in this state, can also continue to detect, confirm based on testing result whether synchronous state machine remains on frame synchronization state first synchronization character in the synchronous head information of the ultra group of receive and second synchronization character.Wherein, the lasting detection of being carried out can be that each ultra group is carried out continuously, also can be according to the preset time interval at interval ultra group to be carried out.
During concrete the realization, in the present embodiment variable K or counter K can be set in advance, be used to represent that ultra group of non-C&M passage detects number, and the initial value that K is set is 0; Preset ultra group total number Hk, the i.e. maximum occurrences of K of non-C&M passage correspondingly, are set.In the present embodiment; The situation that does not comprise the GP time slot for the IQ channel; The ultra group of in the GP time slot each; Also can deposit first synchronization character in first byte in first group, all ultra groups of promptly removing in the 5ms subframe ultra group of C&M channel are provided with the identical synchronous head information of structure, then this moment non-C&M passage presetly surpass that to organize total number Hk be ultra group of total number that ultra group of total number of IQ channel adds the GP time slot; Otherwise the total number Hk of preset ultra group of non-C&M passage is ultra group of total number of IQ channel.
For example, for the classification situation of the frame shown in Fig. 2 a and Fig. 2 b, be not provided with synchronous head information if the IQ channel does not comprise in GP time slot and the GP time slot, when then descending, Hk can be 168, and when up, Hk can be 170; If the IQ channel does not comprise in GP time slot and the GP time slot synchronous head information is not set, when then descending, Hk can be 165, and when up, Hk can be 167; If the IQ channel comprises the GP time slot, when then descending, Hk can be 168, and when up, Hk can be 170.
Referring to Figure 17, a process chart when Figure 17 is frame synchronization state for synchronous state machine in the embodiment of the invention three, this flow process comprises the steps:
Step 1701 detects first synchronization character in the synchronous head information in ultra group of being received, if detect said first synchronization character, then execution in step 1702; Otherwise, confirm that synchronous state machine return back to initial condition, detect next ultra group.
Step 1702 detects second synchronization character from said ultra group, if detect said second synchronization character, then execution in step 1705; Otherwise, execution in step 1703.
Step 1703 adds one with the K value.
Whether step 1704 judges said K value greater than Hk, if greater than, confirm that then synchronous state machine return back to ultra group synchronous regime, detects next ultra group; Otherwise, when receiving the ultra group of the next one, return execution in step 1701.
Step 1705 judges whether the K value is 0, if be 0, then when receiving the ultra group of the next one, returns execution in step 1701; Otherwise, execution in step 1706.
Step 1706, said K value is set to 0, when receiving the ultra group of the next one, returns execution in step 1701.
Perhaps, can set in advance a variables L or counter L in the present embodiment, be used to represent that ultra group of C&M passage detects number, and the initial value that L is set is 0; Preset ultra group total number Hl, the i.e. maximum occurrences of L of C&M passage correspondingly, are set.In the present embodiment; The situation that does not comprise the GP time slot for the IQ channel; The ultra group of in the GP time slot each also can be deposited first synchronization character in first byte in first group, and all that promptly remove in the 5ms subframe ultra group of C&M channel surpass the identical synchronous head information of structure that are provided with of organizing.For example, for the classification situation of the frame shown in Fig. 2 a and Fig. 2 b, when descending, Hl can be 32, and when up, Hl can be 30.
Referring to Figure 18, another process chart when Figure 18 is frame synchronization state for synchronous state machine in the embodiment of the invention three, this flow process comprises the steps:
Step 1801 detects first synchronization character in the synchronous head information in ultra group of being received, if detect said first synchronization character, then execution in step 1802; Otherwise, confirm that synchronous state machine return back to initial condition, detect next ultra group.
Step 1802 detects second synchronization character from said ultra group, if detect said second synchronization character, then the L value is added one, and execution in step 1803; Otherwise, be not 0 o'clock in the L value, said L value is set to 0, when receiving the ultra group of the next one, returns execution in step 1801.
1803, during greater than Hl, said L value is set to 0 in said L value, confirms that synchronous state machine return back to ultra group synchronous regime, detects next ultra group; During smaller or equal to Hl, confirm that synchronous state machine remains on frame synchronization state in said L value, when receiving next ultra group, return execution in step 1801.
In the present embodiment, if reach ultra group synchronously after, system still can continue detection to synchronization character, then the Hm value can need not to establish too greatly, preferably, can be set at: the arbitrary integer in 2 to 5.
Above-described specific embodiment; The object of the invention, technical scheme and beneficial effect have been carried out further explain, and institute it should be understood that the above is merely preferred embodiment of the present invention; Be not to be used to limit protection scope of the present invention; All within spirit of the present invention and principle, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (20)
1. the frame synchornization method in the distributed base station is characterized in that this method comprises:
Setting comprises the synchronous state machine of initial condition, ultra group synchronous regime and frame synchronization state;
In each ultra group of operation maintenance data passage, the synchronous head information that comprises first synchronization character is set, in each ultra group of user data channel, the synchronous head information that comprises first synchronization character is set;
When synchronous state machine is initial condition, first synchronization character in the reception synchronization of data header is carried out continuity detect, confirm according to testing result whether synchronous state machine gets into ultra group synchronous regime;
When synchronous state machine is organized synchronous regime for surpassing, the remaining information in the synchronous head information of the ultra group of receive is carried out continuity detect, confirm based on testing result whether synchronous state machine gets into frame synchronization state;
When synchronous state machine is frame synchronization state, confirm the frame head of next frame.
2. the method for claim 1 is characterized in that, saidly first synchronization character in the reception synchronization of data header is carried out continuity detects, and confirms according to testing result whether synchronous state machine gets into ultra group synchronous regime and comprise:
A, from the reception data, detect said first synchronization character, when detecting said first synchronization character, the synchronization character continuous detecting number M value that is set to 0 is added one;
B, judge the ultra group of synchronization threshold whether said M value equals to preset, if equal, execution in step D then; Otherwise, execution in step C;
C, the desired locations from the reception data detect said first synchronization character, when detecting said first synchronization character, said M value is added one, and return execution in step B; Said desired locations refers to the position that detects after the current synchronous head information again after the ultra group length at interval;
D, confirm that synchronous state machine gets into ultra group synchronous regime.
3. method as claimed in claim 2 is characterized in that, further comprises among the step C: when not detecting said synchronization character, said M value is set to 0, and returns execution in step A;
Perhaps, further comprise among the step C: when not detecting said synchronization character, said M value is subtracted one, and return execution in step B.
4. the method for claim 1; It is characterized in that; This method further comprises: when synchronous state machine is organized synchronous regime for surpassing; In ultra group of being received, detect first synchronization character in the synchronous head information,, confirm that then synchronous state machine remains on ultra group synchronous regime if detect said first synchronization character; Otherwise, confirm that synchronous state machine return back to initial condition.
5. the method for claim 1 is characterized in that, the synchronous head information in each ultra group of said operation maintenance data passage and user data channel further comprises: ultra group number;
Said to the remaining information in the synchronous head information of the ultra group of receive carry out continuity detect by: the ultra group number in the ultra synchronous head information of organizing of institute's receptions is carried out the continuity detection;
Said when synchronous state machine is frame synchronization state, confirm that the frame head of next frame is: when synchronous state machine is frame synchronization state,, confirm the frame head of next frame according to the ultra group number in the synchronous head information of the ultra group of receive.
6. method as claimed in claim 5; It is characterized in that; Said in each ultra group of operation maintenance data passage, the setting comprises that the synchronous head information of first synchronization character comprises: first byte in first group of each ultra group of operation maintenance data passage is deposited first synchronization character, and second byte deposited ultra group number;
Said in each ultra group of user data channel, the setting comprises that the synchronous head information of first synchronization character comprises: first byte in first group of each ultra group of user data channel is deposited first synchronization character, and second byte deposited ultra group number.
7. method as claimed in claim 6 is characterized in that, this method further comprises: first byte in first group of protection interval each ultra group of time slot is deposited first synchronization character, and second byte deposited ultra group number.
8. method as claimed in claim 5 is characterized in that, saidly ultra group number in the synchronous head information of the ultra group of received is carried out continuity detects, and confirms according to testing result whether synchronous state machine gets into frame synchronization state and comprise:
A, from received ultra group, obtain ultra group number, write down said ultra group number, and will be set to 0 ultra group number continuous detecting number N value and add one;
B, judge the frame synchronization threshold value whether said N value equals to preset, if equal, execution in step d then; Otherwise, execution in step c;
C, from the ultra group of the next one that received, obtain ultra group number,, write down said ultra group number, and said N value is added one, afterwards, return execution in step b at said ultra group number and the ultra group number consecutive hours that last time obtained;
D, confirm that synchronous state machine gets into frame synchronization state.
9. method as claimed in claim 5; It is characterized in that; This method further comprises: when synchronous state machine is frame synchronization state; First synchronization character in the synchronous head information of the ultra group of receive and ultra group number are continued to detect, confirm according to testing result whether synchronous state machine remains on frame synchronization state.
10. method as claimed in claim 9 is characterized in that, said first synchronization character in the synchronous head information of the ultra group of received and ultra group number is continued detection, confirms according to testing result whether synchronous state machine remains on frame synchronization state and comprise:
1) first synchronization character in the detection synchronous head information in ultra group of being received if do not detect said first synchronization character, confirms that then synchronous state machine return back to initial condition; Otherwise, execution in step 2);
2) from said ultra group, obtain ultra group number,, confirm that then synchronous state machine remains on frame synchronization state, when receiving the ultra group of the next one, return execution in step 1) if said ultra group number is continuous with the ultra group number of last time obtaining; Otherwise, confirm that synchronous state machine return back to ultra group synchronous regime.
11. the method for claim 1 is characterized in that, the synchronous head information in each ultra group of said operation maintenance data passage further comprises: second synchronization character and ultra group number;
Saidly remaining information in the synchronous head information of the ultra group of receive is carried out continuity detect and comprise:, institute detects second synchronization character from receiving the synchronous head information of ultra group, when detecting said second synchronization character, definite entering operation maintenance data passage; Ultra group number in the ultra group of synchronous head information of operation maintenance data passage is carried out continuity detect, confirm according to testing result whether synchronous state machine gets into frame synchronization state;
Said when synchronous state machine is frame synchronization state, confirm that the frame head of next frame is: when synchronous state machine is frame synchronization state,, confirm the frame head of next frame according to the ultra group number in the ultra group of synchronous head information of said operation maintenance data passage.
12. method as claimed in claim 11; It is characterized in that said in each ultra group of user data channel, the setting comprises that the synchronous head information of first synchronization character comprises: first byte in first group of each ultra group of user data channel is deposited first synchronization character;
Said in each ultra group of operation maintenance data passage, the setting comprises that the synchronous head information of first synchronization character comprises: first byte in first group of each ultra group of operation maintenance data passage is deposited first synchronization character; Second byte deposited second synchronization character, and the 3rd byte deposited ultra group number.
13. method as claimed in claim 11 is characterized in that, the said ultra group number that the operation maintenance data passage is surpassed in the synchronous head information of organizing is carried out continuity and is detected, and confirms according to testing result whether synchronous state machine gets into frame synchronization state and comprise:
A, from ultra group of the operation maintenance data passage that received, obtain ultra group number, write down said ultra group number, and will be set to 0 ultra group number continuous detecting number N value and add one;
B, judge the frame synchronization threshold value whether said N value equals to preset, if equal, execution in step d then; Otherwise, execution in step c;
C, from the ultra group of the next one of the operation maintenance data passage that received, obtain ultra group number,, write down said ultra group number, and said N value is added one, afterwards, return execution in step b at said ultra group number and the ultra group number consecutive hours that last time obtained;
D, confirm that synchronous state machine gets into frame synchronization state.
14. method as claimed in claim 11 is characterized in that, when synchronous state machine was frame synchronization state, this method further comprised:
1) first synchronization character in the detection synchronous head information in ultra group of being received if do not detect said first synchronization character, confirms that then synchronous state machine return back to initial condition; If detect said first synchronization character, then execution in step 2);
2) from said ultra group, detect second synchronization character, if detect said second synchronization character, then ultra group of detection number K value at preset not operation service data passage is not 0 o'clock, and said K value is set to 0, and execution in step 4); Otherwise, ultra group of detection number K value of preset not operation service data passage added one, and execution in step 3);
3) whether judge said K value greater than the total number of the ultra group of presetting of not operation service data passage, if greater than, confirm that then synchronous state machine return back to the ultra synchronous regime of organizing; Otherwise, when receiving the ultra group of the next one, return execution in step 1);
4) from said ultra group, obtain ultra group number,, confirm that then synchronous state machine remains on frame synchronization state, when receiving the ultra group of the next one, return execution in step 1) if said ultra group number is continuous with the ultra group number of last time obtaining; Otherwise, confirm that synchronous state machine return back to ultra group synchronous regime.
15. method as claimed in claim 11 is characterized in that, when synchronous state machine was frame synchronization state, this method further comprised:
1) first synchronization character in the detection synchronous head information in ultra group of being received if do not detect said first synchronization character, confirms that then synchronous state machine return back to initial condition; If detect said first synchronization character, then execution in step 2);
2) from said ultra group, detect second synchronization character, if detect said second synchronization character, then ultra group of detection number L value with predetermined operations service data passage adds one, and execution in step 3); Otherwise, be not 0 o'clock in ultra group of detection number L value of predetermined operations service data passage, said L value is set to 0, and execution in step 4);
3) in said L value during greater than ultra group of total number of operation maintenance data passage, said L value is set to 0, confirms that synchronous state machine return back to ultra group synchronous regime; During smaller or equal to ultra group of total number of operation maintenance data passage, confirm that synchronous state machine remains on frame synchronization state in said L value, when receiving next ultra group, return execution in step 1);
4) from said ultra group, obtain ultra group number,, confirm that then synchronous state machine remains on frame synchronization state, when receiving the ultra group of the next one, return execution in step 1) if said ultra group number is continuous with the ultra group number of last time obtaining; Otherwise, confirm that synchronous state machine return back to ultra group synchronous regime.
16. the method for claim 1 is characterized in that, the synchronous head information in each ultra group of said operation maintenance data passage further comprises: second synchronization character;
Saidly remaining information in the synchronous head information of the ultra group of receive is carried out continuity detect and comprise:, institute detects second synchronization character from receiving the synchronous head information of ultra group, when detecting said second synchronization character, definite entering operation maintenance data passage; All second synchronization characters in the synchronous head information of the ultra group of operation maintenance data passage are carried out continuity detect, confirm according to testing result whether synchronous state machine gets into frame synchronization state;
Said when synchronous state machine is frame synchronization state, confirm that the frame head of next frame is: when synchronous state machine is frame synchronization state,, confirm the frame head of next frame according to ultra group of number of operation maintenance data passage and user data channel.
17. method as claimed in claim 16; It is characterized in that said in each ultra group of user data channel, the setting comprises that the synchronous head information of first synchronization character comprises: first byte in first group of each ultra group of user data channel is deposited first synchronization character;
Said in each ultra group of operation maintenance data passage, the setting comprises that the synchronous head information of first synchronization character comprises: first byte in first group of each ultra group of operation maintenance data passage is deposited first synchronization character, and second byte deposited second synchronization character.
18. method as claimed in claim 17 is characterized in that, said all second synchronization characters that the operation maintenance data passage surpassed in the synchronous head information of organizing carry out continuity and detect, and confirm according to testing result whether synchronous state machine gets into frame synchronization state and comprise:
A, when from ultra group of reception data, detecting second synchronization character, the continuous detecting number N value that is set to 0 second synchronization character is added one;
B, judge whether said N value equals ultra group of total number of operation maintenance data passage, if equal, execution in step d then; Otherwise, execution in step c;
C, from the ultra group of the next one of the operation maintenance data passage that received, detect second synchronization character, when detecting said second synchronization character, said N value is added one, and return execution in step b;
D, confirm that synchronous state machine gets into frame synchronization state.
19. method as claimed in claim 16 is characterized in that, when synchronous state machine was frame synchronization state, this method further comprised:
1) first synchronization character in the detection synchronous head information in ultra group of being received if do not detect said first synchronization character, confirms that then synchronous state machine return back to initial condition; If detect said first synchronization character, then execution in step 2);
2) detection second synchronization character from said ultra group, if detect said second synchronization character, then ultra group of detection number K value at preset not operation service data passage is not 0 o'clock, said K value is set to 0, when receiving the ultra group of the next one, returns execution in step 1); Otherwise, ultra group of detection number K value of preset not operation service data passage added one, and execution in step 3);
3) whether judge said K value greater than the total number of the ultra group of presetting of not operation service data passage, if greater than, confirm that then synchronous state machine return back to the ultra synchronous regime of organizing; Otherwise, when receiving the ultra group of the next one, return execution in step 1).
20. method as claimed in claim 16 is characterized in that, when synchronous state machine was frame synchronization state, this method further comprised:
1) first synchronization character in the detection synchronous head information in ultra group of being received if do not detect said first synchronization character, confirms that then synchronous state machine return back to initial condition; If detect said first synchronization character, then execution in step 2);
2) from said ultra group, detect second synchronization character, if detect said second synchronization character, then ultra group of detection number L value with predetermined operations service data passage adds one, and execution in step 3); Otherwise, be not 0 o'clock in ultra group of detection number L value of predetermined operations service data passage, said L value is set to 0, when receiving the ultra group of the next one, returns execution in step 1);
3) in said L value during greater than ultra group of total number of operation maintenance data passage, said L value is set to 0, confirms that synchronous state machine return back to ultra group synchronous regime; During smaller or equal to ultra group of total number of operation maintenance data passage, confirm that synchronous state machine remains on frame synchronization state in said L value, when receiving next ultra group, return execution in step 1).
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2007103085247A CN101471725B (en) | 2007-12-29 | 2007-12-29 | Method for frame synchronization of distributed base station |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2007103085247A CN101471725B (en) | 2007-12-29 | 2007-12-29 | Method for frame synchronization of distributed base station |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101471725A CN101471725A (en) | 2009-07-01 |
CN101471725B true CN101471725B (en) | 2012-11-21 |
Family
ID=40828877
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2007103085247A Expired - Fee Related CN101471725B (en) | 2007-12-29 | 2007-12-29 | Method for frame synchronization of distributed base station |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101471725B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106656410B (en) * | 2015-11-04 | 2020-12-22 | 中兴通讯股份有限公司 | Method and device for sending data frame and baseband board |
CN106301651A (en) * | 2016-08-09 | 2017-01-04 | 邦彦技术股份有限公司 | Data transmission method and device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2000062437A1 (en) * | 1999-04-12 | 2000-10-19 | Qualcomm Incorporated | Method and system for detecting in-band jammers in a spread spectrum wireless base station |
CN1391414A (en) * | 2001-06-11 | 2003-01-15 | 深圳市中兴通讯股份有限公司上海第二研究所 | Space channel selection method and device for base station system and distributed personal hand-held communication system |
CN101032114A (en) * | 2004-09-30 | 2007-09-05 | 株式会社建伍 | Mobile wireless communication apparatus, wireless communication apparatus and communication processing method |
-
2007
- 2007-12-29 CN CN2007103085247A patent/CN101471725B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2000062437A1 (en) * | 1999-04-12 | 2000-10-19 | Qualcomm Incorporated | Method and system for detecting in-band jammers in a spread spectrum wireless base station |
CN1391414A (en) * | 2001-06-11 | 2003-01-15 | 深圳市中兴通讯股份有限公司上海第二研究所 | Space channel selection method and device for base station system and distributed personal hand-held communication system |
CN101032114A (en) * | 2004-09-30 | 2007-09-05 | 株式会社建伍 | Mobile wireless communication apparatus, wireless communication apparatus and communication processing method |
Also Published As
Publication number | Publication date |
---|---|
CN101471725A (en) | 2009-07-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN1710834A (en) | Method for transmitting tdd frames with increased data payload | |
CN101159483B (en) | TDD system signal transmission method and the adoptive frame structure thereof | |
CN100589360C (en) | Method and system for processing reference mark in OFDM system | |
CN100502282C (en) | Transmission method of synchronization signal of time-division duplex system | |
CN100568768C (en) | Minimize method and apparatus with signaling code and time slot allocation desired data amount | |
CN102111258A (en) | Clock synchronization method, equipment and system | |
CN101626269A (en) | Downlink synchronous emission control method and system | |
CN101400157B (en) | Communication method and apparatus | |
WO2015190876A1 (en) | Method and apparatus for indicating on/off-state of past subframes in wireless communication system | |
CN102300217A (en) | Cellular communication system and method for coexistence of dissimilar systems | |
CN101689919A (en) | Method for implementing digital mobile radio private network communication, digital mobile radio private network communication terminal, relay station and system | |
CN102783077A (en) | Apparatus and method for scheduling in carrier aggregated communication systems based on a transmit-receive-frequency gap band | |
CN101882942B (en) | Sounding reference signal (SRS) sending/receiving method, mobile communication terminal and base station | |
CN101471725B (en) | Method for frame synchronization of distributed base station | |
CN103516453B (en) | Multi-slot frame structure adopting time division multiple access mode and application thereof | |
CN102547967B (en) | Method, system and user device to realize synchronization through time division duplex long-term evolution system | |
CN102271403A (en) | Multi-channel multiplexing method of super-high-speed wireless personal area network | |
CN105281821A (en) | Satellite channel intelligent switching method and system | |
CN104661299A (en) | Synchronization method and system for TDD (Time Division Duplexing) system | |
CN101159485B (en) | TDD system signal transmission method and frame structure | |
KR101111156B1 (en) | Data interation method, device and system in a base radio station | |
CN101114874B (en) | Synchronous signal transmitting method of TDD system | |
CN101159484B (en) | TDD system signal transmitting method and frame structure | |
CN106230538A (en) | A kind of single carrier point-to-point time-division two-way wireless communication method | |
KR20100109836A (en) | Method and apparatus of transmitting reference signal in wireless communication system |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20121121 Termination date: 20161229 |
|
CF01 | Termination of patent right due to non-payment of annual fee |