Summary of the invention
In view of this, main purpose of the present invention is to provide a kind of cell selecting method and device of losing after the service, causes the problem that the energy consumption of UE increases and select time is long to solve the meeting that existing cell selecting scheme exists.
For achieving the above object, technical scheme of the present invention is achieved in that
A kind of cell selecting method of losing after the service comprises:
The execution initial cell is selected, and in the frequency range that subscriber equipment (UE) is supported the sign of the sign of the public land mobile network (PLMN) under the best sub-district of signal quality, subdistrict frequency point, closed user group (CSG) sub-district on each frequency of record, formation PLMN_CSG record;
When initial cell selecting does not search proper cell when resident, from the PLMN_CSG record, select available parameter;
Carry out cell selecting once more based on the available parameter of selecting, for UE selects proper cell resident.
Described execution initial cell is selected, and in the frequency range that UE supports the sign of the sign of the PLMN under the best sub-district of signal quality, subdistrict frequency point, CSG sub-district on each frequency of record, form the PLMN_CSG record, comprising:
Whether carry out full range scanning and search in the frequency range that UE supports exists proper cell resident;
According to the frequency intensity after the full range scanning by strong to weak order, the top-quality sub-district of search signal on each frequency successively;
The sign of the sign of the PLMN under the top-quality sub-district of tracer signal, subdistrict frequency point, CSG sub-district forms the PLMN_CSG record.
Describedly from PLMN_CSG record, select available parameter, comprising:
Select available PLMN;
From described PLMN_CSG record, search the CSG sub-district available PLMN under, and the sign of the CSG sub-district arrived of record search, formation CSG sub-district record;
Judge in the SIM card of UE whether have described CSG sub-district record, if there is no, then with selected available PLMN and the residing frequency in sub-district on this available PLMN as available parameter; If exist, the then selection of the CSG sub-district that allows of the preference pattern of the CSG sub-district of setting based on CSG sub-district record and user, and with the CSG sub-district of selected permission, available PLMN and the residing frequency in sub-district on this available PLMN as available parameter.
The PLMN that described selection is available comprises:
The preference pattern of the PLMN that the user sets is an automatic mode, and then the priority of the PLMN that defines in the SIM card according to UE selects the highest PLMN of priority as available PLMN;
The preference pattern of the PLMN that the user sets is a manual mode, and then the PLMN that the user is manually selected is as available PLMN.
The selection of the CSG sub-district that the preference pattern of the described CSG sub-district of setting based on CSG sub-district record and user allows comprises:
If the preference pattern of the CSG sub-district that the user sets is an automatic mode, the CSG sub-district that is comprised in then the CSG sub-district being write down is as the CSG sub-district of selected permission;
If the preference pattern of CSG sub-district is a manual mode, and the sign of the CSG sub-district manually selected of user is present in the record of CSG sub-district, and then the CSG sub-district that the user is manually selected is as the CSG sub-district that allows;
If the preference pattern of CSG sub-district is a manual mode, and being identified in the record of CSG sub-district of the CSG sub-district that the user manually selects do not exist, the PLMN that then in the PLMN_CSG record, selects next priority again as available PLMN to search CSG sub-district record again.
A kind of cell selecting apparatus of losing after the service comprises:
Record forms module, be used to carry out initial cell and select, and in the frequency range that UE supports the sign of the sign of the PLMN under the best sub-district of signal quality, subdistrict frequency point, CSG sub-district on each frequency of record, to form the PLMN_CSG record;
Parameter is selected module, when initial cell selecting does not search proper cell when resident, is used for selecting available parameter from the PLMN_CSG record;
The cell selecting module is used for carrying out cell selecting once more based on the available parameter of selecting, for UE selects proper cell resident.
Described record forms module, comprising:
Scanning element is used for carrying out full range scanning in the frequency range that UE supports;
Search unit is used for according to the frequency intensity after the full range scanning by strong to weak order, successively the top-quality sub-district of search signal on each frequency;
Record cell is used for sign, the subdistrict frequency point of the PLMN under the top-quality sub-district of tracer signal, the sign of CSG sub-district, forms the PLMN_CSG record.
Described parameter is selected module, comprising:
Selected cell is used to select available PLMN;
Search the unit, be used for searching CSG sub-district available PLMN under, and the sign of the CSG sub-district arrived of record search is with formation CSG sub-district record from described PLMN_CSG record;
Judging unit, be used to judge in the SIM card of UE and whether have described CSG sub-district record, if exist, the then selection of the CSG sub-district that allows of the preference pattern of the CSG sub-district of setting based on CSG sub-district record and user, and with the CSG sub-district of selected permission, available PLMN and the residing frequency in sub-district on this available PLMN as available parameter, otherwise with selected available PLMN and the residing frequency in sub-district on this available PLMN as available parameter.
Described selected cell comprises:
First judgment sub-unit, whether the preference pattern of the PLMN that is used to judge that the user sets is manual mode, if, then the PLMN that the user is manually selected is as available PLMN, otherwise the priority of the PLMN that defines in the SIM card according to UE selects the highest PLMN of priority as available PLMN.
Described judging unit comprises:
Second judgment sub-unit, whether the preference pattern of the CSG sub-district that is used to judge that the user sets is manual mode, if, and the sign of the CSG sub-district manually selected of user is present in the record of CSG sub-district, and then the CSG sub-district that the user is manually selected is as the CSG sub-district that allows; And if being identified in the record of CSG sub-district of CSG sub-district that the user manually selects do not exist, the PLMN that then in the PLMN_CSG record, selects next priority again as available PLMN to search CSG sub-district record again; Otherwise with CSG sub-district, the CSG sub-district that comprised in the CSG sub-district record as selected permission.
The method of cell selecting provided by the present invention and device, when carrying out the initial cell selection, form the PLMN_CSG record, write down the sign of the PLMN under the best sub-district of signal quality on each frequency in the frequency range that UE supports in the PLMN_CSG record, subdistrict frequency point, the sign of CSG sub-district is (if exist then be the sign of CSG sub-district, otherwise be invalid value), when initial cell selecting is failed, just can directly from the PLMN_CSG record, select available parameter, and then carry out cell selecting once more based on selected available parameter, so just avoided after initial cell is selected failure, also needing to carry out the such situation of PLMN search and occurred, and then reduced the energy consumption of UE to a great extent, simultaneously also can shorten the resident once more time that enters a suitable cell of UE.
Embodiment
Basic thought of the present invention is: carry out initial cell and select, and in the frequency range that UE supports the sign of the sign of the PLMN under the best sub-district of signal quality, subdistrict frequency point, CSG sub-district on each frequency of record, to form the PLMN_CSG record; When initial cell selecting does not search when being fit to the resident sub-district of UE, from the PLMN_CSG record, select the available PLMN and the CSG sub-district of permission; Come to select to be fit to resident sub-district based on the selected available PLMN and the CSG sub-district of permission at last for UE.
Describe realization of the present invention below with reference to the accompanying drawings and in conjunction with the embodiments in detail.
Fig. 1 shows the flow chart of losing the cell selecting method after the service according to embodiments of the invention, as shown in Figure 1, comprising:
S102, AS carry out initial cell and select, and in the frequency range that UE supports the sign of the sign of the PLMN under the best sub-district of signal quality, subdistrict frequency point, CSG sub-district on each frequency of record, to form the PLMN_CSG record;
The concrete manifestation form of described PLMN_CSG record can be tabulated for PLMN_CSG.
S104, AS judge whether search the suitable resident sub-district of UE in the initial cell selection course, if then carry out S106, otherwise carry out S108;
S106, the resident respective cell that enters of UE finishes current flow process;
S108 selects available parameter from the PLMN_CSG record that forms, wherein, this available parameter can comprise residing frequency in sub-district on available PLMN, this available PLMN and the sign that allows the resident CSG sub-district (that is the CSG sub-district of permission) of UE; This available parameter also can comprise the residing frequency in sub-district under available PLMN and this available PLMN;
S110, AS carries out cell selecting once more based on selected available parameter, for UE selects proper cell resident.
Fig. 2 shows the detail flowchart of losing the cell selecting method after the service of the present invention, and in this specific embodiment, the PLMN_CSG record is specifically tabulated by PLMN_CSG and realized that as shown in Figure 2, this method specifically comprises:
S202, AS detect UE and are in and lose service state.
Particularly, when UE is in Idle state following time, AS detects the S criterion whether Serving cell satisfies cell selecting, if above situation, and this UE did not still find proper cell resident in the adjacent cell that disposes in system message in 10 seconds, just can judge that this UE has entered to lose service state.
S204, AS is in the event notice NAS of the service of losing with UE, and NAS will no longer receive any voice or the data service request that this UE initiates.
S206, AS begin to carry out initial cell and select, and the frequency range of supporting according to UE is carried out full range scanning simultaneously, write down sign, the subdistrict frequency point of the PLMN under the best sub-district of signal quality on each frequency, the sign of CSG sub-district, and form the PLMN_CSG tabulation.
Particularly, AS begins to carry out the initial cell selection course, in this process, AS also will carry out full range scanning according to the frequency range that UE supported, then according to the frequency signal strength signal intensity after the full range scanning, successively from the strongest to the most weak frequency the top-quality sub-district of search signal, and the sign of the sign of the PLMN under this sub-district, subdistrict frequency point, CSG sub-district got off as a data unit record, form the PLMN_CSG tabulation.Fig. 3 is the structural representation of PLMN_CSG tabulation, as shown in Figure 3, the PLMN_CSG tabulation is made up of one or more data cells, each data cell includes sign (PLMN ID), the subdistrict frequency point (ARFCN) of the PLMN under the best sub-district of signal quality on the frequency that UE supports, the sign (CSG ID) of CSG sub-district, wherein, PLMN ID can comprise Mobile Country Code MCC (MCC) and Mobile Network Code (MNC) again, especially, if this sub-district is non-CSG sub-district, then CSG ID is written as invalid value, showing does not have the CSG sub-district on this frequency.
S208 judges whether found the resident sub-district of suitable UE when carrying out initial cell selects, if then carry out S210, otherwise carry out S212.
S210, UE reside in the suitable cell that finds, and the PLMN_CSG tabulation is emptied, give NAS with report information such as the frequencies of sub-district, affiliated PLMN, tracing area number (TAC, Tracing Area Code) then, so that the registration of executing location district finishes current flow process then.
Particularly, when the sign identical sub-district of the sign that in the initial cell selection course, has found the PLMN under the sub-district with selected PLMN before UE loses service state, and when the cell selecting condition is satisfied in this sub-district, as satisfy the S criterion of cell selecting, when condition such as not getting clogged, just think that UE has found suitable resident sub-district, the resident respective cell that enters of UE, simultaneously, AS can reenter UE this information notice of service area NAS, NAS will recover to receive the voice of UE initiation or the request of data service, because UE has found proper cell resident, the PLMN selection after NAS just need not to carry out and the selection of CSG sub-district, so the PLMN_CSG tabulation that needs this moment to form before empties, the frequency of then that UE is resident sub-district, the sign of PLMN under the sub-district, tracing area number (TAC, TracingArea Code) etc. report information is given NAS, so that the registration of executing location district finishes current flow process then.
S212, UE resides at acceptable cell, and the PLMN_CSG tabulation is reported to NAS, and acceptable cell is meant and can allows the sub-district that UE is resident and UE can only carry out urgent call that this moment, UE was in the restriction service state.
S214, NAS at first needs to judge in the PLMN_CSG tabulation whether have the PLMN that satisfies the cell selecting condition based on the available PLMN of PLMN_CSG tabulation selection, if exist, then carries out S216, if there is no then finishes current flow process.Described cell selecting condition can refer to cell selecting the S criterion, whether get clogged etc.
S216, because the preference pattern of the PLMN that the user sets can be for manual mode, also can be automatic mode, thus need judge whether the PLMN preference pattern of user's setting is manual mode, if be manual mode, then carry out S218, then carry out S220 if not manual mode.
S218, manually the PLMN of selection is as available PLMN in the PLMN that satisfies the cell selecting condition with the user for NAS, and execution in step 222 then.
S220, NAS selects the PLMN that priority is the highest as available PLMN in the PLMN that satisfies the cell selecting condition according to the priority of the PLMN of definition in user identification module (SIM, the Subscriber Identity Module) card of UE.
S222, NAS searches the CSG sub-district under the selected available PLMN in the above step from PLMN_CSG tabulation, the sign of the CSG sub-district that record search arrives, to form the CSG cell list, and judge the CSG cell list that whether exists in the SIM card under the available PLMN, if there is no, then carry out S224, if exist, then carry out S226.
S224, NAS sends to AS with the residing frequency in sub-district under available PLMN and this available PLMN as available parameter, carries out S238 then.
S226, the preference pattern of the CSG sub-district that the user sets can be for manual mode, also can be automatic mode, so when selecting the CSG sub-district of permission based on the CSG cell list, whether the preference pattern that at first will judge the CSG sub-district that the user sets is manual mode, if not manual mode, then carry out S228, if manual mode is then carried out S230.
S236 is carried out then as the CSG sub-district of selected permission in the CSG sub-district that S228, NAS are comprised the CSG cell list under the available PLMN that preserves in the SIM card.
S230, NAS is with the CSG sub-district of the manual CSG sub-district of selecting of user as selected permission.S232, NAS judge that whether the sign of the CSG sub-district that the user manually selects is present in the selected available PLMN CSG cell list down, if there is no, then carries out S234, if S236 is then carried out in existence.
S234 removes the data cell of PLMN correspondence available in the PLMN_CSG tabulation, returns S214.
Think this moment preserve in the SIM card that under selected available PLMN, can't find UE and allow the resident CSG sub-district of UE, so need in the PLMN_CSG tabulation, to select again next PLMN as available PLMN to search the CSG cell list again, it should be noted that, behind the CSG cell list that finds under the next PLMN, the selection of the CSG sub-district that the preference pattern of the CSG sub-district that need set based on this CSG cell list that newly finds and user allows again.In the follow-up flow process, the priority of the PLMN that NAS defines in will the SIM card according to UE among the S220 selects time high PLMN of a priority as available PLMN in the PLMN that satisfies the cell selecting condition.
S236, NAS sends to AS with selected available PLMN, the residing frequency in sub-district under this available PLMN, the CSG sub-district of permission as available parameter.
In addition,, then be specially the sign of CSG sub-district, otherwise be invalid value if having the CSG sub-district under the selected available PLMN.
S238, AS carries out cell selecting once more based on the available parameter that receives.
AS carries out cell selecting once more under the qualification of available parameter, it is different that the difference selected of the cell selecting of Zhi Hanging and initial cell just is to carry out cell selecting time institute qualifications once more, after cell selecting of execution, also need the data cell of PLMN correspondence available in the PLMN_CSG tabulation is removed.
Particularly, the difference of the available parameter that sends to AS based on NAS can be divided into following several situation with the process of the cell selecting carried out once more:
During CSG cell list under not having selected available PLMN in the SIM card of UE, NAS can send to AS with selected available PLMN and the residing frequency in sub-district under this available PLMN, so AS will carry out cell selecting once more on the residing frequency in sub-district under this available PLMN;
CSG cell list under having selected available PLMN in the SIM card of UE, and the preference pattern of CSG sub-district is an automatic mode, NAS can send to AS with selected available PLMN, the residing frequency in sub-district, the CSG cell list under this available PLMN, and the cell selecting that AS will carry out once more is the cell selecting of band CSG cell list;
CSG cell list under having selected available PLMN in the SIM card of UE, the preference pattern of CSG sub-district are that the sign of the CSG sub-district manually selected of manual mode and user is when being present in the CSG cell list, NAS can send to AS with selected available PLMN, the residing frequency in sub-district under this available PLMN, the sign of the manual CSG sub-district of selecting of user, and AS will directly manually carry out resident in the CSG sub-district of selection for UE searches for this user.
S240 judges whether the cell selecting of carrying out once more is successful, if then carry out S242, otherwise return S214.
S242 resides at this sub-district, and the residing frequency in this sub-district, affiliated PLMN and TAC are reported to NAS, so that the registration of executing location district, the cell selecting process finishes.
Pass through the preferred embodiment, based on the PLMN_CSG tabulation that in the initial cell selection course, forms, AS can be resident for UE search proper cell fast and accurately, so both can reduce the energy consumption of UE, also can shorten the resident once more time that enters a suitable cell of UE greatly simultaneously.
Fig. 4 shows the schematic diagram of losing the cell selecting apparatus after the service of the present invention, and as shown in Figure 4, this device comprises:
Record forms module 402, be used to carry out initial cell and select, and in the frequency range that UE supports the sign of the sign of the PLMN under the best sub-district of signal quality, subdistrict frequency point, CSG sub-district on each frequency of record, to form the PLMN_CSG record; Parameter is selected module 404, when initial cell selecting does not search proper cell when resident, is used for selecting available parameter from the PLMN_CSG record; Cell selecting module 406 is used for carrying out cell selecting once more based on the available parameter of selecting, for UE selects proper cell resident.Specifically can tabulating by PLMN_CSG of described PLMN_CSG record realizes.
Record forms module 402 and specifically can comprise: scanning element is used for carrying out full range scanning in the frequency range that UE supports; Search unit is used for according to the frequency intensity after the full range scanning by strong to weak order, successively the top-quality sub-district of search signal on each frequency; Record cell is used for sign, the subdistrict frequency point of the PLMN under the top-quality sub-district of tracer signal, the sign of CSG sub-district, forms the PLMN_CSG record.
Parameter selects module 404 specifically can comprise: selected cell is used to select available PLMN; Search the unit, be used for searching CSG sub-district available PLMN under, and the sign of the CSG sub-district arrived of record search is with formation CSG sub-district record from described PLMN_CSG record; Judging unit, be used to judge in the SIM card of UE and whether have described CSG sub-district record, if, the then selection of the CSG sub-district that allows of the preference pattern of the CSG sub-district of setting based on CSG sub-district record and user, and with the CSG sub-district of selected permission, available PLMN and the residing frequency in sub-district on this available PLMN as available parameter, otherwise with selected available PLMN and the residing frequency in sub-district on this available PLMN as available parameter.Described CSG sub-district record specifically can be realized by the CSG cell list.
Parameter selects the selected cell in the module 404 specifically can comprise: first judgment sub-unit, whether the preference pattern of the PLMN that is used to judge that the user sets is manual mode, if, then the PLMN that the user is manually selected is as available PLMN, otherwise the priority of the PLMN that defines in the SIM card according to UE selects the highest PLMN of priority as available PLMN.
Parameter selects the judging unit in the module 404 specifically can comprise: second judgment sub-unit, whether the preference pattern of the CSG sub-district that is used to judge that the user sets is manual mode, if, and the sign of the CSG sub-district that the user manually selects is present in the record of CSG sub-district, and then the CSG sub-district that the user is manually selected is as the CSG sub-district of selected permission; And if being identified in the record of CSG sub-district of CSG sub-district that the user manually selects do not exist, the PLMN that then in the PLMN_CSG record, selects next priority again as available PLMN to search CSG sub-district record again; Otherwise with CSG sub-district, the CSG sub-district that comprised in the CSG sub-district record as selected permission.
The above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention, all any modifications of being done within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.