Disclosure of Invention
The embodiment of the application provides a cell search method, a terminal and a storage medium, wherein the terminal searches an NSA anchor cell by adopting a background search mode and adds the searched NSA anchor cell into a reselection list at a higher priority, so that the possibility that the terminal reselects the NSA anchor cell is improved.
The technical scheme of the embodiment of the application is realized as follows:
the embodiment of the application provides a cell search method, which is applied to a terminal, wherein the terminal is registered on a first cell belonging to a first type cell, and the method comprises the following steps:
searching a second type cell based on a target frequency point searching sequence and a target searching frequency band under the condition that the duration of the idle state is greater than a first time threshold;
when a second cell belonging to the second type cell is searched, adding the second cell into a reselection list of the first cell according to a first priority; the first priority is higher than a priority corresponding to a cell belonging to the first type of cell in the reselection list.
In the above scheme, the searching for the second type cell based on the target frequency point search sequence and the target search frequency band includes:
sequencing the frequency points included in the target search frequency band by using the target frequency point search sequence to obtain a frequency point sequence;
and searching the second type cells on the frequency points of the frequency point sequence in sequence.
In the foregoing solution, before the adding the second cell to the reselection list of the first cell according to the first priority, the method further includes:
acquiring a second priority corresponding to the cell belonging to the first type cell from the reselection list;
and determining the second priority according to the second priority.
In the foregoing solution, after searching for the second type cell based on the target frequency point search sequence and the target search frequency band, the method further includes:
and under the condition that any cell belonging to the second type cell is not searched, after a second time length threshold value, searching the second type cell based on the target frequency point searching sequence and the target searching frequency band again.
In the foregoing solution, after adding the second cell to the reselection list of the first cell according to the first priority, the method further includes:
and under the condition that the second cell is selected from the reselection list and is successfully registered with the second cell, ending the search of the second type cell.
In the foregoing solution, after searching for the second type cell based on the target frequency point search sequence and the target search frequency band, the method further includes:
initiating registration with the second cell when the second cell belonging to the second type cell is searched.
In the foregoing solution, after the adding the second cell to the reselection list of the first cell according to the first priority, the method further includes:
and under the condition that the second cell is selected from the reselection list and the registration to the second cell fails, after a second time length threshold value, re-searching the second type cell based on the target frequency point searching sequence and the target searching frequency band.
In the above scheme, the first type cell is a long term evolution cell, and the second type cell is a non-independent network anchor point cell.
An embodiment of the present application provides a terminal, where the terminal is registered on a first cell belonging to a first type cell, and the terminal includes:
the cell searching module is used for searching a second type cell based on a target frequency point searching sequence and a target searching frequency band under the condition that the duration of the idle state is greater than a first time threshold;
the list adding module is used for adding a second cell belonging to the second type cell into a reselection list of the first cell according to a first priority when the second cell is searched; the first priority is higher than a priority corresponding to a cell belonging to the first type of cell in the reselection list.
In the terminal, the cell search module is specifically configured to sort the frequency points included in the target search frequency band by using the target frequency point search sequence to obtain a frequency point sequence; and searching the second type cells on the frequency points of the frequency point sequence in sequence.
In the terminal, the list adding module is further configured to obtain, from the reselection list, a second priority corresponding to a cell belonging to the first type of cell; and determining the first priority according to the second priority.
In the terminal, the cell search module is further configured to search the second type cell based on the target frequency point search sequence and the target search frequency band again after a second duration threshold when any cell belonging to the second type cell is not searched.
In the above terminal, the cell search module is further configured to end the search for the second type cell when the second cell is selected from the reselection list and is successfully registered with the second cell.
In the above terminal, further comprising: a cell registration module for registering a cell in a cell,
the cell registration module is configured to initiate registration to the second cell when the second cell belonging to the second type cell is searched.
In the terminal, the cell search module is further configured to, when the second cell is selected from the reselection list and registration with the second cell fails, re-search the second type cell based on the target frequency point search sequence and the target search frequency band after a third duration threshold.
In the above terminal, the first type cell is a long term evolution cell, and the second type cell is a non-independent network anchor point cell.
The embodiment of the application provides a terminal, which comprises a processor, a memory and a communication bus;
the communication bus is used for realizing communication connection between the processor and the memory;
the processor is configured to execute the cell search program stored in the memory to implement the cell search method.
An embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the cell search method described above.
The embodiment of the application provides a cell search method, which is applied to a terminal, wherein the terminal is registered on a first cell belonging to a first type cell, and the method comprises the following steps: searching a second type cell based on a target frequency point searching sequence and a target searching frequency band under the condition that the duration of the idle state is greater than a first time threshold; when a second cell belonging to a second type cell is searched, adding the second cell into a reselection list of the first cell according to a first priority; the first priority is higher than a priority corresponding to a cell in the reselection list that belongs to the first type of cell. According to the technical scheme provided by the embodiment of the application, the terminal searches the NSA anchor point cell in a background search mode and adds the searched NSA anchor point cell into the reselection list at a higher priority, so that the possibility that the terminal reselects the NSA anchor point cell is improved.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The embodiment of the application provides a cell search method, which is implemented by a terminal, wherein the terminal can be specifically an electronic device such as a mobile phone and a tablet computer, and the embodiment of the application is not limited. Fig. 1 is a first flowchart illustrating a cell search method according to an embodiment of the present application. As shown in fig. 1, the cell search method mainly includes the following steps:
s101, searching a second type cell based on a target frequency point searching sequence and a target searching frequency band under the condition that the duration of the idle state is greater than a first time threshold.
In the embodiment of the application, the terminal may search the second type cell based on the target frequency point search sequence and the target search frequency band when the duration of the idle state is greater than the first duration threshold.
It should be noted that, in the embodiment of the present application, the terminal is currently registered on the first cell belonging to the first type cell, and the embodiment of the present application is not limited to the specific first cell.
It should be noted that, in the embodiment of the present application, the first type cell may be a long term evolution cell, that is, an LTE cell, and the second type cell may be a non-independent network anchor cell, that is, an NSA anchor cell. Correspondingly, the first cell belongs to an LTE cell, and the terminal is currently registered with the cell.
It can be understood that, in the embodiment of the present application, the terminal is actually registered to the first cell belonging to the LTE cell, and the idle state entered is actually the LTE idle state. Further, the terminal starts timing after entering the idle state, so that after the duration of the idle state is greater than the first time threshold, the search of the NSA anchor cell is started.
It should be noted that, in the embodiment of the present application, the first duration threshold may be preset according to an actual application requirement, for example, the first duration threshold is 5 minutes. In addition, the terminal may configure a timer with a first duration threshold, so that after entering the LTE idle state, the timer is started, and after the timer expires, the search of the NSA anchor cell is triggered. The specific first time length threshold is not limited in the embodiments of the present application.
Specifically, in an embodiment of the present application, a terminal searches for a second type cell based on a target frequency point search sequence and a target search frequency band, including: sequencing the frequency points included in the target search frequency band by using the target frequency point search sequence to obtain a frequency point sequence; and searching the second type cells on the frequency points of the frequency point sequence in sequence.
It should be noted that, in the embodiment of the present application, the target frequency point search sequence may be preset according to actual requirements, and the search sequences of different types of frequency points are specified. The target search frequency band is related to a Subscriber Identity Module (SIM) card of the terminal, and is set by an operator of the SIM card. The specific target frequency point searching sequence and the target searching frequency band are not limited in the embodiment of the application.
Illustratively, in the embodiment of the present application, the target frequency point search sequence is: historical learned NSA frequency points, pre-buried NSA frequency points and other frequency points with residual frequency bands. Therefore, the terminal sequences the frequency points included in the target search frequency band according to the target frequency point search sequence, that is, the NSA frequency points belonging to historical learning in the target search frequency band are arranged at the top, the NSA frequency points belonging to pre-embedded in the target search frequency band are arranged in the middle, the NSA frequency points not belonging to historical learning in the target search frequency band nor belonging to pre-embedded NSA frequency points in the target search frequency band are arranged at the bottom, that is, the rest other frequency points in the target search frequency band are arranged at the top, and thus a frequency point sequence is obtained. The frequency points of the same type, for example, the frequency points all belonging to pre-embedded NSA, may be randomly ordered, and of course, may also be ordered according to a certain rule, without specific limitation. After the terminal obtains the frequency point sequence, further, the search of the NSA anchor point cell can be sequentially performed on the frequency points of the frequency point sequence.
It can be understood that, in the embodiment of the present application, the above-mentioned sequence of searching for the target frequency point is used, the frequency points included in the target search frequency band are firstly sequenced, and then, the search of the second type of cell is performed on the frequency points of the sequence of frequency points in sequence, which is only an exemplary implementation manner. In an actual implementation process, a target frequency point searching sequence may also be utilized, one frequency point is selected from a target searching frequency band each time, and a second type cell is searched on the selected frequency point until the whole frequency band is traversed.
S102, when a second cell belonging to a second type cell is searched, adding the second cell into a reselection list of the first cell according to a first priority; the first priority is higher than a priority corresponding to a cell in the reselection list that belongs to the first type of cell.
In the embodiment of the application, when the terminal searches for a second cell belonging to a second type cell, the second cell is added to the reselection list of the first cell according to the first priority.
It should be noted that, in the embodiment of the present application, a plurality of second cells belonging to the second type of cell, which are searched by the terminal, may be provided, that is, as long as the second cell belonging to the second type of cell is searched, the second cell is added to the reselection list of the first cell according to the first priority. The specific second cells, and the number of the second cells are not limited in the embodiments of the present application.
It should be noted that, in the embodiment of the present application, the first cell belongs to an LTE cell, and the second cell belongs to an NSA anchor cell, so that the terminal adds the second cell to a reselection list of the first cell according to the first priority, and actually establishes a current service, and a relationship between the first cell belonging to the LTE cell and a neighboring cell of the second cell belonging to the NSA anchor cell, so that when the terminal moves from an LTE coverage area to an NSA coverage area to perform cell reselection, there is a possibility of reselecting the NSA anchor cell.
Specifically, in the embodiment of the present application, before the terminal adds the second cell to the reselection list of the first cell according to the first priority, the method includes: acquiring a second priority corresponding to a cell belonging to the first type cell from the reselection list; the first priority is determined according to the second priority.
It should be noted that, in the embodiment of the present application, each cell in the reselection list is configured with a corresponding priority, where a priority corresponding to a cell belonging to the first type of cell is a second priority, and the terminal may directly acquire the second priority, and then, based on a priority configuration principle, the terminal sets a first priority, which is higher than the second priority, for a second cell belonging to the second type of cell, so as to add the second cell into the reselection list according to the first priority, that is, in the reselection list, the priority of the second cell is higher, so that when the terminal moves from an LTE coverage area to an NSA coverage area and performs cell reselection, there is a greater chance to reselect the second cell belonging to the second type of cell, so as to initiate registration.
It can be understood that, in the embodiment of the present application, the first cell belongs to an LTE cell, the second cell belongs to an NSA anchor cell, and the terminal adds the second cell into a reselection list at a priority higher than that of the LTE cell, so that when the terminal moves from an LTE coverage area to an NSA coverage area and performs cell reselection, the second cell belonging to the NSA anchor cell may be selected preferentially to initiate registration, so that, when the registration is successful, the second cell provides corresponding service, and it is avoided that the cell belonging to the LTE cell is reselected all the time to perform registration during reselection.
Fig. 2 is a flowchart illustrating a cell search method according to an embodiment of the present application. As shown in fig. 2, in the embodiment of the present application, after the terminal searches for the second type cell based on the target frequency point search sequence and the target search frequency band, that is, after step S101, the method may further include the following steps:
s201, under the condition that any cell belonging to the second type cell is not searched, after a second time length threshold value, searching the second type cell based on the target frequency point searching sequence and the target searching frequency band again.
It can be understood that, in the embodiment of the present application, the terminal may also not search any cell belonging to the NSA anchor cell after executing step S101, in this case, the terminal may wait for the second duration threshold, and perform the search of the NSA anchor cell again after the second duration threshold is ended, where a specific search manner is the same as the manner described in step S101, and is not described herein again. The second duration threshold may be greater than the first duration threshold, and is preset according to actual application requirements, for example, the second duration threshold is 30 minutes. The specific second duration threshold is not limited in the embodiments of the present application.
It should be noted that, in the embodiment of the present application, after performing the NSA anchor cell search again, the terminal may not search yet, at this time, a third duration threshold may be waited, and after the third duration threshold is ended, the search of the NSA anchor cell is performed again, and so on, and then, in the case of not searching yet, the terminal may wait for a certain duration and repeatedly perform the search until a cell belonging to the NSA anchor cell is searched, so as to add the reselection list.
Fig. 3 is a third flowchart illustrating a cell search method according to an embodiment of the present application. As shown in fig. 3, in the embodiment of the present application, after the terminal searches for the second type cell based on the target frequency point search sequence and the target search frequency band, that is, after step S101, the method may further include the following steps:
s301, when a second cell belonging to the second type cell is searched, registration is initiated to the second cell.
In the embodiment of the present application, after searching for the second cell belonging to the NSA anchor cell, the terminal may also directly initiate registration with the second cell.
It is to be understood that, in the embodiment of the present application, not only the second cell may be added to the reselection list as in step S102, but also registration may be directly initiated with the second cell. Of course, the terminal may be successfully registered or may fail to be registered. If the registration fails, the terminal waits for the second duration threshold as in step S103, and re-searches the NSA anchor cell, and if the registration succeeds, the terminal may not perform the search of the NSA anchor cell any more.
Fig. 4 is a fourth flowchart illustrating a cell search method according to an embodiment of the present application. As shown in fig. 4, in the embodiment of the present application, when the terminal searches for a second cell belonging to a second type cell, after adding the second cell to the reselection list of the first cell according to the first priority, that is, after step S102, the method may further include the following steps:
s401, under the condition that the second cell is selected from the reselection list and the registration to the second cell fails, after a third time length threshold value, searching the second type cell again based on the target frequency point searching sequence and the target searching frequency band.
In the embodiment of the application, the terminal searches the second type cell again based on the target frequency point search sequence and the target search frequency band after a third time threshold value under the condition that the terminal selects the second cell from the reselection list and fails to register to the second cell.
Specifically, in the embodiment of the present application, the terminal may configure a timer with a third duration threshold, so that when the registration with the second cell belonging to the NSA anchor cell fails, the timer is started, and after the timer is over, the search of the second type cell is triggered again. The third duration threshold may be equal to or different from the second duration threshold, and the specific third duration threshold is not limited in this embodiment of the application.
It can be understood that, in the embodiment of the present application, there may be a plurality of second cells belonging to the NSA anchor cell, and therefore, when the terminal moves from the LTE coverage area to the NSA coverage area and performs cell reselection, when selecting a second cell that is most suitable for currently performing registration, the terminal may initiate registration with the second cell, and of course, if the registration fails, it is also difficult for other second cells to perform registration actually.
It should be noted that, in the embodiment of the present application, when the terminal fails to register in the second cell belonging to the NSA anchor cell, after the third duration threshold, the process of searching the NSA anchor cell again based on the target frequency point search sequence and the target search frequency band is completely the same as the process of searching the NSA anchor cell in step S101, and details are not repeated here.
It should be noted that, in the embodiment of the present application, after reselecting and searching the NSA anchor cell, if any cell belonging to the NSA anchor cell is not searched, the terminal may re-search again after the fourth time threshold, and so on, and continuously perform periodic repeated search until the cell is searched, and then add the reselection list.
It should be noted that, in the embodiment of the present application, after the terminal adds the second cell to the reselection list of the first cell based on the priority configuration principle, that is, after step S102, the method may further include the following steps: and under the condition that the second cell is selected from the reselection list and is successfully registered to the second cell, finishing the search of the second type cell.
It can be understood that, in the embodiment of the present application, when the terminal moves from the LTE coverage area to the NSA coverage area for cell reselection, it may also successfully register to the second cell after selecting the second cell of the reselection list, that is, implement registration to the second cell belonging to the NSA anchor cell, and therefore, no search for the NSA anchor cell will be required subsequently.
The embodiment of the application provides a cell search method, which is applied to a terminal, wherein the terminal is registered on a first cell belonging to a first type cell, and the method comprises the following steps: searching a second type cell based on a target frequency point searching sequence and a target searching frequency band under the condition that the duration of the idle state is greater than a first time threshold; when a second cell belonging to a second type cell is searched, adding the second cell into a reselection list of the first cell according to a first priority; the first priority is higher than a priority corresponding to a cell in the reselection list that belongs to the first type of cell. According to the technical scheme provided by the embodiment of the application, the terminal searches the NSA anchor point cell in a background search mode and adds the searched NSA anchor point cell into the reselection list at a higher priority, so that the possibility that the terminal reselects the NSA anchor point cell is improved.
An embodiment of the present application provides a terminal, and fig. 5 is a schematic structural diagram of the terminal provided in the embodiment of the present application. As shown in fig. 5, the terminal is registered on a first cell belonging to a first type cell, and the terminal includes:
a cell search module 501, configured to search a second type cell based on a target frequency point search sequence and a target search frequency band when the duration of the idle state is greater than a first time threshold;
a list adding module 502, configured to add a second cell belonging to the second type cell to a reselection list of the first cell according to a first priority when the second cell is searched; the first priority is higher than a priority corresponding to a cell belonging to the first type of cell in the reselection list.
In an embodiment, the cell search module 501 is specifically configured to sort frequency points included in the target search frequency band by using the target frequency point search sequence to obtain a frequency point sequence; and searching the second type cells on the frequency points of the frequency point sequence in sequence.
In an embodiment, the list adding module 502 is further configured to obtain, from the reselection list, a second priority corresponding to a cell belonging to the first type cell; and determining the first priority according to the second priority.
In an embodiment, the cell searching module 501 is further configured to search the second type cell based on the target frequency point searching sequence and the target searching frequency band again after a second duration threshold when any cell belonging to the second type cell is not searched.
In an embodiment, the cell search module 501 is further configured to end the search for the second type cell when the second cell is selected from the reselection list and is successfully registered with the second cell.
In one embodiment, the method further comprises: a cell registration module for registering a cell in a cell,
the cell registration module is configured to initiate registration to the second cell when the second cell belonging to the second type cell is searched.
In an embodiment, the cell searching module 501 is further configured to, when the second cell is selected from the reselection list and registration with the second cell fails, re-search the second type cell based on the target frequency point searching order and the target searching frequency band after a third duration threshold.
In an embodiment, the first type cell is a long term evolution cell, and the second type cell is a non-independent network anchor cell.
Fig. 6 is a schematic structural diagram of a terminal according to an embodiment of the present application. As shown in fig. 6, the terminal includes a processor 601, a memory 602, and a communication bus 603;
the communication bus 603 is used for realizing communication connection between the processor 601 and the memory 602;
the processor 601 is configured to execute the cell search program stored in the memory 602 to implement the cell search method.
It should be noted that: in the terminal provided in the foregoing embodiment, when performing cell search, only the division of the program modules is described as an example, and in practical applications, the processing allocation may be completed by different program modules according to needs, that is, the internal structure of the terminal is divided into different program modules to complete all or the module processing described above. In addition, the terminal and the cell search method provided by the above embodiments belong to the same concept, and the specific implementation process thereof is described in detail in the method embodiments and will not be described herein again.
The embodiment of the application provides a terminal, which is registered on a first cell belonging to a first type cell, and searches a second type cell based on a target frequency point search sequence and a target search frequency band under the condition that the duration of an idle state is greater than a first time threshold; when a second cell belonging to a second type cell is searched, adding the second cell into a reselection list of the first cell according to a first priority; the first priority is higher than a priority corresponding to a cell in the reselection list that belongs to the first type of cell. The terminal provided by the embodiment of the application searches the NSA anchor point cell by adopting a background search mode, and adds the searched NSA anchor point cell into the reselection list at a higher priority, so that the possibility that the terminal reselects the NSA anchor point cell is improved.
An embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the cell search method described above. The computer-readable storage medium may be a volatile Memory (volatile Memory), such as a Random-Access Memory (RAM); or a non-volatile Memory (non-volatile Memory), such as a Read-Only Memory (ROM), a flash Memory (flash Memory), a Hard Disk (Hard Disk Drive, HDD) or a Solid-State Drive (SSD); or may be a respective device, such as a mobile phone, computer, tablet device, personal digital assistant, etc., that includes one or any combination of the above-mentioned memories.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of implementations of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart block or blocks and/or flowchart block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart block or blocks in the flowchart and/or block diagram block or blocks.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present application are included in the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.