Summary of the invention
The purpose of the present invention is to solve drawbacks described above in the prior art, provide a kind of wideband code division multiple access WCDMA
RRC (the Radio of UE (USER) in (Wideband Code Division Multiple Access) direction-finding system
Resource Control) state be DCH (Dedicated Channel) state when uplink synchronisation method.
The purpose of the present invention can be reached by adopting the following technical scheme that:
A kind of uplink synchronisation method when the RRC state of UE is DCH state in WCDMA direction-finding system, the uplink synchronous
Method includes:
S1, the main synchronization of downlink, auxiliary synchronization, cell scrambling identification, solution system message;
S2, common down channel is solved on SCCPCH, used by the RRC CONNECTION SETUP signaling identification solved
Family;
S3, uplink synchronous is carried out according to the parameter in signaling, in synchronizing process, first carries out Frequency Synchronization according to configuration,
Then Domain Synchronous is carried out again, wherein the Domain Synchronous is again synchronous at once and non-same at once according to activating the state of collection to be divided into
Step;After the starting point for calculating search window according to configuration information, cunning is done with the sequence received with the local sequence of composition
Dynamic relevant calculation is to estimate the signal-to-noise ratio of peak point, if signal-to-noise ratio is greater than threshold value, then it is assumed that this value is effective and reports reception
The energy arrived.
Further, detailed process is as follows for solution system message in the step S1:
SIB5 obtains corresponding system parameter in read system message, and the SIB5 message includes the object of downlink solution SCCPCH
Manage layer parameter configuration.
Further, the step S2 specifically includes substep:
S201, the information that common signal channel is extracted by physical layer solution SCCPCH, MAC layer decaptitating, rlc layer group packet, ASN.1 are solved
Code, obtains RRC CONNECTION SETUP signaling;
S202, the parameter for collecting the RRC CONNECTION SETUP signaling, parameter includes: the scrambling code class of uplink
Type, scrambling code number, time slot format, upper line displacement DOFF, activationary time, RRC state, UE mark;
The UE that S203, judgement compare the RRC CONNECTION SETUP signaling identify whether be object to be measured mark
Know, if it is continues next step S204, otherwise abandon this signaling;
Whether S204, the RRC state for judging target UE are DCH, and the RRC shape of UE is carried out if yes then enter the step S3
Uplink synchronous processing when state is DCH, if it is not, then being transferred to the uplink synchronous processing for the RRC state for carrying out other UE.
Further, the step S3 specifically includes substep:
The parameter that S301, reading are collected from the RRC CONNECTION SETUP signaling;
S302, judge that activationary time whether there is in above-mentioned parameter, and if so, step S303 is jumped to, if do not deposited
Then jumping to step S306;
S303, calculating simultaneously read CFN;
S304, judge whether current CFN is equal to preset activation moments, step S306 is jumped to if equal, such as
Fruit is unequal, then jumps to step S305;
When S305, waiting next frame processing time reach, step S303 is jumped to;
S306, the starting point for selecting sliding window, and sliding relevant calculation is done with the sequence received with local sequence, it obtains
One group of retarding power spectrum;
S307, the peak point V for filtering out retarding power spectrum, and estimate Signal to Noise Ratio (SNR);
S308, by the Signal to Noise Ratio (SNR) and threshold value comparison, if it is greater than threshold value, be then transferred to step S310, be otherwise transferred to step
Rapid S309;
It is invalid that S309, judgement this time measure;
S310, the uplink synchronous point for determining target, the target energy identified is reported.
Further, in the step S303 CFN calculation formula:
CFN=(SFN- ((DOFF × 512) div38400)) mod256,
Wherein, DOFF is the parameter obtained, and SFN is the serial number of each system-frame.
Further, in the step S307 Signal to Noise Ratio (SNR) estimation process specifically:
One group of retarding power spectrum is obtained after sliding relevant calculation, number is the long number of window, in this retarding power spectrum
In, peak point V is found, and use the mean value N of non-peak point as noise estimation value, then finally obtained signal-to-noise ratio is SNR=
V/N。
The present invention has the following advantages and effects with respect to the prior art:
The uplink synchronisation method when RRC state of UE is DCH state in WCDMA direction-finding system disclosed by the invention, passes through
It solves RRC CONNECTION SETUP signaling and finds target in downlink, synchronous target is then configured according to the uplink of signaling, significantly
The measurement distance and efficiency increased in third party's WCDMA direction-finding system.When the RRC state of UE is DCH, given is upper
The synchronous method of row, is greatly reduced calculation amount and reduces interference.
Embodiment
This gives the then uplink direction finding of downlink signal identification target is utilized in third party's WCDMA direction-finding system
Scheme, while in view of the RRC state of UE is there are many situation, according to the characteristic of DCH state, the RRC state for giving UE is
Uplink synchronisation method when DCH.
Its detailed process includes: 1, and solution common down channel identifies target UE;2, it is carried out according to corresponding configuration information
The uplink synchronous of target.
When solving common down channel, the method for understanding RRC CONNECTION SETUP signaling is taken.Pass through this signaling
In TMSI or IMSI judge whether it is downlink signaling that target is issued in base station.If the target being intended to, and the RRC of UE
When state is DCH, then uplink synchronous is carried out according to the method for this patent.
In synchronizing process, Frequency Synchronization first is carried out according to configuration, then carries out Domain Synchronous again.Domain Synchronous therein
Again according to activation collection state be divided at once synchronize with it is non-synchronous at once.In the starting point for calculating search window according to configuration information
Later, sliding relevant calculation is done with the sequence received to estimate the signal-to-noise ratio of peak point with the local sequence of composition, if
Signal-to-noise ratio is greater than threshold value, then it is assumed that this value is effective and reports the energy received.
As shown in Fig. 1, Fig. 1 is the work flow diagram of third party's direction-finding system in the present invention, third party's lateral system
Workflow includes the following steps:
Step S1, the main synchronization, auxiliary synchronization of downlink, cell scrambling identification, solution system message;
The step is the processed conventionally first step of WCDMA direction-finding system, is the process of cell searching, the master including downlink
Synchronous, auxiliary synchronization, cell scrambling identification, solution system message.In system message (system broadcast message), including SIB1,
SIB2 ..., SIB12, major concern SIB5, SIB5 will be read and obtain corresponding system parameter, because of the downlink of message arrangement thus
Solve the physical layer parameter configuration of SCCPCH.
Step S2, common down channel is solved on SCCPCH, is known by the RRC CONNECTION SETUP signaling solved
Other user;
The step is that common down channel is solved on SCCPCH, to solve its signaling carried.This channel is public letter
Road, MAC layer and rlc layer are not encrypted.In the RRC CONNECTION SETUP signaling solved, the mark comprising user
Know, this mark can be used to identify user, and common is identified with TMSI, P-TMSI, IMSI, S-RNTI.
Step S3, uplink synchronous is carried out according to the parameter in signaling, in synchronizing process, it is same first carries out frequency according to configuration
Step, then carries out Domain Synchronous again, wherein the Domain Synchronous again according to the state of activation collection be divided into it is synchronous at once and it is non-at once
It is synchronous;After the starting point for calculating search window according to configuration information, done with the local sequence of composition with the sequence received
Sliding relevant calculation is to estimate the signal-to-noise ratio of peak point, if signal-to-noise ratio is greater than threshold value, then it is assumed that this value effectively and is reported and connect
The energy received.
In this step, according to step S2's as a result, target UE is synchronized and measured.Not according to the RRC state of UE
Together, processing method is also different.
As shown in Fig. 2, the downlink processing flow chart when RRC state that Fig. 2 is UE of the invention is DCH, Fig. 2 corresponds to above-mentioned
Step S2, specifically includes substep:
Step S201, by physical layer solution SCCPCH, MAC layer decaptitating extract the information of common signal channel, rlc layer group packet,
ASN.1 decoding, may finally obtain RRC CONNECTION SETUP signaling.
Step S202, the parameter of the RRC CONNECTION SETUP signaling is collected, parameter includes: the scrambling code of uplink
Type, scrambling code number, time slot format, upper line displacement DOFF (Default DPCH Offset Value), activationary time, RRC shape
State, UE mark.
The step be for collecting relevant parameter in signaling, parameter include: the scrambling code type of uplink, scrambling code number, when
Gap format, upper line displacement DOFF, activationary time, RRC state, UE mark.
Step S203, the UE that judgement compares the RRC CONNECTION SETUP signaling identifies whether it is object to be measured
Mark if it is continues next step S204, otherwise abandons this signaling.
The step be used for judge this signaling identify whether be object to be measured mark, if it is go to step
S204, otherwise at this time this signaling be not target signaling, so that it may abandon, go to step S201 later, continue to eat dishes without rice or wine
The RRC CONNECTION SETUP signaling of middle downlink.
Step S204, whether the RRC state for judging target UE is DCH, carries out UE's if yes then enter the step S3
Uplink synchronous processing when RRC state is DCH, if it is not, then being transferred at the uplink synchronous for the RRC state for carrying out other UE
Reason.
In concrete application, the RRC state of the UE can also include PCH or FACH, when the RRC shape of target UE in addition to DCH
When state is not DCH, it is transferred to the uplink synchronous processing for the RRC state for carrying out other UE, at this point, not being the focal point of this patent.
As shown in figure 3, the uplink process flow diagram when RRC state that Fig. 3 is UE of the invention is DCH, Fig. 3 corresponds to above-mentioned
Step S3, specifically includes substep:
Step S301, the parameter collected from the RRC CONNECTION SETUP signaling is read.
The parameter of the RRC CONNECTION SETUP signaling that the step is used to collect from the step S202 into
Row reading data.
Step S302, judge that activationary time whether there is in above-mentioned parameter, and if so, step S303 is jumped to, if
There is no then jump to step S306;
The step is used to judge that activationary time whether there is in the data collected, and if so, jumping to step S303;
If there is no then jumping to step S306.
Step S303, CFN (Connection Frame Number) is read;
The step is used to read CFN, calculation formula:
CFN=(SFN- ((DOFF × 512) div38400)) mod256,
DOFF (Default DPCH Offset Value) therein is the parameter obtained.SFN(System
Frame Number) be each system-frame serial number.
In each communication process, CFN differs some constant with system-frame SFN.
Step S304, judge whether current CFN is equal to preset activation moments, step is jumped to if equal
S306 jumps to step S305 if unequal;
The step jumps to step for judging whether current CFN is equal to preset activation moments if equal
S306 jumps to step S305 if unequal.
Step S305, when the next frame processing time being waited to reach, step S303 is jumped to.
It has determined that at this time and activation moments has not been reached yet, then when the next frame processing time being waited to reach, jump to
Step S303 carries out judging whether to reach activation moments again after reading CFN.
Step S306, the starting point of sliding window is selected, and does sliding relevant calculation with the sequence received with local sequence,
Obtain one group of retarding power spectrum;
The step is used to select the starting point of sliding window, and makees sliding correlometer with the sequence received with local sequence
It calculates.
When the RRC state of UE is DCH, the uplink physical channel of UE is dedicated physical channel, with other user's scrambling codes
It distinguishes;The down physical channel of UE is dedicated physical channel, the offset with other user's spreading codes and opposite broadcast
It distinguishes.Based on following two relationship: (1) downlink reception of user relative to broadcast offset can by mod (DOFF,
38400) it calculates;(2) reception of the transmitting ratio downlink of uplink postpones 1024 chips, so that it may determine the hair of target uplink
Send the time.It considers further that since target and direction-finding equipment have a distance, and the distance of target to base station is arrived with direction-finding equipment
The distance of base station is different, it is also necessary to slide the distance of the long size of 1/2 window to the left in the starting point of calculated uplink, i.e.,
It can determine the starting point of the sliding window of uplink.
Local sequence is the frame obtained after spread spectrum and scrambling according to the time slot format of distribution to ascending pilot frequency symbol
Sequence, corresponding parameter have been obtained in step S301.
Step S307, the peak point V of retarding power spectrum is filtered out, and estimates Signal to Noise Ratio (SNR);
It is after sliding relevant calculation the result is that one group of retarding power spectrum, number are the long number of window in concrete application.?
Signal-to-noise ratio is estimated in this retarding power spectrum.For example, in power spectrum signal estimated value, peak point V is found, and with non-peak point
Mean value N is as noise estimation value, then finally obtained signal-to-noise ratio is SNR=V/N.
Step S308, by the Signal to Noise Ratio (SNR) and threshold value comparison, if it is greater than threshold value, then it is transferred to step S310, is otherwise turned
Enter step S309.
In concrete application, the Signal to Noise Ratio (SNR) calculated and threshold value comparison are then transferred to step if it is greater than threshold value
S310;Otherwise it is transferred to step S309.
Step S309, judgement this time measures invalid;
Since signal-to-noise ratio is too small, the signal of target cannot be demodulated out, and it is target that we, which do not distinguish, at this time
Signal or interference signal, then it is assumed that it is invalid this time to measure.
Step S310, the uplink synchronous point for determining target, the target energy identified is reported.
The uplink synchronous point for having determined target at this time, then report the energy of target to upper layer.
In conclusion the uplink when RRC state of UE is DCH state in WCDMA direction-finding system disclosed in the present embodiment is same
One step process finds target in downlink by solution RRC CONNECTION SETUP signaling, is then configured according to the uplink of signaling same
Target is walked, the measurement distance and efficiency in third party's WCDMA direction-finding system are greatly increased.It is DCH in the RRC state of UE
When, the method for given uplink synchronous is greatly reduced calculation amount and reduces interference.
The above embodiment is a preferred embodiment of the present invention, but embodiments of the present invention are not by above-described embodiment
Limitation, other any changes, modifications, substitutions, combinations, simplifications made without departing from the spirit and principles of the present invention,
It should be equivalent substitute mode, be included within the scope of the present invention.