Embodiment
To combine the accompanying drawing in the embodiment of the invention below, the technical scheme in the embodiment of the invention is carried out clear, intactly description, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills are not making the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
MS could lock the FCCH frame in the prior art after need on 11 continuous IDLE frames, carrying out convolution under the service condition in order to solve, the long problem of time of locking FCCH frame, and the embodiment of the invention provides a kind of searching method and device of base station identity code.
At present, base station and MS carry out under the structure of multi-frame synchronously and communicate by letter, and be as shown in Figure 1; The signal emission is carried out in the base station under 51 multi-frame structures, among the figure, F is channel correction channel (FrequencyCorrection CHannel; FCCH) frame, S are synchronizing channel (Synchronisation CHannel, SCH) frame; B be broadcast channel (Broadcast CHannel, BCCH) frame, C are control channel (ControlChannel; CCH) frame, I are idle (IDLE) frame, and the time that each frame takies is 4.615ms.The operating state of MS is divided into three kinds of situation, is respectively GSM/GPRS idle condition, GSM voice status and GPRS number and passes service condition, and in these three kinds of states, all frames are idle IDLE frame in the multi-frame structure of GSM/GPRS idle condition; As shown in Figure 2, the multi-frame structure of GSM voice status is 52 multi-frames, and among the figure, T is that (Traffic CHannel, FCCH) frame, S are that (Slow AssociatedControl Channel, SACCH) frame, I are idle (IDLE) frame to slow associated control channel to Traffic Channel; Shown in Figure 3, the multi-frame structure that the GPRS number passes service condition is 52 multi-frames, among the figure; P be Packet data service (Packet Data TrafficCHannel, PDTCH), T is grouping timing controlled channel (Packet Timing advance ControlCHannel; PTCCH), I is idle IDLE state.In following examples, can use above-mentioned multi-frame structure.
As shown in Figure 4, the searching method of the base station identity code that the embodiment of the invention provides comprises:
Step 101 is obtained the signal that receives on the idle IDLE frame.
In order to make those skilled in the art better understand technical scheme of the present invention, analyze at the signal that how on the IDLE frame, to obtain base station under the GSM/GPRS idle condition, under the GSM voice status and under the GPRS number biography service condition in the face of MS down.
As shown in Figure 5, under the GSM/GPRS idle condition, all frames of MS all are the IDLE frames, and the IDLE frame obtains the signal of base station, can get access to 51 multi-frame structures according to the transmit clock of base station.Can know that by Fig. 5 in the signal that obtains for continuous 11 times, a signal must be arranged is that launch the base station on the FCCH frame.
Like Fig. 6 and shown in Figure 7, passing under the service condition with the GPRS number under the GSM voice status, MS just has an IDLE frame in per 26 frames, and it is that launch on the FCCH frame base station that a signal must be arranged in the signal that on 11 continuous IDLE frames, obtains.
What be worth explanation is that the IDLE frame in the said step 101 is the IDLE frame in the MS operating state.
Step 102 is obtained the convolution energy of signal that receives on the said IDLE frame and the sequence that is provided with in advance.
In said step 102; Said preset sequence is that the degree of correlation with the signal of on the FCCH frame, launching is 1 sequence, have only the signal that receives on the said IDLE frame to be the signal of on the FCCH frame, launching by the base station in, the degree of correlation of the signal of this reception and the said sequence that is provided with in advance is 1; The convolution energy just can be maximum; As, in the GSM/GPRS agreement, defined said preset sequence, said convolution energy be exactly in the said signal each symbol and said sequence do after relevant with.
Step 103 is if the convolution energy of the signal that receives on the said IDLE frame and the sequence that is provided with in advance confirms that greater than first threshold value that is provided with in advance the signal that receives on the said IDLE frame is the signal that send the base station on channel correction channel FCCH frame.
Step 104 is obtained the signal that send said base station according to the base station that receives on the said IDLE frame at the signal that sends on the FCCH frame on the synchronous channel SCH frame, the signal that the synchronous channel SCH frame sends, obtain base station identity code BSIC from this base station.
The searching method of the base station identity code that the embodiment of the invention provides; Can judge according to said convolution energy and preset threshold value whether said signal is the signal that send the base station on channel correction channel FCCH frame; Make MS carry out just judging whether this signal is the signal that send the base station after the convolution on channel correction channel FCCH frame to the signal that obtains at every turn; Could not lock the FCCH frame after need on 11 continuous IDLE frames, not carrying out convolution; Reduced the time of locking FCCH frame; Solved that MS could lock the FCCH frame after need on 11 continuous IDLE frames, carrying out convolution in the prior art, the time of locking FCCH frame is longer, thereby causes MS to obtain the problem of the overlong time of BSIC.
In order to make those skilled in the art can more be expressly understood the technical scheme that the embodiment of the invention provides, the searching method of the base station identity code that the embodiment of the invention is provided through concrete embodiment below is elaborated.
As shown in Figure 8, the searching method of the base station identity code that further embodiment of this invention provides comprises:
Step 201 is obtained the signal that receives on the idle IDLE frame.Said step 201 is basic identical with above-mentioned steps 101, repeats no more here.
Step 202 is obtained the convolution energy of signal that receives on the said IDLE frame and the sequence that is provided with in advance.Said step 202 is basic identical with above-mentioned steps 102, repeats no more here.
Step 203 is carried out normalization to said convolution energy and is handled.
In the present embodiment, as shown in Figure 9, said step 203 comprises:
Step 2031 is carried out the calculating of signal energy to the signal that obtains, and said signal energy is exactly the quadratic sum of each symbol in the signal.
Step 2032 is confirmed the ratio between said convolution energy and the said signal energy.
In said step 2032; The influence of the sequence number that said signal energy is not preset, and the size of convolution energy is directly relevant with the sequence number of presetting, under the perfect condition; When said signal is that the base station is when launching on the FCCH frame; The convolution energy of the signal that receives on the IDLE frame equals the signal energy of this signal, otherwise the convolution energy of the signal that receives on the IDLE frame is much smaller than the signal energy of this signal; With doing ratio between said convolution energy and the said signal energy, realized that the normalization of convolution energy is handled.
Certainly, how said convolution energy is carried out the normalization processing and be not limited in said method, repeat no more here.
Step 204; If the signal that receives on the said IDLE frame is handled the back greater than first threshold value that is provided with in advance with the convolution energy normalized of the sequence that is provided with in advance, confirm that the signal that receives on the said IDLE frame is the signal that send the base station on channel correction channel FCCH frame.
In ecotopia, after said convolution energy and said signal energy are done ratio, if ratio is 1 in theory; Explain that said signal is the signal that send the base station on the FCCH frame; If odds ratio is less,, explain that said signal is not the signal that send the base station on the FCCH frame near 0.In the actual environment, because the noise jamming of wireless environment, and the size that receives the relative interference noise of signal, according to actual test case, it is Δ 1 that first threshold value is set, said Δ 1 is slightly less than 1, can be set to 0.95.If said convolution energy normalized is handled the back greater than Δ 1, said signal is the signal that send on the FCCH frame base station.
Step 205 is obtained the signal that send said base station according to the base station that receives on the said IDLE frame at the signal that sends on the FCCH frame on the synchronous channel SCH frame, the signal that the synchronous channel SCH frame sends, obtain base station identity code BSIC from this base station.
The searching method of the base station identity code that the embodiment of the invention provides; Can judge according to said convolution energy and preset threshold value whether said signal is the signal that send the base station on channel correction channel FCCH frame; Make MS carry out just judging whether this signal is the signal that send the base station after the convolution on channel correction channel FCCH frame to the signal that obtains at every turn; Could not lock the FCCH frame after need on 11 continuous IDLE frames, not carrying out convolution; Reduced the time of locking FCCH frame; Solved that MS could lock the FCCH frame after need on 11 continuous IDLE frames, carrying out convolution in the prior art, the time of locking FCCH frame is longer, thereby causes MS to obtain the problem of the overlong time of BSIC.
Shown in figure 10, the searching method of the base station identity code that yet another embodiment of the invention provides comprises:
Step 301 is obtained the signal that receives on the idle IDLE frame.
Step 302 is obtained the convolution energy of signal that receives on the said IDLE frame and the sequence that is provided with in advance.
Step 303 is if the convolution energy of the signal that receives on the said IDLE frame and the sequence that is provided with in advance confirms that greater than first threshold value that is provided with in advance the signal that receives on the said IDLE frame is the signal that send the base station on channel correction channel FCCH frame.
Step 304 is obtained the signal that send said base station according to the base station that receives on the said IDLE frame at the signal that sends on the FCCH frame on the synchronous channel SCH frame, the signal that the synchronous channel SCH frame sends, obtain base station identity code BSIC from this base station.
In the present embodiment, said step 301-step 304 is basic identical with above-mentioned steps 101-step 104, repeats no more here.
For fear of because interference ratio causes more greatly all not finding the convolution energy greater than threshold value at continuous 11 frames, make the situation of locking FCCH frame failure take place, also comprise:
Step 305 is if said convolution energy is updated to said convolution energy greater than preset convolution energy threshold with said convolution energy threshold.
In step 305, the default value of said preset convolution energy threshold is 0.
Step 306 saves as pseudo-SCH signal with the signal that receives on second IDLE frame after the said IDLE frame.
Step 307; If the number of times that obtains the signal that receives on the said IDLE frame and the convolution energy of the sequence that is provided with in advance is in the number of times that is provided with in advance; The convolution energy of the signal that receives on the said IDLE frame and the sequence that is provided with in advance is all less than first threshold value that is provided with in advance; Obtain pseudo-SCH signal, in the SCH signal, obtain BSIC.
In the present embodiment, the said number of times that is provided with in advance is more than or equal to 11 times, and is preferred, and when the said number of times that is provided with in advance equaled 11 times, the search time of BSIC was the shortest.Owing in the signal that obtains at continuous 11 times a signal being arranged is that launch on the FCCH frame base station, and after 11 continuous execution in step 305, the signal that said convolution energy threshold is corresponding must be the signal that launch on the FCCH frame base station.The said pseudo-SCH signal of then preserving promptly is the signal of on the SCH frame, launching.
What be worth explanation is when per 26 frames of MS just have an IDLE frame, to need the 2*26 multi-frame just can get access to the signal that launch the base station on the next frame corresponding to this FCCH frame.
After continuous 11 judgements; If on preceding 9 IDLE frames, locked the FCCH frame; Can immediately the SCH frame head data decoding of preserving be solved BSIC; If locking FCCH frame on the 10th or the 11st IDLE frame, then decoding SCH solves BSIC on the 12nd or the 13rd IDLE frame, on average needs the 5*26 multi-frame SCH that could decode before comparing; Handling average search speed like this can be reduced in the 12*26 multi-frame (1.43 seconds).
Further, accelerate the BSIC search speed under the service condition in order to pass at the GPRS number, shown in figure 11, the searching method of the BSIC that yet another embodiment of the invention provides also comprises:
Step 308, when the GPRS number passes service condition, the signal that send on the FCCH frame the said base station of search on the grouping timing controlled channel PTCCH of free time frame.
In the present embodiment, shown in figure 12, said step 308 comprises:
Step 3081 is obtained the signal that receives on the idle PTCCH frame.
Step 3082 is obtained the convolution energy of signal that receives on the said PTCCH frame and the sequence that is provided with in advance.
Step 3083 is if the convolution energy of the signal that receives on the said PTCCH frame and the sequence that is provided with in advance confirms that greater than second threshold value that is provided with in advance the signal that receives on the said PTCCH frame is the signal that send the base station on channel correction channel FCCH frame.
In said step 3083,, pass under the service condition at the GPRS number in order further to accelerate the search progress; Can a ratio be set on the PTCCH frame in the little threshold value of value conduct on the PTCCH frame of threshold value preset on the IDLE frame; Be said second threshold value less than said first threshold value, be Δ 1 as threshold value is set on the IDLE frame, it is Δ 2 that threshold value is set on the PTCCH frame; Δ 2<Δ 1, Δ 2 can be set to 0.85.
What be worth explanation is, realizes that the concrete grammar of said step 301 is not limited in said method, does not give unnecessary details one by one here.
Step 309 is obtained the signal that send said base station according to the last base station that receives of the PTCCH of said free time at the signal that sends on the FCCH frame on the SCH frame, the signal that the synchronous channel SCH frame sends, obtain BSIC from this base station.
In order to make those skilled in the art better understand the present technique scheme, the concrete reason that is presented in the signal that send the said base station of search on the idle PTCCH frame on the FCCH frame.
Under the GPRS number passed service condition, as shown in Figure 3, the PTCCH frame among the figure was to be used for that decoding PTCCH channel obtains the TA value that network real-time issues on the PTCCH channel.The decoding of TA is in the 8*52 multi-frame, to receive 4 continuous PTCCH channels, forms a complete PTCCH BLOCK, general execution interferometry task on other 12 idle PTCCH frames in the 8*52 multi-frame.Present agreement is not strict to the requirement of interferometry; The interferometry task belongs to a more less important task; So when the BSIC search mission exists, can the PTCCH frame that be used for interferometry be used for the locking of FCCH frame, accelerate the search speed of BSIC.
What be worth explanation is that in order not influence the action on the IDLE frame, search BSIC is independent of the BSIC search on the IDLE frame as independent search process on the PTCCH frame.When a search process correctly was decoded to BSIC, whole BSIC search mission finished, for the locking flow of better control FCCH frame, and the searching method of said BSIC, shown in figure 13, also comprise:
Step 310; If the PTCCH according to the said free time upward obtains the signal that send said base station at the signal that sends on the FCCH frame in the base station of reception on the SCH frame; The signal that the synchronous channel SCH frame sends, obtain the BSIC success from this base station, stop at the signal that search base station sends on the IDLE frame on the FCCH frame.
In the present embodiment; Because it is discontinuous can being used for the PTCCH frame of BSIC search; And must dodge the reception of PTCCH channel; Therefore the failure of PTCCH channel locks FCCH frame can not be as the sign of whole task locking FCCH frame end, and the last BSIC search of PTCCH can only can be accelerated the search speed of BSIC as auxiliary search approach.
In the present embodiment; Pass under the professional situation about existing at the GPRS number, the parallel signal that obtains base station on PTCCH frame and IDLE frame, and on the IDLE frame He on the PTCCH frame different threshold value is being set; Like Δ 1 and Δ 2; Make BSIC search speed up to average time be about 0.9 second, with original average 1.9 seconds, the income of optimization method was considerable relatively.
The searching method of the base station identity code that the embodiment of the invention provides; Can judge according to said convolution energy and preset threshold value whether said signal is the signal that send the base station on channel correction channel FCCH frame; Make MS carry out just judging whether this signal is the signal that send the base station after the convolution on channel correction channel FCCH frame to the signal that obtains at every turn; Could not lock the FCCH frame after need on 11 continuous IDLE frames, not carrying out convolution; Reduced the time of locking FCCH frame; Solved that MS could lock the FCCH frame after need on 11 continuous IDLE frames, carrying out convolution in the prior art, the time of locking FCCH frame is longer, thereby causes MS to obtain the problem of the overlong time of BSIC.
Shown in figure 14, the searcher of the base station identity code that the embodiment of the invention provides comprises:
First acquiring unit 401 is used to obtain the signal that receives on the idle IDLE frame; Concrete implementation method can be said referring to step 101 as shown in Figure 4, repeats no more here.
Second acquisition unit 402 is used to obtain the convolution energy of signal that receives and the sequence that is provided with in advance on the IDLE frame that said first acquiring unit obtains; Concrete implementation method can be said referring to step 102 as shown in Figure 4, repeats no more here.
Confirm unit 403; The convolution energy of the signal that is used on the IDLE frame that said second acquisition unit obtains, receiving and the sequence that is provided with in advance confirms that the signal that receives on the said IDLE frame is the signal that send the base station during greater than first threshold value that is provided with in advance on channel correction channel FCCH frame; Concrete implementation method can be said referring to step 103 as shown in Figure 4, repeats no more here.
First performance element 404; The base station that receives on the IDLE frame that is used for confirming according to said definite unit obtains the signal that send said base station at the signal that sends on the FCCH frame on the synchronous channel SCH frame, the signal that the synchronous channel SCH frame sends, obtain base station identity code BSIC from this base station.Concrete implementation method can be said referring to step 104 as shown in Figure 4, repeats no more here.
Further, shown in figure 15, the searcher of said BSIC also comprises:
Processing unit 405 is used for that said second acquisition unit is obtained the convolution energy and carries out the normalization processing.Concrete implementation method can be said referring to step 203 as shown in Figure 9, repeats no more here.
Then said definite unit 403 comprises:
First confirms subelement 4031; The convolution energy of the signal that is used on the IDLE frame that said second acquisition unit obtains, receiving and the sequence that is provided with in advance advanced processing unit normalization when handling the back greater than first threshold value that is provided with in advance, confirmed that the signal that receives on the said IDLE frame is the signal that send on channel correction channel FCCH frame the base station.Concrete implementation method can be said referring to step 204 as shown in Figure 9, repeats no more here.
Further, for fear of because interference ratio causes more greatly all not finding the convolution energy greater than threshold value at continuous 11 frames, make the situation of locking FCCH frame failure take place, shown in figure 16, the searcher of said BSIC also comprises:
Updating block 406, the convolution energy that is used for obtaining at said acquiring unit are updated to said convolution energy with said convolution energy threshold during greater than preset convolution energy threshold; Concrete implementation method can be said referring to step 305 shown in figure 10, repeats no more here.
Preserve unit 407, be used for the signal that receives on second IDLE frame after the said IDLE frame is saved as pseudo-SCH signal.Concrete implementation method can be said referring to step 306 shown in figure 10, repeats no more here.
The 3rd acquiring unit 408; The number of times that is used for obtaining the signal that receives on the said IDLE frame and the convolution energy of the sequence that is provided with in advance at second acquisition unit is in the number of times that is provided with in advance; The convolution energy of the signal that receives on the said IDLE frame and the sequence that is provided with in advance is during all less than first threshold value that is provided with in advance; Obtain pseudo-SCH signal, in the SCH signal, obtain BSIC.Concrete implementation method can be said referring to step 307 shown in figure 10, repeats no more here.
Further, accelerate the BSIC search speed under the service condition in order to pass at the GPRS number, the searcher of said BSIC, shown in figure 17, also comprise:
Search unit 409 when the GPRS number passes service condition, is used for the signal that send the said base station of search on the grouping timing controlled channel PTCCH of free time frame on the FCCH frame; Concrete implementation method can be said referring to step 308 shown in figure 11, repeats no more here.
In the present embodiment, shown in figure 18, said search unit comprises:
First obtains subelement 4091, is used to obtain the signal that receives on the idle PTCCH frame; Concrete implementation method can be said referring to step 3081 shown in figure 12, repeats no more here.
Second obtains subelement 4092, is used to obtain the convolution energy of signal that receives and the sequence that is provided with in advance on the PTCCH frame that said acquiring unit obtains; Concrete implementation method can be said referring to step 3082 shown in figure 12, repeats no more here.
Second confirms subelement 4093; Said second obtain signal that receives on the PTCCH frame that subelement obtains and the sequence that is provided with in advance convolution energy during greater than second threshold value that is provided with in advance, confirm that the signal that receives on the said PTCCH frame is the signal that send the base station on channel correction channel FCCH frame.Concrete implementation method can be said referring to step 3083 shown in figure 12, repeats no more here.
Second performance element 410; Be used for going up the base station that receives and obtain the signal that send said base station on the SCH frame, the signal that the synchronous channel SCH frame sends, obtain BSIC from this base station at the signal that sends on the FCCH frame according to the idle PTCCH of said search unit searches.Concrete implementation method can be said referring to step 309 shown in figure 11, repeats no more here.
For the locking flow of better control FCCH frame, the searcher of said BSIC, shown in figure 19, also comprise:
Control unit 411; Obtain the signal that send said base station in the base station that receives on the PTCCH according to the said free time at the signal that sends on the FCCH frame on the SCH frame; When the signal that the synchronous channel SCH frame sends, obtaining the BSIC success from this base station, stop at the signal that search base station sends on the IDLE frame on the FCCH frame.Concrete implementation method can be said referring to step 310 shown in figure 13, repeats no more here.
The searcher of the base station identity code that the embodiment of the invention provides; Can judge according to said convolution energy and preset threshold value whether said signal is the signal that send the base station on channel correction channel FCCH frame; Make MS carry out just judging whether this signal is the signal that send the base station after the convolution on channel correction channel FCCH frame to the signal that obtains at every turn; Could not lock the FCCH frame after need on 11 continuous IDLE frames, not carrying out convolution; Reduced the time of locking FCCH frame; Solved that MS could lock the FCCH frame after need on 11 continuous IDLE frames, carrying out convolution in the prior art, the time of locking FCCH frame is longer, thereby causes MS to obtain the problem of the overlong time of BSIC.
The searching method of the base station identity code that the embodiment of the invention provides and device can be applied to the quick foundation of adjacent sub-district.
One of ordinary skill in the art will appreciate that all or part of step that realizes in the foregoing description method is to instruct relevant hardware to accomplish through program; Described program can be stored in the computer-readable recording medium, like ROM/RAM, magnetic disc or CD etc.
The above; Be merely embodiment of the present invention, but protection scope of the present invention is not limited thereto, any technical staff who is familiar with the present technique field is in the technical scope that the present invention discloses; Can expect easily changing or replacement, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of said claim.