Invention content
The purpose of the present invention is to provide a kind of synchronous method and terminals, to solve to pass through synchronizing signal in the prior art
Resource location, SSID and the PSBCH of occupancy, the problem of cannot accurately determining the synchronization priority of synchronisation source.
To achieve the goals above, the present invention provides a kind of synchronous method, are applied to terminal, including:
The synchronizing signal and synchronizing channel sent respectively according to multiple synchronisation sources, the synchronization level for obtaining each synchronisation source refer to
Show information, the synchronization level instruction information includes logo collection belonging to the sync id of the synchronisation source, the synchronous letter
The covering marking that the position of resource occupied by number and the synchronizing channel are carried, and and and base station interior in base station range
The corresponding first sub-mark set of synchronous synchronisation source, in base station range and synchronisation source pair directly synchronous with GNSS
The second sub-mark set for answering and outside base station range and the corresponding third mark of synchronisation source directly synchronous with GNSS
Know collection and is combined into three mutually different set;
The mapping table of information and synchronization level is indicated according to pre-determined synchronization grade, is determined synchronous with each synchronisation source etc.
The corresponding synchronization level of grade instruction information, the logo collection in the mapping table be according to the first sub-mark set,
What the second sub-mark set and the third sub-mark set obtained, and synchronization level different in the mapping table
Corresponding synchronization level instruction information is different;
According to determining synchronization level, object synchronization source is chosen in multiple synchronisation sources, and according to the object synchronization of selection
Source synchronizes.
Wherein, according to determining synchronization level, in multiple synchronisation sources the step of selection object synchronization source, including:
If it is determined that multiple synchronization levels in there are identical synchronization levels, then according to the signal receiving strength of synchronisation source and
Determining synchronization level, selection object synchronization source synchronizes in multiple synchronisation sources;
If it is determined that multiple synchronization levels in identical synchronization level is not present, then according to determining synchronization level, choose
The highest synchronisation source of synchronization level is as object synchronization source and synchronizes.
Wherein, the step of being synchronized according to the object synchronization source of selection, including:
If the object synchronization source be in base station range and directly with the synchronisation source of base station synchronization or be place
In in base station range and synchronisation source directly synchronous with GNSS, then using the sync id in the object synchronization source as terminal
Sync id, and by the covering marking of the synchronizing channel of the terminal be set as it is synchronous with the first of the object synchronization source mark
Know different second identifiers;
It, will be described if the object synchronization source is synchronisation source outside base station range and directly synchronous with GNSS
Sync id of the sync id in object synchronization source as terminal, and set the covering marking of the synchronizing channel of the terminal to
Second identifier;
If the object synchronization source be in base station range and indirectly with the synchronisation source of base station synchronization or be place
It is in synchronisation source in base station range and indirectly synchronous with GNSS or outside base station range and directly same with GNSS
The synchronisation source of step, then according to the sync id in object synchronization source and predetermined threshold value and, obtain the sync id of terminal, and by institute
The covering marking for stating the synchronizing channel of terminal is set as second identifier.
Wherein, if GNSS is highest priority;
The mapping table that information and synchronization level are indicated according to pre-determined synchronization grade, determination are same with each synchronisation source
The step of step grade instruction information corresponding synchronization level includes:
If the logo collection belonging to the sync id of the synchronisation source is the first default logo collection, the synchronizing signal institute
The position for occupying resource is first position or the third place, it is determined that the synchronization level of the synchronisation source is the first estate, described
First default logo collection is the sync id pair for the synchronisation source for being less than or equal to double bounce with the synchronous hop count of base station or GNSS
The set answered, the first default logo collection include the first sub-mark set, the second sub-mark set and described
Third sub-mark set;
If the logo collection belonging to the sync id of the synchronisation source is the first default logo collection, the synchronizing signal institute
The position for occupying resource is the second position, and the covering marking is second identifier, it is determined that the synchronization level of the synchronisation source
For the second grade;
If the logo collection belonging to the sync id of the synchronisation source is the second default logo collection, the synchronizing signal institute
The position for occupying resource is first position or the second position, and the covering marking is second identifier, it is determined that the synchronisation source
Synchronization level be the tertiary gradient, the second default logo collection be with the synchronous hop count of base station or GNSS be more than double bounce it is same
The corresponding set of sync id in step source, and the second default logo collection is by the value in the described first default logo collection
In addition obtained after predetermined threshold value;
Wherein, the priority of described the first estate, the second grade and the tertiary gradient reduces successively.
Wherein, if the logo collection belonging to the sync id of the synchronisation source is the first default logo collection, the synchronization
The position of resource occupied by signal is first position or the third place, it is determined that the synchronization level of the synchronisation source is the first estate
The step of, including:
If the logo collection of the synchronisation source belongs to the first sub-mark set, the position of resource occupied by the synchronizing signal
For first position, and the covering marking is first identifier, it is determined that the synchronization level of institute's synchronisation source is the first estate;Or
If the logo collection of the synchronisation source belongs to the second sub-mark set, the position of resource occupied by the synchronizing signal
For first position, and the covering marking is first identifier, it is determined that the synchronization level of institute's synchronisation source is the first estate;Or
If the logo collection of the synchronisation source belongs to third sub-mark set, the position of resource occupied by the synchronizing signal
For the third place, and the covering marking is first identifier or second identifier, it is determined that the synchronization level of institute's synchronisation source is first
Grade.
Wherein, if the logo collection belonging to the sync id of the synchronisation source is the first default logo collection, the synchronization
The position of resource occupied by signal be the second position, and the covering marking be second identifier, it is determined that the synchronisation source it is same
The step of grade is the second grade is walked, including:
If the logo collection of the synchronisation source belongs to the first sub-mark set, the position of resource occupied by the synchronizing signal
For the second position, and the covering marking is second identifier, it is determined that the synchronization level of institute's synchronisation source is the second grade;Or
If the logo collection of the synchronisation source belongs to the second sub-mark set, the position of resource occupied by the synchronizing signal
For the second position, and the covering marking is second identifier, it is determined that the synchronization level of institute's synchronisation source is the second grade;Or
If the logo collection of the synchronisation source belongs to third sub-mark set, the position of resource occupied by the synchronizing signal
For the second position, and the covering marking is second identifier, it is determined that the synchronization level of institute's synchronisation source is the second grade.
Wherein, if the logo collection belonging to the sync id of the synchronisation source is the second default logo collection, the synchronization
The position of resource occupied by signal is first position or the second position, and the covering marking is second identifier, it is determined that described
The step of synchronization level of synchronisation source is the tertiary gradient, including:
If the logo collection of the synchronisation source belongs to the 4th sub-mark set, the position of resource occupied by the synchronizing signal
For first position or the second position, and the covering marking is second identifier, it is determined that the synchronization level of institute's synchronisation source is third
Grade, the 4th sub-mark collection is combined into base station range and hop count synchronous with base station is more than the synchronization of double bounce
The corresponding set of sync id in source or the corresponding set of sync id in independent synchronization source, and the 4th sub-mark set is
By the value in the first sub-mark set plus obtaining after predetermined threshold value;Or
If the logo collection of the synchronisation source belongs to the 5th sub-mark set, the position of resource occupied by the synchronizing signal
For first position or the second position, and the covering marking is second identifier, it is determined that the synchronization level of institute's synchronisation source is third
Grade, the 5th sub-mark collection is combined into base station range and hop count synchronous with GNSS's is more than the synchronization of double bounce
The corresponding set of sync id in source, and the 5th sub-mark set is added in advance by the value in the second sub-mark set
If being obtained after threshold value;Or
If the logo collection of the synchronisation source belongs to the 6th sub-mark set, the position of resource occupied by the synchronizing signal
For first position or the second position, and the covering marking is second identifier, it is determined that the synchronization level of institute's synchronisation source is third
Grade, the 6th sub-mark collection is combined into outside base station range and hop count synchronous with GNSS's is more than the synchronization of double bounce
The corresponding set of sync id in source, and the 6th sub-mark set is added in advance by the value in the third sub-mark set
If being obtained after threshold value.
Wherein, if base station is highest priority;
The mapping table that information and synchronization level are indicated according to pre-determined synchronization grade, determination are same with each synchronisation source
The step of step grade instruction information corresponding synchronization level includes:
If the logo collection belonging to the sync id of the synchronisation source is the first sub-mark set, shared by the synchronizing signal
It is first position with the position of resource, and the covering marking is first identifier, it is determined that the synchronization level of the synchronisation source is
The first estate;
If the logo collection belonging to the sync id of the synchronisation source is the first sub-mark set, shared by the synchronizing signal
It is the second position with the position of resource, and the covering marking is second identifier, it is determined that the synchronization level of the synchronisation source is
Second grade;
If the logo collection belonging to the sync id of the synchronisation source is third sub-mark set, shared by the synchronizing signal
It is the third place with the position of resource, and the covering marking is first identifier or second identifier, it is determined that the synchronisation source
Synchronization level is the tertiary gradient;
If the logo collection belonging to the sync id of the synchronisation source is third sub-mark set, shared by the synchronizing signal
It is the second position with the position of resource, and the covering marking is second identifier, it is determined that the synchronization level of the synchronisation source is
The fourth estate;
If the logo collection belonging to the sync id of the synchronisation source is the 4th sub-mark set or the 6th sub-mark set,
The position of resource occupied by the synchronizing signal is first position or the second position, and the covering marking is second identifier, then
Determine the synchronisation source synchronization level be the 5th grade, the 4th sub-mark collection be combined into base station range and
Synchronous hop count is more than the corresponding set of sync id of the synchronisation source of double bounce or the sync id pair in independent synchronization source with base station
The set answered, the 6th sub-mark collection is combined into outside base station range and hop count synchronous with GNSS's is more than double bounce
The corresponding set of sync id of synchronisation source, and the 4th sub-mark set is added by the value in the first sub-mark set
It is obtained after upper predetermined threshold value, the 6th sub-mark set is to add predetermined threshold value by the value in the third sub-mark set
It obtains afterwards;
Wherein, the priority of described the first estate, the second grade, the tertiary gradient, the fourth estate and the 5th grade drops successively
It is low.
To achieve the goals above, the embodiments of the present invention also provide a kind of terminals, including:
Acquisition module, synchronizing signal and synchronizing channel for being sent respectively according to multiple synchronisation sources obtain each synchronous
The synchronization level in source indicates that information, the synchronization level instruction information include the identification sets belonging to the sync id of the synchronisation source
It closes, the covering marking that the position of resource and the synchronizing channel are carried occupied by the synchronizing signal, and covered in base station
In range and the first sub-mark set corresponding with the synchronisation source of base station synchronization, in base station range and directly and GNSS
The corresponding second sub-mark set of synchronous synchronisation source and outside the base station range and synchronisation source directly synchronous with GNSS
Corresponding third sub-mark collection is combined into three mutually different set;
Determining module, the mapping table for indicating information and synchronization level according to pre-determined synchronization grade determine and every
The corresponding synchronization level of a synchronisation source synchronization level instruction information, the logo collection in the mapping table are according to described the
What one sub-mark set, the second sub-mark set and the third sub-mark set obtained, and in the mapping table
The corresponding synchronization level instruction information of different synchronization levels is different;
Synchronization module, for according to determining synchronization level, object synchronization source being chosen in multiple synchronisation sources, and according to choosing
The object synchronization source taken synchronizes.
Wherein, the synchronization module includes:
First determination sub-module, for if it is determined that multiple synchronization levels in there are identical synchronization level, then according to same
The signal receiving strength in step source and the synchronization level of determination, selection object synchronization source synchronizes in multiple synchronisation sources;
Second determination sub-module, be used for if it is determined that multiple synchronization levels in identical synchronization level, then basis is not present
Determining synchronization level is chosen the highest synchronisation source of synchronization level and as object synchronization source and is synchronized.
Wherein, the synchronization module includes:
First synchronizes submodule, if being in base station range and directly same with base station for the object synchronization source
The synchronisation source of step or in base station range and synchronisation source directly synchronous with GNSS, then by the object synchronization source
Sync id of the sync id as terminal, and set and the target covering marking of the synchronizing channel of the terminal to
The different second identifier of first sync id of synchronisation source;
Second synchronizes submodule, if it is outside base station range and directly same with GNSS to be used for the object synchronization source
The synchronisation source of step, then using the sync id in the object synchronization source as the sync id of terminal, and by the synchronization of the terminal
The covering marking of channel is set as second identifier;
Third synchronizes submodule, if being in base station range and indirectly same with base station for the object synchronization source
The synchronisation source of step covers model either for synchronisation source in base station range and indirectly synchronous with GNSS or in base station
Enclose outer and synchronisation source directly synchronous with GNSS, then according to the sync id in object synchronization source and predetermined threshold value and, obtain end
The sync id at end, and set the covering marking of the synchronizing channel of the terminal to second identifier.
Wherein, if GNSS is highest priority;
The determining module includes:
Third determination sub-module, if it is the first default mark to be used for the logo collection belonging to the sync id of the synchronisation source
Gather, the position of resource occupied by the synchronizing signal is first position or the third place, it is determined that the synchronization of the synchronisation source
Grade is the first estate, and the first default logo collection is to be less than or equal to double bounce with the synchronous hop count of base station or GNSS
The corresponding set of sync id of synchronisation source, the first default logo collection include the first sub-mark set, described the
Two sub-mark set and the third sub-mark set;
4th determination sub-module, if it is the first default mark to be used for the logo collection belonging to the sync id of the synchronisation source
Gather, the position of resource occupied by the synchronizing signal is the second position, and the covering marking is second identifier, it is determined that institute
The synchronization level for stating synchronisation source is the second grade;
5th determination sub-module, if it is the second default mark to be used for the logo collection belonging to the sync id of the synchronisation source
Gather, the position of resource occupied by the synchronizing signal is first position or the second position, and the covering marking is the second mark
Know, it is determined that the synchronization level of the synchronisation source is the tertiary gradient, and the second default logo collection is and base station or GNSS
Synchronous hop count is more than the corresponding set of sync id of the synchronisation source of double bounce, and the second default logo collection is by described the
Value in one default logo collection is plus obtaining after predetermined threshold value;
Wherein, the priority of described the first estate, the second grade and the tertiary gradient reduces successively.
Wherein, the third determination sub-module includes:
First determination unit, if the logo collection for the synchronisation source belongs to the first sub-mark set, the synchronous letter
The position of resource occupied by number is first position, and the covering marking is first identifier, it is determined that institute's synchronisation source synchronizes
Grade is the first estate;
Second determination unit, if the logo collection for the synchronisation source belongs to the second sub-mark set, the synchronous letter
The position of resource occupied by number is first position, and the covering marking is first identifier, it is determined that institute's synchronisation source synchronizes
Grade is the first estate;
Third determination unit, if the logo collection for the synchronisation source belongs to third sub-mark set, the synchronous letter
The position of resource occupied by number is the third place, and the covering marking is first identifier or second identifier, it is determined that is synchronized
The synchronization level in source is the first estate.
Wherein, the 4th determination sub-module includes:
4th determination unit, if the logo collection for the synchronisation source belongs to the first sub-mark set, the synchronous letter
The position of resource occupied by number is the second position, and the covering marking is second identifier, it is determined that institute's synchronisation source synchronizes
Grade is the second grade;
5th determination unit, if the logo collection for the synchronisation source belongs to the second sub-mark set, the synchronous letter
The position of resource occupied by number is the second position, and the covering marking is second identifier, it is determined that institute's synchronisation source synchronizes
Grade is the second grade;Or
6th determination unit, if the logo collection for the synchronisation source belongs to third sub-mark set, the synchronous letter
The position of resource occupied by number is the second position, and the covering marking is second identifier, it is determined that institute's synchronisation source synchronizes
Grade is the second grade.
Wherein, the 5th determination sub-module includes:
7th determination unit, if the logo collection for the synchronisation source belongs to the 4th sub-mark set, the synchronous letter
The position of resource occupied by number is first position or the second position, and the covering marking is second identifier, it is determined that is synchronized
The synchronization level in source is the tertiary gradient, and the 4th sub-mark collection is combined into synchronous in base station range and with base station
Hop count is more than the corresponding set of sync id of the synchronisation source of double bounce or the corresponding set of sync id in independent synchronization source, and institute
Stating the 4th sub-mark set is obtained after adding predetermined threshold value by the value in the first sub-mark set;Or
8th determination unit, if the logo collection for the synchronisation source belongs to the 5th sub-mark set, the synchronous letter
The position of resource occupied by number is first position or the second position, and the covering marking is second identifier, it is determined that is synchronized
The synchronization level in source is the tertiary gradient, and the 5th sub-mark collection is combined into synchronous in base station range and with GNSS
Hop count is more than the corresponding set of sync id of the synchronisation source of double bounce, and the 5th sub-mark set is by the second son mark
Value in set is known plus obtaining after predetermined threshold value;Or
9th determination unit, if the logo collection for the synchronisation source belongs to the 6th sub-mark set, the synchronous letter
The position of resource occupied by number is first position or the second position, and the covering marking is second identifier, it is determined that is synchronized
The synchronization level in source is the tertiary gradient, and the 6th sub-mark collection is combined into synchronous outside base station range and with GNSS
Hop count is more than the corresponding set of sync id of the synchronisation source of double bounce, and the 6th sub-mark set is by the third mark
Value in set is known plus obtaining after predetermined threshold value.
Wherein, if base station is highest priority;
The determining module includes:
6th determination sub-module, if it is the first sub-mark collection to be used for the logo collection belonging to the sync id of the synchronisation source
It closes, the position of resource occupied by the synchronizing signal is first position, and the covering marking is first identifier, it is determined that described
The synchronization level of synchronisation source is the first estate;
7th determination sub-module, if it is the first sub-mark collection to be used for the logo collection belonging to the sync id of the synchronisation source
It closes, the position of resource occupied by the synchronizing signal is the second position, and the covering marking is second identifier, it is determined that described
The synchronization level of synchronisation source is the second grade;
8th determination sub-module, if it is third sub-mark collection to be used for the logo collection belonging to the sync id of the synchronisation source
It closes, the position of resource occupied by the synchronizing signal is the third place, and the covering marking is first identifier or second identifier,
Then determine that the synchronization level of the synchronisation source is the tertiary gradient;
9th determination sub-module, if it is third sub-mark collection to be used for the logo collection belonging to the sync id of the synchronisation source
It closes, the position of resource occupied by the synchronizing signal is the second position, and the covering marking is second identifier, it is determined that described
The synchronization level of synchronisation source is the fourth estate;
Tenth determination sub-module, if it is the 4th sub-mark collection to be used for the logo collection belonging to the sync id of the synchronisation source
It closes or the 6th sub-mark set, the position of resource occupied by the synchronizing signal is first position or the second position, and described is covered
Lid is identified as second identifier, it is determined that the synchronization level of the synchronisation source is the 5th grade, and the 4th sub-mark collection is combined into place
It is more than the corresponding set of sync id or independence of the synchronisation source of double bounce in the synchronous hop count in base station range and with base station
The corresponding set of sync id of synchronisation source, the 6th sub-mark collection are combined into outside base station range and with GNSS's
Synchronous hop count is more than the corresponding set of sync id of the synchronisation source of double bounce, and the 4th sub-mark set is by described first
For value in sub-mark set plus what is obtained after predetermined threshold value, the 6th sub-mark set is by the third sub-mark set
In value plus obtaining after predetermined threshold value;
Wherein, the priority of described the first estate, the second grade, the tertiary gradient, the fourth estate and the 5th grade drops successively
It is low.
The embodiment of the present invention has the advantages that:
The above-mentioned technical proposal of the embodiment of the present invention, the synchronizing signal sent respectively according to multiple synchronisation sources and synchronous letter
Road obtains the synchronization level instruction information of each synchronisation source;Indicate that information is corresponding with synchronization level according to pre-determined synchronization grade
Relation table determines and indicates the corresponding synchronization level of information with each synchronisation source synchronization level, and according to determining synchronization level,
Choose object synchronization source in multiple synchronisation sources, and synchronized according to the object synchronization source of selection, in the embodiment of the present invention due to
Logo collection in above-mentioned mapping table is according to the first sub-mark set, the second sub-mark set and described
What three sub-mark set obtained, and the corresponding synchronization level instruction information of synchronization level different in the mapping table is different
Synchronization level corresponding synchronization level instruction information it is different, therefore terminal can determine and synchronisation source according to the correspondence
The corresponding synchronization level of synchronization level instruction information, to solve the money occupied in the prior art by synchronizing signal
Source position, SSID and PSBCH, the problem of cannot accurately determining the synchronization priority of synchronisation source.
Specific implementation mode
To keep the technical problem to be solved in the present invention, technical solution and advantage clearer, below in conjunction with specific implementation
Example and attached drawing are described in detail.
The embodiment provides a kind of synchronous method and terminals, solve and are accounted in the prior art by synchronizing signal
Resource location, SSID and PSBCH, the problem of cannot accurately determining the synchronization priority of synchronisation source.
As shown in Figure 1, the synchronous method of the embodiment of the present invention, including:
Step 101:The synchronizing signal and synchronizing channel sent respectively according to multiple synchronisation sources, obtains the same of each synchronisation source
It walks grade and indicates information, synchronization level instruction information includes logo collection belonging to the sync id of the synchronisation source, institute
State the position of resource occupied by synchronizing signal and covering marking that the synchronizing channel is carried, and in base station range
And it is the first sub-mark set corresponding with the synchronisation source of base station synchronization, in base station range and directly synchronous with GNSS
The corresponding second sub-mark set of synchronisation source and outside the base station range and synchronisation source directly synchronous with GNSS is corresponding
Third sub-mark collection is combined into three mutually different set.
In a specific embodiment of the present invention, in terminal and covering directly synchronous with GNSS outside base station range
Terminal directly synchronous with GNSS, when sending synchronizing signal and synchronizing channel, there are two different Synchronization Source ID set
(the second sub-mark set and third sub-mark set), and this two mark ID set are all with UE's synchronous with eNB in covering
First sub-mark set is different.
Step 102:According to pre-determined synchronization grade indicate information and synchronization level mapping table, determine with each it is synchronous
Source synchronization level indicates that the corresponding synchronization level of information, the logo collection in the mapping table are according to the first son mark
Know what set, the second sub-mark set and the third sub-mark set obtained, and different in the mapping table
The corresponding synchronization level instruction information of synchronization level is different.
In the embodiment of the present invention, the logo collection in above-mentioned mapping table includes the first sub-mark set, described
Second sub-mark set and the third sub-mark set and respectively by the first sub-mark set, the second sub-mark collection
Value in conjunction and the third sub-mark set is plus the 4th sub-mark set, the 5th sub-mark set obtained after predetermined threshold value
With the 6th sub-mark set.
When establishing above-mentioned mapping table, by the synchronizing channel of the outer first terminal directly synchronous with GNSS of covering
(PSBCH) covering marking can specifically be set to first identifier, such as True, may be alternatively provided as second identifier, such as False.Selection is covered
Third terminal of the direct second terminal synchronous with GNSS as synchronisation source outside lid is sending synchronizing signal and synchronizing channel
When, synchronisation source ID is identical as the synchronisation source ID of second terminal that the direct and GNSS outside covering is synchronized, and third terminal
The covering marking of synchronizing channel (PSBCH) is set to second identifier, such as False.
Fiveth terminal of the 4th indirectly synchronous with the GNSS terminal as synchronisation source is selected, synchronous hop count is big with GNSS's
It is jumped in 2, for the 5th terminal when sending synchronizing signal and synchronizing channel, the synchronisation source ID of the 5th terminal is the same of the 4th terminal
Step source ID and predetermined threshold value (168) and.In the embodiment of the present invention synchronous hop count definition as shown in Fig. 2, directly with GNSS or
The terminal A of base station synchronization, it is 1 jump to synchronize hop count, using terminal A as the terminal B of synchronisation source, synchronizes hop count and is jumped for 2, with terminal
B is the terminal C of synchronisation source, and hop count synchronous with GNSS's is 3 jumps.
Specifically, as shown in Table 3 and Table 4, table 3 indicate be GNSS be highest priority when, synchronization level indicate information
With the correspondence of synchronization level, what table 4 indicated is base station when being highest priority, and synchronization level indicates information and synchronization level
Correspondence.
Table 3
It can be seen from Table 3 that P2 grades include in covering directly in the UE1 of base station synchronization, covering directly and GNSS
The synchronous UE2 and outer UE3 directly synchronous with GNSS of covering, the corresponding logo collection of three kinds of synchronizing informations in P2 grades is not
It is identical, cover in logo collection directly corresponding with the UE1 of base station synchronization be [2,167], cover in it is directly synchronous with GNSS
The corresponding logo collections of UE2 are 1, and the outer corresponding logo collections of UE3 directly synchronous with GNSS of covering are 0.
The corresponding logo collection of three kinds of synchronizing informations in P3 grades is corresponding according to three kinds of synchronizing informations in P2 grades
What logo collection obtained, by UE1, logo collection corresponding with the UE4 of base station synchronization is [2,167], indirect by UE2 indirectly
The corresponding logo collections of the UE5 synchronous with GNSS are 1, and by UE3, the UE6 corresponding logo collection synchronouss with GNSS is 0 indirectly.
The corresponding logo collections of UE7 in P4 grades are obtained after the covering marking of UE1 is added predetermined threshold value, UE8
Corresponding logo collection is obtained after the covering marking of UE2 is added predetermined threshold value, and the corresponding logo collections of UE9 are by UE3
Covering marking plus what is obtained after predetermined threshold value, the corresponding logo collections of UE10 are that the covering marking of UE1 is added default threshold
It is obtained after value.
Table 4
It can be seen from Table 4 that the corresponding logo collections of UE5 in P6 grades are to add the covering marking of UE1 to preset
It is obtained after threshold value, the corresponding logo collections of UE6 are obtained after the covering marking of UE3 is added predetermined threshold value, and UE7 is corresponding
Logo collection is obtained after the covering marking of UE3 is added predetermined threshold value, and the corresponding logo collections of UE10 are by the covering of UE1
Mark is plus obtaining after predetermined threshold value.
To sum up, according to the first sub-mark set, the second sub-mark set and described in the embodiment of the present invention
In the mapping table that three sub-mark set obtain, the corresponding synchronization level instruction information of different synchronization levels is different, terminal
A synchronization level corresponding with the synchronization level of synchronisation source instruction information can be determined, according to correspondence to solve
Resource location, SSID and the PSBCH occupied in the prior art by synchronizing signal, cannot accurately determine the synchronization of synchronisation source
The problem of priority.
Step 103:According to determining synchronization level, object synchronization source is chosen in multiple synchronisation sources, and according to selection
Object synchronization source synchronizes.
Wherein, according to determining synchronization level, in multiple synchronisation sources the step of selection object synchronization source, including:
If it is determined that multiple synchronization levels in identical synchronization level is not present, then according to determining synchronization level, choose
The highest synchronisation source of synchronization level is as object synchronization source and synchronizes;If it is determined that multiple synchronization levels in there are identical
It is same to choose target then according to the signal receiving strength of synchronisation source and the synchronization level of determination in multiple synchronisation sources for synchronization level
Step source synchronizes.
When there are when identical synchronization level, then corresponding to the synchronization of same synchronization level in determining multiple synchronization levels
In source, choose and receive the strongest synchronisation source of signal, and according to the synchronization level of selected synchronisation source with it is the multiple synchronous etc.
Other synchronization levels except identical synchronization level are removed in grade, choose the highest synchronisation source of synchronization level as object synchronization
Source.
Further, in above-mentioned steps 103, the step of being synchronized according to the object synchronization source of selection, including:
If the object synchronization source be in base station range and directly with the synchronisation source of base station synchronization or be place
In in base station range and synchronisation source directly synchronous with GNSS, then using the sync id in the object synchronization source as terminal
Sync id, and by the covering marking of the synchronizing channel of the terminal be set as it is synchronous with the first of the object synchronization source mark
Know different second identifiers.As in table 3 using UE1 as the UE4 of synchronisation source and using UE2 as the UE5 of synchronisation source.
It, will be described if the object synchronization source is synchronisation source outside base station range and directly synchronous with GNSS
Sync id of the sync id in object synchronization source as terminal, and set the covering marking of the synchronizing channel of the terminal to
Second identifier.As in table 3 using UE3 as the UE6 of synchronisation source.
If the object synchronization source be in base station range and indirectly with the synchronisation source of base station synchronization or be place
It is in synchronisation source in base station range and indirectly synchronous with GNSS or outside base station range and directly same with GNSS
The synchronisation source of step, then according to the sync id in object synchronization source and predetermined threshold value and, obtain the sync id of terminal, and by institute
The covering marking for stating the synchronizing channel of terminal is set as second identifier.Such as UE7, UE8, UE9 and UE10 in table 3.
Further, when GNSS is highest priority, above-mentioned steps 102 specifically include:
Step 1021:If the logo collection belonging to the sync id of the synchronisation source is the first default logo collection, described
The position of resource occupied by synchronizing signal is first position or the third place, it is determined that the synchronization level of the synchronisation source is first
Grade, the first default logo collection are same less than or equal to the synchronisation source of double bounce with the synchronous hop count of base station or GNSS
Step identifies corresponding set, and the first default logo collection includes the first sub-mark set, the second sub-mark collection
It closes and the third sub-mark set.The first sub-mark set can be specially [2,167], the second sub-mark set is specially 1,
Third sub-mark set is specially 0.
Step 1022:If the logo collection belonging to the sync id of the synchronisation source is the first default logo collection, described
The position of resource occupied by synchronizing signal is the second position, and the covering marking is second identifier, it is determined that the synchronisation source
Synchronization level be the second grade.
Step 1023:If the logo collection belonging to the sync id of the synchronisation source is the second default logo collection, described
The position of resource occupied by synchronizing signal is first position or the second position, and the covering marking is second identifier, it is determined that
The synchronization level of the synchronisation source is the tertiary gradient, and the second default logo collection is big with the synchronous hop count of base station or GNSS
In the corresponding set of the sync id of the synchronisation source of double bounce, and the second default logo collection is by the described first default mark
Value in set is plus obtaining after predetermined threshold value.
Wherein, the priority of described the first estate, the second grade and the tertiary gradient reduces successively.
Further, above-mentioned steps 1021 include:If the logo collection of the synchronisation source belongs to the first sub-mark set,
The position of resource occupied by the synchronizing signal is first position, and the covering marking is first identifier, it is determined that is synchronized
The synchronization level in source is the first estate;Or
If the logo collection of the synchronisation source belongs to the second sub-mark set, the position of resource occupied by the synchronizing signal
For first position, and the covering marking is first identifier, it is determined that the synchronization level of institute's synchronisation source is the first estate;Or
If the logo collection of the synchronisation source belongs to third sub-mark set, the position of resource occupied by the synchronizing signal
For the third place, and the covering marking is first identifier or second identifier, it is determined that the synchronization level of institute's synchronisation source is first
Grade.
Further, above-mentioned steps 1022 include:If the logo collection of the synchronisation source belongs to the first sub-mark set,
The position of resource occupied by the synchronizing signal is the second position, and the covering marking is second identifier, it is determined that is synchronized
The synchronization level in source is the second grade;Or
If the logo collection of the synchronisation source belongs to the second sub-mark set, the position of resource occupied by the synchronizing signal
For the second position, and the covering marking is second identifier, it is determined that the synchronization level of institute's synchronisation source is the second grade;Or
If the logo collection of the synchronisation source belongs to third sub-mark set, the position of resource occupied by the synchronizing signal
For the second position, and the covering marking is second identifier, it is determined that the synchronization level of institute's synchronisation source is the second grade.
Further, above-mentioned steps 1023 include:If the logo collection of the synchronisation source belongs to the 4th sub-mark set,
The position of resource occupied by the synchronizing signal is first position or the second position, and the covering marking is second identifier, then
Determine institute's synchronisation source synchronization level be the tertiary gradient, the 4th sub-mark collection be combined into base station range and with
The synchronization hop count of base station is more than the corresponding set of sync id of the synchronisation source of double bounce or the sync id in independent synchronization source corresponds to
Set, and the 4th sub-mark set is by the value in the first sub-mark set plus obtaining after predetermined threshold value,
When predetermined threshold value is 168, the 4th sub-mark collection is combined into [170,335];Or
If the logo collection of the synchronisation source belongs to the 5th sub-mark set, the position of resource occupied by the synchronizing signal
For first position or the second position, and the covering marking is second identifier, it is determined that the synchronization level of institute's synchronisation source is third
Grade, the 5th sub-mark collection is combined into base station range and hop count synchronous with GNSS's is more than the synchronization of double bounce
The corresponding set of sync id in source, and the 5th sub-mark set is added in advance by the value in the second sub-mark set
If being obtained after threshold value, the 5th sub-mark set can be in specific table 3 169;Or
If the logo collection of the synchronisation source belongs to the 6th sub-mark set, the position of resource occupied by the synchronizing signal
For first position or the second position, and the covering marking is second identifier, it is determined that the synchronization level of institute's synchronisation source is third
Grade, the 6th sub-mark collection is combined into outside base station range and hop count synchronous with GNSS's is more than the synchronization of double bounce
The corresponding set of sync id in source, and the 6th sub-mark set is added in advance by the value in the third sub-mark set
If being obtained after threshold value, the 6th sub-mark set is specially 168 in table 3.
Further, when base station is highest priority, above-mentioned steps 102 specifically include:
If the logo collection belonging to the sync id of the synchronisation source is the first sub-mark set, shared by the synchronizing signal
It is first position with the position of resource, and the covering marking is first identifier, it is determined that the synchronization level of the synchronisation source is
The first estate;
If the logo collection belonging to the sync id of the synchronisation source is the first sub-mark set, shared by the synchronizing signal
It is the second position with the position of resource, and the covering marking is second identifier, it is determined that the synchronization level of the synchronisation source is
Second grade;
If the logo collection belonging to the sync id of the synchronisation source is third sub-mark set, shared by the synchronizing signal
It is the third place with the position of resource, and the covering marking is first identifier or second identifier, it is determined that the synchronisation source
Synchronization level is the tertiary gradient;
If the logo collection belonging to the sync id of the synchronisation source is third sub-mark set, shared by the synchronizing signal
It is the second position with the position of resource, and the covering marking is second identifier, it is determined that the synchronization level of the synchronisation source is
The fourth estate;
If the logo collection belonging to the sync id of the synchronisation source is the 4th sub-mark set or the 6th sub-mark set,
The position of resource occupied by the synchronizing signal is first position or the second position, and the covering marking is second identifier, then
Determine the synchronisation source synchronization level be the 5th grade, the 4th sub-mark collection be combined into base station range and
Synchronous hop count is more than the corresponding set of sync id of the synchronisation source of double bounce or the sync id pair in independent synchronization source with base station
The set answered, the 6th sub-mark collection is combined into outside base station range and hop count synchronous with GNSS's is more than double bounce
The corresponding set of sync id of synchronisation source, and the 4th sub-mark set is added by the value in the first sub-mark set
It is obtained after upper predetermined threshold value, the 6th sub-mark set is to add predetermined threshold value by the value in the third sub-mark set
It obtains afterwards;
Wherein, the priority of described the first estate, the second grade, the tertiary gradient, the fourth estate and the 5th grade drops successively
It is low.
The synchronous method of the embodiment of the present invention, the synchronizing signal and synchronizing channel sent respectively according to multiple synchronisation sources, is obtained
The synchronization level of each synchronisation source is taken to indicate information;The correspondence of information and synchronization level is indicated according to pre-determined synchronization grade
Table determines synchronization level corresponding with each synchronisation source synchronization level instruction information, and according to determining synchronization level, multiple
Object synchronization source is chosen in synchronisation source, and is synchronized according to the object synchronization source of selection, due to above-mentioned in the embodiment of the present invention
Logo collection in mapping table is according to the first sub-mark set, the second sub-mark set and third
What logo collection obtained, and different same of the corresponding synchronization level instruction information of different in mapping table synchronization level
It is different to walk the corresponding synchronization level instruction information of grade, therefore terminal can be determined same with synchronisation source according to the correspondence
The corresponding synchronization level of grade instruction information is walked, to solve the resource-niche occupied in the prior art by synchronizing signal
The problem of setting, SSID and PSBCH, cannot accurately determining the synchronization priority of synchronisation source.
The embodiments of the present invention also provide a kind of terminals, as shown in figure 3, including:
Acquisition module 301, synchronizing signal and synchronizing channel for being sent respectively according to multiple synchronisation sources obtain each same
The synchronization level in step source indicates that information, the synchronization level instruction information include the mark belonging to the sync id of the synchronisation source
The covering marking that the position of resource and the synchronizing channel are carried occupied by set, the synchronizing signal, and covered in base station
The corresponding first sub-mark set of synchronisation source within the scope of lid and with base station synchronization, in base station range and directly with
The corresponding second sub-mark set of synchronisation source that GNSS is synchronized and outside the base station range and directly synchronous with GNSS same
The corresponding third sub-mark collection in step source is combined into three mutually different set;
Determining module 302, for according to pre-determined synchronization grade indicate information and synchronization level mapping table, determine with
Each synchronisation source synchronization level indicates that the corresponding synchronization level of information, the logo collection in the mapping table are according to
What the first sub-mark set, the second sub-mark set and the third sub-mark set obtained, and the mapping table
The corresponding synchronization level instruction information of middle different synchronization level is different;
Synchronization module 303, for according to determining synchronization level, choosing object synchronization source, and root in multiple synchronisation sources
It is synchronized according to the object synchronization source of selection.
The terminal of the embodiment of the present invention, the synchronization module include:
First determination sub-module, for if it is determined that multiple synchronization levels in there are identical synchronization level, then according to same
The signal receiving strength in step source and the synchronization level of determination, selection object synchronization source synchronizes in multiple synchronisation sources;
Second determination sub-module, be used for if it is determined that multiple synchronization levels in identical synchronization level, then basis is not present
Determining synchronization level is chosen the highest synchronisation source of synchronization level and as object synchronization source and is synchronized.
The terminal of the embodiment of the present invention, the synchronization module include:
First synchronizes submodule, if being in base station range and directly same with base station for the object synchronization source
The synchronisation source of step or in base station range and synchronisation source directly synchronous with GNSS, then by the object synchronization source
Sync id of the sync id as terminal, and set and the target covering marking of the synchronizing channel of the terminal to
The different second identifier of first sync id of synchronisation source;
Second synchronizes submodule, if it is outside base station range and directly same with GNSS to be used for the object synchronization source
The synchronisation source of step, then using the sync id in the object synchronization source as the sync id of terminal, and by the synchronization of the terminal
The covering marking of channel is set as second identifier;
Third synchronizes submodule, if being in base station range and indirectly same with base station for the object synchronization source
The synchronisation source of step covers model either for synchronisation source in base station range and indirectly synchronous with GNSS or in base station
Enclose outer and synchronisation source directly synchronous with GNSS, then according to the sync id in object synchronization source and predetermined threshold value and, obtain end
The sync id at end, and set the covering marking of the synchronizing channel of the terminal to second identifier.
The terminal of the embodiment of the present invention, if GNSS is highest priority;
The determining module includes:
Third determination sub-module, if it is the first default mark to be used for the logo collection belonging to the sync id of the synchronisation source
Gather, the position of resource occupied by the synchronizing signal is first position or the third place, it is determined that the synchronization of the synchronisation source
Grade is the first estate, and the first default logo collection is to be less than or equal to double bounce with the synchronous hop count of base station or GNSS
The corresponding set of sync id of synchronisation source, the first default logo collection include the first sub-mark set, described the
Two sub-mark set and the third sub-mark set;
4th determination sub-module, if it is the first default mark to be used for the logo collection belonging to the sync id of the synchronisation source
Gather, the position of resource occupied by the synchronizing signal is the second position, and the covering marking is second identifier, it is determined that institute
The synchronization level for stating synchronisation source is the second grade;
5th determination sub-module, if it is the second default mark to be used for the logo collection belonging to the sync id of the synchronisation source
Gather, the position of resource occupied by the synchronizing signal is first position or the second position, and the covering marking is the second mark
Know, it is determined that the synchronization level of the synchronisation source is the tertiary gradient, and the second default logo collection is and base station or GNSS
Synchronous hop count is more than the corresponding set of sync id of the synchronisation source of double bounce, and the second default logo collection is by described the
Value in one default logo collection is plus obtaining after predetermined threshold value;
Wherein, the priority of described the first estate, the second grade and the tertiary gradient reduces successively.
The terminal of the embodiment of the present invention, the third determination sub-module include:
First determination unit, if the logo collection for the synchronisation source belongs to the first sub-mark set, the synchronous letter
The position of resource occupied by number is first position, and the covering marking is first identifier, it is determined that institute's synchronisation source synchronizes
Grade is the first estate;
Second determination unit, if the logo collection for the synchronisation source belongs to the second sub-mark set, the synchronous letter
The position of resource occupied by number is first position, and the covering marking is first identifier, it is determined that institute's synchronisation source synchronizes
Grade is the first estate;
Third determination unit, if the logo collection for the synchronisation source belongs to third sub-mark set, the synchronous letter
The position of resource occupied by number is the third place, and the covering marking is first identifier or second identifier, it is determined that is synchronized
The synchronization level in source is the first estate.
The terminal of the embodiment of the present invention, the 4th determination sub-module include:
4th determination unit, if the logo collection for the synchronisation source belongs to the first sub-mark set, the synchronous letter
The position of resource occupied by number is the second position, and the covering marking is second identifier, it is determined that institute's synchronisation source synchronizes
Grade is the second grade;
5th determination unit, if the logo collection for the synchronisation source belongs to the second sub-mark set, the synchronous letter
The position of resource occupied by number is the second position, and the covering marking is second identifier, it is determined that institute's synchronisation source synchronizes
Grade is the second grade;Or
6th determination unit, if the logo collection for the synchronisation source belongs to third sub-mark set, the synchronous letter
The position of resource occupied by number is the second position, and the covering marking is second identifier, it is determined that institute's synchronisation source synchronizes
Grade is the second grade.
The terminal of the embodiment of the present invention, the 5th determination sub-module include:
7th determination unit, if the logo collection for the synchronisation source belongs to the 4th sub-mark set, the synchronous letter
The position of resource occupied by number is first position or the second position, and the covering marking is second identifier, it is determined that is synchronized
The synchronization level in source is the tertiary gradient, and the 4th sub-mark collection is combined into synchronous in base station range and with base station
Hop count is more than the corresponding set of sync id of the synchronisation source of double bounce or the corresponding set of sync id in independent synchronization source, and institute
Stating the 4th sub-mark set is obtained after adding predetermined threshold value by the value in the first sub-mark set;Or
8th determination unit, if the logo collection for the synchronisation source belongs to the 5th sub-mark set, the synchronous letter
The position of resource occupied by number is first position or the second position, and the covering marking is second identifier, it is determined that is synchronized
The synchronization level in source is the tertiary gradient, and the 5th sub-mark collection is combined into synchronous in base station range and with GNSS
Hop count is more than the corresponding set of sync id of the synchronisation source of double bounce, and the 5th sub-mark set is by the second son mark
Value in set is known plus obtaining after predetermined threshold value;Or
9th determination unit, if the logo collection for the synchronisation source belongs to the 6th sub-mark set, the synchronous letter
The position of resource occupied by number is first position or the second position, and the covering marking is second identifier, it is determined that is synchronized
The synchronization level in source is the tertiary gradient, and the 6th sub-mark collection is combined into synchronous outside base station range and with GNSS
Hop count is more than the corresponding set of sync id of the synchronisation source of double bounce, and the 6th sub-mark set is by the third mark
Value in set is known plus obtaining after predetermined threshold value.
The terminal of the embodiment of the present invention, if base station is highest priority;
The determining module includes:
6th determination sub-module, if it is the first sub-mark collection to be used for the logo collection belonging to the sync id of the synchronisation source
It closes, the position of resource occupied by the synchronizing signal is first position, and the covering marking is first identifier, it is determined that described
The synchronization level of synchronisation source is the first estate;
7th determination sub-module, if it is the first sub-mark collection to be used for the logo collection belonging to the sync id of the synchronisation source
It closes, the position of resource occupied by the synchronizing signal is the second position, and the covering marking is second identifier, it is determined that described
The synchronization level of synchronisation source is the second grade;
8th determination sub-module, if it is third sub-mark collection to be used for the logo collection belonging to the sync id of the synchronisation source
It closes, the position of resource occupied by the synchronizing signal is the third place, and the covering marking is first identifier or second identifier,
Then determine that the synchronization level of the synchronisation source is the tertiary gradient;
9th determination sub-module, if it is third sub-mark collection to be used for the logo collection belonging to the sync id of the synchronisation source
It closes, the position of resource occupied by the synchronizing signal is the second position, and the covering marking is second identifier, it is determined that described
The synchronization level of synchronisation source is the fourth estate;
Tenth determination sub-module, if it is the 4th sub-mark collection to be used for the logo collection belonging to the sync id of the synchronisation source
It closes or the 6th sub-mark set, the position of resource occupied by the synchronizing signal is first position or the second position, and described is covered
Lid is identified as second identifier, it is determined that the synchronization level of the synchronisation source is the 5th grade, and the 4th sub-mark collection is combined into place
It is more than the corresponding set of sync id or independence of the synchronisation source of double bounce in the synchronous hop count in base station range and with base station
The corresponding set of sync id of synchronisation source, the 6th sub-mark collection are combined into outside base station range and with GNSS's
Synchronous hop count is more than the corresponding set of sync id of the synchronisation source of double bounce, and the 4th sub-mark set is by described first
For value in sub-mark set plus what is obtained after predetermined threshold value, the 6th sub-mark set is by the third sub-mark set
In value plus obtaining after predetermined threshold value;
Wherein, the priority of described the first estate, the second grade, the tertiary gradient, the fourth estate and the 5th grade drops successively
It is low.
The terminal of the embodiment of the present invention, the synchronizing signal and synchronizing channel sent respectively according to multiple synchronisation sources obtain every
The synchronization level of a synchronisation source indicates information;The mapping table of information and synchronization level is indicated according to pre-determined synchronization grade, really
Fixed synchronization level corresponding with each synchronisation source synchronization level instruction information, and according to determining synchronization level, in multiple synchronizations
Object synchronization source is chosen in source, and is synchronized according to the object synchronization source of selection, due to above-mentioned correspondence in the embodiment of the present invention
Logo collection in relation table is according to the first sub-mark set, the second sub-mark set and the third sub-mark
What set obtained, and the corresponding synchronization level of synchronization level different in the mapping table indicates that information is different and synchronizes
The corresponding synchronization level instruction information of grade is different, therefore terminal can determine synchronous with synchronisation source etc. according to the correspondence
The corresponding synchronization level of grade instruction information, to solve the resource location occupied in the prior art by synchronizing signal,
SSID and PSBCH, the problem of cannot accurately determining the synchronization priority of synchronisation source.
As shown in figure 4, the terminal includes the embodiments of the present invention also provide one kind:Including:Memory 420, processor
400 and it is stored in the computer program that can be run on memory 420 and on processor 400, the processor 400 is for reading
Program in memory 420 executes following process:
The synchronizing signal and synchronizing channel sent respectively according to multiple synchronisation sources, the synchronization level for obtaining each synchronisation source refer to
Show information, the synchronization level instruction information includes logo collection belonging to the sync id of the synchronisation source, the synchronous letter
The covering marking that the position of resource occupied by number and the synchronizing channel are carried, and and and base station interior in base station range
The corresponding first sub-mark set of synchronous synchronisation source, in base station range and synchronisation source pair directly synchronous with GNSS
The second sub-mark set for answering and outside base station range and the corresponding third mark of synchronisation source directly synchronous with GNSS
Know collection and is combined into three mutually different set;
The mapping table of information and synchronization level is indicated according to pre-determined synchronization grade, is determined synchronous with each synchronisation source etc.
The corresponding synchronization level of grade instruction information, the logo collection in the mapping table be according to the first sub-mark set,
What the second sub-mark set and the third sub-mark set obtained, and synchronization level different in the mapping table
Corresponding synchronization level instruction information is different;
According to determining synchronization level, object synchronization source is chosen in multiple synchronisation sources, and according to the object synchronization of selection
Source synchronizes.
Transceiver 410, for sending and receiving data under the control of processor 400.
Wherein, in Fig. 4, bus architecture may include the bus and bridge of any number of interconnection, specifically by processor 400
The various circuits for the memory that the one or more processors and memory 420 of representative represent link together.Bus architecture is also
Various other circuits of such as peripheral equipment, voltage-stablizer and management circuit or the like can be linked together, these are all
It is it is known in the art, therefore, it will not be further described herein.Bus interface provides interface.Transceiver 410 can
To be multiple element, that is, includes transmitter and transceiver, the list for being communicated over a transmission medium with various other devices is provided
Member.For different user equipmenies, user interface 430, which can also be, external the interface for needing equipment is inscribed, and connection is set
Standby including but not limited to keypad, display, loud speaker, microphone, control stick etc..
Processor 400 is responsible for bus architecture and common processing, and memory 420 can store processor 400 and hold
Used data when row operation.
Processor 400 be additionally operable to if it is determined that multiple synchronization levels in there are identical synchronization levels, then according to synchronisation source
Signal receiving strength and determination synchronization level, in multiple synchronisation sources choosing object synchronization source synchronizes;If it is determined that
Identical synchronization level is not present in multiple synchronization levels, then according to determining synchronization level, it is highest same to choose synchronization level
Step source is as object synchronization source and synchronizes.
If processor 400 be additionally operable to the object synchronization source be in base station range and directly with base station synchronization
Synchronisation source or in base station range and synchronisation source directly synchronous with GNSS, then by the same of the object synchronization source
Sync id of the step mark as terminal, and set and the object synchronization covering marking of the synchronizing channel of the terminal to
The different second identifier of first sync id in source;If the object synchronization source be outside the base station range and directly with
The synchronisation source that GNSS is synchronized, then using the sync id in the object synchronization source as the sync id of terminal, and by the terminal
The covering marking of synchronizing channel be set as second identifier;If the object synchronization source is in base station range and indirect
Either for synchronisation source in base station range and indirectly synchronous with GNSS or it is in base with the synchronisation source of base station synchronization
Outside coverage area of standing and synchronisation source directly synchronous with GNSS, then according to the sync id in object synchronization source and predetermined threshold value
With obtain the sync id of terminal, and set the covering marking of the synchronizing channel of the terminal to second identifier.
If it is the first default identification sets that processor 400, which is additionally operable to the logo collection belonging to the sync id of the synchronisation source,
It closes, the position of resource occupied by the synchronizing signal is first position or the third place, it is determined that the synchronisation source synchronizes
Grade is the first estate, and the first default logo collection is to be less than or equal to the same of double bounce with the synchronous hop count of base station or GNSS
The corresponding set of sync id in step source, the first default logo collection include the first sub-mark set, described second
Sub-mark set and the third sub-mark set;If the logo collection belonging to the sync id of the synchronisation source is first default
The position of logo collection, resource occupied by the synchronizing signal is the second position, and the covering marking is second identifier, then really
The synchronization level of the fixed synchronisation source is the second grade;If the logo collection belonging to the sync id of the synchronisation source is second pre-
If logo collection, the position of resource occupied by the synchronizing signal is first position or the second position, and the covering marking is
Second identifier, it is determined that the synchronization level of the synchronisation source be the tertiary gradient, the second default logo collection be with base station or
The synchronization hop count of GNSS be more than double bounce synchronisation source the corresponding set of sync id, and the second default logo collection be by
Value in the first default logo collection is plus obtaining after predetermined threshold value;Wherein, described the first estate, the second grade and
The priority of three grades reduces successively.
If the logo collection that processor 400 is additionally operable to the synchronisation source belongs to the first sub-mark set, the synchronizing signal
The position of occupied resource is first position, and the covering marking is first identifier, it is determined that the synchronization level of institute's synchronisation source
For the first estate;If the logo collection of the synchronisation source belongs to the second sub-mark set, the occupied money of the synchronizing signal
The position in source is first position, and the covering marking is first identifier, it is determined that the synchronization level of institute's synchronisation source is first etc.
Grade;If the logo collection of the synchronisation source belongs to third sub-mark set, the position of resource occupied by the synchronizing signal
For the third place, and the covering marking is first identifier or second identifier, it is determined that the synchronization level of institute's synchronisation source is first
Grade.
If the logo collection that processor 400 is additionally operable to the synchronisation source belongs to the first sub-mark set, the synchronizing signal
The position of occupied resource is the second position, and the covering marking is second identifier, it is determined that the synchronization level of institute's synchronisation source
For the second grade;If the logo collection of the synchronisation source belongs to the second sub-mark set, the occupied money of the synchronizing signal
The position in source is the second position, and the covering marking is second identifier, it is determined that the synchronization level of institute's synchronisation source is second etc.
Grade;If the logo collection of the synchronisation source belongs to third sub-mark set, the position of resource occupied by the synchronizing signal
For the second position, and the covering marking is second identifier, it is determined that the synchronization level of institute's synchronisation source is the second grade.
If the logo collection that processor 400 is additionally operable to the synchronisation source belongs to the 4th sub-mark set, the synchronizing signal
The position of occupied resource is first position or the second position, and the covering marking is second identifier, it is determined that institute's synchronisation source
Synchronization level be the tertiary gradient, the 4th sub-mark collection is combined into the synchronous jump in base station range and with base station
Number set corresponding more than the sync id of the synchronisation source of double bounce or the corresponding set of sync id in independent synchronization source, and it is described
4th sub-mark set is obtained after adding predetermined threshold value by the value in the first sub-mark set;If the synchronization
The logo collection in source belongs to the 5th sub-mark set, and the position of resource occupied by the synchronizing signal is first position or second
It sets, and the covering marking is second identifier, it is determined that the synchronization level of institute's synchronisation source is the tertiary gradient, the 5th sub-mark
Collection is combined into base station range and synchronous hop count is more than the corresponding collection of sync id of the synchronisation source of double bounce with GNSS's
It closes, and the 5th sub-mark set is obtained after adding predetermined threshold value by the value in the second sub-mark set;Or
If the logo collection of the synchronisation source belongs to the 6th sub-mark set, the position of resource occupied by the synchronizing signal is first
It sets or the second position, and the covering marking is second identifier, it is determined that the synchronization level of institute's synchronisation source is the tertiary gradient, described
6th sub-mark collection is combined into outside base station range and hop count synchronous with GNSS's is more than the synchronous mark of the synchronisation source of double bounce
Know corresponding set, and the 6th sub-mark set is obtained plus after predetermined threshold value by the value in the third sub-mark set
It arrives.
If it is the first sub-mark set that processor 400, which is additionally operable to the logo collection belonging to the sync id of the synchronisation source,
The position of resource occupied by the synchronizing signal is first position, and the covering marking is first identifier, it is determined that described same
The synchronization level in step source is the first estate;
If the logo collection belonging to the sync id of the synchronisation source is the first sub-mark set, shared by the synchronizing signal
It is the second position with the position of resource, and the covering marking is second identifier, it is determined that the synchronization level of the synchronisation source is
Second grade;
If the logo collection belonging to the sync id of the synchronisation source is third sub-mark set, shared by the synchronizing signal
It is the third place with the position of resource, and the covering marking is first identifier or second identifier, it is determined that the synchronisation source
Synchronization level is the tertiary gradient;
If the logo collection belonging to the sync id of the synchronisation source is third sub-mark set, shared by the synchronizing signal
It is the second position with the position of resource, and the covering marking is second identifier, it is determined that the synchronization level of the synchronisation source is
The fourth estate;
If the logo collection belonging to the sync id of the synchronisation source is the 4th sub-mark set or the 6th sub-mark set,
The position of resource occupied by the synchronizing signal is first position or the second position, and the covering marking is second identifier, then
Determine the synchronisation source synchronization level be the 5th grade, the 4th sub-mark collection be combined into base station range and
Synchronous hop count is more than the corresponding set of sync id of the synchronisation source of double bounce or the sync id pair in independent synchronization source with base station
The set answered, the 6th sub-mark collection is combined into outside base station range and hop count synchronous with GNSS's is more than double bounce
The corresponding set of sync id of synchronisation source, and the 4th sub-mark set is added by the value in the first sub-mark set
It is obtained after upper predetermined threshold value, the 6th sub-mark set is to add predetermined threshold value by the value in the third sub-mark set
It obtains afterwards;
Wherein, the priority of described the first estate, the second grade, the tertiary gradient, the fourth estate and the 5th grade drops successively
It is low.
In some embodiments of the invention, a kind of computer readable storage medium is additionally provided, calculating is stored thereon with
Machine program, the program realize following steps when being executed by processor:
The synchronizing signal and synchronizing channel sent respectively according to multiple synchronisation sources, the synchronization level for obtaining each synchronisation source refer to
Show information, the synchronization level instruction information includes logo collection belonging to the sync id of the synchronisation source, the synchronous letter
The covering marking that the position of resource occupied by number and the synchronizing channel are carried, and and and base station interior in base station range
The corresponding first sub-mark set of synchronous synchronisation source, in base station range and synchronisation source pair directly synchronous with GNSS
The second sub-mark set for answering and outside base station range and the corresponding third mark of synchronisation source directly synchronous with GNSS
Know collection and is combined into three mutually different set.
The terminal of the embodiment of the present invention, synchronizing signal that processor 1100 is used to sent respectively according to multiple synchronisation sources and same
Channel is walked, the synchronization level instruction information of each synchronisation source is obtained;Information and synchronization level are indicated according to pre-determined synchronization grade
Mapping table determines synchronization level corresponding with each synchronisation source synchronization level instruction information, and is synchronized according to determining
Grade is chosen object synchronization source in multiple synchronisation sources, and is synchronized according to the object synchronization source of selection, in the embodiment of the present invention
Since the logo collection in above-mentioned mapping table is according to the first sub-mark set, the second sub-mark set and institute
State what third sub-mark set obtained, and the corresponding synchronization level of synchronization level different in the mapping table indicates information
The corresponding synchronization level instruction information of different synchronization levels is different, therefore terminal can determine and same according to the correspondence
The corresponding synchronization level of synchronization level instruction information in step source, is occupied by synchronizing signal in the prior art to solve
Resource location, SSID and PSBCH, the problem of cannot accurately determining the synchronization priority of synchronisation source.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention
With within principle, any modification, equivalent replacement, improvement and so on should all be included in the protection scope of the present invention god.