WO2017166790A1 - 一种判断移动终端漫游状态的方法及装置 - Google Patents

一种判断移动终端漫游状态的方法及装置 Download PDF

Info

Publication number
WO2017166790A1
WO2017166790A1 PCT/CN2016/102574 CN2016102574W WO2017166790A1 WO 2017166790 A1 WO2017166790 A1 WO 2017166790A1 CN 2016102574 W CN2016102574 W CN 2016102574W WO 2017166790 A1 WO2017166790 A1 WO 2017166790A1
Authority
WO
WIPO (PCT)
Prior art keywords
network
mobile terminal
network identifier
roaming
current
Prior art date
Legal status (The legal status 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 status listed.)
Ceased
Application number
PCT/CN2016/102574
Other languages
English (en)
French (fr)
Inventor
孟凡涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Le Holdings Beijing Co Ltd
Lemobile Information Technology (Beijing) Co Ltd
Original Assignee
Le Holdings Beijing Co Ltd
Lemobile Information Technology (Beijing) Co Ltd
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 Le Holdings Beijing Co Ltd, Lemobile Information Technology (Beijing) Co Ltd filed Critical Le Holdings Beijing Co Ltd
Publication of WO2017166790A1 publication Critical patent/WO2017166790A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/02Processing of mobility data, e.g. registration information at HLR [Home Location Register] or VLR [Visitor Location Register]; Transfer of mobility data, e.g. between HLR, VLR or external networks
    • H04W8/08Mobility data transfer
    • H04W8/12Mobility data transfer between location registers or mobility servers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • H04W48/10Access restriction or access information delivery, e.g. discovery data delivery using broadcasted information
    • 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
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/183Processing at user equipment or user record carrier

