WO2017219960A1 - 一种注册网络失败的处理方法及终端 - Google Patents

一种注册网络失败的处理方法及终端 Download PDF

Info

Publication number
WO2017219960A1
WO2017219960A1 PCT/CN2017/089177 CN2017089177W WO2017219960A1 WO 2017219960 A1 WO2017219960 A1 WO 2017219960A1 CN 2017089177 W CN2017089177 W CN 2017089177W WO 2017219960 A1 WO2017219960 A1 WO 2017219960A1
Authority
WO
WIPO (PCT)
Prior art keywords
timer
network
terminal
priority network
time
Prior art date
Application number
PCT/CN2017/089177
Other languages
English (en)
French (fr)
Inventor
王旭康
Original Assignee
广东欧珀移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 广东欧珀移动通信有限公司 filed Critical 广东欧珀移动通信有限公司
Publication of WO2017219960A1 publication Critical patent/WO2017219960A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W60/00Affiliation to network, e.g. registration; Terminating affiliation with the network, e.g. de-registration

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a processing method and a terminal for failing to register a network.
  • SIM 2G/3G Subscriber Identity Module
  • 2G/3G SIM cards will register 4G networks. Since SIM cards do not support 4G networks, they will It is rejected by the network. At this time, the terminal will register other Tracking Area Identity (TAI) cells on the 4G network, but it has been rejected by the 4G network. Finally, it takes too much time to search for the 4G cell, resulting in the terminal being in no service. The state, bringing a poor experience to users, based on the continuous development of communication technology, the fifth-generation mobile communication (5G) network and even higher-level communication networks, the same problem will exist.
  • 5G fifth-generation mobile communication
  • the technical problem to be solved by the embodiment of the present invention is to provide a processing method and a terminal for failing to register a network, so as to solve the problem that the terminal is in a non-service state after a failure of the registration network.
  • the first aspect of the embodiments of the present invention provides a method for processing a registration network failure, including:
  • the preset timer array is started, where the preset timer array includes at least a first timer and a second timer;
  • the first priority network is searched for and registered.
  • the second aspect of the embodiment of the present invention further provides a terminal, including:
  • a startup unit configured to start a preset timer array if the terminal fails to register the first priority network, where the preset timer array includes at least a first timer and a second timer;
  • shutting down unit configured to stop searching for the first priority network within a time of the first timer, searching for a second priority network, and registering;
  • An opening unit configured to search for the first priority network and register after the time of the first timer arrives;
  • the closing unit is further configured to stop searching for the first priority in the second timer if the terminal fails to register the first priority network after the time of the first timer arrives.
  • the opening unit is further configured to search for the first priority network and register after the time of the second timer arrives.
  • the third aspect of the embodiment of the present invention further provides a terminal, including:
  • the processor, the memory, and the interface circuit are connected and complete communication with each other through the bus, wherein the memory is configured to store a set of program codes, and the processor is configured to invoke program code stored in the memory to execute The following operations:
  • the preset timer array is started, where the preset timer array includes at least a first timer and a second timer;
  • the 4G function of the terminal is started, and the first priority network is searched for and registered;
  • the first priority network is searched for and registered.
  • FIG. 1 is a schematic flowchart of a first embodiment of a method for processing a failure of registering a 4G network according to the present invention
  • FIG. 2 is a schematic flowchart diagram of a second embodiment of a method for processing a failure of registering a 4G network according to the present invention
  • FIG. 3 is a schematic diagram of the composition of a first embodiment of a terminal provided by the present invention.
  • FIG. 4 is a schematic structural diagram of a second embodiment of a terminal provided by the present invention.
  • FIG. 5 is a schematic diagram of the composition of a third embodiment of a terminal provided by the present invention.
  • the terminal in the embodiment of the present invention may include a smart phone (such as an Android mobile phone, an iOS mobile phone, a Windows Phone mobile phone, etc.), a tablet computer, a palmtop computer, a notebook computer, a mobile Internet device (MID, Mobile Internet Devices), or a wearable device. It has 4G modules and supports 4G networks.
  • the above terminals are merely examples, not exhaustive, and include but are not limited to the above terminals.
  • first, “second” and “third” and the like in the specification and claims of the present invention and the above drawings are used to distinguish different objects, and are not intended to describe a specific order.
  • the term “includes” and “Having” and any variations thereof are intended to cover non-exclusive inclusions.
  • a process, method, system, product, or device that comprises a series of steps or units is not limited to the listed steps or units, but optionally also includes steps or units not listed, or alternatively Other steps or units inherent to these processes, methods, products or equipment.
  • the search priority of the first priority network is higher than that of the second priority network, and the terminal will preferentially search for a high-level network and register under normal circumstances.
  • the following embodiments mainly describe the first priority network as a 4G network, and the second priority network as a 2G/3G network (a 2G/3G network represents a 2G network or a 3G network).
  • the first priority network may also be a 5G network or a higher level network
  • the second priority network may also be a lower 4G network than the 5G network, and only the first priority network needs to have a higher search registration priority.
  • the second priority network is OK.
  • the first priority network is a 4G network
  • the second priority network is a 2G/
  • the method includes the following steps:
  • the preset timer array includes at least a first timer and a second timer
  • the terminal when the terminal is powered on or restarted or transferred from the flight mode to the mode of searching for the 4G network, the terminal will detect whether the registered network is abnormal, and if it is normal, it can successfully register to the 4G network and enter the state of the 4G network service, which is normal. Use features like call or video. If the registered network is abnormal, the terminal cannot access the 4G network. At this point, the preset timer array can be started.
  • the preset timer array can be set by the terminal manufacturer when the device is shipped from the factory or provides a number of options, such as the number of timers and/or the timer time, for the user to select, and of course, can also be customized by the user, and the embodiment of the present invention does not make any limited.
  • timers are used for illustration. Of course, there may be only one timer in the preset timer array, or more than two timers.
  • the failure of the terminal to register the 4G network may be a hardware or software failure of the terminal 4G module, or it may be because the terminal supporting the 4G network uses a SIM card that only supports the 2G/3G network, resulting in the registration network being rejected. Obtained the network rejection reason (reject cause): NO SUITABLE AREA #15 rejected exception.
  • the embodiment of the invention is not limited at all.
  • the 4G function of the terminal can be turned off within a certain period of time, so that the terminal will actively search for the 2G/3G network and register during this time.
  • the terminal will not It is in an unserviced state, so you can use features supported by 2G/3G networks, such as calls and text messages.
  • the terminal Because the 4G network has the advantages of higher data transmission capability, the terminal still needs to be ready to register the 4G network after registering the 2G/3G network. Therefore, after the time of the first timer arrives, the terminal can be re-opened. 4G function, search 4G network and register.
  • the 4G function can be turned off within the time of the second timer, and the 2G/3G network is still registered. It is also possible to prevent the terminal from searching for the 4G network for a long time and causing the terminal to be in an unserviced state for a long time.
  • the length of the second timer is greater than the length of the first timer.
  • the time length of the first timer can be set to 1 minute, and the time length of the second timer is set to 12 hours.
  • the preset timer array is started, and the 4G function of the terminal is turned off within the time limit of the timer included in the preset timer array, so that the terminal cannot register to the 4G network. It can be registered to the 2G/3G network, so that the terminal will no longer be in a no-service state due to long-term search for the 4G network, which can improve the applicability and practicability of the terminal and improve the user experience; and after the timer time You can turn on the 4G function of the terminal again to ensure that the terminal can be registered to the 4G network and use faster network services when the terminal is back to normal.
  • the first priority network is a 4G network
  • the second priority network is a 2G/
  • the method includes the following steps:
  • step S201 If the terminal fails to register the 4G network, determine whether the reason for the registration failure is that there is no suitable cell. If yes, step S202 is performed.
  • the preset timer array includes at least a first timer and a second timer
  • the terminal when the terminal is powered on or restarted or transferred from the flight mode to the mode of searching for the 4G network, the terminal will detect whether the registered network is abnormal, and if it is normal, it can successfully register to the 4G network and enter the state of the 4G network service, which is normal. Use features like call or video. If the registered network is abnormal, the terminal cannot access the 4G network. At this point, the preset timer array can be started.
  • the preset timer array can be set by the terminal manufacturer when the device is shipped from the factory or provides a number of options, such as the number of timers and/or the timer time, for the user to select, and of course, can also be customized by the user, and the embodiment of the present invention does not make any limited.
  • timers are used for illustration. Of course, there may be only one timer in the preset timer array, or more than two timers.
  • the 4G function of the terminal can be turned off within a certain period of time, so that the terminal will actively search for the 2G/3G network and register during this time.
  • the terminal will not It is in an unserviced state, so you can use features supported by 2G/3G networks, such as calls and text messages.
  • the terminal Because the 4G network has the advantages of higher data transmission capability, the terminal still needs to be ready to register the 4G network after registering the 2G/3G network. Therefore, after the time of the first timer arrives, the terminal can be re-opened. 4G function, search 4G network and register.
  • step S206 If the terminal fails to register the 4G network after the time of the first timer arrives, it is determined whether the reason for the registration failure is that there is no suitable cell. If yes, step S207 is performed.
  • the 4G function can be turned off within the time of the second timer, and the 2G/3G network is still registered. It is also possible to prevent the terminal from searching for the 4G network for a long time and causing the terminal to be in an unserviced state for a long time.
  • the length of the second timer is greater than the length of the first timer.
  • the time length of the first timer can be set to 1 minute, and the time length of the second timer is set to 12 hours.
  • the second timer Since the terminal successfully registers with the 4G network after using the first timer, the second timer has not been enabled at this time. When the terminal fails to register the 4G network again, the timer can be restarted from the first timer. After the 4G function is searched for the 2G/3G network for a short time, the 4G function is enabled, and if the registration is still not successful, the second timer is enabled.
  • the steps of determining the reason for the registration failure and recording the rejected cell and the failure log are added, and the reason for the registration failure may be determined, so that the terminal uses the preset timer array to ensure that the terminal is in the service state, and may bring the user Good experience.
  • the method further includes the following steps:
  • the steps of determining the cause of the abnormality and recording the rejected cell information and the failure log may also be added.
  • the third timer is cancelled.
  • n is an integer greater than or equal to 1.
  • the subsequent search for the first priority network and the attempt to register the second priority network and the timing of the last timer may be stopped according to the time length of the last timer. After the length arrives, the first priority network is re-registered, that is, after the last timer still fails to register, the last timer can be reused.
  • the specific process of the three timers is similar to that of the three timers in the embodiment of the present invention, and details are not described herein again.
  • the n timers in the preset timer array are arranged in a short to long order according to the length of the timing time, where n is an integer greater than or equal to 1.
  • n is an integer greater than or equal to 1.
  • the timing length of the first timer is less than the timing length of the second timer, and the first timer is ranked first
  • the second timing is The second timer is in the second place; when there are three timers, that is, the first timer, the second timer, and the third timer, the timing length of the first timer is less than the timing length of the second timer, and the If the timing length of the second timer is less than the timing length of the third timer, the first timer is ranked first, the second timer is ranked second, and the third timer is ranked third; when more than 3 When the timer is used, the timing of the timer is arranged from short to long. Then, the network search can be switched according to the order of the time
  • the steps of determining the reason for the registration failure and recording the rejected cell and the failure log are added, and the reason for the registration failure may be determined, which is beneficial for the terminal to use the preset timer array to ensure that the terminal is in the terminal. Service status can bring a good user experience.
  • FIG. 3 is a schematic diagram of a composition of a first embodiment of a terminal according to an embodiment of the present invention.
  • a first priority network is a 4G network
  • a second priority network is a 2G/3G network.
  • the terminal includes:
  • the startup unit 100 is configured to start a preset timer array if the terminal fails to register the 4G network, where the preset timer array includes at least a first timer and a second timer;
  • the terminal when the terminal is powered on or restarted or transferred from the flight mode to the mode of searching for the 4G network, the terminal will detect whether the registered network is abnormal, and if it is normal, it can successfully register to the 4G network and enter the state of the 4G network service, which is normal. Use features like call or video. If the registered network is abnormal, the terminal cannot access the 4G network. At this point, the preset timer array can be started.
  • the preset timer array can be set by the terminal manufacturer when the device is shipped from the factory or provides a number of options, such as the number of timers and/or the timer time, for the user to select, and of course, can also be customized by the user, and the embodiment of the present invention does not make any limited.
  • timers are used for illustration. Of course, there may be only one timer in the preset timer array, or more than two timers.
  • the failure of the terminal to register the 4G network may be a hardware or software failure of the terminal 4G module, or it may be because the terminal supporting the 4G network uses a SIM card that only supports the 2G/3G network, resulting in the registration network being rejected. Obtained the network rejection reason (reject cause): NO SUITABLE AREA #15 rejected exception.
  • the embodiment of the invention is not limited at all.
  • the closing unit 200 is configured to stop searching for the 4G network, search for the 2G/3G network, and register in the time of the first timer;
  • the 4G function of the terminal can be turned off within a certain period of time, so that the terminal will actively search for the 2G/3G network and register during this time.
  • the terminal will not It is in an unserviced state, so you can use features supported by 2G/3G networks, such as calls and text messages.
  • the opening unit 300 is configured to search for a 4G network and register after the time of the first timer arrives;
  • the terminal Since the 4G network has the advantages of higher data transmission capability, the terminal still needs to be ready to register the 4G network after registering the 2G/3G network, so it arrives at the time of the first timer. After that, you can re-open the 4G function of the terminal, search for the 4G network and register.
  • the closing unit 200 is further configured to: if the terminal fails to register the 4G network after the time of the first timer arrives, stop searching for the 4G network in the second timer, and search for the 2G/3G network. registered;
  • the 4G function can be turned off within the time of the second timer, and the 2G/3G network is still registered. It is also possible to prevent the terminal from searching for the 4G network for a long time and causing the terminal to be in an unserviced state for a long time.
  • the length of the second timer is greater than the length of the first timer.
  • the time length of the first timer can be set to 1 minute, and the time length of the second timer is set to 12 hours.
  • the opening unit 300 is further configured to search for a 4G network and register after the time of the second timer arrives.
  • the starting unit 100 is further configured to cancel the second timer.
  • the search priority of the first priority network is higher than the second priority network, the first priority network is a 4G/5G network, and the second priority network is a 2G/3G network.
  • the preset timer array is started, and the 4G function of the terminal is turned off within the time limit of the timer included in the preset timer array, so that the terminal cannot register to the 4G network. It can be registered to the 2G/3G network, so that the terminal will no longer be in a no-service state due to long-term search for the 4G network, which can improve the applicability and practicability of the terminal and improve the user experience; and after the timer time You can turn on the 4G function of the terminal again to ensure that the terminal can be registered to the 4G network and use faster network services when the terminal is back to normal.
  • FIG. 4 is a schematic diagram of a second embodiment of a terminal according to an embodiment of the present invention.
  • a first priority network is a 4G network
  • a second priority network is a 2G/3G network.
  • the terminal includes:
  • the startup unit 100 is configured to start a preset timer array if the terminal fails to register the 4G network, where the preset timer array includes at least a first timer and a second timer;
  • the terminal when the terminal is powered on or restarted or transferred from the flight mode to the mode of searching for the 4G network, the terminal will detect whether the registered network is abnormal, and if it is normal, it can successfully register to the 4G network and enter the state of the 4G network service, which is normal. Use features like call or video. If the registered network is abnormal, the terminal cannot access the 4G network. At this point, the preset timer array can be started.
  • the preset timer array can be set by the terminal manufacturer when the device is shipped from the factory or provides a number of options, such as the number of timers and/or the timer time, for the user to select, and of course, can also be customized by the user, and the embodiment of the present invention does not make any limited.
  • timers are used for illustration. Of course, there may be only one timer in the preset timer array, or more than two timers.
  • the failure of the terminal to register the 4G network may be a hardware or software failure of the terminal 4G module, or it may be because the terminal supporting the 4G network uses a SIM card that only supports the 2G/3G network, resulting in the registration network being rejected. Obtained the network rejection reason (reject cause): NO SUITABLE AREA #15 rejected exception.
  • the embodiment of the invention is not limited at all.
  • the closing unit 200 is configured to stop searching for the 4G network, search for the 2G/3G network, and register in the time of the first timer;
  • the 4G function of the terminal can be turned off within a certain period of time, so that the terminal will actively search for the 2G/3G network and register during this time.
  • the terminal will not It is in an unserviced state, so you can use features supported by 2G/3G networks, such as calls and text messages.
  • the opening unit 300 is configured to search for a 4G network and register after the time of the first timer arrives;
  • the terminal Because the 4G network has the advantages of higher data transmission capability, the terminal still needs to be ready to register the 4G network after registering the 2G/3G network. Therefore, after the time of the first timer arrives, the terminal can be re-opened. 4G function, search 4G network and register.
  • the closing unit 200 is further configured to: if the terminal fails to register the 4G network after the time of the first timer arrives, stop searching for the 4G network in the second timer, and search for the 2G/3G network. registered;
  • the 4G function can be turned off within the time of the second timer, and the 2G/3G network is still registered. It can also avoid the terminal going to search for 4G network for a long time. Causes the terminal to be in an unserviced state for a long time.
  • the length of the second timer is greater than the length of the first timer.
  • the time length of the first timer can be set to 1 minute, and the time length of the second timer is set to 12 hours.
  • the opening unit 300 is further configured to search for a 4G network and register after the time of the second timer arrives.
  • the starting unit 100 is further configured to cancel the second timer.
  • the terminal further includes:
  • the determining unit 400 is configured to determine, after the terminal fails to register the 4G network, whether the reason for the registration failure is that there is no suitable cell;
  • the recording unit 500 is configured to record the rejected cell information and the failure log if the determining unit 400 determines that the reason for the registration failure is that there is no suitable cell.
  • the preset timer array further includes a third timer, if the terminal fails to register the 4G network after the time of the second timer arrives, the shutting down unit 200 is further configured to Stop searching for 4G network within the time of the third timer, search for 2G/3G network and register;
  • the opening unit 300 is further configured to search for a 4G network and register after the time of the third timer arrives;
  • the startup unit 100 is further configured to cancel the third timer.
  • the n timers in the preset timer array are arranged in a short to long order according to the length of the timing time, where n is an integer greater than or equal to 1.
  • the above-mentioned starting unit 100, the closing unit 200, the opening unit 300, the determining unit 400, and the recording unit 500 may exist independently or may be integrated, and the starting unit 100, the closing unit 200, the opening unit 300, the determining unit 400 or the recording unit 500 may be
  • the form of the hardware is separately set independently of the processor of the terminal, and the setting form may be in the form of a microprocessor; it may also be embedded in the processor of the terminal in hardware form, or may be stored in the memory of the terminal in software form.
  • the processor of the terminal invokes the operations corresponding to the above-described startup unit 100, shutdown unit 200, open unit 300, determination unit 400, and recording unit 500.
  • the activation unit 100 may be a processor of the terminal, and the shutdown unit 200, the opening unit 300, the determination unit 400, and the recording unit 500
  • the functions may be embedded in the processor, or may be set separately from the processor, or may be stored in the memory in the form of software, which is called by the processor to implement its functions.
  • the embodiment of the invention does not impose any limitation.
  • the above processor may be a central processing unit (CPU), a microprocessor, a single chip microcomputer, or the like.
  • FIG. 5 is a schematic structural diagram of a third embodiment of a terminal according to an embodiment of the present disclosure.
  • the terminal includes:
  • the processor 110 the memory 120, the interface circuit 130, and the bus 140;
  • the processor 110, the memory 120, and the interface circuit 130 are connected and complete communication with each other through the bus 140, wherein the memory 120 is configured to store a set of program codes, and the processor 110 is configured to invoke the memory.
  • the program code stored in do the following:
  • the preset timer array is started, where the preset timer array includes at least a first timer and a second timer;
  • the 4G function of the terminal is started, and the first priority network is searched for and registered;
  • the first priority network is searched for and registered.
  • the processor 110 is further configured to cancel the second timer.
  • the processor 110 is further configured to:
  • the preset timer array further includes a third timer, where the processor 110 is further configured to:
  • the 4G function of the terminal is started, and the first priority network is searched for and registered;
  • the n timers in the preset timer array are arranged in a short to long order according to the length of the timing time, where n is an integer greater than or equal to 1.
  • the search priority of the first priority network is higher than the second priority network, the first priority network is a 4G/5G network, and the second priority network is a 2G/3G network.
  • the embodiment of the present invention further provides a computer storage medium, wherein the computer storage medium can store a program, and the program includes some or all of the steps of any step counting method described in the foregoing method embodiments.
  • the present invention has the following advantages:
  • the preset timer array is started, and the first priority network is stopped in the time period of the timer included in the preset timer array, so that the terminal cannot register to the first priority.
  • the second priority network can be registered, so that the terminal is no longer in the state of no service because of searching for the first priority network for a long time, which can improve the applicability and practicability of the terminal and improve the user experience;
  • the first priority network can be searched again to ensure that the terminal can be registered to the first priority network and use faster network services when the terminal returns to normal.
  • the disclosed device may be It's way to achieve it.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or may be Integrate into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be electrical or otherwise.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
  • the technical solution of the present invention which is essential or contributes to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium.
  • a number of instructions are included to cause a computer device (which may be a personal computer, server or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Telephonic Communication Services (AREA)

Abstract

本发明实施例公开了一种注册网络失败的处理方法和终端,所述方法包括:若终端注册第一优先级网络失败,则启动预设定时器阵列,预设定时器阵列至少包括第一定时器和第二定时器;在第一定时器的时间内停止搜索所述第一优先级网络,搜索第二优先级网络并注册;在第一定时器的时间到达后,搜索所述第一优先级网络并注册;若终端在第一定时器的时间到达后注册所述第一优先级网络失败,则在第二定时器的时间内停止搜索所述第一优先级网络,搜索所述第二优先级网络并注册;在第二定时器的时间到达后,搜索所述第一优先级网络并注册。采用本发明,可避免终端注册网络失败后导致终端长时间处于无服务状态,提升了终端的适用性。

Description

一种注册网络失败的处理方法及终端 技术领域
本发明涉及通信技术领域,尤其涉及一种注册网络失败的处理方法及终端。
背景技术
随着用户通信需求的飞速发展,为了满足单用户峰值速率和系统容量提升的要求,通信网络也在不断的升级。从第二代移动通信技术(2nd-Generation mobile communication,2G)网络、第三代移动通信技术(3rd-Generation mobile communication,3G)网络发展到第四代移动通信技术(4th Generation mobile communication,4G)网络。4G网络能够快速传输数据、高质量、音频、视频和图像等。国内大部分地区已经覆盖4G网络,用户们正享受4G网络带来快速上网等便利。
但是,一些2G/3G的用户识别模块(Subscriber Identity Module,SIM)卡在支持4G网络的终端使用时上,2G/3G的SIM卡会去注册4G网络,由于SIM卡不支持4G网络,因此会被网络拒绝,此时终端将在4G网络上注册其他跟踪区标识(Tracking Area Identity,TAI)小区,而一直被4G网络拒绝,最终耗费太多时间在搜索4G小区上,导致终端一直处于无服务状态,给用户带来较差的体验,基于通信技术的不断发展,第五代移动通信技术(5th-Generation mobile communication,5G)网络甚至更高级别的通信网络下,同样将存在上述问题。
发明内容
本发明实施例所要解决的技术问题在于,提供一种注册网络失败的处理方法及终端,以解决终端注册网络失败后长时间处于无服务状态的问题。
为了解决上述技术问题,本发明实施例第一方面提供了一种注册网络失败的处理方法,包括:
若终端注册第一优先级网络失败,则启动预设定时器阵列,所述预设定时器阵列至少包括第一定时器和第二定时器;
在所述第一定时器的时间内停止搜索所述第一优先级网络,搜索第二优先 级网络并注册;
在所述第一定时器的时间到达后,搜索所述第一优先级网络并注册;
若所述终端在所述第一定时器的时间到达后注册所述第一优先级网络失败,则在所述第二定时器的时间内停止搜索所述第一优先级网络,搜索所述第二优先级网络并注册;
在所述第二定时器的时间到达后,搜索所述第一优先级网络并注册。
相应地,本发明实施例第二方面还提供了一种终端,包括:
启动单元,用于若终端注册第一优先级网络失败,则启动预设定时器阵列,所述预设定时器阵列至少包括第一定时器和第二定时器;
关闭单元,用于在所述第一定时器的时间内停止搜索所述第一优先级网络,搜索第二优先级网络并注册;
开启单元,用于在所述第一定时器的时间到达后,搜索所述第一优先级网络并注册;
所述关闭单元还用于若所述终端在所述第一定时器的时间到达后注册所述第一优先级网络失败,则在所述第二定时器的时间内停止搜索所述第一优先级网络,搜索第二优先级网络并注册;
所述开启单元还用于在所述第二定时器的时间到达后,搜索所述第一优先级网络并注册。
本发明实施例第三方面还提供了一种终端,包括:
处理器、存储器、接口电路及总线;
所述处理器、存储器及接口电路通过所述总线连接并完成相互间的通信,其中,所述存储器用于存储一组程序代码,所述处理器用于调用所述存储器中存储的程序代码,执行以下操作:
若终端注册第一优先级网络失败,则启动预设定时器阵列,所述预设定时器阵列至少包括第一定时器和第二定时器;
在所述第一定时器的时间内关闭停止搜索所述第一优先级网络,搜索第二优先级网络并注册;
在所述第一定时器的时间到达后开启所述终端的4G功能,搜索所述第一优先级网络并注册;
若所述终端在所述第一定时器的时间到达后注册所述第一优先级网络失败,则在所述第二定时器的时间内停止搜索所述第一优先级网络,搜索第二优先级网络并注册;
在所述第二定时器的时间到达后,搜索所述第一优先级网络并注册。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本发明提供的一种注册4G网络失败的处理方法的第一实施例的流程示意图;
图2是本发明提供的一种注册4G网络失败的处理方法的第二实施例的流程示意图;
图3是本发明提供的一种终端的第一实施例的组成示意图;
图4是本发明提供的一种终端的第二实施例的组成示意图;
图5是本发明提供的一种终端的第三实施例的组成示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
本发明实施例中的终端可以包括智能手机(如Android手机、iOS手机、Windows Phone手机等)、平板电脑、掌上电脑、笔记本电脑、移动互联网设备(MID,Mobile Internet Devices)或穿戴式设备等,其具备4G模块,支持4G网络。上述终端仅是举例,而非穷举,包含但不限于上述终端。
本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”和“第三”等是用于区别不同对象,而非用于描述特定顺序。此外,术语“包括”和 “具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。第一优先级网络的搜索注册优先级高于第二优先级网络,终端在正常情况下,将优先搜索高级别的网络并注册。为了便于描述,下述实施例主要以第一优先级网络为4G网络,第二优先级网络为2G/3G网络(2G/3G网络表示2G网络或3G网络)进行描述说明。
当然,第一优先级网络也可以是5G网络或更高级别的网络,第二优先级网络也可以是比5G网络低的4G网络,只需要满足第一优先级网络的搜索注册优先级高于第二优先级网络即可。
请参照图1,为本发明提供的一种注册网络失败的处理方法的第一实施例的流程示意图,在本实施例中,第一优先级网络为4G网络,第二优先级网络为2G/3G网络,所述方法包括以下步骤:
S101,若终端注册4G网络失败,则启动预设定时器阵列(time array)。
所述预设定时器阵列至少包括第一定时器和第二定时器;
可选地,当终端开机或重启或从飞行模式转入到搜索4G网络的模式时,终端将检测注册网络是否异常,如果正常则可以成功注册到4G网络并进入4G网络服务的状态,可正常使用通话或视频等功能。如果检测到注册网络异常,则此时终端无法接入4G网络。此时,可以启动预设定时器阵列。
预设定时器阵列可以由终端厂商在设备出厂时进行设置或提供若干选项如定时器数量和/或定时器时间等内容供用户选择,当然,也可以由用户自定义,本发明实施例不作任何限定。
在本实施例中,以两个定时器进行举例说明。当然,预设定时器阵列中也可以只有一个定时器,或者大于两个的定时器。
终端注册4G网络失败可能是终端4G模块的硬件或软件故障,也可能是由于支持4G网络的终端使用了只支持2G/3G网络的SIM卡,导致注册网络被拒绝。获取到网络被拒原因(reject cause):NO SUITABLE AREA#15被拒异常等。本发明实施例不作任何限定。
S102,在所述第一定时器的时间内停止搜索4G网络,搜索2G/3G网络并 注册。
由于4G网络注册失败,因此可以在一定时间内关闭终端的4G功能,使得终端在这段时间内将主动去搜索2G/3G网络并注册,当注册2G/3G网络注册成功之后,终端便不会再处于无服务的状态,从而可以使用2G/3G网络支持的功能,例如通话和短信等。
S103,在所述第一定时器的时间到达后,搜索4G网络并注册。
由于4G网络具备更高的数据传输能力等优势,因此终端在注册了2G/3G网络之后,仍然需要做好准备注册4G网络,因此,在第一定时器的时间到达之后,可以重新开启终端的4G功能,搜索4G网络并注册。
S104,若所述终端在所述第一定时器的时间到达后注册4G网络失败,则在所述第二定时器的时间内停止搜索4G网络,搜索2G/3G网络并注册。
如果终端再次注册4G网络失败,则可以在第二定时器的时间内关闭4G功能,仍然去注册2G/3G网络。同样可以避免终端长时间去搜索4G网络而导致终端长时间处于无服务状态的情况发生。
可选地,第二定时器的时间长度大于第一定时器的时间长度。例如,可以将第一定时器的时间长度设置为1分钟,而第二定时器的时间长度设置为12小时。既能保持终端继续搜索4G网络的能力,又避免了由于终端换了只支持2G/3G网络的SIM卡之后频繁的搜索网络,导致较多时间处于无服务状态的情况发生。
S105,在所述第二定时器的时间到达后,搜索4G网络并注册。
在本实施例中,通过在终端注册4G网络失败时启动预设定时器阵列,并在预设定时器阵列包括的定时器的时间内关闭终端的4G功能,使得终端在无法注册到4G网络时,可以注册到2G/3G网络,从而终端不会再因为长时间搜索4G网络导致处于无服务状态,可以提升终端的适用性和实用性,提升了用户的使用体验;且在定时器的时间之后,可以再次开启终端的4G功能,确保终端恢复正常时可以注册到4G网络并使用更快的网络服务。
请参照图2,为本发明提供的一种注册网络失败的处理方法的第二实施例的流程示意图,在本实施例中,第一优先级网络为4G网络,第二优先级网络为2G/3G网络,所述方法包括以下步骤:
S200,终端开机后搜索并注册4G网络。
S201,若终端注册4G网络失败,判断注册失败的原因是否为没有合适的小区。若是,则执行步骤S202。
其中,没有合适的小区(NO SUITABLE AREA#15)为网络注册被拒绝的主要原因之一。
S202,记录被拒的小区信息和失败日志。
利于用户查看了解历史信息,同时也利于终端在下次进行4G网络注册时,可以优先选择没有被拒的小区。
S203,启动预设定时器阵列。
所述预设定时器阵列至少包括第一定时器和第二定时器;
可选地,当终端开机或重启或从飞行模式转入到搜索4G网络的模式时,终端将检测注册网络是否异常,如果正常则可以成功注册到4G网络并进入4G网络服务的状态,可正常使用通话或视频等功能。如果检测到注册网络异常,则此时终端无法接入4G网络。此时,可以启动预设定时器阵列。
预设定时器阵列可以由终端厂商在设备出厂时进行设置或提供若干选项如定时器数量和/或定时器时间等内容供用户选择,当然,也可以由用户自定义,本发明实施例不作任何限定。
在本实施例中,以两个定时器进行举例说明。当然,预设定时器阵列中也可以只有一个定时器,或者大于两个的定时器。
S204,在所述第一定时器的时间内停止搜索4G网络,搜索2G/3G网络并注册。
由于4G网络注册失败,因此可以在一定时间内关闭终端的4G功能,使得终端在这段时间内将主动去搜索2G/3G网络并注册,当注册2G/3G网络注册成功之后,终端便不会再处于无服务的状态,从而可以使用2G/3G网络支持的功能,例如通话和短信等。
S205,在所述第一定时器的时间到达后,搜索4G网络并注册。
由于4G网络具备更高的数据传输能力等优势,因此终端在注册了2G/3G网络之后,仍然需要做好准备注册4G网络,因此,在第一定时器的时间到达之后,可以重新开启终端的4G功能,搜索4G网络并注册。
S206,若所述终端在所述第一定时器的时间到达后注册4G网络失败,则判断注册失败的原因是否为没有合适的小区。若是,则执行步骤S207。
其中,没有合适的小区(NO SUITABLE AREA#15)为网络注册被拒绝的主要原因之一。
S207,记录被拒的小区信息和失败日志。
利于用户查看了解历史信息,同时也利于终端在下次进行4G网络注册时,可以优先选择没有被拒的小区。
S208,在所述第二定时器的时间内停止搜索4G网络,搜索2G/3G网络并注册。
如果终端再次注册4G网络失败,则可以在第二定时器的时间内关闭4G功能,仍然去注册2G/3G网络。同样可以避免终端长时间去搜索4G网络而导致终端长时间处于无服务状态的情况发生。
可选地,第二定时器的时间长度大于第一定时器的时间长度。例如,可以将第一定时器的时间长度设置为1分钟,而第二定时器的时间长度设置为12小时。既能保持终端继续搜索4G网络的能力,又避免了由于终端换了只支持2G/3G网络的SIM卡之后频繁的搜索网络,导致较多时间处于无服务状态的情况发生。
S209,在所述第二定时器的时间到达后,搜索4G网络并注册。
与S206并行地,S210,若所述终端在所述第一定时器的时间到达后注册4G网络成功,则取消所述第二定时器。
由于使用第一定时器之后终端便成功注册到了4G网络,因此,此时第二定时器已经无需启用。而当终端再次注册4G网络失败时,可以从第一定时器重新开始计时,短暂关闭4G功能搜索2G/3G网络之后,再开启4G功能,如果仍无法注册成功,则启用第二定时器。
在本实施例中,加入了判断注册失败原因以及记录被拒小区和失败日志的步骤,可确定注册失败的原因,利于终端使用预设定时器阵列来确保终端处于服务状态,可以为用户带来良好的使用体验。
当所述预设定时器阵列还包括第三定时器时,所述方法还包括以下步骤:
若所述终端在所述第二定时器的时间到达后注册4G网络失败,则在所述 第三定时器的时间内停止搜索4G网络,搜索2G/3G网络并注册;
可选地,在注册失败时,同样可以加入判断异常原因及记录被拒小区信息和失败日志的步骤。
在所述第三定时器的时间到达后,搜索4G网络并注册;
若所述终端在所述第二定时器的时间到达后注册4G网络成功,则取消所述第三定时器。
需要说明的是,本发明实施例仅描述了预设定时器阵列中包括两个或三个定时器的流程,当包括更多的定时器时,如果一直没有注册4G网络成功,则只需要依次在定时器的时间内关闭终端的4G功能,搜索2G/3G网络注册;如果在第n个定时器的时间到达后仍没有注册4G网络成功,则可以启用第n+1个定时器,如果在第n个定时器的时间到达后注册4G网络成功,则可以取消第n+1个定时器及其之后的定时器,其中,n为大于或等于1的整数。当到达最后一个定时器时,如果仍未注册成功,则后续可以按照最后一个定时器的定时时间长度停止搜索第一优先级网络并尝试注册第二优先级网络以及在最后一个定时器的定时时间长度到达后重新注册第一优先级网络,即在最后一个定时器仍注册失败之后,可以重复使用最后一个定时器。三个以上定时器时的具体流程与本发明实施例中三个定时器时的流程类似,此处不再赘述。
可选地,所述预设定时器阵列中的n个定时器依据定时时间长度从短到长的顺序排列,其中,n为大于或等于1的整数。例如,当存在2个定时器即第一定时器和第二定时器时,第一定时器的定时时间长度小于第二定时器的定时时间长度,则第一定时器排在首位,第二定时器排在第二位;当存在3个定时器即第一定时器、第二定时器和第三定时器时,第一定时器的定时时间长度小于第二定时器的定时时间长度,且第二定时器的定时时间长度小于第三定时器的定时时间长度,则第一定时器排在首位,第二定时器排在第二位,第三定时器排在第三位;当大于3个定时器时,则根据定时器的定时时间时长从短到长排列。然后根据定时器的顺序进行网络搜索的切换即可。当只有1个定时器时,无需排列,直接使用这1个定时器。
在本实施例中,加入了判断注册失败原因以及记录被拒小区和失败日志的步骤,可确定注册失败的原因,利于终端使用预设定时器阵列来确保终端处于 服务状态,可以为用户带来良好的使用体验。
请参照图3,为本发明实施例提供的一种终端的第一实施例的组成示意图,在本实施例中,第一优先级网络为4G网络,第二优先级网络为2G/3G网络,所述终端包括:
启动单元100,用于若终端注册4G网络失败,则启动预设定时器阵列,所述预设定时器阵列至少包括第一定时器和第二定时器;
可选地,当终端开机或重启或从飞行模式转入到搜索4G网络的模式时,终端将检测注册网络是否异常,如果正常则可以成功注册到4G网络并进入4G网络服务的状态,可正常使用通话或视频等功能。如果检测到注册网络异常,则此时终端无法接入4G网络。此时,可以启动预设定时器阵列。
预设定时器阵列可以由终端厂商在设备出厂时进行设置或提供若干选项如定时器数量和/或定时器时间等内容供用户选择,当然,也可以由用户自定义,本发明实施例不作任何限定。
在本实施例中,以两个定时器进行举例说明。当然,预设定时器阵列中也可以只有一个定时器,或者大于两个的定时器。
终端注册4G网络失败可能是终端4G模块的硬件或软件故障,也可能是由于支持4G网络的终端使用了只支持2G/3G网络的SIM卡,导致注册网络被拒绝。获取到网络被拒原因(reject cause):NO SUITABLE AREA#15被拒异常等。本发明实施例不作任何限定。
关闭单元200,用于在所述第一定时器的时间内停止搜索4G网络,搜索2G/3G网络并注册;
由于4G网络注册失败,因此可以在一定时间内关闭终端的4G功能,使得终端在这段时间内将主动去搜索2G/3G网络并注册,当注册2G/3G网络注册成功之后,终端便不会再处于无服务的状态,从而可以使用2G/3G网络支持的功能,例如通话和短信等。
开启单元300,用于在所述第一定时器的时间到达后,搜索4G网络并注册;
由于4G网络具备更高的数据传输能力等优势,因此终端在注册了2G/3G网络之后,仍然需要做好准备注册4G网络,因此,在第一定时器的时间到达 之后,可以重新开启终端的4G功能,搜索4G网络并注册。
所述关闭单元200还用于若所述终端在所述第一定时器的时间到达后注册4G网络失败,则在所述第二定时器的时间内停止搜索4G网络,搜索2G/3G网络并注册;
如果终端再次注册4G网络失败,则可以在第二定时器的时间内关闭4G功能,仍然去注册2G/3G网络。同样可以避免终端长时间去搜索4G网络而导致终端长时间处于无服务状态的情况发生。
可选地,第二定时器的时间长度大于第一定时器的时间长度。例如,可以将第一定时器的时间长度设置为1分钟,而第二定时器的时间长度设置为12小时。既能保持终端继续搜索4G网络的能力,又避免了由于终端换了只支持2G/3G网络的SIM卡之后频繁的搜索网络,导致较多时间处于无服务状态的情况发生。
所述开启单元300还用于在所述第二定时器的时间到达后,搜索4G网络并注册。
可选地,若所述终端在所述第一定时器的时间到达后注册4G网络成功,则所述启动单元100还用于取消所述第二定时器。
所述第一优先级网络的搜索注册优先级高于所述第二优先级网络,所述第一优先级网络为4G/5G网络,所述第二优先级网络为2G/3G网络。
在本实施例中,通过在终端注册4G网络失败时启动预设定时器阵列,并在预设定时器阵列包括的定时器的时间内关闭终端的4G功能,使得终端在无法注册到4G网络时,可以注册到2G/3G网络,从而终端不会再因为长时间搜索4G网络导致处于无服务状态,可以提升终端的适用性和实用性,提升了用户的使用体验;且在定时器的时间之后,可以再次开启终端的4G功能,确保终端恢复正常时可以注册到4G网络并使用更快的网络服务。
请参照图4,为本发明实施例提供的一种终端的第二实施例的组成示意图,在本实施例中,第一优先级网络为4G网络,第二优先级网络为2G/3G网络,所述终端包括:
启动单元100,用于若终端注册4G网络失败,则启动预设定时器阵列,所述预设定时器阵列至少包括第一定时器和第二定时器;
可选地,当终端开机或重启或从飞行模式转入到搜索4G网络的模式时,终端将检测注册网络是否异常,如果正常则可以成功注册到4G网络并进入4G网络服务的状态,可正常使用通话或视频等功能。如果检测到注册网络异常,则此时终端无法接入4G网络。此时,可以启动预设定时器阵列。
预设定时器阵列可以由终端厂商在设备出厂时进行设置或提供若干选项如定时器数量和/或定时器时间等内容供用户选择,当然,也可以由用户自定义,本发明实施例不作任何限定。
在本实施例中,以两个定时器进行举例说明。当然,预设定时器阵列中也可以只有一个定时器,或者大于两个的定时器。
终端注册4G网络失败可能是终端4G模块的硬件或软件故障,也可能是由于支持4G网络的终端使用了只支持2G/3G网络的SIM卡,导致注册网络被拒绝。获取到网络被拒原因(reject cause):NO SUITABLE AREA#15被拒异常等。本发明实施例不作任何限定。
关闭单元200,用于在所述第一定时器的时间内停止搜索4G网络,搜索2G/3G网络并注册;
由于4G网络注册失败,因此可以在一定时间内关闭终端的4G功能,使得终端在这段时间内将主动去搜索2G/3G网络并注册,当注册2G/3G网络注册成功之后,终端便不会再处于无服务的状态,从而可以使用2G/3G网络支持的功能,例如通话和短信等。
开启单元300,用于在所述第一定时器的时间到达后,搜索4G网络并注册;
由于4G网络具备更高的数据传输能力等优势,因此终端在注册了2G/3G网络之后,仍然需要做好准备注册4G网络,因此,在第一定时器的时间到达之后,可以重新开启终端的4G功能,搜索4G网络并注册。
所述关闭单元200还用于若所述终端在所述第一定时器的时间到达后注册4G网络失败,则在所述第二定时器的时间内停止搜索4G网络,搜索2G/3G网络并注册;
如果终端再次注册4G网络失败,则可以在第二定时器的时间内关闭4G功能,仍然去注册2G/3G网络。同样可以避免终端长时间去搜索4G网络而导 致终端长时间处于无服务状态的情况发生。
可选地,第二定时器的时间长度大于第一定时器的时间长度。例如,可以将第一定时器的时间长度设置为1分钟,而第二定时器的时间长度设置为12小时。既能保持终端继续搜索4G网络的能力,又避免了由于终端换了只支持2G/3G网络的SIM卡之后频繁的搜索网络,导致较多时间处于无服务状态的情况发生。
所述开启单元300还用于在所述第二定时器的时间到达后,搜索4G网络并注册。
可选地,若所述终端在所述第一定时器的时间到达后注册4G网络成功,则所述启动单元100还用于取消所述第二定时器。
可选地,所述终端还包括:
判断单元400,用于在终端注册4G网络失败之后,判断注册失败的原因是否为没有合适的小区;
记录单元500,用于若所述判断单元400判定注册失败的原因为没有合适的小区,则记录被拒的小区信息和失败日志。
可选地,所述预设定时器阵列还包括第三定时器,若所述终端在所述第二定时器的时间到达后注册4G网络失败,则所述关闭单元200还用于在所述第三定时器的时间内停止搜索4G网络,搜索2G/3G网络并注册;
所述开启单元300还用于在所述第三定时器的时间到达后,搜索4G网络并注册;
若所述终端在所述第二定时器的时间到达后注册4G网络成功,则所述启动单元100还用于取消所述第三定时器。
可选地,所述预设定时器阵列中的n个定时器依据定时时间长度从短到长的顺序排列,其中,n为大于或等于1的整数。
以上启动单元100、关闭单元200、开启单元300、判断单元400及记录单元500可以独立存在,也可以集成设置,启动单元100、关闭单元200、开启单元300、判断单元400或记录单元500可以以硬件的形式独立于终端的处理器单独设置,且设置形式可以是微处理器的形式;也可以以硬件形式内嵌于该终端的处理器中,还可以以软件形式存储于该终端的存储器中,以便于该终 端的处理器调用执行以上启动单元100、关闭单元200、开启单元300、判断单元400及记录单元500对应的操作。
例如,在本发明终端的第二实施例(图4所示的实施例)中,启动单元100可以为该终端的处理器,而关闭单元200、开启单元300、判断单元400及记录单元500的功能可以内嵌于该处理器中,也可以独立于处理器单独设置,也可以以软件的形式存储于存储器中,由处理器调用实现其功能。本发明实施例不做任何限制。以上处理器可以为中央处理单元(CPU)、微处理器、单片机等。
请参照图5,为本发明实施例提供的一种终端的第三实施例的组成示意图,在本实施例中,所述终端包括:
处理器110、存储器120、接口电路130及总线140;
所述处理器110、存储器120及接口电路130通过所述总线140连接并完成相互间的通信,其中,所述存储器120用于存储一组程序代码,所述处理器110用于调用所述存储器中存储的程序代码,执行以下操作:
若终端注册第一优先级网络失败,则启动预设定时器阵列,所述预设定时器阵列至少包括第一定时器和第二定时器;
在所述第一定时器的时间内关闭停止搜索所述第一优先级网络,搜索第二优先级网络并注册;
在所述第一定时器的时间到达后开启所述终端的4G功能,搜索所述第一优先级网络并注册;
若所述终端在所述第一定时器的时间到达后注册所述第一优先级网络失败,则在所述第二定时器的时间内停止搜索所述第一优先级网络,搜索第二优先级网络并注册;
在所述第二定时器的时间到达后,搜索所述第一优先级网络并注册。
可选地,若所述终端在所述第一定时器的时间到达后注册所述第一优先级网络成功,则所述处理器110还用于取消所述第二定时器。
可选地,在终端注册所述第一优先级网络失败之后,所述处理器110还用于:
判断注册失败的原因是否为没有合适的小区;
若是,则记录被拒的小区信息和失败日志。
可选地,所述预设定时器阵列还包括第三定时器,所述处理器110还用于:
若所述终端在所述第二定时器的时间到达后注册所述第一优先级网络失败,则在所述第三定时器的时间内停止搜索第一优先级网络,搜索第二优先级网络并注册;
在所述第三定时器的时间到达后开启所述终端的4G功能,搜索所述第一优先级网络并注册;
若所述终端在所述第二定时器的时间到达后注册所述第一优先级网络成功,则取消所述第三定时器。
可选地,所述预设定时器阵列中的n个定时器依据定时时间长度从短到长的顺序排列,其中,n为大于或等于1的整数。
所述第一优先级网络的搜索注册优先级高于所述第二优先级网络,所述第一优先级网络为4G/5G网络,所述第二优先级网络为2G/3G网络。
本发明实施例还提供一种计算机存储介质,其中,该计算机存储介质可存储有程序,该程序执行时包括上述方法实施例中记载的任何计步的方法的部分或全部步骤。
通过上述实施例的描述,本发明具有以下优点:
通过在终端注册第一优先级网络失败时启动预设定时器阵列,并在预设定时器阵列包括的定时器的时间内停止搜索第一优先级网络,使得终端在无法注册到第一优先级网络时,可以注册到第二优先级网络,从而终端不会再因为长时间搜索第一优先级网络导致处于无服务状态,可以提升终端的适用性和实用性,提升了用户的使用体验;且在定时器的时间之后,可以再次搜索第一优先级网络,确保终端恢复正常时可以注册到第一优先级网络并使用更快的网络服务。
需要说明的是,本说明书中的各个实施例均采用递进的方式描述,每个实施例重点说明的都是与其它实施例的不同之处,各个实施例之间相同相似的部分互相参见即可。对于装置实施例而言,由于其与方法实施例基本相似,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。
在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其 它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:磁碟、光盘、只读存储记忆体(Read-Only Memory,简称ROM)或随机存储记忆体(Random Access Memory,简称RAM)等。
以上所述,以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。

Claims (20)

  1. 一种注册网络失败的处理方法,其特征在于,包括:
    若终端注册第一优先级网络失败,则启动预设定时器阵列,所述预设定时器阵列至少包括第一定时器和第二定时器;
    在所述第一定时器的时间内停止搜索所述第一优先级网络,搜索第二优先级网络并注册;
    在所述第一定时器的时间到达后,搜索所述第一优先级网络并注册;
    若所述终端在所述第一定时器的时间到达后注册所述第一优先级网络失败,则在所述第二定时器的时间内停止搜索所述第一优先级网络,搜索所述第二优先级网络并注册;
    在所述第二定时器的时间到达后,搜索所述第一优先级网络并注册。
  2. 根据权利要求所述1的方法,其特征在于,若所述终端在所述第一定时器的时间到达后注册所述第一优先级网络成功,则取消所述第二定时器。
  3. 根据权利要求1所述的方法,其特征在于,在终端注册所述第一优先级网络失败之后,还包括:
    判断注册失败的原因是否为没有合适的小区;
    若是,则记录被拒的小区信息和失败日志。
  4. 根据权利要求1所述的方法,其特征在于,所述预设定时器阵列还包括第三定时器,所述方法还包括:
    若所述终端在所述第二定时器的时间到达后注册所述第一优先级网络失败,则在所述第三定时器的时间内停止搜索所述第一优先级网络,搜索所述第二优先级网络并注册;
    在所述第三定时器的时间到达后,搜索所述第一优先级网络并注册;
    若所述终端在所述第二定时器的时间到达后注册所述第一优先级网络成功,则取消所述第三定时器。
  5. 根据权利要求1-4任一项所述的方法,其特征在于,所述预设定时器阵列中的n个定时器依据定时时间长度从短到长的顺序排列,其中,n为大于或等于1的整数。
  6. 根据权利要求5所述的方法,其特征在于,所述第一优先级网络的搜索注册优先级高于所述第二优先级网络。
  7. 根据权利要求6所述的方法,其特征在于,所述第一优先级网络为4G/5G网络,所述第二优先级网络为2G/3G网络。
  8. 一种终端,其特征在于,包括:
    启动单元,用于若终端注册第一优先级网络失败,则启动预设定时器阵列,所述预设定时器阵列至少包括第一定时器和第二定时器;
    关闭单元,用于在所述第一定时器的时间内停止搜索所述第一优先级网络,搜索第二优先级网络并注册;
    开启单元,用于在所述第一定时器的时间到达后,搜索所述第一优先级网络并注册;
    所述关闭单元还用于若所述终端在所述第一定时器的时间到达后注册所述第一优先级网络失败,则在所述第二定时器的时间内停止搜索所述第一优先级网络,搜索第二优先级网络并注册;
    所述开启单元还用于在所述第二定时器的时间到达后,搜索所述第一优先级网络并注册。
  9. 根据权利要求8所述的终端,其特征在于,若所述终端在所述第一定时器的时间到达后注册所述第一优先级网络成功,则所述启动单元还用于取消所述第二定时器。
  10. 根据权利要求8所述的终端,其特征在于,所述终端还包括:
    判断单元,用于在终端注册所述第一优先级网络失败之后,判断注册失败的原因是否为没有合适的小区;
    记录单元,用于若所述判断单元判定注册失败的原因为没有合适的小区,则记录被拒的小区信息和失败日志。
  11. 根据权利要求8所述的终端,其特征在于,所述预设定时器阵列还包括第三定时器,若所述终端在所述第二定时器的时间到达后注册所述第一优先级网络失败,则所述关闭单元还用于在所述第三定时器的时间内停止搜索所述第一优先级网络,搜索第二优先级网络并注册;
    所述开启单元还用于在所述第三定时器的时间到达后,搜索所述第一优先级网络并注册;
    若所述终端在所述第二定时器的时间到达后注册所述第一优先级网络成功,则所述启动单元还用于取消所述第三定时器。
  12. 根据权利要求所述8-11任一项所述的终端,其特征在于,
    所述预设定时器阵列中的n个定时器依据定时时间长度从短到长的顺序排列,其中,n为大于或等于1的整数。
  13. 根据权利要求12所述的终端,其特征在于,所述第一优先级网络的搜索注册优先级高于所述第二优先级网络。
  14. 根据权利要求13所述的终端,其特征在于,所述第一优先级网络为4G/5G网络,所述第二优先级网络为2G/3G网络。
  15. 一种终端,其特征在于,包括:
    处理器、存储器、接口电路及总线;
    所述处理器、存储器及接口电路通过所述总线连接并完成相互间的通信,其中,所述存储器用于存储一组程序代码,所述处理器用于调用所述存储器中存储的程序代码,执行以下操作:
    若终端注册第一优先级网络失败,则启动预设定时器阵列,所述预设定时器阵列至少包括第一定时器和第二定时器;
    在所述第一定时器的时间内关闭停止搜索所述第一优先级网络,搜索第二优先级网络并注册;
    在所述第一定时器的时间到达后开启所述终端的4G功能,搜索所述第一优先级网络并注册;
    若所述终端在所述第一定时器的时间到达后注册所述第一优先级网络失败,则在所述第二定时器的时间内停止搜索所述第一优先级网络,搜索第二优先级网络并注册;
    在所述第二定时器的时间到达后,搜索所述第一优先级网络并注册。
  16. 根据权利要求15所述的终端,其特征在于,若所述终端在所述第一定时器的时间到达后注册所述第一优先级网络成功,则所述处理器还用于取消所述第二定时器。
  17. 根据权利要求15所述的终端,其特征在于,在终端注册所述第一优先级网络失败之后,所述处理器还用于:
    判断注册失败的原因是否为没有合适的小区;
    若是,则记录被拒的小区信息和失败日志。
  18. 根据权利要求所述15所述的终端,其特征在于,
    所述预设定时器阵列还包括第三定时器,所述处理器还用于:
    若所述终端在所述第二定时器的时间到达后注册所述第一优先级网络失败,则在所述第三定时器的时间内停止搜索第一优先级网络,搜索第二优先级网络并注册;
    在所述第三定时器的时间到达后开启所述终端的4G功能,搜索所述第一优先级网络并注册;
    若所述终端在所述第二定时器的时间到达后注册所述第一优先级网络成功,则取消所述第三定时器。
  19. 根据权利要求所述15-18任一项所述的终端,其特征在于,
    所述预设定时器阵列中的n个定时器依据定时时间长度从短到长的顺序排列,其中,n为大于或等于1的整数。
  20. 根据权利要求19所述的终端,其特征在于,所述第一优先级网络的搜索注册优先级高于所述第二优先级网络,所述第一优先级网络为4G/5G网络,所述第二优先级网络为2G/3G网络。
PCT/CN2017/089177 2016-06-21 2017-06-20 一种注册网络失败的处理方法及终端 WO2017219960A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610466446.2 2016-06-21
CN201610466446.2A CN106162825A (zh) 2016-06-21 2016-06-21 一种注册网络失败的处理方法及终端

Publications (1)

Publication Number Publication Date
WO2017219960A1 true WO2017219960A1 (zh) 2017-12-28

Family

ID=57353392

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/089177 WO2017219960A1 (zh) 2016-06-21 2017-06-20 一种注册网络失败的处理方法及终端

Country Status (2)

Country Link
CN (1) CN106162825A (zh)
WO (1) WO2017219960A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114666871A (zh) * 2020-12-22 2022-06-24 深圳市万普拉斯科技有限公司 一种搜网方法、装置、移动终端和存储介质

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106162825A (zh) * 2016-06-21 2016-11-23 广东欧珀移动通信有限公司 一种注册网络失败的处理方法及终端
CN106535270B (zh) * 2016-12-15 2019-10-11 北京小米移动软件有限公司 网络选择方法及装置
CN107567074B (zh) * 2017-07-05 2020-11-10 宇龙计算机通信科技(深圳)有限公司 网络连接方法、装置及终端
CN109379779B (zh) * 2018-09-06 2022-03-15 深圳市广和通无线股份有限公司 拨号联网方法、装置、计算机设备和存储介质
CN112637829B (zh) * 2019-09-24 2024-05-24 北京小米移动软件有限公司 移动终端的控制方法、装置及系统
CN112887161B (zh) * 2019-11-29 2024-02-09 西安诺瓦星云科技股份有限公司 移动网络检测方法和装置
CN111182613B (zh) * 2019-12-20 2021-02-02 翱捷科技股份有限公司 一种多模移动终端及其搜网方法
CN111225432B (zh) * 2020-01-13 2022-10-18 Oppo广东移动通信有限公司 一种小区注册方法、终端及存储介质
CN112333744B (zh) * 2020-11-25 2023-04-07 Oppo(重庆)智能科技有限公司 小区注册方法、装置、设备及存储介质
CN112738794B (zh) * 2021-01-07 2022-09-27 展讯半导体(成都)有限公司 驻网方法、芯片、移动终端及存储介质
CN113015187B (zh) * 2021-02-22 2023-10-10 Oppo广东移动通信有限公司 一种网络注册方法、装置、终端设备及计算机存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101106826A (zh) * 2007-08-27 2008-01-16 中兴通讯股份有限公司 自动选网方法及自动选网装置
CN101409917A (zh) * 2008-10-27 2009-04-15 深圳华为通信技术有限公司 一种通信网络注册方法和终端
CN103200651A (zh) * 2013-03-25 2013-07-10 深圳市中兴移动通信有限公司 多模终端、实现多模终端自动搜索网络的方法和系统
CN103228017A (zh) * 2013-04-03 2013-07-31 工业和信息化部电信研究院 一种多模终端的模式间切换方法
CN103747469A (zh) * 2014-01-21 2014-04-23 宇龙计算机通信科技(深圳)有限公司 快速启动网络搜索的装置和方法
CN106162825A (zh) * 2016-06-21 2016-11-23 广东欧珀移动通信有限公司 一种注册网络失败的处理方法及终端

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103716852A (zh) * 2014-01-03 2014-04-09 宇龙计算机通信科技(深圳)有限公司 终端和快速恢复数据业务的方法

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101106826A (zh) * 2007-08-27 2008-01-16 中兴通讯股份有限公司 自动选网方法及自动选网装置
CN101409917A (zh) * 2008-10-27 2009-04-15 深圳华为通信技术有限公司 一种通信网络注册方法和终端
CN103200651A (zh) * 2013-03-25 2013-07-10 深圳市中兴移动通信有限公司 多模终端、实现多模终端自动搜索网络的方法和系统
CN103228017A (zh) * 2013-04-03 2013-07-31 工业和信息化部电信研究院 一种多模终端的模式间切换方法
CN103747469A (zh) * 2014-01-21 2014-04-23 宇龙计算机通信科技(深圳)有限公司 快速启动网络搜索的装置和方法
CN106162825A (zh) * 2016-06-21 2016-11-23 广东欧珀移动通信有限公司 一种注册网络失败的处理方法及终端

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114666871A (zh) * 2020-12-22 2022-06-24 深圳市万普拉斯科技有限公司 一种搜网方法、装置、移动终端和存储介质

Also Published As

Publication number Publication date
CN106162825A (zh) 2016-11-23

Similar Documents

Publication Publication Date Title
WO2017219960A1 (zh) 一种注册网络失败的处理方法及终端
US8909290B2 (en) Methods and apparatus for subscription management in dual SIM single standby devices
EP3255912B1 (en) Mobile terminal, maintenance server and maintenance method and apparatus for virtual sim card
WO2016165389A1 (zh) 屏幕异常的处理方法、处理装置和终端
US9569607B2 (en) Security verification method and apparatus
US9974010B2 (en) System and method for establishing network connection and terminal having the system
CN106454793B (zh) 控制用户设备中的定时器的方法
CN103747512A (zh) 数据业务的处理方法、处理系统和终端
US8270970B1 (en) Network listening method of a mobile phone
WO2018107891A1 (zh) 网络通信功能异常的处理方法、应用处理器和计算机存储介质
CN104601818A (zh) 一种在通讯过程中切换操作系统的方法及装置
CN103561435A (zh) 多模终端和通信方法
US11903041B2 (en) Abnormality processing method, terminal device and storage medium
WO2017181465A1 (zh) 一种接入点名称apn的配置方法及装置
US8494519B2 (en) Method for solving conflict between network searching and mobile phone traffic and a multi-card multi-by mobile phone
CN112153215A (zh) 通话处理方法、装置、相关设备及存储介质
CN106686627B (zh) WiFi/热点的开启方法及装置
CN110035496B (zh) 一种云平台切换方法、系统及电子设备
CN106020426B (zh) 一种唤醒锁的释放方法和装置
EP3057377A1 (en) Network device, terminal device and voice service control method
CN105407470A (zh) 一种基于日程安排的呼叫回复方法及通信终端
CN107566215B (zh) 无线网络断流检测方法、装置、存储介质及移动终端
CN108599987B (zh) 网络通信功能异常的处理方法、应用处理器和用户终端
CN108347740B (zh) 一种网络通信功能异常的处理方法和应用处理器
CN108282804B (zh) 网络通信功能异常的处理方法、应用处理器和移动终端

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17814698

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17814698

Country of ref document: EP

Kind code of ref document: A1