A kind of detection method and device of reverse search window center in cluster system
Technical field
The present invention relates to moving communicating field, more particularly to a kind of GOTA (Global Open
TrunkingArchitecture, open cluster architecture) reverse search window center in cluster system detection method and device.
Background technology
GOTA, is to be currently based on the new-generation digital trunked communication system that CDMA2000 grows up.GOTA supports 500 millis
Second quickly access demand, i.e. calling subscribe from start touch-call to the time interval that can be conversed within 500 milliseconds.Due to
What GOTA possessed quickly accesses and the stable performance of performance, multiple in harbour, hospital, hotel, security etc.
Field is applied, and as GOTA turns into the national standard of China's digital cluster communication industry, will more led later
Domain is more widely applied.
Because the time of common access channel search demodulation call message is long, it is more difficult to meet group system and quickly access
Requirement, therefore introduced in GOTA group systems Traffic Channel search for demodulation call message function.The Traffic Channel is similar to
Will always exist after common access channel, configuration successful, will not be deleted due to the release of calling.Traffic Channel demodulation is reverse
The time of traffic frame is shorter, so as to reach the requirement quickly accessed.Because the Traffic Channel is that all GOTA are whole under cell
What end was shared, the Traffic Channel is referred to as common business channel here.The common business channel constantly searches for its coverage
Under call message, the call message will be reported upper-layer service when searching after call message and handled, wherein, should
Carried in call message and demodulate the corresponding EPN values of the terminal call message.System can be the special industry of this time calling distribution afterwards
Channel be engaged in for voice call.The Dedicated Traffic Channel needs to use the EPN values that common business channel is reported, and according to the EPN
Value sets the search window centre of Dedicated Traffic Channel to chip so that Dedicated Traffic Channel searches plain demodulation near search window centre
The traffic frames such as the voice of terminal.
Wherein, so-called search window centre, i.e. chip most start the original position of search demodulation terminal.Chip is searched with certain
Rope window width is diameter, scans for demodulating terminal near search window centre.And if search window centre and the reality of demodulation terminal
Border position deviates too many, and may result in search causes call failure less than the terminal.Conventionally, as system is reported
EPN accuracy it is poor so that search window centre sets too big and causes call failure, reduces call successful rate.
The content of the invention
For in above-mentioned trunked call due to EPN report it is inaccurate, cause Traffic Channel search window centre deviate terminal
Actual range is too remote, so as to be easily caused the situation of call failure, it is an object of the invention to provide anti-in a kind of group system
To the detection method and device of search window centre, it can greatly improve call successful rate.
In order to reach the purpose of the present invention, the present invention is realized using following technical scheme:
A kind of detection method of reverse search window center in cluster system, including:
Obtain and demodulated after the call message that terminal is sent, the first EPN values of periodic report are obtained according to EPN call back functions;
Traversal history searches for data, and it is the 2nd EPN values to obtain the EPN minimum values under being in the lock state;
The smaller value of the first EPN values and the 2nd EPN values is reported into upper-layer service layer, reverse traffic channel is being set up
When, according to upper-layer service layer carry EPN information determine reverse search window center, wherein, the reverse search window center it is big
The small smaller equal to the first EPN values and the 2nd EPN values and reverse distributed delay and.
Preferably, the call message that terminal is sent is obtained in Reverse Access Channel.
Preferably, the call message that terminal is sent is obtained on a traffic channel.
Preferably, the EPN call back functions are registered when Traffic Channel is set up.
Preferably, during traversal history search data, judge whether EPN values are located according to locking number of times threshold value set in advance
In under lock-out state, when the locking number of times of EPN values exceedes the locking number of times threshold value, judge the EPN values in locking
Under state, otherwise, under non-locking state;It is the 2nd EPN values to obtain the EPN minimum values under being in the lock state.
Preferably, the detection method of the reverse search window center in cluster system also includes:
According to the search window centre and search window width set in advance, search demodulation is whole near search window centre
End.
A kind of detection means of reverse search window center in cluster system, including:
First EPN value acquisition device, is demodulated for obtaining after the call message that terminal is sent, and according to EPN call back functions
Obtain the first EPN values of periodic report;
2nd EPN value acquisition device, data are searched for for traversal history, obtain the EPN minimum values under being in the lock state
For the 2nd EPN values;
Reverse search window center acquisition device, for when setting up reverse traffic channel, being carried according to upper-layer service layer
EPN information determines reverse search window center, wherein, the EPN information that upper-layer service layer is carried is the first EPN values and second
The smaller value of EPN values, the size of the reverse search window center be equal to the first EPN values and the 2nd EPN values smaller and
The sum of reverse distributed delay.
Preferably, the first EPN values acquisition device obtains the call message that terminal is sent in Reverse Access Channel.
Preferably, the first EPN values acquisition device obtains the call message that terminal is sent on a traffic channel.
Preferably, the EPN call back functions are registered when Traffic Channel is set up.
Preferably, the 2nd EPN values acquisition device is when traversal history searches for data, according to locking time set in advance
Number threshold value judges whether EPN values are in the lock state down, when the locking number of times of EPN values exceedes the locking number of times threshold value
When, the EPN values are judged to be in the lock state down, otherwise, under non-locking state;Under acquisition is in the lock state
EPN minimum values are the 2nd EPN values.
Preferably, the detection means of the reverse search window center in cluster system also includes:
Terminal searching device is demodulated, for according to the search window centre and search window width set in advance, in search
Search demodulation terminal near window center.
The inspection of search window centre in the group system that the present invention is provided is can be seen that by above technical scheme
Method and device is surveyed, EPN values are obtained by EPN call back functions and historical search data Finger acquisition EPN values are searched, the two is taken
Between less EPN values used as effective EPN.So processing enables Traffic Channel accurately to search demodulation terminal, keeps away
Exempted from terminal near base station due to EPN is excessive and search for less than the occurrence of, greatly improve call successful rate.
Brief description of the drawings
Accompanying drawing described herein is used for providing a further understanding of the present invention, constitutes the part of the present invention, this hair
Bright schematic description and description is used to explain the present invention, does not constitute inappropriate limitation of the present invention.In the accompanying drawings:
The detection method schematic flow sheet of search window centre in the group system that Fig. 1 provides for the present invention;
The structure of the detecting device schematic diagram of search window centre in the group system that Fig. 2 provides for the present invention;
Fig. 3 is the detection method detailed process schematic diagram of search window centre in group system provided in an embodiment of the present invention.
Embodiment
In order that technical problems, technical solutions and advantages to be solved are clearer, clear, tie below
Drawings and examples are closed, the present invention will be described in further detail.It should be appreciated that specific embodiment described herein is only
To explain the present invention, it is not intended to limit the present invention.
The present invention obtains EPN values by EPN call back functions and finds out satisfaction locking by convenient search data Finger
Under the conditions of EPN minimum values, take therebetween smaller value as effective EPN.EPN due to reporting can be avoided by this method
The situation of call failure, greatly improves call successful rate caused by excessive.
Specifically, as shown in figure 1, the detection method of a kind of reverse search window center in cluster system that the present invention is provided,
It comprises the following steps:
Demodulated after the call message that S101, acquisition terminal are sent, the first of periodic report is obtained according to EPN call back functions
EPN values;
S102, traversal history search data, it is the 2nd EPN values to obtain the EPN minimum values under being in the lock state;
S103, the smaller value of the first EPN values and the 2nd EPN values reported into upper-layer service layer, set up reverse industry
During business channel, reverse search window center is determined according to the EPN information that upper-layer service layer is carried, wherein, in the reverse search window
The size of the heart be equal to the first EPN values and the 2nd EPN values smaller and reverse distributed delay and.
Under a kind of preferred embodiment, in the step S101, base station system obtains terminal hair in Reverse Access Channel
The call message gone out, and to the call message demodulate after, according to EPN call back functions obtain periodic report the first EPN values.
Under another preferred embodiment, in the step S101, base station system obtains terminal on a traffic channel
The call message sent, and to the call message demodulate after, according to EPN call back functions obtain periodic report the first EPN values.
In this embodiment, the EPN call back functions are registered when Traffic Channel is set up.
Under preferred embodiment, in the step S102, when traversal history searches for data, according to lock set in advance
Determine number of times threshold value and judge whether EPN values are in the lock state down, when the locking number of times of EPN values exceedes the locking number of times thresholding
During value, the EPN values are judged to be in the lock state down, otherwise, under non-locking state;Under acquisition is in the lock state
EPN minimum values are the 2nd EPN values.Wherein, for the search data occurred in the form of array, for example, the search
Data Finger one two-dimensional array of correspondence, can use various lookup algorithms, full in convenient search data Finger
Foot search data Finger is in the lock state and locked in the data that number of times reaches certain threshold value, finds out corresponding EPN most
Small value is used as the 2nd EPN values EPN_B.In this step, it is necessary to choose suitable locking number of times threshold value as judging that EPN values are
It is no be in the lock state under foundation, if choose locking number of times threshold value it is excessive, may result in due to locking this number of times
Do not reach threshold value and search less than corresponding EPN values, if the locking number of times threshold value chosen is too small, may result in reality
On the EPN values that are not under lock-out state and be mistakenly considered effective EPN values.
In step s 103, it is necessary to the first EPN values obtained from by the step S101 and step S102 and
Two EPN values choose less EPN values as effective EPN, when Traffic Channel is set up, and accurately set corresponding according to the EPN
Search window centre, it is ensured that Traffic Channel can search corresponding demodulation terminal, it is to avoid search is demodulated eventually less than corresponding when EPN is excessive
The situation at end occurs.
As shown in figure 1, the detection method of the reverse search window center in cluster system also includes:
S104, according to the search window centre and search window width set in advance, solution is searched near search window centre
Adjust terminal.
The detection method of search window centre in the group system that the present invention is provided, by EPN call back functions obtain EPN values with
Search search data Finger and obtain EPN values, take therebetween less EPN values used as effective EPN.So processing causes
Traffic Channel can accurately search demodulation terminal, it is to avoid terminal near base station due to EPN it is excessive and search for less than
The occurrence of, greatly improve call successful rate.
Reference picture 2, present invention also offers a kind of detection means of reverse search window center in cluster system, described device
Including:
First EPN values acquisition device 10, is demodulated, and adjust back letter according to EPN for obtaining after the call message that terminal is sent
Number obtains the first EPN values of periodic report;
2nd EPN values acquisition device 20, data are searched for for traversal history, and the EPN obtained under being in the lock state is minimum
It is worth for the 2nd EPN values;
Reverse search window center acquisition device 30, for when setting up reverse traffic channel, being carried according to upper-layer service layer
EPN information determine reverse search window center, wherein, upper-layer service layer carry EPN information be the first EPN values and second
The smaller value of EPN values, the size of the reverse search window center be equal to the first EPN values and the 2nd EPN values smaller and
The sum of reverse distributed delay.
Under a kind of preferred embodiment, the first EPN values acquisition device 10 obtains terminal in Reverse Access Channel and sent
Call message, and to the call message demodulate after, according to EPN call back functions obtain periodic report the first EPN values.
Under another preferred embodiment, the first EPN values acquisition device 10 obtains terminal and sent on a traffic channel
Call message., and to the call message demodulate after, according to EPN call back functions obtain periodic report the first EPN values.
In the embodiment, the EPN call back functions are registered when Traffic Channel is set up.
Under preferred embodiment, the 2nd EPN values acquisition device 20 is when traversal history searches for data, according to setting in advance
Fixed locking number of times threshold value judges whether EPN values are in the lock state down, when the locking number of times of EPN values exceedes the locking time
During number threshold value, the EPN values are judged to be in the lock state down, otherwise, under non-locking state;Obtain in locking shape
EPN minimum values under state are the 2nd EPN values.
Wherein, for the search data occurred in the form of array, for example, the search data Finger correspondences
One two-dimensional array, can use various lookup algorithms in convenient search data Finger, data are searched for meeting
Finger is in the lock state and locked in the data that number of times reaches certain threshold value, finds out corresponding EPN minimum values as
Two EPN values EPN_B.Locked in this step, it is necessary to choose suitable locking number of times threshold value as judging whether EPN values are in
Foundation under state, if the locking number of times threshold value chosen is excessive, may result in and not reach thresholding due to locking this number of times
It is worth and searches less than corresponding EPN values, if the locking number of times threshold value chosen is too small, may result in and be actually not in lock
Determine the EPN values under state and be mistakenly considered effective EPN values.
With continued reference to Fig. 2, the detection means of the reverse search window center in cluster system also includes:
Terminal searching device 40 is demodulated, for according to the search window centre and search window width set in advance, searching
Search demodulation terminal near rope window center.
The detection means of search window centre in the group system that the present invention is provided, by EPN call back functions obtain EPN values with
Search search data Finger and obtain EPN values, take therebetween less EPN values used as effective EPN.So processing causes
Traffic Channel can accurately search demodulation terminal, it is to avoid terminal near base station due to EPN it is excessive and search for less than
The occurrence of, greatly improve call successful rate.
As shown in figure 3, the detection method that it is search window centre in group system provided in an embodiment of the present invention flows in detail
Journey schematic diagram.The detection method of search window centre is carried out in detail in the group system provided with reference to the Fig. 3 the present invention
Explanation.
S201, rise and exhale terminal to send call message, base station reverse Traffic Channel solution is transferred to after the call message, goes to step
S202;
S202, according to EPN call back functions, the EPN value EPN_A of periodic report are obtained, into step S203;
All claw and talon data, find out the EPN under being in the lock state in S203, traversal Finger data
Minimum value EPN_B, into step S204;
S204, less value MIN (EPN_A, EPN_B) in EPN_A and EPN_B is taken, using the value as on effective EPN
Report, into step S205;
S205, when reverse traffic channel is set up, according to the EPN values of acquisition, determine reverse search window center, wherein, search
Rope window center=MIN (EPN_A, EPN_B)+reverse distributed delay, into step S206
S206, by search window centre set arrive bottom chip, make bottom chip according to certain search window width, in search window
Immediate vicinity search demodulation terminal, afterwards into step S207;
S207, reverse traffic channel demodulate the traffic frame of terminal, such as speech business frame, hence into talking state.
Wherein, in step s 201, the access message for general ordinary call is all, in Reverse Access Channel access, to connect
Continuous slow, in order to meet the need for group system quickly accesses, trunked call can be accessed on a traffic channel, be greatly shortened
Continue often.
In step S202, EPN call back functions are that Traffic Channel is registered when setting up, and channel is deposited always after being successfully established
Newest EPN values will be reported when detecting EPN excursions more than certain thresholding.
In step S203, Traffic Channel can be by data preserving in search data Finger, each Finger numbers
According to 6 claw of correspondence, 4 talon of each claw correspondences, 24 groups of data, the corresponding Finger lockings of every group of correspondence are corresponded to altogether
Number of times, can find according to various lookup algorithms and reaches certain locking number of times thresholding and EPN sizes are minimum in these data
Value, assign the EPN as effective EPN.Wherein, locking number of times threshold value can take the value between 20 to 48 based on experience value.
In step S204 and step S205, less EPN values are taken as effective EPN, when Traffic Channel is set up, according to
The EPN accurately sets corresponding search window centre, it is ensured that Traffic Channel can search corresponding terminal, it is to avoid the excessive search of EPN
Situation less than terminal occurs.
A preferred embodiment of the present invention has shown and described in described above, but as previously described, it should be understood that the present invention
Be not limited to form disclosed herein, be not to be taken as the exclusion to other embodiment, and available for various other combinations,
Modification and environment, and above-mentioned teaching or the technology or knowledge of association area can be passed through in invention contemplated scope described herein
It is modified., then all should be in this hair and the change and change that those skilled in the art are carried out do not depart from the spirit and scope of the present invention
In the protection domain of bright appended claims.