Definitions

  • the present invention relates to the field of mobile communications technologies, and in particular, to a method and apparatus for determining a roaming state of a mobile terminal.
  • Public Land Mobile Network a government or government-approved operator that provides and provides a network for the public to provide land mobile communications services.
  • the network is typically interconnected with a public switched telephone network to form a communications network of a whole regional or national scale.
  • the identification of the public land mobile network is usually a series of digital codes, and the user can perform convenient and fast communication through the mobile network provided by each operator.
  • the network identifier of the same operator's plmn may have multiple numbers. For example, China Mobile consists of four segments, namely 46000, 46002, 46007, and 46008; China Unicom consists of three segments, 46001, 46006, and 46009. .
  • the SIM card of the mobile terminal or the USIM card carries the plmn of the card, that is, the network identifier of Hplmn (Home plmn), and Hplmn is the plmn of the user of the mobile terminal USIM card.
  • the network side After the USIM card in the mobile terminal is successfully networked, the network side generally sends the equivalent plmn to the USIM card of the mobile terminal, that is, the EHplmn (Equivalent Home plmn) network identifier list, and the EHplmn is the mobile terminal.
  • the current plmn of the USIM card currently in the USIM card is in the same position as the local plmn.
  • the network identity list of the EHplmn delivered by the network side includes China. All network identifiers of the mobile plmn, including: 46000, 46002, 46007, and 46008.
  • the mobile device by identifying the Hplmn carried on the USIM card of the mobile terminal Whether the network identifier belongs to one of the network identifiers of the EHplmn sent by the network side to the mobile terminal to determine whether the mobile terminal is currently in a roaming state, that is, if the network identifier of the Hplmn carried on the USIM card of the mobile terminal belongs to the network If the network identifier of the EHplmn of the mobile terminal is sent to the mobile terminal, the mobile terminal is not in the roaming state; if the network identifier of the Hplmn carried on the USIM card of the mobile terminal does not belong to the network side, the mobile device sends the mobile device to the mobile device.
  • one of the EHplmn network identifier lists of the terminal determines that the mobile terminal is in a roaming state. That is, if the network identifier of Hplmn carried on the USIM card of the mobile terminal belongs to the equivalent attribution of the network identifier list of the EHplmn sent to the mobile terminal, the roaming is not performed.
  • the object of the present invention is to overcome the defects in the prior art that the mobile terminal may not be able to judge the current roaming situation or misjudge the current roaming state, thereby providing a method and apparatus for judging the roaming state of the mobile terminal.
  • a method for determining a roaming state of a mobile terminal includes the following steps:
  • determining that the roaming status of the mobile terminal is: roaming If the current network identifier and the local network identifier are not the same group of network identifiers, determining that the roaming status of the mobile terminal is: roaming.
  • the step of acquiring the current network identifier of the network that is in the network includes: receiving a broadcast message of the network currently camped by the mobile terminal; and extracting the current network identifier from the broadcast message.
  • the network identifier list is pre-stored in the mobile terminal, and when the mobile terminal is connected to the Internet, the pre-stored network identifier list is updated.
  • a roaming prompt signal is sent.
  • a device for determining a roaming state of a mobile terminal comprising:
  • Obtaining a current network identity module configured to acquire a current network identifier of the network that is in the network after the mobile terminal is in the network;
  • Obtaining a local network identity module configured to obtain a local network identifier of the communication card in the mobile terminal
  • Obtaining a network identifier list module configured to obtain a network identifier list, where all network identifiers of different networks are stored in the network identifier list, and network identifiers of all equivalent home locations are stored as the same group network identifier;
  • Determining whether an equivalent module is configured to determine, according to the network identifier list, whether the current network identifier and the local network identifier belong to the same group network identifier;
  • Obtaining a roaming status module configured to: when the current network identifier and the local network identifier are the same group of network identifiers, determine that the roaming status of the mobile terminal is: no roaming; when the current network identifier and the local network The identifier is not the same group of network identifiers, and the roaming status of the mobile terminal is determined to be: roaming.
  • the acquiring the current network identity module includes: receiving a broadcast message sub-module, for receiving a broadcast message of a network that is currently camped on by the mobile terminal; and extracting a current network identity sub-module for using the broadcast message Extracting the current network identifier.
  • the network identifier list is pre-stored in the mobile terminal, and when the mobile terminal is connected to the Internet, the pre-stored network identifier list is updated.
  • the device for determining a roaming state of the mobile terminal further includes: sending a prompting signal module, configured to send a roaming prompt message when the mobile terminal determines that the current roaming state is roaming number.
  • the roaming alert signal is a roaming identifier displayed on a screen of the mobile terminal.
  • the present invention provides an apparatus for determining a roaming state of a mobile terminal, including:
  • the memory stores program instructions executable by the processor, the processor invoking the program instructions to perform any of the above methods for determining a roaming state of a mobile terminal.
  • the present invention provides a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer,
  • the computer performs any of the above methods for determining the roaming state of the mobile terminal.
  • the present invention provides a non-transitory computer readable storage medium storing computer instructions that cause the computer to perform any of the methods described above for determining a roaming state of a mobile terminal.
  • the method and device for determining the roaming state of the mobile terminal acquires the current network identifier of the network that is in the network after the mobile terminal is in the network; and acquires the local network of the communication card in the mobile terminal.
  • Identifying a network identifier list wherein all network identifiers of different networks are stored in the network identifier list, and network identifiers of all equivalent home locations are stored as the same group network identifier; determining the current network identifier according to the obtained network identifier list Whether the local network identifier and the local network identifier are the same group of network identifiers; if the current network identifier and the local network identifier are the same group of network identifiers, determining that the roaming status of the mobile terminal is: no roaming; if the current network identifier and the local network identifier are not the same group of network identifiers Then, it is determined that the roaming status of the mobile terminal is: roaming.
  • the method and the device realize that even if the network side does not send the EHplmn network identifier list to the communication card of the mobile terminal, the pre-stored network identifier list obtained can determine the roaming state of the mobile terminal, which is convenient for use.
  • the method and device for determining the roaming state of the mobile terminal provided by the present invention, by receiving the broadcast message of the network currently camped on by the mobile terminal; and extracting the current network identifier from the broadcast message, simply Easy.
  • FIG. 1 is a flowchart of a specific example of a method for determining a roaming state of a mobile terminal in Embodiment 1 of the present invention
  • FIG. 2 is a flowchart of another specific example of a method for determining a roaming state of a mobile terminal according to Embodiment 1 of the present invention
  • FIG. 3 is a schematic block diagram of a specific example of an apparatus for determining a roaming state of a mobile terminal according to Embodiment 2 of the present invention
  • FIG. 4 is a structural block diagram of an apparatus for determining a roaming state of a mobile terminal according to Embodiment 3 of the present invention.
  • this embodiment provides a method for determining a roaming state of a mobile terminal, which may include the following steps:
  • the step of acquiring the current network identifier of the network in the network in step S1 may include:
  • the communication card is a card for communication such as a SIM card or a USIM.
  • the network identifier list in the step S3 functions as the network identifier list of the EHplmn (Equivalent Home plmn) issued by the network side to the USIM card of the mobile terminal. For example, if the current network has China Mobile and China Unicom, the network identification list in step S3 will store the four segments 46000, 46002, 46007 and 46008 included in China Mobile as the same network identifier; China Unicom includes three The segments 46001, 46006, and 46009 are stored in the same network identifier.
  • EHplmn Equivalent Home plmn
  • the network identifiers of other operators can be added to the table in turn.
  • the network identifier of the equivalent home location stored in the same group of network identifiers is generally the network identification number of all plmns of the same operator.
  • the network identifier list in step S3 may be pre-stored in the mobile terminal, and when the mobile terminal connects to the Internet, the pre-stored network identifier list is updated.
  • the network identifier list is pre-stored in the mobile terminal, so that the processing module of the mobile terminal can determine the current roaming state.
  • S4 determining, according to the network identifier list, whether the current network identifier and the local network identifier belong to the same group network identifier, and if yes, determining that the roaming status of the mobile terminal is: no roaming; if not, determining that the roaming status of the mobile terminal is: roaming.
  • a roaming prompt signal is sent to prompt the user to pay attention.
  • the roaming prompt signal may be a roaming identifier displayed on a screen of the mobile terminal, and may be flexibly set according to requirements.
  • the method for determining the roaming state of the mobile terminal provides that the mobile terminal can determine the roaming of the EHplmn by sending the pre-stored network identifier list even if the network side does not deliver the EHplmn network identifier list to the communication card of the mobile terminal. State, easy to use.
  • the embodiment provides an apparatus for determining a roaming state of a mobile terminal, which may include:
  • the current network identification module 1 is configured to obtain the current network identifier of the network that is in the network after the mobile terminal is in the network, and the network identifier of the current network is the Splmn network identifier.
  • the acquiring the current network identity module 1 may include: receiving a broadcast message submodule, And a method for receiving a broadcast message of a network that is currently camped on by the mobile terminal; and extracting a current network identifier sub-module, configured to extract a current network identifier from the broadcast message.
  • Obtaining the current network identifier through the above modules is simple, accurate, and reliable.
  • the local network identifier module 2 is configured to obtain a local network identifier of the communication card in the mobile terminal, where the local network identifier is a Hplmn network identifier.
  • the network identifier list module 3 is configured to obtain a network identifier list, where all network identifiers of different networks are stored in the network identifier list, and network identifiers of all equivalent home locations are stored as the same group network identifier.
  • the network identifier list in the module serves as the network identifier list of the EHplmn (Equivalent Home plmn), which is issued by the network side to the USIM card of the mobile terminal.
  • the network identification list in the module will store the four segments 46000, 46002, 46007 and 46008 included in China Mobile as the same network identifier; China Unicom contains three The segments 46001, 46006, and 46009 are stored in the same network identifier.
  • the network identifiers of other operators can be added to the table in turn.
  • the network identifier of the equivalent attribution is generally the network identification number of the plmn owned by the same operator.
  • the network identifier list may be pre-stored in the mobile terminal, and when the mobile terminal connects to the Internet, the pre-stored network identifier list is updated, and the network identifier list is pre-stored in the mobile terminal, so that the processing module of the mobile terminal can determine the current Roaming status.
  • Obtaining a roaming status module 5 when the current network identifier and the local network identifier are the same group of network identifiers, determining that the roaming status of the mobile terminal is: no roaming; when the current network identifier and the local network identifier are not the same group of network identifiers, determining The roaming status of the mobile terminal is: roaming.
  • the device for determining the roaming state of the mobile terminal may further include a prompting signal module, configured to send a roaming prompt signal to prompt the user when the mobile terminal determines that the current roaming state is roaming.
  • the roaming prompt signal may be a roaming identifier displayed on a screen of the mobile terminal, and may be flexibly set according to requirements.
  • the apparatus for determining the roaming state of the mobile terminal provides that the mobile terminal obtains the network identifier list of the EHplmn by not sending the EHplmn to the communication card of the mobile terminal.
  • the pre-stored list of network identifiers can also determine its own roaming status and is easy to use.
  • FIG. 4 is a structural block diagram showing an apparatus for determining a roaming state of a mobile terminal according to Embodiment 3 of the present application.
  • the device for determining the roaming state of the mobile terminal includes: a processor 401, a memory 402, and a bus 403;
  • the processor 401 and the memory 402 complete communication with each other through the bus 403;
  • the processor 401 is configured to invoke the program instructions in the memory 402 to perform the method provided by the foregoing method embodiments, for example, including: acquiring, after the mobile terminal is in the network, the current network identifier of the network that is in the network; a local network identifier of the communication card in the mobile terminal; obtaining a network identifier list, where all network identifiers of different networks are stored in the network identifier list, and all network identifiers of the equivalent attribution are stored as the same group network identifier; Determining, by the network identifier list, whether the current network identifier and the local network identifier belong to the same group network identifier; if the current network identifier and the local network identifier are the same group network identifier, determining a roaming status of the mobile terminal If the current network identifier and the local network identifier are not the same group of network identifiers, determine that the roaming status of the mobile terminal is roaming.
  • the embodiment discloses a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer, the computer
  • the method provided by the foregoing method embodiments is performed, for example, comprising: acquiring a current network identifier of a network that is in a network after the mobile terminal is in the network; acquiring a local network identifier of the communication card in the mobile terminal; acquiring a network identifier list, where All the network identifiers of the different networks are stored in the network identifier list, and the network identifiers of all the equivalent homes are stored as the same group of network identifiers; and the current network identifier and the local network identifier are determined according to the network identifier list.
  • the roaming status of the mobile terminal is: no roaming; if the current network identifier and the local network identifier Determining the same group of network identifiers, determining the mobile terminal's Tour status: roaming.
  • the embodiment provides a non-transitory computer readable storage medium, the non-transitory computer readable storage medium storing computer instructions, the computer instructions causing the computer to perform the methods provided by the foregoing method embodiments, including, for example, Obtaining a current network identifier of the network that is in the network after the mobile terminal is in the network; obtaining a local network identifier of the communication card in the mobile terminal; acquiring a network identifier list, where all network identifiers of different networks are stored in the network identifier list, And storing, by the network identifier list, whether the current network identifier and the local network identifier belong to the same group network identifier, and the current network identifier and the location Determining that the local network identifier is the same group of network identifiers, determining that the roaming status of the mobile terminal is: no roaming; if the current network identifier and the local network identifier are not the same group of network identifiers, determining that the mobile terminal is The roaming
  • the foregoing program may be stored in a computer readable storage medium, and the program is executed when executed.
  • the foregoing steps include the steps of the foregoing method embodiments; and the foregoing storage medium includes: a medium that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.
  • the device embodiments for determining the roaming state of the mobile terminal described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as the unit may or may not be Physical units can be located in one place or distributed to multiple network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment. Those of ordinary skill in the art can understand and implement without deliberate labor.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Databases & Information Systems (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)
  • Telephone Function (AREA)

