WO2016180226A1 - Network searching method, apparatus and computer-readable storage medium - Google Patents
Network searching method, apparatus and computer-readable storage medium Download PDFInfo
- Publication number
- WO2016180226A1 WO2016180226A1 PCT/CN2016/080262 CN2016080262W WO2016180226A1 WO 2016180226 A1 WO2016180226 A1 WO 2016180226A1 CN 2016080262 W CN2016080262 W CN 2016080262W WO 2016180226 A1 WO2016180226 A1 WO 2016180226A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- network
- terminal device
- searches
- mode
- search
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/18—Selecting a network or a communication service
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/16—Discovering, processing access restriction or access information
Definitions
- the present application relates to, but is not limited to, Internet technologies, and in particular, to a method, apparatus, and computer readable storage medium for finding a network.
- TDL+TD-SCDMA+GSM For example, China Mobile Communications Corporation requires that when the terminal is in China, the mode of operation is TDL+TD-SCDMA+GSM. When roaming abroad, TDL+FDL+WCDMA+GSM is turned on, and then, for example, China Telecom requires domestic use.
- the mode is TDL+FDL+HRPD+CDMA1X, and TDL+FDL+WCDMA+GSM is enabled in non-Japan and South Korea, and FDL+TDL+WCDMA+HRPD+CDMA1X is required in Japan and South Korea.
- the current practice of the mobile phone is to switch the mode of the mobile terminal by a timer method. For example, when the terminal goes from a non-roaming country to a roaming country, the network is first searched in a non-roaming mode, and a timer is started. When the timer expires, when there is no domestic network, the roaming mode is enabled, and then the network is searched. Look for the network, after the roaming network is found, the registration process is initiated. For example, the current admirel platform is set to 3 minutes, the MTK platform is set to about 2 minutes, and the Qualcomm platform is set to 10 minutes in the early stage. Later, it was found that the time for roaming under the network was too long to change the timer to 1 minute.
- the common practice of the above technical solution is to set a timer. After the timer expires, the mobile terminal performs mode switching, and then performs a network registration network. When the mobile terminal moves between the roaming network and the non-roaming network, the roaming mode can be used to register the network registration by means of a timer. However, this time is generally fixed and rigid. When the time setting is unreasonable, the mobile terminal is in the middle. When the navigation and non-roaming status are switched, the problem of extending the network is raised.
- a method for finding a network which is applied to a terminal device, and the method includes:
- the terminal device searches for a network according to a predetermined rule after there is no network
- the terminal device searches for the network successfully, the system and mode supported by the terminal device are switched according to the parsed mobile country number MCC.
- searching for the network according to a predetermined rule includes:
- the terminal device After the terminal device does not have a network, it is determined whether the terminal device is the first network search;
- the network is searched according to the mode and system that the terminal device starts after the network is successfully found last time.
- switching the mode and mode supported by the terminal device according to the parsed mobile country number MCC includes:
- the terminal device When the terminal device searches for the network successfully, the terminal device parses the system broadcast message of the searched network, and parses the MCC according to the system broadcast message;
- the method further includes:
- the terminal device When it is determined that the terminal device is not looking for a network for the first time, after the terminal device searches for the network according to the mode and system that is opened after the last time the terminal device finds the network successfully, when the terminal device searches for the network unsuccessfully, the root According to the protocol and/or platform policy, if the network is searched again for M times, the system and the frequency band of the terminal device are continuously searched for the network; or,
- the terminal device searches for the network unsuccessfully, after searching for the network N times according to the protocol and/or the platform policy, the system and the mode supported by the terminal device are switched according to the parsed mobile country number MCC, where M, N is the number of times the network is searched; M and N are positive integers, and 0 ⁇ N ⁇ M.
- the method further includes:
- the terminal device When the terminal device is not looking for the network for the first time, after the terminal device searches for the network according to the mode and system that is successfully opened after the last time the network device is found, when the terminal device searches for the network unsuccessfully, all the standards of the terminal device are started. And the band continues to search the network.
- a device for finding a network which is disposed on a terminal device, and the device includes:
- a search module configured to search for a network according to a predetermined rule after the terminal device has no network
- the processing module is configured to, when the search module searches for a network success, switch the system and mode supported by the terminal device according to the parsed mobile country number MCC.
- the searching module searches for the network according to a predetermined rule after the terminal device does not have a network, including:
- the searching module determines whether the terminal device is the first network search
- the searching module searches for a network according to the full-standard and full-band supported by the terminal device;
- the search module searches for a network according to a mode and a system that the terminal device turns on after the last time the network device is successfully found.
- the processing module when the search module searches for a network success, according to the parsed mobile country No. MCC switches the modes and modes supported by the terminal device, including:
- the processing module parses the system broadcast message of the searched network, and parses the MCC according to the system broadcast message;
- the processing module determines the current location of the terminal device according to the MCC, and switches to a current system and mode corresponding to the current location of the terminal device according to the current location of the terminal device.
- the search module is further configured to: when it is determined that the terminal device is not looking for a network for the first time, after the terminal device searches for the network according to the mode and system that is opened after the last time the network device is successfully found, when the search module searches for the network is unsuccessful, If the network is searched for M times again according to the protocol and/or the platform policy, the system and the frequency band of the terminal device are turned on to continue searching for the network;
- the processing module is further configured to: when the search module searches for the network unsuccessfully, and searches for the network N times according to the protocol and/or the platform policy, the switch is supported by the terminal device according to the parsed mobile country number MCC.
- MCC parsed mobile country number
- the search module is further configured to: when it is determined that the terminal device is not searching for the network for the first time, after the terminal device searches for the network according to the mode and system that is opened after the last time the terminal device finds the network successfully, when the terminal device searches for the network is unsuccessful, Turn on all the standards and frequency bands of the terminal device to continue searching the network.
- a computer readable storage medium storing computer executable instructions that, when executed by a processor, implement the method of finding a network.
- the terminal device With the solution of the embodiment of the present invention, it is possible to search the network through the terminal device without changing the protocol search network and the registration standard, analyze the MCC parameters in the network, and determine whether the current country where the terminal is located is a roaming environment or a non-roaming environment, so that The terminal device implements dynamic and fast switching between roaming and non-roaming modes.
- FIG. 1 is a flowchart of a method for searching for a network according to Embodiment 1 of the present invention
- FIG. 2 is a schematic diagram of a roaming scene of a mobile terminal according to Embodiment 1 of the present invention.
- FIG. 3 is a flowchart of finding a network by a mobile terminal according to Embodiment 1 of the present invention.
- Embodiment 4 is a schematic diagram of an apparatus for finding a network in Embodiment 2 of the present invention.
- the embodiment of the invention provides a method, a device and a computer readable storage medium for finding a network, which realizes a fast switching roaming and non-roaming mode of the terminal device, and accelerates the process of registering the network of the terminal device.
- an embodiment of the present invention provides a method for searching for a network, which is applied to a terminal device, where the method includes steps S101 to S102:
- the terminal device searches for a network according to a predetermined rule after there is no network.
- searching for the network according to a predetermined rule includes steps S201 to S203:
- the network is searched according to the full-standard and full-band supported by the terminal device.
- the embodiment of the present invention may be that the terminal device finds a network after there is no network in the same country, and may also find a network when switching between the roaming ground and the non-roaming ground.
- the following scenario can be triggered by triggering the network after the terminal has no network:
- the network When the terminal device enters a bad signal area, such as an elevator or a basement, the network may be lost. When re-entering a good signal area, the network will be triggered.
- a bad signal area such as an elevator or a basement
- switching the system and mode supported by the terminal device according to the parsed mobile country number MCC includes steps S301-S302:
- the terminal device parses the system broadcast message of the searched network, and parses the MCC according to the system broadcast message.
- S302. Determine, according to the MCC, a current location of the terminal device, and switch to a current system and a mode corresponding to the current location of the terminal device according to the current location of the terminal device.
- the MCC it is judged that the current location of the terminal device is the United States, and the system and mode of the terminal device are switched to the corresponding system and mode of the United States.
- the method further includes: when it is determined that the terminal device is not searching for the network for the first time, after the terminal device searches for the network according to the mode and the system that is successfully opened after the last time the terminal device finds the network, when the terminal device searches for the network is unsuccessful, If the network is searched again for M times according to the protocol and/or platform policy, the system and the frequency band of the terminal device are continuously searched for the network; or,
- the terminal device searches for the network unsuccessfully, after searching for the network N times according to the protocol and/or the platform policy, the system and the mode supported by the terminal device are switched according to the parsed mobile country number MCC, where M, N is the number of times the network is searched; M and N are positive integers, and 0 ⁇ N ⁇ M.
- M may be a preset maximum number of searches again.
- the preset M is 4, so that when the terminal device searches for the network unsuccessfully, the network is searched again according to the protocol and/or the platform policy. If the third search network succeeds, the system and the mode supported by the terminal device are switched according to the MCC. . If the search is still unsuccessful for 4 times, the network will no longer be searched according to the protocol and/or platform policy, and all the standards and frequency bands of the terminal device continue to search the network.
- M 0.
- the terminal device searches for the network unsuccessfully, it is not necessary to search the network according to the protocol and/or platform policy, but directly open all the standards and frequency bands of the terminal device to continue searching the network.
- FIG. 2 it is a roaming scene graph of the mobile terminal 101 according to an embodiment of the present invention.
- the mobile wireless network 100, 200 may be a TDL network, an FDL network, or the like.
- the network supports standard 3GPP and 3GPP2 protocol standards, can broadcast system messages, and carries network parameters such as MCC.
- the mobile terminal 101 supports multi-mode multi-band, for example, supports TDL, FDL, WCDMA, TD-SCDMA, GSM, or supports multiple modes such as TDL, FDL, WCDMA, TD-SCDMA, GSM, HRPD, CDMA1X.
- the mobile terminal 101 supports multi-mode switching between a non-roaming network and a roaming network.
- the wireless communication network terminal/wireless transmitting equipment 102, 202 can transmit wireless signals to the terminal and receive and resolve signals that the mobile terminal cannot.
- the mobile terminal 101 when the mobile terminal 101 moves from one wireless network 100 to another wireless network 200, if the network is lost, the mobile terminal 101 re-searches the network, and when searching for the network, attempts to resolve the network network system.
- the message parses the wireless network parameters such as the MCC, and the mobile terminal determines, according to the value of the wireless network parameter MCC, whether the network environment in which the current terminal is located is a non-roaming network or a non-roaming network, thereby determining the format and mode of the mobile terminal, and further including information such as a frequency band. .
- the process for the mobile terminal to find a network is as follows, including steps S401 to S412:
- the mobile terminal performs scene switching of the roaming ground and the non-roaming ground.
- S402 determines whether it is the first time to find the network; if it is the first time to find the network to step S407, if it is not the first time to find the network to step S403.
- the mobile terminal searches for the network according to the system and mode that is started after the last successful network search.
- RPLMN can be searched according to protocol rules.
- step S404 Determine whether the search network is successful; if successful, go to step S409; if not, go to step S405:
- step S406. Determine whether the search network is successful; if successful, go to step S409; if not, go to step S407.
- the mobile terminal needs to open all the standards and frequency bands supported by the mobile terminal, and perform a full-standard, full-band search network.
- step S408 Determine whether the search network is successful; if the search network succeeds, go to step S409; if the search network fails, go to step S407.
- the mobile terminal searches for the network and obtains the corresponding cell, attempts to parse the read system message, and obtain parameters such as the system message MCC.
- S412 Perform PLMN selection according to the protocol rule, select the cell, and initiate registration to the corresponding network.
- the number of times M can be set by the mobile terminal platform, and the smaller the number of times M is set, the shorter the time for the mobile terminal to start full-band scanning.
- the mobile terminal performs full-band, full-standard mode. The probability of searching the network will also increase, and the possibility of searching for the network is also greater, and the time for the mobile terminal to switch modes is also shorter.
- the number M minimum may be set to 0.
- step S404 determines whether the search network is unsuccessful, step S407 is directly performed without performing step S405 and step S406.
- the mobile terminal can repeatedly search for up to 4 times according to its own policy. In each of the 4 times, it can be judged whether to search for the network every time the search is performed. If the network is searched in the third search, then It is possible to directly proceed to step S409, so that it is not necessary to perform the fourth search again. If the network is not searched for the fourth time, step S407 needs to be performed to start all the systems and the frequency band to continue searching.
- the embodiment further provides a device for searching for a network, which is disposed on a terminal device, and the device includes:
- the searching module 11 is configured to search the network according to a predetermined rule after the terminal device has no network;
- the processing module 12 is configured to, when the search module 11 searches for a network success, switch the system and mode supported by the terminal device according to the parsed mobile country number MCC.
- the searching module 11 searches for a network according to a predetermined rule after the terminal device does not have a network, including:
- the searching module 11 determines whether the terminal device is the first network search.
- the search module 11 searches for a network according to the full-standard and full-band supported by the terminal device.
- the search module 11 searches for the network according to the mode and system that the terminal device turns on after the last time the network device is successfully found.
- the processing module 12 switches the system and mode supported by the terminal device according to the parsed mobile country number MCC, including:
- the processing module 12 parses the system broadcast message of the searched network, and parses the MCC according to the system broadcast message;
- the processing module 12 determines the current location of the terminal device according to the MCC, and switches to a current system and mode corresponding to the current location of the terminal device according to the current location of the terminal device.
- the search module 11 is further configured to: when it is determined that the terminal device is not looking for a network for the first time, after the terminal device searches for the network according to the mode and system that is successfully opened after the last time the network device is found, the search module 11 searches for the network. If the network is searched for M times again according to the protocol and/or the platform policy, the system and the frequency band of the terminal device are continuously searched for the network.
- the processing module 12 is further configured to: when the terminal device is not searching for the network for the first time, when the search module 11 searches for the network unsuccessfully, and searches the network again after the N times according to the protocol and/or the platform policy, the The parsed mobile country number MCC switches the system and mode supported by the terminal device, where M and N are the number of times of searching for the network; M and N are positive integers, and 0 ⁇ N ⁇ M.
- the search module 11 is further configured to: when it is determined that the terminal device is not looking for a network for the first time, according to the After the terminal device searches for the network and the system is searched for, the terminal device searches for the network unsuccessfully, and then starts to search the network for all the standards and frequency bands of the terminal device.
- all or part of the steps of the above embodiments may also be implemented by using an integrated circuit. These steps may be separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. achieve.
- the devices/function modules/functional units in the above embodiments may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
- the device/function module/functional unit in the above embodiment When the device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in a computer readable storage medium.
- the above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
- the terminal device With the solution of the embodiment of the present invention, it is possible to search the network through the terminal device without changing the protocol search network and the registration standard, analyze the MCC parameters in the network, and determine whether the current country where the terminal is located is a roaming environment or a non-roaming environment, so that The terminal device implements dynamic and fast switching between roaming and non-roaming modes.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
Disclosed are a network searching method, a terminal and a computer-readable storage medium. The method comprises: in the absence of a network, the terminal device searching for a network according to a predetermined rule; and when the terminal device successfully finds a network, performing switching to a standard and a mode supported by the terminal device according to a parsed mobile country code (MCC).
Description
本申请涉及但不限于互联网技术,尤其涉及一种找网的方法、装置和计算机可读存储介质。The present application relates to, but is not limited to, Internet technologies, and in particular, to a method, apparatus, and computer readable storage medium for finding a network.
随着通信技术的发展,移动终端支持的模式和频段越来越多,例如目前在国内常见的有诸如支持FDL、TDL、WCDMA、TD-SCDMA、GSM、HRPD、CDMA1X 7模18个频段。另外,随着国际化的步伐,运营商漫游资费在不断下降、漫游策略也不断的变化,为了更好的提升用户体验,提升运营商资源的利用率,国内各运营商对终端制式和漫游模式也提出了诸多要求。With the development of communication technologies, more and more modes and frequency bands are supported by mobile terminals. For example, 18 frequency bands such as FDL, TDL, WCDMA, TD-SCDMA, GSM, HRPD, and CDMA1X 7 are commonly used in China. In addition, with the pace of internationalization, operators' roaming tariffs are declining and roaming strategies are constantly changing. In order to better enhance the user experience and improve the utilization of operators' resources, domestic operators have adopted terminal systems and roaming modes. Many requests have also been made.
例如,中国移动通信集团公司要求,当终端在国内时,开启的模式为TDL+TD-SCDMA+GSM,漫游到国外时,开启TDL+FDL+WCDMA+GSM,再例如中国电信要求在国内使用的模式为TDL+FDL+HRPD+CDMA1X,在国外非日韩地区开启TDL+FDL+WCDMA+GSM,在日韩地区要求开启FDL+TDL+WCDMA+HRPD+CDMA1X制式。For example, China Mobile Communications Corporation requires that when the terminal is in China, the mode of operation is TDL+TD-SCDMA+GSM. When roaming abroad, TDL+FDL+WCDMA+GSM is turned on, and then, for example, China Telecom requires domestic use. The mode is TDL+FDL+HRPD+CDMA1X, and TDL+FDL+WCDMA+GSM is enabled in non-Japan and South Korea, and FDL+TDL+WCDMA+HRPD+CDMA1X is required in Japan and South Korea.
由于在非漫游地区和漫游地区之间移动时,移动终端需要进行移动终端制式模式切换,目前手机普遍的做法是通过定时器的方法切换移动终端的模式。例如当终端从非漫游国家到漫游国家时,首先会按非漫游模式制式进行搜网,同时启动一个定时器,当定时器超时后,没有国内网络时,则开启漫游模式制式,再进行搜网找网,待找到漫游网络后在发起注册过程。例如目前的marvell平台设置的是3分钟,MTK平台设置的大约是2分钟,高通平台前期设置的是10分钟,后来发现漫游下找网时间太长将定时器修改到1分钟。Since the mobile terminal needs to perform the mobile terminal system mode switching when moving between the non-roaming area and the roaming area, the current practice of the mobile phone is to switch the mode of the mobile terminal by a timer method. For example, when the terminal goes from a non-roaming country to a roaming country, the network is first searched in a non-roaming mode, and a timer is started. When the timer expires, when there is no domestic network, the roaming mode is enabled, and then the network is searched. Look for the network, after the roaming network is found, the registration process is initiated. For example, the current marvell platform is set to 3 minutes, the MTK platform is set to about 2 minutes, and the Qualcomm platform is set to 10 minutes in the early stage. Later, it was found that the time for roaming under the network was too long to change the timer to 1 minute.
上述技术方案普遍的做法是通过设置一个定时器,当定时器超时后,移动终端进行模式切换,再进行搜网注册网络。当前移动终端在漫游网络和非漫游网络移动时,虽然可通过定时器的方式进行漫游模式切换找网注册,但这个时间一般比较固定,死板,当时间设置不合理时,会导致移动终端在漫
游和非漫游状态切换时,找网时延长等问题。The common practice of the above technical solution is to set a timer. After the timer expires, the mobile terminal performs mode switching, and then performs a network registration network. When the mobile terminal moves between the roaming network and the non-roaming network, the roaming mode can be used to register the network registration by means of a timer. However, this time is generally fixed and rigid. When the time setting is unreasonable, the mobile terminal is in the middle.
When the navigation and non-roaming status are switched, the problem of extending the network is raised.
发明内容Summary of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
一种找网的方法,应用于终端设备,所述方法包括:A method for finding a network, which is applied to a terminal device, and the method includes:
所述终端设备在没有网络后按照预定的规则搜索网络;The terminal device searches for a network according to a predetermined rule after there is no network;
当所述终端设备搜索网络成功时,根据解析出的移动国家号MCC切换所述终端设备支持的制式和模式。When the terminal device searches for the network successfully, the system and mode supported by the terminal device are switched according to the parsed mobile country number MCC.
可选地,Optionally,
所述终端设备没有网络后按照预定的规则搜索网络包括:After the terminal device does not have a network, searching for the network according to a predetermined rule includes:
所述终端设备没有网络后,判断所述终端设备是否为首次找网;After the terminal device does not have a network, it is determined whether the terminal device is the first network search;
当判定所述终端设备是首次找网时,根据所述终端设备支持的全制式和全频段搜索网络;When it is determined that the terminal device is looking for a network for the first time, according to the full-standard and full-band search network supported by the terminal device;
当判定所述终端设备不是首次找网时,根据所述终端设备上一次找网成功后开启的模式和制式搜索网络。When it is determined that the terminal device is not looking for the network for the first time, the network is searched according to the mode and system that the terminal device starts after the network is successfully found last time.
可选地,Optionally,
所述当所述终端设备搜索网络成功时,根据解析出的移动国家号MCC切换所述终端设备支持的制式和模式包括:When the terminal device searches for a network successfully, switching the mode and mode supported by the terminal device according to the parsed mobile country number MCC includes:
当所述终端设备搜索网络成功时,所述终端设备解析所述搜索出的网络的系统广播消息,根据所述系统广播消息解析出所述MCC;When the terminal device searches for the network successfully, the terminal device parses the system broadcast message of the searched network, and parses the MCC according to the system broadcast message;
根据所述MCC判断所述终端设备的当前位置,根据所述终端设备的当前位置切换到所述终端设备当前对位置对应的制式和模式。Determining, according to the MCC, a current location of the terminal device, and switching to a current system and a mode corresponding to the current location of the terminal device according to the current location of the terminal device.
可选地,Optionally,
所述方法还包括:The method further includes:
当判定所述终端设备不是首次找网时,根据所述终端设备上一次找网成功后开启的模式和制式搜索网络后,当所述终端设备搜索网络不成功时,根
据协议和/或平台策略再次搜索网络M次仍不成功时,开启所述终端设备的所有制式和频段继续搜索网络;或者,When it is determined that the terminal device is not looking for a network for the first time, after the terminal device searches for the network according to the mode and system that is opened after the last time the terminal device finds the network successfully, when the terminal device searches for the network unsuccessfully, the root
According to the protocol and/or platform policy, if the network is searched again for M times, the system and the frequency band of the terminal device are continuously searched for the network; or,
当所述终端设备搜索网络不成功时,根据协议和/或平台策略再次搜索网络N次后成功时,根据解析出的移动国家号MCC切换所述终端设备支持的制式和模式,其中,M、N为搜索网络的次数;M、N为正整数,0<N≤M。When the terminal device searches for the network unsuccessfully, after searching for the network N times according to the protocol and/or the platform policy, the system and the mode supported by the terminal device are switched according to the parsed mobile country number MCC, where M, N is the number of times the network is searched; M and N are positive integers, and 0 < N ≤ M.
可选地,Optionally,
所述方法还包括:The method further includes:
当所述终端设备不是首次找网时,根据所述终端设备上一次找网成功后开启的模式和制式搜索网络后,当所述终端设备搜索网络不成功时,开启所述终端设备的所有制式和频段继续搜索网络。When the terminal device is not looking for the network for the first time, after the terminal device searches for the network according to the mode and system that is successfully opened after the last time the network device is found, when the terminal device searches for the network unsuccessfully, all the standards of the terminal device are started. And the band continues to search the network.
一种找网的装置,设置于终端设备,所述装置包括:A device for finding a network, which is disposed on a terminal device, and the device includes:
搜索模块,设置为在所述终端设备没有网络后按照预定的规则搜索网络;a search module, configured to search for a network according to a predetermined rule after the terminal device has no network;
处理模块,设置为当所述搜索模块搜索网络成功时,根据解析出的移动国家号MCC切换所述终端设备支持的制式和模式。The processing module is configured to, when the search module searches for a network success, switch the system and mode supported by the terminal device according to the parsed mobile country number MCC.
可选地,Optionally,
所述搜索模块在所述终端设备没有网络后按照预定的规则搜索网络包括:The searching module searches for the network according to a predetermined rule after the terminal device does not have a network, including:
当所述终端设备没有网络后,所述搜索模块判断所述终端设备是否为首次找网;After the terminal device does not have a network, the searching module determines whether the terminal device is the first network search;
当判定所述终端设备是首次找网时,所述搜索模块根据所述终端设备支持的全制式和全频段搜索网络;When it is determined that the terminal device is looking for a network for the first time, the searching module searches for a network according to the full-standard and full-band supported by the terminal device;
当判定所述终端设备不是首次找网时,所述搜索模块根据所述终端设备上一次找网成功后开启的模式和制式搜索网络。When it is determined that the terminal device is not looking for a network for the first time, the search module searches for a network according to a mode and a system that the terminal device turns on after the last time the network device is successfully found.
可选地,Optionally,
所述处理模块当所述搜索模块搜索网络成功时,根据解析出的移动国家
号MCC切换所述终端设备支持的制式和模式包括:The processing module, when the search module searches for a network success, according to the parsed mobile country
No. MCC switches the modes and modes supported by the terminal device, including:
当所述搜索模块搜索网络成功时,所述处理模块解析所述搜索出的网络的系统广播消息,根据所述系统广播消息解析出所述MCC;When the search module searches for a network success, the processing module parses the system broadcast message of the searched network, and parses the MCC according to the system broadcast message;
所述处理模块根据所述MCC判断所述终端设备的当前位置,根据所述终端设备的当前位置切换到所述终端设备当前对位置对应的制式和模式。The processing module determines the current location of the terminal device according to the MCC, and switches to a current system and mode corresponding to the current location of the terminal device according to the current location of the terminal device.
可选地,Optionally,
所述搜索模块还设置为:当判定所述终端设备不是首次找网时,根据所述终端设备上一次找网成功后开启的模式和制式搜索网络后,当所述搜索模块搜索网络不成功,根据协议和/或平台策略再次搜索网络M次仍不成功时,开启所述终端设备的所有制式和频段继续搜索网络;The search module is further configured to: when it is determined that the terminal device is not looking for a network for the first time, after the terminal device searches for the network according to the mode and system that is opened after the last time the network device is successfully found, when the search module searches for the network is unsuccessful, If the network is searched for M times again according to the protocol and/or the platform policy, the system and the frequency band of the terminal device are turned on to continue searching for the network;
所述处理模块还设置为:当所述搜索模块搜索网络不成功,根据协议和/或平台策略再次搜索网络N次后成功时,则根据解析出的移动国家号MCC切换所述终端设备支持的制式和模式,其中,M、N为搜索网络的次数;M、N为正整数,0<N≤M。The processing module is further configured to: when the search module searches for the network unsuccessfully, and searches for the network N times according to the protocol and/or the platform policy, the switch is supported by the terminal device according to the parsed mobile country number MCC. System and mode, where M and N are the number of times of searching the network; M and N are positive integers, and 0 < N ≤ M.
可选地,Optionally,
所述搜索模块还设置为:当判定所述终端设备不是首次找网,根据所述终端设备上一次找网成功后开启的模式和制式搜索网络后,当所述终端设备搜索网络不成功时,开启所述终端设备的所有制式和频段继续搜索网络。The search module is further configured to: when it is determined that the terminal device is not searching for the network for the first time, after the terminal device searches for the network according to the mode and system that is opened after the last time the terminal device finds the network successfully, when the terminal device searches for the network is unsuccessful, Turn on all the standards and frequency bands of the terminal device to continue searching the network.
一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被处理器执行时实现所述的找网的方法。A computer readable storage medium storing computer executable instructions that, when executed by a processor, implement the method of finding a network.
通过本发明实施例的方案,能够在不改变协议搜网、注册标准的情况下,通过终端设备搜索网络,解析网络中MCC参数,判断当前终端所处的国家是漫游环境还是非漫游环境,使终端设备实现了动态的、快速的进行漫游和非漫游模式的切换。With the solution of the embodiment of the present invention, it is possible to search the network through the terminal device without changing the protocol search network and the registration standard, analyze the MCC parameters in the network, and determine whether the current country where the terminal is located is a roaming environment or a non-roaming environment, so that The terminal device implements dynamic and fast switching between roaming and non-roaming modes.
附图概述BRIEF abstract
图1为本发明实施例一中的找网的方法的流程图;1 is a flowchart of a method for searching for a network according to Embodiment 1 of the present invention;
图2为本发明实施例一中的移动终端漫游场景示意图;2 is a schematic diagram of a roaming scene of a mobile terminal according to Embodiment 1 of the present invention;
图3为本发明实施例一中的移动终端找网的流程图;
3 is a flowchart of finding a network by a mobile terminal according to Embodiment 1 of the present invention;
图4为本发明实施例二中的找网的装置的示意图。4 is a schematic diagram of an apparatus for finding a network in Embodiment 2 of the present invention.
下文中将结合附图对本申请的实施例进行详细说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。Embodiments of the present application will be described in detail below with reference to the accompanying drawings. It should be noted that, in the case of no conflict, the features in the embodiments and the embodiments in the present application may be arbitrarily combined with each other.
本发明是实施例提供了一种找网的方法、装置和计算机可读存储介质,实现了终端设备快速的切换漫游和非漫游模式,加速了终端设备搜网注册的流程。The embodiment of the invention provides a method, a device and a computer readable storage medium for finding a network, which realizes a fast switching roaming and non-roaming mode of the terminal device, and accelerates the process of registering the network of the terminal device.
实施例一Embodiment 1
如图1所示,本发明实施例提供一种找网的方法,应用于终端设备,所述方法包括步骤S101~S102:As shown in FIG. 1 , an embodiment of the present invention provides a method for searching for a network, which is applied to a terminal device, where the method includes steps S101 to S102:
S101、所述终端设备在没有网络后按照预定的规则搜索网络。S101. The terminal device searches for a network according to a predetermined rule after there is no network.
可选地,终端设备没有网络后按照预定的规则搜索网络包括步骤S201~S203:Optionally, after the terminal device does not have a network, searching for the network according to a predetermined rule includes steps S201 to S203:
S201、终端设备没有网络后,判断终端设备是否为首次找网S201. After the terminal device does not have a network, determine whether the terminal device searches for the network for the first time.
S202、当判定终端设备是首次找网时,根据终端设备支持的全制式和全频段搜索网络。S202. When it is determined that the terminal device is looking for the network for the first time, the network is searched according to the full-standard and full-band supported by the terminal device.
S203、当判定终端设备不是首次找网时,根据终端设备上一次找网成功后开启的模式和制式搜索网络。S203. When it is determined that the terminal device is not looking for the network for the first time, the network is searched according to the mode and system that the terminal device starts after the network is successfully found.
需要说明的是,本发明实施例可以是终端设备在同一国家出现没有网络后的找网,也可以是漫游地与非漫游地之间切换时的找网。这里所说的终端没有网络后触发找网可以是以下场景:It should be noted that the embodiment of the present invention may be that the terminal device finds a network after there is no network in the same country, and may also find a network when switching between the roaming ground and the non-roaming ground. The following scenario can be triggered by triggering the network after the terminal has no network:
1)终端设备从一个国家切换到另一个国家后网络丢失,会触发找网,进行模式和制式的切换。1) If the network is lost after the terminal device switches from one country to another, it will trigger the network search and switch between mode and system.
2)终端设备启动飞行模式后网络丢失,当从飞行模式重新回到普通模式时就需要触发找网。2) The network is lost after the terminal device starts the flight mode. When returning from the flight mode to the normal mode, the network needs to be triggered.
3)终端设备进入到信号不好的区域,如电梯、地下室等场所,网络可能会丢失,当重新进入信号良好的区域时会触发找网。
3) When the terminal device enters a bad signal area, such as an elevator or a basement, the network may be lost. When re-entering a good signal area, the network will be triggered.
4)终端设备首次开机时也会触发找网。4) When the terminal device is turned on for the first time, the network will also be triggered.
S102、当终端设备搜索网络成功时,根据解析出的移动国家号MCC切换终端设备支持的制式和模式。S102. When the terminal device searches for the network successfully, the system and the mode supported by the terminal device are switched according to the parsed mobile country number MCC.
可选地,当终端设备搜索网络成功时,根据解析出的移动国家号MCC切换所述终端设备支持的制式和模式包括步骤S301~S302:Optionally, when the terminal device searches for the network successfully, switching the system and mode supported by the terminal device according to the parsed mobile country number MCC includes steps S301-S302:
S301、当终端设备搜索网络成功时,终端设备解析搜索出的网络的系统广播消息,根据系统广播消息解析出MCC。S301. When the terminal device searches for the network successfully, the terminal device parses the system broadcast message of the searched network, and parses the MCC according to the system broadcast message.
S302、根据MCC判断终端设备的当前位置,根据终端设备的当前位置切换到终端设备当前对位置对应的制式和模式。S302. Determine, according to the MCC, a current location of the terminal device, and switch to a current system and a mode corresponding to the current location of the terminal device according to the current location of the terminal device.
例如,根据MCC判断终端设备的当前位置是美国,则将终端设备的制式和模式切换到美国对应的制式和模式。For example, according to the MCC, it is judged that the current location of the terminal device is the United States, and the system and mode of the terminal device are switched to the corresponding system and mode of the United States.
可选地,该方法还包括:当判定所述终端设备不是首次找网时,根据所述终端设备上一次找网成功后开启的模式和制式搜索网络后,当终端设备搜索网络不成功时,根据协议和/或平台策略再次搜索网络M次仍不成功时,开启终端设备的所有制式和频段继续搜索网络;或者,Optionally, the method further includes: when it is determined that the terminal device is not searching for the network for the first time, after the terminal device searches for the network according to the mode and the system that is successfully opened after the last time the terminal device finds the network, when the terminal device searches for the network is unsuccessful, If the network is searched again for M times according to the protocol and/or platform policy, the system and the frequency band of the terminal device are continuously searched for the network; or,
当所述终端设备搜索网络不成功时,根据协议和/或平台策略再次搜索网络N次后成功时,根据解析出的移动国家号MCC切换所述终端设备支持的制式和模式,其中,M、N为搜索网络的次数;M、N为正整数,0<N≤M。When the terminal device searches for the network unsuccessfully, after searching for the network N times according to the protocol and/or the platform policy, the system and the mode supported by the terminal device are switched according to the parsed mobile country number MCC, where M, N is the number of times the network is searched; M and N are positive integers, and 0 < N ≤ M.
需要说明的是,M可以是预先设定的再次搜索的最大数。例如,预设M为4,这样当终端设备搜索网络不成功时,根据协议和/或平台策略再次搜索网络,如果在第3次搜索网络成功时,则根据MCC切换终端设备支持的制式和模式。如果搜索到底4次仍然不成功,就不再根据协议和/或平台策略继续搜索网络了,而且终端设备的所有制式和频段继续搜索网络。It should be noted that M may be a preset maximum number of searches again. For example, the preset M is 4, so that when the terminal device searches for the network unsuccessfully, the network is searched again according to the protocol and/or the platform policy. If the third search network succeeds, the system and the mode supported by the terminal device are switched according to the MCC. . If the search is still unsuccessful for 4 times, the network will no longer be searched according to the protocol and/or platform policy, and all the standards and frequency bands of the terminal device continue to search the network.
当然,还可以将M设置为0,这时,当终端设备搜索网络不成功时,无需根据协议和/或平台策略搜索网络,而是直接开启所述终端设备的所有制式和频段继续搜索网络。Of course, it is also possible to set M to 0. In this case, when the terminal device searches for the network unsuccessfully, it is not necessary to search the network according to the protocol and/or platform policy, but directly open all the standards and frequency bands of the terminal device to continue searching the network.
如图2所示,为本发明实施例的移动终端101漫游场景图。
As shown in FIG. 2, it is a roaming scene graph of the mobile terminal 101 according to an embodiment of the present invention.
移动无线网络100、200可以是TDL网络、FDL网络等,网络支持标准的3GPP和3GPP2协议标准,能广播系统消息并携带MCC等网络参数等。The mobile wireless network 100, 200 may be a TDL network, an FDL network, or the like. The network supports standard 3GPP and 3GPP2 protocol standards, can broadcast system messages, and carries network parameters such as MCC.
移动终端101支持多模多频段,例如支持TDL、FDL、WCDMA、TD-SCDMA、GSM,或者支持TDL、FDL、WCDMA、TD-SCDMA、GSM、HRPD、CDMA1X等多模式。移动终端101支持在非漫游网络和漫游网络之间进行多模式切换功能。The mobile terminal 101 supports multi-mode multi-band, for example, supports TDL, FDL, WCDMA, TD-SCDMA, GSM, or supports multiple modes such as TDL, FDL, WCDMA, TD-SCDMA, GSM, HRPD, CDMA1X. The mobile terminal 101 supports multi-mode switching between a non-roaming network and a roaming network.
无线通信网络终端/无线发射装备102、202,例如基站,增强型基站等,能向终端发射无线信号和接收和解析移动终端无法信号。The wireless communication network terminal/ wireless transmitting equipment 102, 202, such as a base station, an enhanced base station, etc., can transmit wireless signals to the terminal and receive and resolve signals that the mobile terminal cannot.
在本发明实施例中,移动终端101从一个无线网络100移动到另外一个无线网络200时,如果网络丢失了,移动终端101会重新进行网络搜索,当搜索到网络时,尝试解析网线网络的系统消息,解析MCC等无线网络参数,移动终端根据无线网络参数MCC的值,确定当前终端所处的网络环境是非漫游网络还是非漫游网络,从而决定移动终端的制式和模式,其中还包含频段等信息。In the embodiment of the present invention, when the mobile terminal 101 moves from one wireless network 100 to another wireless network 200, if the network is lost, the mobile terminal 101 re-searches the network, and when searching for the network, attempts to resolve the network network system. The message parses the wireless network parameters such as the MCC, and the mobile terminal determines, according to the value of the wireless network parameter MCC, whether the network environment in which the current terminal is located is a non-roaming network or a non-roaming network, thereby determining the format and mode of the mobile terminal, and further including information such as a frequency band. .
如图3所示,移动终端找网的流程如下,包括步骤S401~S412:As shown in FIG. 3, the process for the mobile terminal to find a network is as follows, including steps S401 to S412:
S401、移动终端进行漫游地和非漫游地的场景切换。S401. The mobile terminal performs scene switching of the roaming ground and the non-roaming ground.
S402判定是否是首次找网;如果是首次找网转步骤S407,如果不是首次找网转步骤S403。S402 determines whether it is the first time to find the network; if it is the first time to find the network to step S407, if it is not the first time to find the network to step S403.
S403、移动终端根据上一次找网成功后启动的制式和模式进行搜索网络。S403. The mobile terminal searches for the network according to the system and mode that is started after the last successful network search.
例如,可以根据协议规则对RPLMN进行搜索。For example, RPLMN can be searched according to protocol rules.
S404、判断搜索网络是否成功;如果成功转步骤S409;如果不成功转步骤S405:S404: Determine whether the search network is successful; if successful, go to step S409; if not, go to step S405:
S405、根据移动终端本身策略反复进行搜索M次。S405. Perform a search M times repeatedly according to the policy of the mobile terminal itself.
S406、判断搜索网络是否成功;如果成功转步骤S409;如果不成功转步骤S407。S406. Determine whether the search network is successful; if successful, go to step S409; if not, go to step S407.
S407、移动终端需要开启移动终端所支持的所有制式和频段,进行全制式,全频段的搜网。
S407. The mobile terminal needs to open all the standards and frequency bands supported by the mobile terminal, and perform a full-standard, full-band search network.
S408、判断搜索网络是否成功;如果搜索网络成功转步骤S409;如果搜索网络不成功转步骤S407。S408. Determine whether the search network is successful; if the search network succeeds, go to step S409; if the search network fails, go to step S407.
S409、如果移动终端搜索网络获取到相应的小区,那么尝试解析读取系统消息,并获得系统消息MCC等参数。S409. If the mobile terminal searches for the network and obtains the corresponding cell, attempts to parse the read system message, and obtain parameters such as the system message MCC.
S410、读取到MCC后,根据MCC判断终端是否漫游。S410. After reading the MCC, determine whether the terminal is roaming according to the MCC.
S411、切换移动终端所支持的制式和模式。S411. Switch the system and mode supported by the mobile terminal.
S412、根据协议规则进行PLMN选择,小区选择以及向相应的网络上发起注册。S412: Perform PLMN selection according to the protocol rule, select the cell, and initiate registration to the corresponding network.
在本实施例中,次数M可由移动终端平台可自身设定,次数M设置的越小,那么移动终端开启全频段扫描的时间越短,在国际漫游情况下,移动终端进行全频段、全制式的搜网概率也就会增大,搜索到网络的可能性也越大,同时移动终端进行模式切换的时间也越短。In this embodiment, the number of times M can be set by the mobile terminal platform, and the smaller the number of times M is set, the shorter the time for the mobile terminal to start full-band scanning. In the case of international roaming, the mobile terminal performs full-band, full-standard mode. The probability of searching the network will also increase, and the possibility of searching for the network is also greater, and the time for the mobile terminal to switch modes is also shorter.
次数M最小可以设定为0,当M设定为0时,在步骤S404中如果判断搜索网络不成功时则直接执行步骤S407,而不需要执行步骤S405和步骤S406。The number M minimum may be set to 0. When M is set to 0, if it is determined in step S404 that the search network is unsuccessful, step S407 is directly performed without performing step S405 and step S406.
同时,当次数M设定为正整数时,也就是M不为0。Meanwhile, when the number of times M is set to a positive integer, that is, M is not 0.
例如,设定M为4时,移动终端可以按照本身策略反复搜索最多4次,在这4次中,每搜索一次可以判断是否搜索到网络,如果在第3次搜索中搜网到网络了,那么就可以直接转入步骤S409,这样就不需要再进行第4次的搜索了。如果第4次也没有搜索到网络,则需要执行步骤S407开启所有制式和频段继续搜索。For example, when M is set to 4, the mobile terminal can repeatedly search for up to 4 times according to its own policy. In each of the 4 times, it can be judged whether to search for the network every time the search is performed. If the network is searched in the third search, then It is possible to directly proceed to step S409, so that it is not necessary to perform the fourth search again. If the network is not searched for the fourth time, step S407 needs to be performed to start all the systems and the frequency band to continue searching.
实施例二Embodiment 2
如图4所示,本实施例还提供一种找网的装置,设置于终端设备,所述装置包括:As shown in FIG. 4, the embodiment further provides a device for searching for a network, which is disposed on a terminal device, and the device includes:
搜索模块11,设置为在所述终端设备没有网络后按照预定的规则搜索网络;The searching module 11 is configured to search the network according to a predetermined rule after the terminal device has no network;
处理模块12,设置为当所述搜索模块11搜索网络成功时,根据解析出的移动国家号MCC切换所述终端设备支持的制式和模式。
The processing module 12 is configured to, when the search module 11 searches for a network success, switch the system and mode supported by the terminal device according to the parsed mobile country number MCC.
可选地,Optionally,
所述搜索模块11在所述终端设备没有网络后按照预定的规则搜索网络包括:The searching module 11 searches for a network according to a predetermined rule after the terminal device does not have a network, including:
当所述终端设备没有网络后,所述搜索模块11判断所述终端设备是否为首次找网。After the terminal device does not have a network, the searching module 11 determines whether the terminal device is the first network search.
当判定所述终端设备是首次找网时,所述搜索模块11根据所述终端设备支持的全制式和全频段搜索网络。When it is determined that the terminal device is looking for a network for the first time, the search module 11 searches for a network according to the full-standard and full-band supported by the terminal device.
当判定所述终端设备不是首次找网时,所述搜索模块11根据所述终端设备上一次找网成功后开启的模式和制式搜索网络。When it is determined that the terminal device is not looking for the network for the first time, the search module 11 searches for the network according to the mode and system that the terminal device turns on after the last time the network device is successfully found.
可选地,Optionally,
所述处理模块12当所述搜索模块搜索网络成功时,根据解析出的移动国家号MCC切换所述终端设备支持的制式和模式包括:When the search module searches for the network successfully, the processing module 12 switches the system and mode supported by the terminal device according to the parsed mobile country number MCC, including:
当所述搜索模块11搜索网络成功时,所述处理模块12解析所述搜索出的网络的系统广播消息,根据所述系统广播消息解析出MCC;When the search module 11 searches for a network success, the processing module 12 parses the system broadcast message of the searched network, and parses the MCC according to the system broadcast message;
所述处理模块12根据所述MCC判断所述终端设备的当前位置,根据所述终端设备的当前位置切换到所述终端设备当前对位置对应的制式和模式。The processing module 12 determines the current location of the terminal device according to the MCC, and switches to a current system and mode corresponding to the current location of the terminal device according to the current location of the terminal device.
可选地,Optionally,
所述搜索模块11还设置为:当判定所述终端设备不是首次找网时,根据所述终端设备上一次找网成功后开启的模式和制式搜索网络后,当所述搜索模块11搜索网络不成功,根据协议和/或平台策略再次搜索网络M次仍不成功时,开启所述终端设备的所有制式和频段继续搜索网络。The search module 11 is further configured to: when it is determined that the terminal device is not looking for a network for the first time, after the terminal device searches for the network according to the mode and system that is successfully opened after the last time the network device is found, the search module 11 searches for the network. If the network is searched for M times again according to the protocol and/or the platform policy, the system and the frequency band of the terminal device are continuously searched for the network.
所述处理模块12还设置为:当所述终端设备不是首次找网时,当所述搜索模块11搜索网络不成功,根据协议和/或平台策略再次搜索网络N次后成功时,,则根据解析出的移动国家号MCC切换所述终端设备支持的制式和模式,其中,M、N为搜索网络的次数;M、N为正整数,0<N≤M。The processing module 12 is further configured to: when the terminal device is not searching for the network for the first time, when the search module 11 searches for the network unsuccessfully, and searches the network again after the N times according to the protocol and/or the platform policy, the The parsed mobile country number MCC switches the system and mode supported by the terminal device, where M and N are the number of times of searching for the network; M and N are positive integers, and 0<N≤M.
可选地,Optionally,
所述搜索模块11还设置为:当判定所述终端设备不是首次找网,根据所
述终端设备上一次找网成功后开启的模式和制式搜索网络后,当所述终端设备搜索网络不成功时,开启所述终端设备的所有制式和频段继续搜索网络。The search module 11 is further configured to: when it is determined that the terminal device is not looking for a network for the first time, according to the
After the terminal device searches for the network and the system is searched for, the terminal device searches for the network unsuccessfully, and then starts to search the network for all the standards and frequency bands of the terminal device.
本领域普通技术人员可以理解上述实施例的全部或部分步骤可以使用计算机程序流程来实现,所述计算机程序可以存储于一计算机可读存储介质中,所述计算机程序在相应的硬件平台上(如系统、设备、装置、器件等)执行,在执行时,包括方法实施例的步骤之一或其组合。One of ordinary skill in the art will appreciate that all or a portion of the steps of the above-described embodiments can be implemented using a computer program flow, which can be stored in a computer readable storage medium, such as on a corresponding hardware platform (eg, The system, device, device, device, etc. are executed, and when executed, include one or a combination of the steps of the method embodiments.
可选地,上述实施例的全部或部分步骤也可以使用集成电路来实现,这些步骤可以被分别制作成一个个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。Alternatively, all or part of the steps of the above embodiments may also be implemented by using an integrated circuit. These steps may be separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. achieve.
上述实施例中的装置/功能模块/功能单元可以采用通用的计算装置来实现,它们可以集中在单个的计算装置上,也可以分布在多个计算装置所组成的网络上。The devices/function modules/functional units in the above embodiments may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
上述实施例中的装置/功能模块/功能单元以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。上述提到的计算机可读取存储介质可以是只读存储器,磁盘或光盘等。When the device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in a computer readable storage medium. The above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
通过本发明实施例的方案,能够在不改变协议搜网、注册标准的情况下,通过终端设备搜索网络,解析网络中MCC参数,判断当前终端所处的国家是漫游环境还是非漫游环境,使终端设备实现了动态的、快速的进行漫游和非漫游模式的切换。
With the solution of the embodiment of the present invention, it is possible to search the network through the terminal device without changing the protocol search network and the registration standard, analyze the MCC parameters in the network, and determine whether the current country where the terminal is located is a roaming environment or a non-roaming environment, so that The terminal device implements dynamic and fast switching between roaming and non-roaming modes.
Claims (11)
- 一种找网的方法,应用于终端设备,所述方法包括:A method for finding a network, which is applied to a terminal device, and the method includes:所述终端设备在没有网络后按照预定的规则搜索网络;The terminal device searches for a network according to a predetermined rule after there is no network;当所述终端设备搜索网络成功时,根据解析出的移动国家号MCC切换所述终端设备支持的制式和模式。When the terminal device searches for the network successfully, the system and mode supported by the terminal device are switched according to the parsed mobile country number MCC.
- 如权利要求1所述的方法,其中,The method of claim 1 wherein所述终端设备没有网络后按照预定的规则搜索网络包括:After the terminal device does not have a network, searching for the network according to a predetermined rule includes:所述终端设备没有网络后,判断所述终端设备是否为首次找网;After the terminal device does not have a network, it is determined whether the terminal device is the first network search;当判定所述终端设备是首次找网时,根据所述终端设备支持的全制式和全频段搜索网络;When it is determined that the terminal device is looking for a network for the first time, according to the full-standard and full-band search network supported by the terminal device;当判定所述终端设备不是首次找网时,根据所述终端设备上一次找网成功后开启的模式和制式搜索网络。When it is determined that the terminal device is not looking for the network for the first time, the network is searched according to the mode and system that the terminal device starts after the network is successfully found last time.
- 如权利要求1所述的方法,其中,The method of claim 1 wherein所述当所述终端设备搜索网络成功时,根据解析出的移动国家号MCC切换所述终端设备支持的制式和模式包括:When the terminal device searches for a network successfully, switching the mode and mode supported by the terminal device according to the parsed mobile country number MCC includes:当所述终端设备搜索网络成功时,所述终端设备解析所述搜索出的网络的系统广播消息,根据所述系统广播消息解析出所述MCC;When the terminal device searches for the network successfully, the terminal device parses the system broadcast message of the searched network, and parses the MCC according to the system broadcast message;根据所述MCC判断所述终端设备的当前位置,根据所述终端设备的当前位置切换到所述终端设备当前对位置对应的制式和模式。Determining, according to the MCC, a current location of the terminal device, and switching to a current system and a mode corresponding to the current location of the terminal device according to the current location of the terminal device.
- 如权利要求2所述的方法,所述方法还包括:当判定所述终端设备不是首次找网时,根据所述终端设备上一次找网成功后开启的模式和制式搜索网络后,当所述终端设备搜索网络不成功时,根据协议和/或平台策略再次搜索网络M次仍不成功时,开启所述终端设备的所有制式和频段继续搜索网络;或者,The method according to claim 2, wherein the method further comprises: when it is determined that the terminal device is not looking for a network for the first time, according to a mode and a system for searching for a network after the last time the terminal device is successfully found, When the terminal device search network is unsuccessful, if the network is searched for M times again according to the protocol and/or the platform policy, the system and the frequency band of the terminal device are continuously searched for the network; or当所述终端设备搜索网络不成功时,根据协议和/或平台策略再次搜索网络N次后成功时,根据解析出的移动国家号MCC切换所述终端设备支持的制式和模式,其中,M、N为搜索网络的次数;M、N为正整数,0<N≤M。 When the terminal device searches for the network unsuccessfully, after searching for the network N times according to the protocol and/or the platform policy, the system and the mode supported by the terminal device are switched according to the parsed mobile country number MCC, where M, N is the number of times the network is searched; M and N are positive integers, and 0 < N ≤ M.
- 如权利要求2所述的方法,其中,所述方法还包括:The method of claim 2, wherein the method further comprises:当判定所述终端设备不是首次找网时,根据所述终端设备上一次找网成功后开启的模式和制式搜索网络后,当所述终端设备搜索网络不成功时,开启所述终端设备的所有制式和频段继续搜索网络。When it is determined that the terminal device is not looking for the network for the first time, after the terminal device searches for the network according to the mode and system that is successfully opened after the last time the network device is found, when the terminal device searches for the network unsuccessfully, all the terminal devices are turned on. The system and frequency bands continue to search the network.
- 一种找网的装置,设置于终端设备,所述装置包括:A device for finding a network, which is disposed on a terminal device, and the device includes:搜索模块,设置为在所述终端设备没有网络后按照预定的规则搜索网络;a search module, configured to search for a network according to a predetermined rule after the terminal device has no network;处理模块,设置为当所述搜索模块搜索网络成功时,根据解析出的移动国家号MCC切换所述终端设备支持的制式和模式。The processing module is configured to, when the search module searches for a network success, switch the system and mode supported by the terminal device according to the parsed mobile country number MCC.
- 如权利要求6所述的装置,其中,The apparatus of claim 6 wherein所述搜索模块在所述终端设备没有网络后按照预定的规则搜索网络包括:The searching module searches for the network according to a predetermined rule after the terminal device does not have a network, including:当所述终端设备没有网络后,所述搜索模块判断所述终端设备是否为首次找网;After the terminal device does not have a network, the searching module determines whether the terminal device is the first network search;当判定所述终端设备是首次找网时,所述搜索模块根据所述终端设备支持的全制式和全频段搜索网络;When it is determined that the terminal device is looking for a network for the first time, the searching module searches for a network according to the full-standard and full-band supported by the terminal device;当判定所述终端设备不是首次找网时,所述搜索模块根据所述终端设备上一次找网成功后开启的模式和制式搜索网络。When it is determined that the terminal device is not looking for a network for the first time, the search module searches for a network according to a mode and a system that the terminal device turns on after the last time the network device is successfully found.
- 如权利要求6所述的装置,其中,The apparatus of claim 6 wherein所述处理模块当所述搜索模块搜索网络成功时,根据解析出的移动国家号MCC切换所述终端设备支持的制式和模式包括:The processing module, when the search module searches for a network success, switches the system and mode supported by the terminal device according to the parsed mobile country number MCC, including:当所述搜索模块搜索网络成功时,所述处理模块解析所述搜索出的网络的系统广播消息,根据所述系统广播消息解析出所述MCC;When the search module searches for a network success, the processing module parses the system broadcast message of the searched network, and parses the MCC according to the system broadcast message;所述处理模块根据所述MCC判断所述终端设备的当前位置,根据所述终端设备的当前位置切换到所述终端设备当前对位置对应的制式和模式。The processing module determines the current location of the terminal device according to the MCC, and switches to a current system and mode corresponding to the current location of the terminal device according to the current location of the terminal device.
- 如权利要求7所述的装置,其中,The apparatus according to claim 7, wherein所述搜索模块还设置为:当判定所述终端设备不是首次找网时,根据所述终端设备上一次找网成功后开启的模式和制式搜索网络后,当所述搜索模 块搜索网络不成功,根据协议和/或平台策略再次搜索网络M次仍不成功时,开启所述终端设备的所有制式和频段继续搜索网络;The search module is further configured to: when it is determined that the terminal device is not looking for a network for the first time, after searching for the network according to the mode and system that is opened after the last time the terminal device finds the network successfully, when the search mode is If the block search network is unsuccessful, and the network is searched for M times again according to the protocol and/or the platform policy, the system and the frequency band of the terminal device are continuously searched for the network;所述处理模块还设置为:当所述搜索模块搜索网络不成功,根据协议和/或平台策略再次搜索网络N次后成功时,则根据解析出的移动国家号MCC切换所述终端设备支持的制式和模式,其中,M、N为搜索网络的次数;M、N为正整数,0<N≤M。The processing module is further configured to: when the search module searches for the network unsuccessfully, and searches for the network N times according to the protocol and/or the platform policy, the switch is supported by the terminal device according to the parsed mobile country number MCC. System and mode, where M and N are the number of times of searching the network; M and N are positive integers, and 0 < N ≤ M.
- 如权利要求7所述的装置,其中The device of claim 7 wherein所述搜索模块还设置为:当判定所述终端设备不是首次找网,根据所述终端设备上一次找网成功后开启的模式和制式搜索网络后,当所述终端设备搜索网络不成功时,开启所述终端设备的所有制式和频段继续搜索网络。The search module is further configured to: when it is determined that the terminal device is not searching for the network for the first time, after the terminal device searches for the network according to the mode and system that is opened after the last time the terminal device finds the network successfully, when the terminal device searches for the network is unsuccessful, Turn on all the standards and frequency bands of the terminal device to continue searching the network.
- 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被处理器执行时实现权利要求1至5任一项所述的找网的方法。 A computer readable storage medium storing computer executable instructions for performing the method of finding a network according to any one of claims 1 to 5 when executed by a processor.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510511361.7 | 2015-08-19 | ||
CN201510511361.7A CN106470463A (en) | 2015-08-19 | 2015-08-19 | A kind of method and device looking for net |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2016180226A1 true WO2016180226A1 (en) | 2016-11-17 |
Family
ID=57247699
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2016/080262 WO2016180226A1 (en) | 2015-08-19 | 2016-04-26 | Network searching method, apparatus and computer-readable storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106470463A (en) |
WO (1) | WO2016180226A1 (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109121131A (en) * | 2017-06-23 | 2019-01-01 | 中兴通讯股份有限公司 | Manage the method and device of network formats |
CN107682855B (en) * | 2017-10-19 | 2021-06-04 | 青岛海信移动通信技术股份有限公司 | Method and device for searching network through international roaming |
CN108012310A (en) * | 2017-12-05 | 2018-05-08 | 广东欧珀移动通信有限公司 | Network search method, mobile terminal and computer-readable storage medium |
CN110602764B (en) * | 2019-09-23 | 2022-03-25 | 捷开通讯(深圳)有限公司 | Network searching method, device, storage medium and terminal |
CN110933735A (en) * | 2019-11-27 | 2020-03-27 | 惠州Tcl移动通信有限公司 | Network searching method, device, storage medium and terminal |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1409676A (en) * | 1999-12-10 | 2003-04-09 | 利乐拉瓦尔集团及财务有限公司 | Continuous apparatus in distribution equipment |
CN1960570A (en) * | 2006-11-16 | 2007-05-09 | 重庆重邮信科股份有限公司 | Search technique of quickening initial search speed of sector |
US20120309391A1 (en) * | 2011-06-03 | 2012-12-06 | Qin Zhang | Methods and apparatus for adaptive network selection |
CN103731813A (en) * | 2013-10-31 | 2014-04-16 | 东莞宇龙通信科技有限公司 | Network selection method and terminal |
CN105101350A (en) * | 2014-05-20 | 2015-11-25 | 苹果公司 | Targeted PLMN search |
-
2015
- 2015-08-19 CN CN201510511361.7A patent/CN106470463A/en not_active Withdrawn
-
2016
- 2016-04-26 WO PCT/CN2016/080262 patent/WO2016180226A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1409676A (en) * | 1999-12-10 | 2003-04-09 | 利乐拉瓦尔集团及财务有限公司 | Continuous apparatus in distribution equipment |
CN1960570A (en) * | 2006-11-16 | 2007-05-09 | 重庆重邮信科股份有限公司 | Search technique of quickening initial search speed of sector |
US20120309391A1 (en) * | 2011-06-03 | 2012-12-06 | Qin Zhang | Methods and apparatus for adaptive network selection |
CN103731813A (en) * | 2013-10-31 | 2014-04-16 | 东莞宇龙通信科技有限公司 | Network selection method and terminal |
CN105101350A (en) * | 2014-05-20 | 2015-11-25 | 苹果公司 | Targeted PLMN search |
Also Published As
Publication number | Publication date |
---|---|
CN106470463A (en) | 2017-03-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9313726B2 (en) | Method and apparatus for searching for network | |
US10149206B2 (en) | Automatic data link switching method for terminal, and terminal | |
US9668094B2 (en) | Utilizing Wi-Fi country code to assist cellular network selection | |
WO2016180226A1 (en) | Network searching method, apparatus and computer-readable storage medium | |
US8010105B2 (en) | System and method for facilitating accelerated network selection using a weighted network list | |
CN103648146B (en) | Terminal network selection method and terminal | |
CN111901842B (en) | Wireless communication method and device | |
US9474097B2 (en) | Method and device for transporting location registration result information | |
US20140235241A1 (en) | Eplmn transition mechanism for manual network registration | |
US11234175B2 (en) | Method for selecting cell, terminal device, and network device | |
RU2750786C1 (en) | Search call method, terminal device, and network device | |
JP2019517195A (en) | Network search method and terminal device | |
KR102146494B1 (en) | A method and system to minimize delay in circuit-switched fallback (csfb) procedure | |
CN101247631A (en) | Method for scanning network through optimized radio access technology | |
KR20170002515A (en) | Preventing a mobile device from repeating a request toward a mobile network | |
WO2014110380A1 (en) | System and method for network selection | |
US20230262559A1 (en) | Method for network access control, terminal, and readable storage medium | |
US20170180976A1 (en) | Method for controlling e-utra capability of user equipment, apparatus, and system | |
US20180220391A1 (en) | Network registration method and mobile device | |
WO2016173339A1 (en) | Network access method and mobile communication terminal | |
CN105792271A (en) | Method and device for testing international roaming of user equipment | |
WO2017166202A1 (en) | Electronic device and method for searching mobile communications network using same | |
US20170295521A1 (en) | Circuit switched service processing method and terminal | |
US9961659B2 (en) | Method of handling frequency de-prioritization | |
EP3110206A1 (en) | Data processing method and device for user equipment |
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: 16792076 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: 16792076 Country of ref document: EP Kind code of ref document: A1 |