Abstract

本发明涉及移动通信技术领域,提供一种判断移动终端漫游状态的方法及装置。当移动终端驻网后,获取驻网的网络的当前网络标识;获取移动终端中的通信卡的本地网络标识;获取网络标识列表,网络标识列表中存有不同网络的所有网络标识,并将所有等效归属地的网络标识作为同一组网络标识存储;根据网络标识列表判断当前网络标识和本地网络标识是否属于同一组网络标识;若为是,则判定移动终端的漫游状态为:不漫游;若为否,则判定移动终端的漫游状态为:漫游。该方法和装置实现了即使网络侧没有给移动终端的通信卡下发EHplmn的网络标识列表,通过获取的预先存储的网络标识列表也能判断出该移动终端的漫游状态,便于使用。

Description

一种判断移动终端漫游状态的方法及装置
交叉引用
本申请引用于2016年04月01日提交的专利名称为“一种判断移动终端漫游状态的方法及装置”的第2016102041541号中国专利申请,其通过引用被全部并入本申请。
技术领域
本发明涉及移动通信技术领域,具体涉及一种判断移动终端漫游状态的方法及装置。
背景技术
公共陆地移动网络(plmn,Public Land Mobile Network),由政府或政府所批准的经营者,为公众提供陆地移动通信业务目的而建立和经营的网络。该网路通常与公众交换电话网互连,形成整个地区或国家规模的通信网。公共陆地移动网络的标识通常是一串数字码,用户可通过各个运营商提供的移动网络可以进行方便快捷的通信。同一个运营商的plmn的网络标识可能有多个号码,如:中国移动包含四个号段,分别为46000、46002、46007以及46008;中国联通包含三个号段,分别为46001、46006以及46009。
移动终端的SIM卡或者USIM卡上携带了该卡的归属plmn,即:Hplmn(Home plmn)的网络标识,Hplmn为该移动终端USIM卡用户归属的plmn。当移动终端中的USIM卡驻网成功后,网络侧一般会给该移动终端的USIM卡下发等效归属地plmn,即:EHplmn(Equivalent Home plmn)的网络标识列表,EHplmn为与该移动终端中的USIM卡当前所选择的plmn处于同等地位的本地plmn,例如:若该移动终端当前驻网中国移动,当前plmn的网络标识的46000,则网络侧下发的EHplmn的网络标识列表中包含中国移动的plmn的所有网络标识,即包含:46000、46002、46007以及46008。现有技术中,通过识别该移动终端的USIM卡上携带的Hplmn的 网络标识是否属于网络侧下发给该移动终端的EHplmn的网络标识列表中的一个来判断该移动终端当前是否处于漫游状态,即:若该移动终端的USIM卡上携带的Hplmn的网络标识属于网络侧下发给该移动终端的EHplmn的网络标识列表中的一个,则判断该移动终端不处于漫游状态;若该移动终端的USIM卡上携带的Hplmn的网络标识不属于网络侧下发给该移动终端的EHplmn的网络标识列表中的一个,则判断该移动终端处于漫游状态。即:若移动终端的USIM卡上携带的Hplmn的网络标识属于下发给该移动终端的EHplmn的网络标识列表的等效归属地则不漫游。实际使用中,存在着这样的一种情况,当移动终端驻网成功后,网络侧没有给该移动终端的USIM卡下发EHplmn的网络标识列表,而同一个运行商的plmn的网络标识又有可能有多个,则可能出现移动终端不能判断当前漫游情况或者误判当前处于漫游的情况发生,影响用户使用。
发明内容
有鉴于此,本发明的目的在于克服现有技术中移动终端可能不能判断当前漫游情况或者误判当前漫游状态的缺陷,从而提供一种判断移动终端漫游状态的方法及装置。
为此,本发明的技术方案如下:
一种判断移动终端漫游状态的方法,包括如下步骤:
当移动终端驻网后,获取驻网的网络的当前网络标识;
获取移动终端中的通信卡的本地网络标识;
获取网络标识列表,所述网络标识列表中存有不同网络的所有网络标识,并将所有等效归属地的网络标识作为同一组网络标识存储;
根据所述网络标识列表判断所述当前网络标识和所述本地网络标识是否属于同一组网络标识;
若所述当前网络标识和所述本地网络标识为同一组网络标识,则判定所述移动终端的漫游状态为:不漫游;
若所述当前网络标识和所述本地网络标识不为同一组网络标识,则判定所述移动终端的漫游状态为:漫游。
优选地,所述获取驻网的网络的当前网络标识的步骤包括:接听所述移动终端当前驻网的网络的广播消息;从所述广播消息中提取所述当前网络标识。
优选地,所述网络标识列表预存于所述移动终端中,并当所述移动终端连接互联网时,更新预存的所述网络标识列表。
优选地,当所述移动终端判断当前的漫游状态为漫游时,发出漫游提示信号。
一种判断移动终端漫游状态的装置,包括:
获取当前网络标识模块,用于当移动终端驻网后,获取驻网的网络的当前网络标识;
获取本地网络标识模块,用于获取移动终端中的通信卡的本地网络标识;
获取网络标识列表模块,用于获取网络标识列表,所述网络标识列表中存有不同网络的所有网络标识,并将所有等效归属地的网络标识作为同一组网络标识存储;
判断是否等效模块,用于根据所述网络标识列表判断所述当前网络标识和所述本地网络标识是否属于同一组网络标识;
获得漫游状态模块,用于当所述当前网络标识和所述本地网络标识为同一组网络标识时,判定所述移动终端的漫游状态为:不漫游;当所述当前网络标识和所述本地网络标识不为同一组网络标识,判定所述移动终端的漫游状态为:漫游。
优选地,所述获取当前网络标识模块中包括:接听广播消息子模块,用于接听所述移动终端当前驻网的网络的广播消息;提取当前网络标识子模块,用于从所述广播消息中提取所述当前网络标识。
优选地,所述网络标识列表预存于所述移动终端中,并当所述移动终端连接互联网时,更新预存的所述网络标识列表。
优选地,所述的判断移动终端漫游状态的装置还包括发出提示信号模块,用于当所述移动终端判断当前的漫游状态为漫游时,发出漫游提示信 号。
优选地,所述漫游提示信号为在所述移动终端的屏幕上显示的漫游标识。
本发明提供了一种判断移动终端漫游状态的设备,包括:
处理器;以及
与所述处理器通信连接的存储器;其中,
所述存储器存储有可被所述处理器执行的程序指令,所述处理器调用所述程序指令能够执行上述任意一种判断移动终端漫游状态的方法。
本发明提供了一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行上述任意一种判断移动终端漫游状态的方法。
本发明提供了一种非暂态计算机可读存储介质,所述非暂态计算机可读存储介质存储计算机指令,所述计算机指令使所述计算机执行上述任意一种判断移动终端漫游状态的方法。
从上面所述可以看出,本发明提供的判断移动终端漫游状态的方法及装置,当移动终端驻网后,获取驻网的网络的当前网络标识;并获取移动终端中的通信卡的本地网络标识;获取网络标识列表,其中,网络标识列表中存有不同网络的所有网络标识,并将所有等效归属地的网络标识作为同一组网络标识存储;根据获取的网络标识列表判断当前网络标识和本地网络标识是否属于同一组网络标识;若当前网络标识和本地网络标识为同一组网络标识,则判定移动终端的漫游状态为:不漫游;若当前网络标识和本地网络标识不为同一组网络标识,则判定移动终端的漫游状态为:漫游。该方法和装置实现了即使网络侧没有给移动终端的通信卡下发EHplmn的网络标识列表,通过获取的预先存储的网络标识列表也能判断出该移动终端的漫游状态,便于使用。
本发明提供的判断移动终端漫游状态的方法及装置,通过接听移动终端当前驻网的网络的广播消息;并从广播消息中提取当前网络标识,简单 易行。
附图说明
图1本发明实施例1中判断移动终端漫游状态的方法的一个具体示例的流程图;
图2为本发明实施例1中判断移动终端漫游状态的方法的另一个具体示例的流程图;
图3为本发明实施例2中判断移动终端漫游状态的装置的一个具体示例的原理框图;
图4为本发明实施例3中判断移动终端漫游状态的设备的结构框图;
附图标记:1-获取当前网络标识模块;2-获取本地网络标识模块;3-获取网络标识列表模块;4-判断是否等效模块;5-获得漫游状态模块。
具体实施方式
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
实施例1
如图1所示,本实施例提供一种判断移动终端漫游状态的方法,可以包括如下步骤:
S1:当移动终端驻网后,获取驻网的网络的当前网络标识,当前网络的网络标识为Splmn网络标识。
优选地,如图2所示,步骤S1中获取驻网的网络的当前网络标识的步骤可以包括:
S11:接听移动终端当前驻网的网络的广播消息;
S12:从广播消息中提取当前网络标识。
通过步骤S11和S12的方式获取当前网络标识,简单易行且准确可靠。
S2:获取移动终端中的通信卡的本地网络标识,本地网络标识为 Hplmn网络标识。通信卡即为SIM卡或者USIM等用于通信的卡。
S3:获取网络标识列表,网络标识列表中存有不同网络的所有网络标识,并将所有等效归属地的网络标识作为同一组网络标识存储。步骤S3中的网络标识列表即起到了网络侧给移动终端的USIM卡下发等效归属地plmn,即:EHplmn(Equivalent Home plmn)的网络标识列表的作用。例如:设现在网络有中国移动和中国联通,则步骤S3中的网络标识列表中将中国移动包含的四个号段46000、46002、46007以及46008存为同一种网络标识;中国联通包含的三个号段46001、46006以及46009存为同一种网络标识。同理,其余运营商的网络标识依次加入该表中即可。为了便于理解,同一组网络标识中存储的等效归属地的网络标识,一般即为同一家运营商所有的plmn的网络标识号码。
优选地,步骤S3中的网络标识列表可以预存于移动终端中,并当移动终端连接互联网时,更新预存的网络标识列表。将网络标识列表预存于移动终端中,便于移动终端的处理模块判断当前的漫游状态。
S4:根据网络标识列表判断当前网络标识和本地网络标识是否属于同一组网络标识,若为是,则判定移动终端的漫游状态为:不漫游;若为否,则判定移动终端的漫游状态为:漫游。
优选地,当步骤S4中判定移动终端当前的漫游状态为漫游时,则发出漫游提示信号,以提示用户注意。作为一种具体实现方式,漫游提示信号可以为在移动终端的屏幕上显示的漫游标识,具体根据需要进行灵活设置即可。
本实施例提供的判断移动终端漫游状态的方法,实现了即使网络侧没有给移动终端的通信卡下发EHplmn的网络标识列表,移动终端通过获取预先存储的网络标识列表也能判断出自身的漫游状态,便于使用。
实施例2
如图3所示,本实施例提供一种判断移动终端漫游状态的装置,可以包括:
获取当前网络标识模块1,用于当移动终端驻网后,获取驻网的网络的当前网络标识,当前网络的网络标识为Splmn网络标识。
优选地,获取当前网络标识模块1可以包括:接听广播消息子模块, 用于接听移动终端当前驻网的网络的广播消息;提取当前网络标识子模块,用于从广播消息中提取当前网络标识。通过上述模块获取当前网络标识,简单易行且准确可靠。
获取本地网络标识模块2,用于获取移动终端中的通信卡的本地网络标识,本地网络标识为Hplmn网络标识。
获取网络标识列表模块3,用于获取网络标识列表,所述网络标识列表中存有不同网络的所有网络标识,并将所有等效归属地的网络标识作为同一组网络标识存储。该模块中的网络标识列表即起到了网络侧给移动终端的USIM卡下发等效归属地plmn,即:EHplmn(Equivalent Home plmn)的网络标识列表的作用。例如:设现在网络有中国移动和中国联通,则该模块中的网络标识列表中将中国移动包含的四个号段46000、46002、46007以及46008存为同一种网络标识;中国联通包含的三个号段46001、46006以及46009存为同一种网络标识。同理,其余运营商的网络标识依次加入该表中即可。为了便于理解,等效归属地的网络标识,一般即为同一家运营商所有的plmn的网络标识号码。
判断是否等效模块4,用于根据网络标识列表判断当前网络标识和本地网络标识是否属于同一组网络标识。作为一种具体实现方式,网络标识列表可以预存于移动终端中,并当移动终端连接互联网时,更新预存的网络标识列表,将网络标识列表预存于移动终端中,便于移动终端的处理模块判断当前的漫游状态。
获得漫游状态模块5,用于当当前网络标识和本地网络标识为同一组网络标识时,判定移动终端的漫游状态为:不漫游;当当前网络标识和本地网络标识不为同一组网络标识,判定所移动终端的漫游状态为:漫游。
在上述方案的基础上,本实施例提供的判断移动终端漫游状态的装置,还可以包括发出提示信号模块,用于当移动终端判断当前的漫游状态为漫游时,发出漫游提示信号,以提示用户注意。作为一种具体实现方式,漫游提示信号可以为在移动终端的屏幕上显示的漫游标识,具体根据需要进行灵活设置即可。
本实施例提供的判断移动终端漫游状态的装置,实现了即使网络侧没有给移动终端的通信卡下发EHplmn的网络标识列表,移动终端通过获取 预先存储的网络标识列表也能判断出自身的漫游状态,便于使用。
实施例3
图4是示出本申请实施例3的判断移动终端漫游状态的设备的结构框图。
参照图4,所述判断移动终端漫游状态的设备,包括:处理器(processor)401、存储器(memory)402和总线403;
其中,
所述处理器401、存储器402通过所述总线403完成相互间的通信;
所述处理器401用于调用所述存储器402中的程序指令,以执行上述各方法实施例所提供的方法,例如包括:当移动终端驻网后,获取驻网的网络的当前网络标识;获取移动终端中的通信卡的本地网络标识;获取网络标识列表,所述网络标识列表中存有不同网络的所有网络标识,并将所有等效归属地的网络标识作为同一组网络标识存储;根据所述网络标识列表判断所述当前网络标识和所述本地网络标识是否属于同一组网络标识;若所述当前网络标识和所述本地网络标识为同一组网络标识,则判定所述移动终端的漫游状态为:不漫游;若所述当前网络标识和所述本地网络标识不为同一组网络标识,则判定所述移动终端的漫游状态为:漫游。
实施例4
本实施例公开一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,计算机能够执行上述各方法实施例所提供的方法,例如包括:当移动终端驻网后,获取驻网的网络的当前网络标识;获取移动终端中的通信卡的本地网络标识;获取网络标识列表,所述网络标识列表中存有不同网络的所有网络标识,并将所有等效归属地的网络标识作为同一组网络标识存储;根据所述网络标识列表判断所述当前网络标识和所述本地网络标识是否属于同一组网络标识;若所述当前网络标识和所述本地网络标识为同一组网络标识,则判定所述移动终端的漫游状态为:不漫游;若所述当前网络标识和所述本地网络标识不为同一组网络标识,则判定所述移动终端的漫游状态为:漫游。
实施例5
本实施例提供一种非暂态计算机可读存储介质,所述非暂态计算机可读存储介质存储计算机指令,所述计算机指令使所述计算机执行上述各方法实施例所提供的方法,例如包括:当移动终端驻网后,获取驻网的网络的当前网络标识;获取移动终端中的通信卡的本地网络标识;获取网络标识列表,所述网络标识列表中存有不同网络的所有网络标识,并将所有等效归属地的网络标识作为同一组网络标识存储;根据所述网络标识列表判断所述当前网络标识和所述本地网络标识是否属于同一组网络标识;若所述当前网络标识和所述本地网络标识为同一组网络标识,则判定所述移动终端的漫游状态为:不漫游;若所述当前网络标识和所述本地网络标识不为同一组网络标识,则判定所述移动终端的漫游状态为:漫游。
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。
以上所描述的判断移动终端漫游状态的设备实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性的劳动的情况下,即可以理解并实施。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,上述技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分所述的方法。
最后应说明的是:以上各实施例仅用以说明本发明的实施例的技术方 案,而非对其限制;尽管参照前述各实施例对本发明的实施例进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明的实施例各实施例技术方案的范围。

Claims (12)

  1. 一种判断移动终端漫游状态的方法,其特征在于,包括如下步骤:
    当移动终端驻网后,获取驻网的网络的当前网络标识;
    获取移动终端中的通信卡的本地网络标识;
    获取网络标识列表,所述网络标识列表中存有不同网络的所有网络标识,并将所有等效归属地的网络标识作为同一组网络标识存储;
    根据所述网络标识列表判断所述当前网络标识和所述本地网络标识是否属于同一组网络标识;
    若所述当前网络标识和所述本地网络标识为同一组网络标识,则判定所述移动终端的漫游状态为:不漫游;
    若所述当前网络标识和所述本地网络标识不为同一组网络标识,则判定所述移动终端的漫游状态为:漫游。
  2. 根据权利要求1所述的方法,其特征在于,所述获取驻网的网络的当前网络标识的步骤包括:
    接听所述移动终端当前驻网的网络的广播消息;
    从所述广播消息中提取所述当前网络标识。
  3. 根据权利要求1或2所述的方法,其特征在于,所述网络标识列表预存于所述移动终端中,并当所述移动终端连接互联网时,更新预存的所述网络标识列表。
  4. 根据权利要求1-3任一所述的方法,其特征在于,当所述移动终端判断当前的漫游状态为漫游时,发出漫游提示信号。
  5. 一种判断移动终端漫游状态的装置,其特征在于,包括:
    获取当前网络标识模块,用于当移动终端驻网后,获取驻网的网络的当前网络标识;
    获取本地网络标识模块,用于获取移动终端中的通信卡的本地网络标识;
    获取网络标识列表模块,用于获取网络标识列表,所述网络标识列表中存有不同网络的所有网络标识,并将所有等效归属地的网络标识作为同一组网络标识存储;
    判断是否等效模块,用于根据所述网络标识列表判断所述当前网络标识和所述本地网络标识是否属于同一组网络标识;
    获得漫游状态模块,用于当所述当前网络标识和所述本地网络标识为同一组网络标识时,判定所述移动终端的漫游状态为:不漫游;当所述当前网络标识和所述本地网络标识不为同一组网络标识,判定所述移动终端的漫游状态为:漫游。
  6. 根据权利要求5所述的装置,其特征在于,所述获取当前网络标识模块中包括:
    接听广播消息子模块,用于接听所述移动终端当前驻网的网络的广播消息;
    提取当前网络标识子模块,用于从所述广播消息中提取所述当前网络标识。
  7. 根据权利要求5或6所述的装置,其特征在于,所述网络标识列表预存于所述移动终端中,并当所述移动终端连接互联网时,更新预存的所述网络标识列表。
  8. 根据权利要求5-7任一所述的装置,其特征在于,还包括发出提示信号模块,用于当所述移动终端判断当前的漫游状态为漫游时,发出漫游提示信号。
  9. 根据权利要求8所述的装置,其特征在于,所述漫游提示信号为在所述移动终端的屏幕上显示的漫游标识。
  10. 一种判断移动终端漫游状态的设备,其特征在于,包括:
    处理器;以及
    与所述处理器通信连接的存储器;其中,
    所述存储器存储有可被所述处理器执行的程序指令,所述处理器调用所述程序指令能够执行如权利要求1至4任一所述的方法。
  11. 一种计算机程序产品,其特征在于,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行如权利要求1至4任一所述的方法。
  12. 一种非暂态计算机可读存储介质,其特征在于,所述非暂态计算机可读存储介质存储计算机指令,所述计算机指令使所述计算机执行如权利要求1至4任一所述的方法。
PCT/CN2016/102574 2016-04-01 2016-10-19 一种判断移动终端漫游状态的方法及装置 Ceased WO2017166790A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610204154.1 2016-04-01
CN201610204154.1A CN105933885A (zh) 2016-04-01 2016-04-01 一种判断移动终端漫游状态的方法及装置

Publications (1)

Publication Number Publication Date
WO2017166790A1 true WO2017166790A1 (zh) 2017-10-05

Family

ID=56840214

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/102574 Ceased WO2017166790A1 (zh) 2016-04-01 2016-10-19 一种判断移动终端漫游状态的方法及装置

Country Status (2)

Country Link
CN (1) CN105933885A (zh)
WO (1) WO2017166790A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105933885A (zh) * 2016-04-01 2016-09-07 乐视控股(北京)有限公司 一种判断移动终端漫游状态的方法及装置
CN111010674B (zh) * 2019-12-13 2021-10-26 惠州Tcl移动通信有限公司 一种漫游提示方法、装置、存储介质及移动终端

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103781087A (zh) * 2014-01-06 2014-05-07 联想(北京)有限公司 一种信息处理方法及移动终端
US8818360B2 (en) * 2006-03-15 2014-08-26 Tekelec Global, Inc. Methods, systems and computer program products for integrating roaming control in a signaling message routing node
CN105933885A (zh) * 2016-04-01 2016-09-07 乐视控股(北京)有限公司 一种判断移动终端漫游状态的方法及装置

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101729644A (zh) * 2008-10-24 2010-06-09 展讯通信(上海)有限公司 移动终端及数据传输的启动方法
CN106171019B (zh) * 2014-09-18 2019-10-25 华为技术有限公司 确定终端漫游状态的方法、装置、终端及服务器
CN105163290B (zh) * 2015-07-28 2019-12-13 小米科技有限责任公司 漫游提示方法和装置

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8818360B2 (en) * 2006-03-15 2014-08-26 Tekelec Global, Inc. Methods, systems and computer program products for integrating roaming control in a signaling message routing node
CN103781087A (zh) * 2014-01-06 2014-05-07 联想(北京)有限公司 一种信息处理方法及移动终端
CN105933885A (zh) * 2016-04-01 2016-09-07 乐视控股(北京)有限公司 一种判断移动终端漫游状态的方法及装置

Also Published As

Publication number Publication date
CN105933885A (zh) 2016-09-07

Similar Documents

Publication Publication Date Title
CN104980997B (zh) 一种网络接入方法及移动通信终端
US10064122B2 (en) Method for selecting public land mobile network PLMN, and apparatus and device thereof
CN104902541B (zh) 一种网络接入方法及移动通信终端
US9992760B2 (en) Method for updating RPLMN information and user equipment
US20190342738A1 (en) Method and Device for Sharing File Between Different Terminals
CN111885585A (zh) 通信业务的开通方法及通信装置
CN103997771A (zh) 基于无线接入识别技术进行应用和消息触发的系统及方法
CN104320833B (zh) 一种移动终端自动选网的方法及系统
CN104853404A (zh) 一种网络接入方法和移动通信终端
CN116761134A (zh) 用于位置服务的方法和装置
US20170111306A1 (en) Message processing method and apparatus
CN107466085A (zh) 网络接入方法和相关产品
CN108966331A (zh) 小区注册方法、装置、无线路由设备、终端及存储介质
CN105636016A (zh) 一种连接网络的方法、装置和系统
CN105635934B (zh) 一种业务开通方法、装置和hss服务器
WO2017177636A1 (zh) 手机的漫游搜网方法、装置和电子设备
WO2017166790A1 (zh) 一种判断移动终端漫游状态的方法及装置
CN106714172A (zh) Wifi热点的处理方法、装置及系统
WO2020114137A1 (zh) 一种报文的处理方法、装置以及系统
CN107466087B (zh) 一种网络搜索方法及移动终端
CN105813084A (zh) 基于plmn识别的非法用户拦截方法和系统
CN104902457B (zh) 一种网络接入方法和移动通信终端
US20170353818A1 (en) Method for deleting notification resource, and common service entity
CN105307127A (zh) 警报消息处理方法、装置、mme、cbc及基站
CN105072575B (zh) 找回移动设备的方法、系统及服务端

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

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

Ref document number: 16896560

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16896560

Country of ref document: EP

Kind code of ref document: A1