WO2018166234A1 - 一种搜网方法及装置 - Google Patents

一种搜网方法及装置 Download PDF

Info

Publication number
WO2018166234A1
WO2018166234A1 PCT/CN2017/111964 CN2017111964W WO2018166234A1 WO 2018166234 A1 WO2018166234 A1 WO 2018166234A1 CN 2017111964 W CN2017111964 W CN 2017111964W WO 2018166234 A1 WO2018166234 A1 WO 2018166234A1
Authority
WO
WIPO (PCT)
Prior art keywords
network
list
plmn
mcc
terminal device
Prior art date
Application number
PCT/CN2017/111964
Other languages
English (en)
French (fr)
Inventor
李伟清
Original Assignee
广东欧珀移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 广东欧珀移动通信有限公司 filed Critical 广东欧珀移动通信有限公司
Publication of WO2018166234A1 publication Critical patent/WO2018166234A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/18Selecting a network or a communication service

Definitions

  • the present application relates to the field of communications technologies, and in particular, to a network searching method and apparatus.
  • PLMN Public Land Mobile Network
  • the network is typically interconnected with a public switched telephone network to form a communications network of a whole regional or national scale.
  • the network identifier of the PLMN is usually a string of digital codes. For example, the network identifier of China Mobile's PLMN is 46000, and the network identity of China Unicom's PLMN is 46001.
  • terminal equipment such as mobile phones
  • roaming communication such as international roaming communication
  • their terminal equipment needs to find the network again.
  • the terminal device needs to access the public land mobile network PLMN of the current home location.
  • PLMN public land mobile network
  • some solutions in the prior art are to pre-store the PLMNs of some roaming countries in the equivalent PLMN (Equivalent PLMN, EPLMN) list of the terminal equipment to connect the PLMNs of the visited places (roaming countries) with the attribution.
  • the local (local) PLMN is equivalent to speed up the search speed, but since the EPLMN list in the current protocol can only store a fixed number (usually 16) of the network identity of the PLMN, it is likely to result in some international roaming scenarios.
  • the network identifier of the equivalent PLMN is not pre-stored or has no space to be stored in the EPLMN list, so that the equivalent search cannot be performed, and finally the terminal device has low search efficiency and poor user experience.
  • the embodiment of the present application provides a network searching method and device, which can solve the problem that the terminal device is equivalent to the search network.
  • the embodiment of the present application provides a network searching method, which may include:
  • the first MCC Acquiring, according to the first MCC, a network identifier of a PLMN of a first country corresponding to the first MCC, where the first preset list includes network identifiers of PLMNs of multiple countries ;
  • a network searching device which may include:
  • a first acquiring module configured to acquire, after the terminal device is powered on or in a non-service state, the first mobile country code MCC in the network identifier of the currently searched public land mobile network PLMN;
  • a second acquiring module configured to acquire, according to the first MCC, a network identifier of a PLMN of a first country corresponding to the first MCC from a first preset list, where the first preset list includes multiple Network identity of the PLMN of each country;
  • a first search network module configured to update the acquired network identifier of the PLMN of the first country to an equivalent public land mobile network EPLMN list and/or an equivalent local public land mobile network EHPLMN list of the terminal device, And searching according to the updated EPLMN list and/or the EHPLMN list.
  • the embodiment of the present application provides a terminal device, which may include:
  • a processor coupled to the memory
  • the processor invokes the executable program code stored in the memory to perform some or all of the steps described in any of the methods of the first aspect of the embodiments of the present application.
  • the present application provides a computer storage medium for storing computer software instructions for a web search apparatus provided by the second aspect of the embodiments of the present application, including a program designed to perform the above aspects.
  • an embodiment of the present invention provides a computer program product, wherein the computer program product comprises a non-transitory computer readable storage medium storing a computer program, the computer program being operative to cause a computer to perform the implementation of the present invention.
  • the computer program product can be a software installation package, and the computer includes the terminal device.
  • the first mobile country code MCC in the network identifier of the currently searched public land mobile network PLMN is obtained after the terminal device is powered on or in the non-service state; and according to the first MCC Obtaining, in the first preset list, a network identifier of the PLMN of the first country corresponding to the first MCC; and finally updating the acquired network identifier of the PLMN of the first country to an equivalent public land mobile of the terminal device
  • the network EPLMN list and/or the equivalent local public land mobile network EHPLMN list is searched for based on the updated EPLMN list and/or the EHPLMN list.
  • the application stores the PLMNs of the plurality of countries in the first preset list, and after determining the current location of the terminal device according to the MCC in the network identifier of the currently searched PLMN, the first preset list is obtained in the first preset list.
  • the PLMN corresponding to the country updates the PLMN corresponding to the country to the EPLMN list of the terminal device, which is convenient for the terminal device to search the network according to the EPLMN list, thereby speeding up the search efficiency.
  • the present application can solve the problem that the terminal device may have an equivalent network inaccuracy or a low network equivalent in the process of performing an equivalent network search according to the EPLMN list and/or the EHPLMN list, thereby improving the user communication experience. .
  • FIG. 1 is a schematic flowchart of a network searching method according to an embodiment of the present application
  • FIG. 2 is a schematic flowchart of another network searching method provided by an embodiment of the present application.
  • FIG. 3 is a schematic diagram of a specific application scenario of a network searching method according to an embodiment of the present application
  • FIG. 4 is a schematic structural diagram of a network searching device according to an embodiment of the present application.
  • FIG. 5 is a schematic structural diagram of a terminal device according to an embodiment of the present application.
  • FIG. 6 is a schematic structural diagram of another embodiment of a terminal device provided by the present application.
  • references to "an embodiment” herein mean that a particular feature, structure, or characteristic described in connection with the embodiments can be included in at least one embodiment of the present application.
  • the appearances of the phrases in various places in the specification are not necessarily referring to the same embodiments, and are not exclusive or alternative embodiments that are mutually exclusive. Those skilled in the art will understand and implicitly understand that the embodiments described herein can be combined with other embodiments.
  • a terminal device also called a User Equipment (UE) is a device that provides voice and/or data connectivity to a user, such as a handheld device with a wireless connection function, an in-vehicle device, and the like.
  • UE User Equipment
  • Common terminal devices include, for example, mobile phones, tablets, laptops, PDAs, mobile Internet devices (MIDs), wearable devices, smart bracelets, pedometers, MP3 players (Moving Picture Experts Group Audio) Layer III, motion picture Experts compress standard audio level 3), MP4 (Moving Picture Experts Group Audio Layer IV) player, personal digital assistant (PDA) and laptop portable computer.
  • RPLMN Registered PLMN
  • RPLMN Registered PLMN
  • EPLMN Equivalent PLMN: The PLMNs that are in the same position as the PLMN currently selected by the mobile communication terminal have the same priority.
  • EHPLMN Equivalent Home PLMN
  • EHPLMN and EPLMN are like the newly built 158 network of China Mobile, and PLMN is like the original 135 ⁇ 139 network.
  • FPLMN Form PLMN, Prohibited PLMN: A PLMN that prohibits end-user registration, usually a PLMN that does not have a contract.
  • PPLMN Prefer PLMN: A PLMN of another carrier that is preferably registered with the operator to which the mobile communication terminal user card belongs.
  • Multiple means two or more. "and/or”, describing the association relationship of the associated objects, indicating that there may be three relationships, for example, A and/or B, which may indicate that there are three cases where A exists separately, A and B exist at the same time, and B exists separately.
  • the character "/" generally indicates that the contextual object is an "or" relationship.
  • FIG. 1 is a schematic flowchart of a network searching method according to an embodiment of the present application.
  • a method for searching a network in the embodiment of the present application is described in detail in the following with reference to FIG. 1 .
  • the method includes the following steps: Step S103.
  • Step S101 Acquire the first mobile country code MCC in the network identifier of the currently searched public land mobile network PLMN after the terminal device is powered on or in the no-service state.
  • the related processor or the related processing module in the terminal device or the terminal device acquires the network of the currently searched public land mobile network PLMN after the terminal device is powered on or in the non-service state.
  • the first mobile country code MCC in the identification because, The purpose of obtaining the first MCC in the network identifier of the currently searched PLMN in the present application is to determine which country the terminal device is currently in, and to accurately search the PLMN corresponding to the country according to the determined country, so as to avoid blindly searching for other irrelevance.
  • the network which leads to slow search.
  • how to determine the currently searched PLMN optionally, the PLMN of the currently searched strongest signal, or the currently fastest searched PLMN, and the most frequently occurring of all the searched PLMNs.
  • the PLMN corresponding to the MCC is determined to be the currently searched PLMN.
  • Step S102 Obtain, according to the first MCC, a network identifier of a PLMN of a first country corresponding to the first MCC from a first preset list.
  • the country corresponding to the PLMN can be determined according to the MCC in the network identifier of the PLMN, that is, the MCC of the same country must be the same. Therefore, after confirming the first MCC of the terminal device in step S101, the first country corresponding to the first MCC may be further determined.
  • the first preset list provided in the present application includes the network identifiers of the PLMNs of the plurality of countries, and the terminal device may acquire all the PLMNs corresponding to the first country according to the first preset list.
  • the first preset list can store the network identifier of the PLMN of all countries, or can only store the network identifier of the PLMN of a plurality of popular countries, for example, a popular tourist country, a popular country for business trips.
  • the PLMN that is stored in the first preset list and is contracted with the user identity card inserted in the terminal device that is, the network identifier of the PLMN of the first country may refer to all the first country.
  • the network identifier of the PLMN may also refer to the network identifier of the PLMN that has been contracted with the user identity card inserted in the terminal device.
  • the MCC included in the network identifier of all PLMNs is the PLMN of the first MCC, and determine the network identifier of the PLMN of the first country. For example, if the first MCC is 460, then the corresponding first country is China, and the network ID of the first country's PLMN includes China Mobile (PLMN is 46000, 46002, etc.), China Unicom (46001, 46007, etc.) And China Telecom (46006, etc.). Assuming the first MCC is 310, the first country is the United States.
  • the acquiring the first mobile country code MCC in the network identifier of the currently searched public land mobile network PLMN includes: acquiring the current fastest searched The first MCC in the network identifier of the PLMN; or the first MCC in the network identifier of the PLMN in which the currently searched signal is the strongest, or the corresponding country in which the current maximum probability of the terminal device is calculated according to the correlation algorithm
  • An MCC is not specifically limited in this application.
  • the network identifiers of the PLMNs of the multiple countries in the first preset list are classified and stored according to different MCCs, that is, the same PLMNs of the MCC are placed together, so that the search time is easy to find. Faster and more accurate, improve the efficiency of table lookup.
  • the network identifiers of the PLMMs between the multiple countries may be sequentially arranged according to the digital size of the MCC, which is further convenient for searching.
  • the network identifier of the PLMN of the preset country that the terminal device has subscribed to is stored by default in the EPLMN list or the EHPLMN list. That is, before the EPLMN list is updated, some popular PLMNs of countries that have contracted with the terminal device may be stored by default in the EPLMN list or the EHPLMN list.
  • the PLMN of each country stored in the first preset list in this application may be for a different terminal device (essentially a user identity card inserted with a different operator, or inserted
  • Step S103 Update the acquired network identifier of the PLMN of the first country to the equivalent public land mobile network EPLMN list and/or the equivalent local public land mobile network EHPLMN list of the terminal device, and according to the updated The EPLMN list and/or the EHPLMN list is searched.
  • the RPLMN is generally searched first after the terminal device is powered on or when there is no service according to the network search priority of the PLMN list in the prior art. If the RPLMN search fails, the network search is performed according to the corresponding EPLMN or EHPLMN. That is, if the PLMN of the roaming country reached is not stored in the current EPLMN list and/or the EHPLMN list, the equivalent search cannot be performed. Therefore, after determining the specific country in which the terminal device is currently located, the PLMN corresponding to the country may be updated to be equivalent to the EPLMN list and/or the EHPLMN list of the terminal device, so as to facilitate fast network search.
  • the network identity update of the PLMN of the first country to be obtained by the application Equivalent to the EPLMN list and/or EHPLMN list of the terminal device, so that since the PLMN in the EPLMN or EHPLMN list is equivalent to the RPLMN, the search can be performed with a more precise and smaller search range. Can quickly reside in the first country.
  • updating the acquired network identity of the PLMN of the first country to the EPLMN list and/or the EHPLMN list of the terminal device means that the PLMN replacement of the first country is overwritten by the EPLMN list and/or
  • the network identifier of the PLMN originally stored in the EHPLMN list that is, the network identifier of the default or last updated PLMN in the EPLMN list and/or the EHPLMN list no longer exists after each update, and only the currently updated PLMN is retained. Network identification.
  • the terminal device acquires, according to the first MCC, the network identifier of the forbidden public land mobile network FPLMN (Forbidden PLMN) of the first country corresponding to the first MCC from the second preset list, where the second preset list includes The network identifier of the FPLMN of the plurality of countries corresponding to the currently inserted user identity card in the terminal device; updating the acquired network identity of the FPLMN of the first country to the FPLMN list of the terminal device. That is, in addition to the EPLMN, the FPLMN of the terminal device can be updated in this application. Since the FPLMN is a PLMN that is forbidden to access, usually after the terminal attempts to access a certain PLMN, the terminal adds it to the list.
  • FPLMN is a PLMN that is forbidden to access
  • the second preset list in the present application pre-stores the PLMNs disabled in the respective countries corresponding to the user identification cards inserted in the terminal device, and thus can be quickly determined after determining the current country according to the first MCC.
  • Use that is, avoid searching the network while searching the network, thereby further saving the search time and speeding up the network access efficiency.
  • the terminal device acquires, according to the first MCC, a network identifier of a preferred public land mobile network PPLMN (preference PLMN) of the first country corresponding to the first MCC from the third preset list, where the third preset list is The network identifier of the PPLMN of the plurality of countries corresponding to the user identification card currently inserted in the terminal device is included; and the acquired network identifier of the PPLMN of the first country is updated to the PPLMN list of the terminal device. That is to say, in addition to the EPLMN and/or the FPLMN, the PPLMN of the terminal device can be updated. Since the PPLMN is the preferred PLMN, it is usually the network with the highest priority for the terminal device.
  • PPLMN is the preferred PLMN, it is usually the network with the highest priority for the terminal device.
  • the PLMN preferentially searched in each country corresponding to the user identification card inserted in the terminal device is pre-stored, so that the current preset country can be quickly obtained from the third preset list after determining the current country according to the first MCC.
  • the network identifier of the PPLMN corresponding to the priority searched by the user identity card in the first country is updated to the PPLMN list of the terminal device, so that the terminal device can search for the PPLMN preferentially during the fast network search process, thereby further searching Save time on the search network and speed up access to the network.
  • the first mobile country code MCC in the network identifier of the currently searched public land mobile network PLMN is obtained after the terminal device is powered on or in the no-service state; and according to the first MCC.
  • the mobile network EPLMN list and/or the equivalent local public land mobile network EHPLMN list is searched for based on the updated EPLMN list and/or the EHPLMN list.
  • the application stores the PLMNs of the plurality of countries in the first preset list, and after determining the current location of the terminal device according to the MCC in the network identifier of the currently searched PLMN, the first preset list is obtained in the first preset list.
  • the PLMN corresponding to the country updates the PLMN corresponding to the country to the EPLMN list of the terminal device, which is convenient for the terminal device to search the network according to the EPLMN list, thereby speeding up the search efficiency.
  • the present application can solve the problem that the terminal device may have an equivalent network inaccuracy or a low network equivalent in the process of performing an equivalent network search according to the EPLMN list and/or the EHPLMN list, thereby improving the user communication experience. .
  • FIG. 2 is a schematic flowchart of another method for searching a network according to an embodiment of the present application. Another method for searching a network in the embodiment of the present application is described in detail in the following with reference to FIG. 2, as shown in FIG. The method may include the following steps S201 to S207.
  • Step S201 Acquire a second MCC in the network identifier of the registered public land mobile network RPLMN of the terminal device after the terminal device is powered on or in the non-service state.
  • the second MCC in the network identifier of the RPLMN may also be acquired first. That is to say, due to the continuity of the movement or the fact that the user usually stays for a longer period of time after reaching a roaming country, in some scenarios, the terminal device is likely to be in the country corresponding to the previous registration network, so It may be prioritized to determine the country in which the terminal device is located in the second MCC of the network identity of the RPLMN.
  • Step S202 Obtain, according to the second MCC, a network identifier of a PLMN of a second country corresponding to the second MCC from the first preset list;
  • the network identifiers of all PLMNs corresponding to the second MCC in the first preset list are also acquired. For more details, reference may be made to step S102, and details are not described herein again.
  • Step S203 Update the acquired network identifier of the PLMN of the second country to the EPLMN list and/or the EHPLMN list of the terminal device, and search according to the updated EPLMN list and/or the EHPLMN list. network.
  • the network identifiers of all PLMNs corresponding to the second MCC are also updated into the EPLMN.
  • step S102 the network identifiers of all PLMNs corresponding to the second MCC are also updated into the EPLMN.
  • step S204 to step S206 can be continued.
  • the reboot is performed again, and steps S204 to S206 may be further performed.
  • Step S204 Acquire the first mobile country code MCC in the network identifier of the currently searched public land mobile network PLMN after the terminal device is powered on or in the no-service state.
  • Step S205 Obtain, according to the first MCC, a network identifier of a PLMN of a first country corresponding to the first MCC from a first preset list, where the first preset list includes PLMNs of multiple countries. Network identity.
  • Step S206 Update the acquired network identifier of the PLMN of the first country to the equivalent public land mobile network EPLMN list and/or the equivalent local public land mobile network EHPLMN list of the terminal device, and according to the updated The EPLMN list and/or the EHPLMN list is searched.
  • step S204 to step S206 can refer to step S101 to step S103 in the foregoing embodiment of FIG. 1 , and details are not described herein again.
  • Step S207 In the case that the terminal device successfully accesses the network, update the network identifier of the equivalent PLMN of the successfully accessed PLMN to the EPLMN list and/or the EHPLMN list for equality.
  • the corresponding PLMN in the first preset list acquired according to the first MCC or the second MCC is all PLMNs belonging to the corresponding country, or is a PLMN that is contracted with the user identification card in the terminal device, the range bigger.
  • the terminal device will only be registered to a certain network. Therefore, the PLMN updated in the EPLMN list and/or the EHPLMN list at this time has a larger range for the current terminal device. Therefore, after the terminal device determines to register a certain network, the true equivalent PLMN of the successfully accessed PLMN can be updated into the EPLMN list and/or the EHPLMN list, that is, in the EPLMN list and/or the EHPLMN list at this time.
  • the update stores a more specific and accurate equivalent network, which enables the terminal device to communicate normally within the equivalent network range of the network after successfully registering a network.
  • the EPLMN list and/or the EHPLMN list of the updated terminal device in the present application can be understood as a flexible update process that changes in real time according to the actual situation of the terminal device, that is, according to whether the terminal device currently has a service, or Whether the network has been successfully registered, or whether it is a specific scenario such as just booting to the purpose of the precise EPLMN or the equivalent PLMN range in the EHPLMN, real-time guarantees the efficiency of the terminal device in the roaming country or even the home country.
  • FIG. 3 is a schematic diagram of a specific application scenario of a network searching method according to an embodiment of the present invention.
  • the network speed may be searched. The degree is slow, and even the connection timeout shown in the left figure of FIG. 3 may occur.
  • the fast search and registration as shown in the right figure of FIG. 3 can be implemented. More specifically, please refer to the description of the above method embodiments.
  • the embodiments of the present application retain the beneficial effects in the embodiment corresponding to FIG. 1. Further, by preferentially determining the country corresponding to the MCC in the RPLMN as the country in which the terminal device is currently located, and then updating the PLMN of the country to the EPLMN list and/or the EHPLMN list of the terminal device, the terminal device can be The speed of search is further accelerated without the replacement of roaming countries.
  • FIG. 4 is a schematic structural diagram of a network searching device in the embodiment of the present application, and the structure of the network searching device 10 will be described below with reference to FIG. Carry out a detailed introduction.
  • the device 10 can include: a first obtaining module 101, a second obtaining module 102, and a first search module 103, wherein
  • the first obtaining module 101 is configured to acquire, after the terminal device is powered on or in a no-service state, the first mobile country code MCC in the network identifier of the currently searched public land mobile network PLMN;
  • a second obtaining module 102 configured to acquire, according to the first MCC, a network identifier of a PLMN of a first country corresponding to the first MCC from a first preset list, where the first preset list includes Network identity of PLMNs in multiple countries;
  • a first search network module 103 configured to update the acquired network identifier of the PLMN of the first country to an equivalent public land mobile network EPLMN list of the terminal device and/or an equivalent local public land mobile network EHPLMN list. And searching according to the updated EPLMN list and/or the EHPLMN list.
  • the device 10 further includes:
  • the first update module 104 is configured to update the network identifier of the equivalent PLMN of the successfully accessed PLMN to the EPLMN list and/or the EHPLMN list to be equivalent if the terminal device successfully accesses the network.
  • the first obtaining module is specifically configured to:
  • the network identifiers of the PLMNs of the plurality of countries in the first preset list are classified and stored according to different MCCs.
  • the network identifiers of the PLMMs of the plurality of countries in the first preset list are sequentially stored according to the digital size of the MCC.
  • the network identifier of the PLMN of the preset country that the terminal device has subscribed to is stored by default.
  • the apparatus 10 further includes:
  • the third obtaining module 105 is configured to acquire, after the terminal device is powered on or in a non-service state, the second MCC in the network identifier of the registered public land mobile network RPLMN of the terminal device;
  • the fourth obtaining module 106 is configured to obtain, according to the second MCC, a network identifier of a PLMN of a second country corresponding to the second MCC from the first preset list;
  • a second search network module 107 configured to update the acquired network identifier of the PLMN of the second country to an EPLMN list and/or an EHPLMN list of the terminal device, and according to the updated EPLMN list and/or The EHPLMN list is searched.
  • the apparatus 10 further includes:
  • a fifth obtaining module 108 configured to acquire, according to the first MCC, a network identifier of a disabled public land mobile network FPLMN of a first country corresponding to the first MCC from a second preset list, where the second The preset list includes a network identifier of a FPLMN of a plurality of countries corresponding to the currently inserted user identity card in the terminal device;
  • the second update module 109 is configured to update the acquired network identifier of the FPLMN of the first country to the FPLMN list of the terminal device.
  • the apparatus 10 further includes:
  • a sixth obtaining module 110 configured to acquire, according to the first MCC, a network identifier of a preferred public land mobile network PPLMN of a first country corresponding to the first MCC from a third preset list, where the third The preset list includes a user identification card currently inserted in the terminal device.
  • the third update module 111 is configured to update the acquired network identifier of the PPLMN of the first country to the PPLMN list of the terminal device.
  • the web search device 10 is presented in the form of a module.
  • a “module” herein may refer to an application-specific integrated circuit (ASIC), a processor and memory that executes one or more software or firmware programs, integrated logic circuits, and/or other devices that provide the above functionality.
  • the first search network module 103 can be implemented by the processor 201 of the terminal device shown in FIG.
  • FIG. 5 is a schematic structural diagram of a terminal device in the embodiment of the present application.
  • the structure of the terminal device 20 will be described in detail below with reference to FIG.
  • the terminal device 20 includes at least one processor 201, at least one memory 202, and at least one communication interface 203.
  • the processor 201, the memory 202, and the communication interface 203 are connected by the communication bus and complete communication with each other.
  • the processor 201 can be a general purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the above program.
  • CPU central processing unit
  • ASIC application-specific integrated circuit
  • the communication interface 203 is configured to communicate with other devices or communication networks, such as Ethernet, Radio Access Network (RAN), Wireless Local Area Networks (WLAN), and the like.
  • RAN Radio Access Network
  • WLAN Wireless Local Area Networks
  • the memory 202 can be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (RAM) or other type that can store information and instructions.
  • the dynamic storage device can also be an Electrically Erasable Programmable Read-Only Memory (EEPROM), a Compact Disc Read-Only Memory (CD-ROM) or other optical disc storage, and a disc storage device. (including compact discs, laser discs, CDs, digital versatile discs, Blu-ray discs, etc.), disk storage media or other magnetic storage devices, or can be used for carrying or storing Any other medium having the desired program code in the form of an instruction or data structure and accessible by a computer, but is not limited thereto.
  • the memory can exist independently and be connected to the processor via a bus.
  • the memory can also be integrated with the processor.
  • the memory 202 is used to store application code that executes the above solution, and is controlled by the processor 201 for execution.
  • the processor 201 is configured to execute application code stored in the memory 202.
  • the code stored in the memory 202 can perform the network searching method of FIG. 1 to FIG. 3 performed by the terminal device provided above, for example, after the terminal device is powered on or in the non-service state, acquiring the currently searched public land mobile network PLMN.
  • a first mobile country code MCC in the network identifier obtaining, according to the first MCC, a network identifier of a PLMN of a first country corresponding to the first MCC from a first preset list, where the first preset Included in the list is a network identity of a PLMN of a plurality of countries; updating the obtained network identity of the PLMN of the first country to an equivalent public land mobile network EPLMN list of the terminal device and/or an equivalent local public land mobile network Searching in the EHPLMN list and searching based on the updated EPLMN list and/or the EHPLMN list.
  • FIG. 6 is a schematic structural diagram of another embodiment of a terminal device according to an embodiment of the present application.
  • the terminal device 30 can be a smart mobile terminal (such as a mobile phone).
  • the terminal device 30 includes: a radio frequency (RF) circuit 301, a memory 302 storing one or more computer programs, an input device 303, and an output device 304.
  • RF radio frequency
  • the sensor 305, the audio circuit 306, the wireless fidelity (Wi-Fi) module 307, the processor 308 including one or more processing cores, and the power source 303 and the like It will be understood by those skilled in the art that the terminal device structure shown in FIG. 6 does not constitute a limitation of the terminal device, and may include more or less components than those illustrated, or a combination of certain components, or different component arrangements. among them:
  • the RF circuit 301 can be used for receiving and transmitting signals during and after receiving or transmitting information, in particular, receiving downlink information of the base station and then processing it by one or more processors 308; in addition, transmitting data related to the uplink to the base station .
  • RF circuit 301 includes, but is not limited to, an antenna, at least one amplifier, a tuner, one or more oscillators, a subscriber identity module (SIM) card, a transceiver, a coupler, a low noise amplifier ( English: low noise amplifier, LNA), duplexer, etc.
  • SIM subscriber identity module
  • the RF circuit 301 can also communicate with a network or other terminal device through wireless communication.
  • the wireless communication may use any communication standard or protocol, including but not limited to global system of mobile communication (GSM), general packet radio service (GPRS), code division. Code division multiple access (CDMA), wideband code division multiple access (WCDMA), long term evolution (LTE), e-mail, short message service (English) :short messaging service,SMS), etc.
  • GSM global system of mobile communication
  • GPRS general packet radio service
  • CDMA Code division multiple access
  • WCDMA wideband code division multiple access
  • LTE long term evolution
  • e-mail e-mail
  • SMS short message service
  • the memory 302 can be used to store computer programs and modules, and the processor 308 executes various functional applications and data processing by running computer programs and modules stored in the memory 302.
  • the memory 302 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to The data created by the use of the terminal device 30 (such as photographed photos, audio data, video data, etc.) and the like.
  • memory 302 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, memory 302 may also include a memory controller to provide access to memory 302 by processor 308 and input device 303.
  • Input device 303 can be used to receive input numeric or character information, as well as to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls.
  • input device 303 can include touch-sensitive surface 3031 as well as other input devices 3032.
  • Touch-sensitive surface 3031 also referred to as a touch display panel or trackpad, can collect touch operations on or near the user (eg, the user uses a finger, stylus, etc., any suitable object or accessory on touch-sensitive surface 3031 or The operation near the touch-sensitive surface 3031) and driving the corresponding connecting device according to a preset program.
  • the touch sensitive surface 3031 can include two portions of a touch detection device and a touch controller.
  • the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information.
  • the processor 308 is provided and can receive commands from the processor 308 and execute them.
  • the touch sensitive surface 3031 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the input device 303 can also include other input devices 3032. specifically, Other input devices 3032 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
  • Output device 304 can be used to display information entered by the user or information provided to the user and various graphical user interfaces of terminal device 30, which can be composed of graphics, text, icons, video, and any combination thereof.
  • the output device 304 can include a display panel 3041.
  • the display panel 3041 can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
  • the touch-sensitive surface 3031 can cover the display panel 3041, and when the touch-sensitive surface 3031 detects a touch operation thereon or nearby, it is transmitted to the processor 308 to determine the type of the touch event, and then the processor 308 according to the touch event The type provides a corresponding visual output on display panel 3041.
  • touch-sensitive surface 3031 and display panel 3041 are implemented as two separate components to implement input and input functions, in some embodiments, touch-sensitive surface 3031 can be integrated with display panel 3041 for input. And output function.
  • Terminal device 30 may also include at least one type of sensor 305, such as a distance sensor, a light sensor, a motion sensor, and other sensors.
  • the distance sensor is configured to detect a distance between the screen of the terminal device and an object covering the terminal device
  • the light sensor is configured to detect an optical signal of an environment external to the terminal device.
  • the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally three axes), and the magnitude and direction of gravity can be detected at rest, which can be used to identify the attitude of the terminal device 30 (such as horizontal and vertical screen switching).
  • the terminal device 30 can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, I will not repeat them here.
  • the audio circuit 306, the speaker 3061, and the microphone 3062 can provide an audio interface between the user and the terminal device 30.
  • the audio circuit 306 can transmit the converted electrical data of the received audio data to the speaker 3061, and convert it into a sound signal output by the speaker 3061.
  • the microphone 3062 converts the collected sound signal into an electrical signal, and the audio circuit 306 is used by the audio circuit 306. After receiving, it is converted into audio data, and then processed by the audio data output processor 308, transmitted to the device, for example, via the RF circuit 301, or outputted to the memory 302 for further processing.
  • the audio circuit 306 may also include an earbud jack to provide communication of the peripheral earphones with the terminal device 30.
  • WiFi is a short-range wireless transmission technology
  • the terminal device 30 can help users to send and receive emails, browse web pages, and access streaming media through the WiFi module 307, which provides wireless broadband Internet access for users.
  • FIG. 6 shows the WiFi module 307, it can be understood that it does not belong to the essential configuration of the terminal device 30, and may be omitted as needed within the scope of not changing the essence of the application.
  • Processor 308 is the control center of terminal device 30, which connects various portions of the entire terminal device 30 using various interfaces and lines, by running or executing computer programs and/or modules stored in memory 302, and by calling stored in memory 302.
  • the data performs various functions and processing data of the terminal device 30, thereby performing overall monitoring of the terminal device 30.
  • the processor 308 may include one or more processing cores; preferably, the processor 308 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like.
  • the modem processor primarily handles wireless communications. It will be appreciated that the above described modem processor may also not be integrated into the processor 308.
  • the terminal device 30 further includes a power source 303 (such as a battery) for supplying power to the various components.
  • a power source 303 such as a battery
  • the power source can be logically connected to the processor 308 through the power management system to manage functions such as charging, discharging, and power management through the power management system.
  • the power supply 303 may also include any one or more of a DC or AC power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
  • the terminal device 30 may further include a camera, a Bluetooth module, and the like, and details are not described herein again.
  • the output device 304 (or the input device 303) of the terminal device is a touch screen display
  • the terminal device 30 further includes a memory 302, a processor 308, and one or more computer programs, one or more of which The computer program is stored in the memory 302, and the program 308 is used by the processor 308 to call the program stored in the memory 302 (non-volatile memory) to execute the method steps in the foregoing method embodiments, and details are not described herein again.
  • the embodiment of the present application further provides a computer storage medium, wherein the computer storage medium may store a program, and the program includes some or all of the steps of any one of the network searching methods described in the foregoing method embodiments.
  • the descriptions of the various embodiments are different, and the details that are not detailed in a certain embodiment can be referred to the related descriptions of other embodiments.
  • the disclosed apparatus may be implemented in other ways.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or may be Integrate into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be electrical or otherwise.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable memory.
  • a computer readable memory A number of instructions are included to cause a computer device (which may be a personal computer, server or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present application.
  • the foregoing memory includes: a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk, or an optical disk, and the like, which can store program codes. Medium.
  • ROM Read-Only Memory
  • RAM Random Access Memory

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本申请实施例公开了一种搜网方法及装置,其中的方法可包括:在终端设备开机后或者处于无服务状态的情况下,获取当前搜索到的公共陆地移动网络PLMN的网络标识中的第一移动国家码MCC;根据所述第一MCC从第一预置列表中获取与所述第一MCC对应的第一国家的PLMN的网络标识,其中,所述第一预置列表中包括多个国家的PLMN的网络标识;将获取的所述第一国家的PLMN的网络标识更新至所述终端设备的等效公共陆地移动网络EPLMN列表和/或等效本地公共陆地移动网络EHPLMN列表中,并根据更新后的所述EPLMN列表和/或所述EHPLMN列表进行搜网。采用本申请,可以解决终端设备在等效搜网过程中网络等效不准确或等效不全面导致的搜网效率较低的问题,提升用户通信体验。

Description

一种搜网方法及装置 技术领域
本申请涉及通信技术领域,尤其涉及一种搜网方法及装置。
背景技术
公共陆地移动网络(PLMN,Public Land Mobile Network),由政府或它所批准的经营者,为公众提供陆地移动通信业务目的而建立和经营的网络。该网络通常与公众交换电话网互连,形成整个地区或国家规模的通信网。PLMN的网络标识通常是一串数字码,例如中国移动的PLMN的网络标识为46000,中国联通的PLMN的网络标识为46001等。
随着人们生活水平的提高,携带终端设备(如手机)出国旅游或出差办事的用户也越来越多,当用户进行漫游通信(如国际漫游通信)时,其终端设备等需要重新找网,以接入到当地网络进行正常通信。例如,当终端设备从归属地移动到拜访地(例如终端设备从归属国漫游至拜访国),终端设备需要接入到当前归属地的公共陆地移动网络PLMN,然而,目前经常发生的情况是终端设备从某归属地移动到拜访地,终端设备经常需要很长的时间才可成功接入当前拜访地的公共陆地移动网络,这极大的影响用户通信体验。
针对以上技术问题,现有技术中的一些解决方案是通过在终端设备的等效PLMN(Equivalent PLMN,EPLMN)列表中预先存储一些漫游国家的PLMN,以将拜访地(漫游国家)的PLMN与归属地(本地)的PLMN进行等效,以加快搜网速度,但是由于目前协议中EPLMN列表中只能存放固定数量(通常是16个)PLMN的网络标识,因此很有可能导致在一些国际漫游场景中,需要等效的PLMN的网络标识没有预先存储或者是没有空间存储在该EPLMN列表中,从而无法进行等效搜网,最终致使终端设备搜网效率低,用户体验差。
发明内容
本申请实施例提供一种搜网方法及装置,可以解决终端设备在等效搜网过 程中网络等效不准确或等效不全面导致的搜网效率较低的问题。
第一方面,本申请实施例提供了一种搜网方法,可包括:
在终端设备开机后或者处于无服务状态的情况下,获取当前搜索到的公共陆地移动网络PLMN的网络标识中的第一移动国家码MCC;
根据所述第一MCC从第一预置列表中获取与所述第一MCC对应的第一国家的PLMN的网络标识,其中,所述第一预置列表中包括多个国家的PLMN的网络标识;
将获取的所述第一国家的PLMN的网络标识更新至所述终端设备的等效公共陆地移动网络EPLMN列表和/或等效本地公共陆地移动网络EHPLMN列表中,并根据更新后的所述EPLMN列表和/或所述EHPLMN列表进行搜网。
第二方面,本申请实施例提供了一种搜网装置,可包括:
第一获取模块,用于在终端设备开机后或者处于无服务状态的情况下,获取当前搜索到的公共陆地移动网络PLMN的网络标识中的第一移动国家码MCC;
第二获取模块,用于根据所述第一MCC从第一预置列表中获取与所述第一MCC对应的第一国家的PLMN的网络标识,其中,所述第一预置列表中包括多个国家的PLMN的网络标识;
第一搜网模块,用于将获取的所述第一国家的PLMN的网络标识更新至所述终端设备的等效公共陆地移动网络EPLMN列表和/或等效本地公共陆地移动网络EHPLMN列表中,并根据更新后的所述EPLMN列表和/或所述EHPLMN列表进行搜网。
第三方面,本申请实施例提供了一种终端设备,可包括:
存储有可执行程序代码的存储器;
与所述存储器耦合的处理器;
所述处理器调用所述存储器中存储的所述可执行程序代码,执行如本申请实施例第一方面任意一方法中所描述的部分或全部步骤。
第四方面,本申请提供一种计算机存储介质,用于储存为本申请实施例第二方面提供的搜网装置所用的计算机软件指令,其包含用于执行上述方面所设计的程序。
第五方面,本发明实施例提供了一种计算机程序产品,其中,上述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,上述计算机程序可操作来使计算机执行如本发明实施例第一方面所描述的部分或全部步骤。该计算机程序产品可以为一个软件安装包,上述计算机包括终端设备。
实施本申请实施例,具有如下有益效果:
本申请实施例,通过在终端设备开机后或者处于无服务状态的情况下,获取当前搜索到的公共陆地移动网络PLMN的网络标识中的第一移动国家码MCC;并根据所述第一MCC从第一预置列表中获取与所述第一MCC对应的第一国家的PLMN的网络标识;最终将获取的所述第一国家的PLMN的网络标识更新至所述终端设备的等效公共陆地移动网络EPLMN列表和/或等效本地公共陆地移动网络EHPLMN列表中,并根据更新后的所述EPLMN列表和/或所述EHPLMN列表进行搜网。即本申请在第一预置列表中存放多个国家的PLMN,在根据当前搜索到的PLMN的网络标识中的MCC确定终端设备当前所在的国家后,便在第一预置列表中获取该所在国家对应的PLMN,并将该国家对应的PLMN更新到该终端设备的EPLMN列表中进行等效,便于终端设备根据该EPLMN列表进行搜网,加快搜网效率。本申请可以解决终端设备在根据EPLMN列表和/或EHPLMN列表进行等效搜网过程中可能存在的等效网络不准确或者等效网络不全面导致的搜网效率较低的问题,提升用户通信体验。
附图说明
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述 中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本申请实施例提供的一种搜网方法的流程示意图;
图2是本申请实施例提供的另一种搜网方法的流程示意图;
图3是本申请实施例提供的搜网方法的一个具体应用场景示意图;
图4是本申请实施例提供的搜网装置的结构示意图;
图5是本申请实施例提供的终端设备的结构示意图;
图6是本申请提供的终端设备的另一实施例的结构示意图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例进行描述。
本申请的说明书和权利要求书及所述附图中的术语“第一”、“第二”、“第三”和“第四”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本申请的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。
以下,对本申请中的部分用语进行解释说明,以便于本领域技术人员理解。
1)、终端设备,又称之为用户设备(User Equipment,UE),是一种向用户提供语音和/或数据连通性的设备,如具有无线连接功能的手持式设备、车载设备等。常见的终端设备例如包括:手机、平板电脑、笔记本电脑、掌上电脑、移动互联网设备(Mobile Internet Device,MID)、可穿戴设备、智能手环、计步器、MP3播放器(Moving Picture Experts Group Audio Layer III,动态影像 专家压缩标准音频层面3)、MP4(Moving Picture Experts Group Audio Layer IV,动态影像专家压缩标准音频层面3)播放器、个人数字助理(Personal Digital Assistant,PDA)和膝上型便携计算机等。
2)、RPLMN(Registered PLMN,已登记PLMN):已登记PLMN。是移动通信终端在上次关机或脱网前登记上的PLMN。在3GPP 2003年第TSG TP-21次会议上决定,将该参数从USIM卡上删掉,而将其保存在终端的内存中。
3)、EPLMN(Equivalent PLMN,等效PLMN):为与移动通信终端当前所选择的PLMN处于同等地位的PLMN,其优先级相同。
4)、EHPLMN(EquivalentHome PLMN,等效归属地PLMN):为与移动通信终端当前所选择的PLMN处于同等地位的本地PLMN。其实:EHPLMN和EPLMN就好比是中移动的新建的158网络,而PLMN就好比是原来的135~139网络。
5)、FPLMN(Forbidden PLMN,禁止PLMN):为禁止终端用户注册的PLMN,通常是没有签约的PLMN。
6)、PPLMN(Prefer PLMN,优先PLMN):为与移动通信终端用户卡所属运营商签约的优选注册的其他运营商的PLMN。
7)、“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。
图1是本申请实施例提供的一种搜网方法的流程示意图,下面将结合附图1从终端设备侧对本申请实施例中的一种搜网方法进行详细介绍,该方法包括以下步骤S101-步骤S103。
步骤S101:在终端设备开机后或者处于无服务状态的情况下,获取当前搜索到的公共陆地移动网络PLMN的网络标识中的第一移动国家码MCC。
具体地,终端设备或者终端设备中的相关处理器或者相关处理模块(后续相同不再赘述)在终端设备开机后或者处于无服务状态的情况下,获取当前搜索到的公共陆地移动网络PLMN的网络标识中的第一移动国家码MCC。因为, 在本申请中获取当前搜索到的PLMN的网络标识中的第一MCC的目的在于确定终端设备当前具体处于哪个国家,进而根据确定的国家精确搜索该国家对应的PLMN,以避免盲目搜索其它不相关的网络,从而导致搜网速度慢。而其中如何确定当前搜索到的PLMN,可选地,可以将当前搜索到的最强信号的PLMN,也可以将当前最快搜索到的PLMN,还可以将搜索到的所有PLMN中出现次数最多的MCC对应的PLMN确定为所述当前搜索到的PLMN。
步骤S102:根据所述第一MCC从第一预置列表中获取与所述第一MCC对应的第一国家的PLMN的网络标识。
具体地,由于PLMN=MCC+MNC,例如中国移动的PLMN为46000,中国联通的PLMN为46001。因此可以根据PLMN的网络标识中的MCC来判定该PLMN对应的国家,即同一个国家的MCC一定是相同的。所以在经过步骤S101中确认了终端设备的第一MCC后可以进一步确定该第一MCC对应的第一国家。并且由于本申请中提供的第一预置列表中包括多个国家的PLMN的网络标识,因此终端设备可以根据该第一预置列表获取该第一国家对应的所有PLMN。可以理解的是,第一预置列表中可以存放所有国家的PLMN的网络标识,也可以只存放多个热门国家的PLMN的网络标识,例如,旅游热门国家,出差热门国家。可选地,第一预置列表中存储的为与所述终端设备中所插入的用户身份识别卡进行了签约的PLMN,即第一国家的PLMN的网络标识可以是指该第一国家的所有PLMN的网络标识,也可以是指与终端设备中所插入的用户身份识别卡进行了签约的PLMN的网络标识。
在确定了第一MCC之后,就需要在第一预置列表中找出所有PLMN的网络标识中包含的MCC为第一MCC的PLMN,并确定为第一国家的PLMN的网络标识。例如,假设第一MCC为460,那么对应的第一国家就为中国,而第一国家的PLMN的网络标识,就包括中国移动(PLMN为46000,46002等),中国联通(46001,46007等)和中国电信(46006等)。假设第一MCC为310,则第一国家为美国。
在一种可能的实现方式中,所述获取当前搜索到的公共陆地移动网络PLMN的网络标识中的第一移动国家码MCC,包括:获取当前最快搜索到的 PLMN的网络标识中的第一MCC;或者获取当前搜索到的信号最强的PLMN的网络标识中的第一MCC,或者是根据相关算法计算得到的终端设备当前最大可能性所在的国家对应的第一MCC,本申请对此不作具体限定。
在一种可能的实现方式中,所述第一预置列表中的所述多个国家的PLMN的网络标识按照MCC的不同进行分类存储,即MCC相同的PLMN放置在一起,便于查找获取的时候更加快速精准,提高查表效率。可选地,多个国家之间的PLMM的网络标识可以根据MCC的数字大小进行顺序排列,进一步便于查找。
在一种可能的实现方式中,所述EPLMN列表或者EHPLMN列表中默认存储所述终端设备已经签约的预设国家的PLMN的网络标识。即在没有更新EPLMN列表之前,可以在EPLMN列表或者EHPLMN列表中默认存储一些热门的与终端设备进行签约的国家的PLMN。
在一种可能的实现方式中,本申请中的第一预置列表中存储的各个国家的PLMN可以是针对不同的终端设备(本质上是插入了不同的运营商的用户身份识别卡,或插入了同一运营商开通了不同业务的用户身份识别卡的终端设备)量身定制的第一预置列表,并且第一预置列表中存储的各个国家的PLMN也可以根据实际情况实时更新,以保证终端设备搜网的准确性和高效性。
步骤S103:将获取的所述第一国家的PLMN的网络标识更新至所述终端设备的等效公共陆地移动网络EPLMN列表和/或等效本地公共陆地移动网络EHPLMN列表中,并根据更新后的所述EPLMN列表和/或所述EHPLMN列表进行搜网。
具体地,由于根据现有技术中的PLMN列表的搜网优先级,终端设备开机后或者无服务时,一般会首先搜索RPLMN,如果RPLMN搜索失败,则会根据对应的EPLMN或者EHPLMN进行搜网。即若当前EPLMN列表和/或EHPLMN列表中没有存储所达到的漫游国家的PLMN,则会导致无法进行等效搜网。因此,在确定了终端设备当前所处于的具体国家后,则可以将该国家对应的PLMN更新至终端设备的EPLMN列表和/或EHPLMN列表中进行等效,以便于快速搜网。即本申请将获取的第一国家的PLMN的网络标识更新 到终端设备的EPLMN列表和/或EHPLMN列表中进行等效,如此一来,由于EPLMN或EHPLMN列表中的PLMN与RPLMN是等效的,因此可以以更精准更小的搜索范围进行搜网,便可以快速的驻留到该第一国家。需要强调的是,本申请中的将获取的第一国家的PLMN的网络标识更新至终端设备的EPLMN列表和/或EHPLMN列表中,是指将第一国家的PLMN替换覆盖掉EPLMN列表和/或EHPLMN列表中本来存放的PLMN的网络标识,即每次更新后,EPLMN列表和/或EHPLMN列表中默认的或者上一次更新的PLMN的网络标识就不复存在了,只保留当前所更新的PLMN的网络标识。
进一步地,终端设备根据第一MCC从第二预置列表中获取与第一MCC对应的第一国家的禁用公共陆地移动网络FPLMN(Forbidden PLMN)的网络标识,其中,第二预置列表中包括终端设备中当前所插入的用户身份识别卡所对应的多个国家的FPLMN的网络标识;将获取的第一国家的FPLMN的网络标识更新至终端设备的FPLMN列表中。即本申请中除了可以更新EPLMN以外,还可以更新终端设备的FPLMN,由于FPLMN为被禁止访问的PLMN,通常终端在尝试接入某个PLMN被拒绝以后,会将其加到本列表中。本申请中的第二预置列表中预先存储了终端设备中所插入的用户身份识别卡对应的在各个国家所禁用的PLMN,因此可以在根据第一MCC判断出当前所在的国家后,快速的从第二预置列表中获取该用户身份识别卡在该第一国家中对应的无法使用的FPLMN的网络标识,再将其更新到终端设备的FPLMN列表中,便于终端设备快速的获知哪些网络无法使用,即在搜网时避免搜索该网络,从而进一步地节省搜网时间,加快入网效率。
再进一步地,终端设备根据第一MCC从第三预置列表中获取与第一MCC对应的第一国家的优选公共陆地移动网络PPLMN(preference PLMN)的网络标识,其中,第三预置列表中包括终端设备中当前所插入的用户身份识别卡所对应的多个国家的PPLMN的网络标识;将获取的第一国家的PPLMN的网络标识更新至终端设备的PPLMN列表中。即本申请中除了可以更新EPLMN和/或FPLMN以外,还可以更新终端设备的PPLMN,由于PPLMN为优选的PLMN,通常是终端设备搜网优先级最高的网络。本申请中的第三预置列表中 预先存储了终端设备中所插入的用户身份识别卡对应的在各个国家所优先搜索的PLMN,因此可以在根据第一MCC判断出当前所在的国家后,快速的从第三预置列表中获取该用户身份识别卡在该第一国家中对应的优先搜索的PPLMN的网络标识,再将其更新到终端设备的PPLMN列表中,便于终端设备快速的搜网过程中,可以优先搜索PPLMN,从而进一步地节省搜网时间,加快入网效率。
需要说明的是,对于一个终端设备来说,通常需要维护几种不同类型的PLMN列表,每个列表中会有多个PLMN。但是,目前根据协议规定,EPLMN列表中只能存放16个PLMN的网络标识,若终端设备经常需要在多个国家之间进行漫游,那么EPLMN列表和/或EHPLMN列表中的PLMN需要经常更新,或者在某些情况下,无法及时获取终端设备所需要的PLMN进行等效,所以终端设备在漫游时不能使用准确有效的签约的PLMN进行漫游地的进行等效搜网,导致搜网速度慢。
而本申请实施例,通过在终端设备开机后或者处于无服务状态的情况下,获取当前搜索到的公共陆地移动网络PLMN的网络标识中的第一移动国家码MCC;并根据所述第一MCC从第一预置列表中获取与所述第一MCC对应的第一国家的PLMN的网络标识;最终将获取的所述第一国家的PLMN的网络标识更新至所述终端设备的等效公共陆地移动网络EPLMN列表和/或等效本地公共陆地移动网络EHPLMN列表中,并根据更新后的所述EPLMN列表和/或所述EHPLMN列表进行搜网。即本申请在第一预置列表中存放多个国家的PLMN,在根据当前搜索到的PLMN的网络标识中的MCC确定终端设备当前所在的国家后,便在第一预置列表中获取该所在国家对应的PLMN,并将该国家对应的PLMN更新到该终端设备的EPLMN列表中进行等效,便于终端设备根据该EPLMN列表进行搜网,加快搜网效率。本申请可以解决终端设备在根据EPLMN列表和/或EHPLMN列表进行等效搜网过程中可能存在的等效网络不准确或者等效网络不全面导致的搜网效率较低的问题,提升用户通信体验。
图2是本申请实施例提供的另一种搜网方法的流程示意图,下面将结合附图2从终端设备侧对本申请实施例中的另一种搜网方法进行详细介绍,如图2所示,该方法可以包括以下步骤S201-步骤S207。
步骤S201:在终端设备开机后或者处于无服务状态的情况下,获取所述终端设备的已登记公共陆地移动网络RPLMN的网络标识中的第二MCC。
具体地,在终端设备开机后或者处于无服务状态的情况下,也可以首先获取RPLMN的网络标识中第二MCC。也就是说,由于移动的连续性或者说用户到达一个漫游国家后通常会停留较长的一端时间,因此,在部分场景中,终端设备很有可能还处在上一个注册网络对应的国家,所以可以优先考虑判定终端设备处在RPLMN的网络标识中的第二MCC对应的国家。
步骤S202:根据所述第二MCC从第一预置列表中获取与所述第二MCC对应的第二国家的PLMN的网络标识;
具体地,同理也获取第二MCC在第一预置列表中对应的所有PLMN的网络标识。更具体地可以参照步骤S102,此处不再赘述。
步骤S203:将获取的所述第二国家的PLMN的网络标识更新至所述终端设备的EPLMN列表和/或EHPLMN列表中,并根据更新后的所述EPLMN列表和/或所述EHPLMN列表进行搜网。
具体地,同理也将第二MCC对应的所有PLMN的网络标识更新到EPLMN中。更具体地可以参照步骤S102,此处不再赘述。
需要说明的是,假设在经过上述步骤S201-步骤S203的搜网步骤,已经搜网并注册成功,则可以开始正常通信。即不会出现后续步骤的处于无服务状态的情况,也即是不会执行后续步骤S204-步骤S206。如果经过上述步骤S201-步骤S203的搜网,仍然还是处于无服务状态,则可以确定当前根据RPLMN的网络标识确定的第二MCC有误,即对当前终端设备所处于的具体国家判断有误,因此需要重新判断。因此可以继续执行步骤S204-步骤S206。或者,在经过上述搜网之后,又进行了重新开机,也可以继续执行步骤S204-步骤S206。
步骤S204:在终端设备开机后或者处于无服务状态的情况下,获取当前搜索到的公共陆地移动网络PLMN的网络标识中的第一移动国家码MCC。
步骤S205:根据所述第一MCC从第一预置列表中获取与所述第一MCC对应的第一国家的PLMN的网络标识,其中,所述第一预置列表中包括多个国家的PLMN的网络标识。
步骤S206:将获取的所述第一国家的PLMN的网络标识更新至所述终端设备的等效公共陆地移动网络EPLMN列表和/或等效本地公共陆地移动网络EHPLMN列表中,并根据更新后的所述EPLMN列表和/或所述EHPLMN列表进行搜网。
具体地,步骤S204至步骤S206可参考上述图1实施例中的步骤S101至步骤S103,这里不再赘述。
步骤S207:在所述终端设备入网成功的情况下,将接入成功的PLMN的等效PLMN的网络标识更新至所述EPLMN列表和/或所述EHPLMN列表中进行等效。
具体地,由于前述根据第一MCC或者第二MCC获取的第一预置列表中的对应的PLMN是属于对应国家的全部PLMN,或者是与终端设备中的用户身份识别卡进行签约的PLMN,范围比较大。而最终终端设备只会注册到某一个网络上,因此,此时EPLMN列表和/或EHPLMN列表中更新的PLMN对当前的终端设备来说范围较大。因此,可以在终端设备确定注册上某个网络之后,将成功接入的PLMN的真正等效PLMN更新到EPLMN列表和/或EHPLMN列表中,也即是说此时EPLMN列表和/或EHPLMN列表中更新存放的是范围更为确定而精准的等效网络,便于终端设备在成功注册了某个网络之后,能在该网络的等效网络范围内,进行正常通信。
可以理解的是,本申请中的更新终端设备的EPLMN列表和/或EHPLMN列表,可以理解为一个灵活且根据终端设备的实际情况而实时变化的更新过程,即根据终端设备当前是否有服务,或者当前是否已经成功注册网络,或者是否是刚开机等具体场景来有目的性的精确EPLMN或EHPLMN中的等效PLMN的范围,实时保证终端设备在漫游国家甚至是归属国家搜网的高效性。
在具体的应用场景中,如图3所示,图3是本发明实施例中搜网方法的一个具体应用场景示意图,现有技术中当终端设备漫游到其它国家可能会搜网速 度慢,甚至可能会出现图3中左图所示的连接超时的情况,但是应用了本申请实施例之后,就可以实现图3中右图所示的快速搜网并注册。更具体地,请参见上述方法实施例的说明。
本申请实施例,除了保留了图1对应的实施例中的有益效果。还进一步地通过优先考虑将RPLMN中的MCC对应的国家确定为终端设备当前所在的国家,进而将该国家的PLMN更新到终端设备的EPLMN列表和/或EHPLMN列表中进行等效,可以在终端设备当前没有更换漫游国家的情况下进一步的加快搜网速度。
本申请实施例还提供了一种搜网装置10,如图4所示,图4是本申请实施例中的搜网装置的结构示意图,下面将结合附图4,对搜网装置10的结构进行详细介绍。该装置10可包括:第一获取模块101、第二获取模块102和第一搜网模块103,其中
第一获取模块101,用于在终端设备开机后或者处于无服务状态的情况下,获取当前搜索到的公共陆地移动网络PLMN的网络标识中的第一移动国家码MCC;
第二获取模块102,用于根据所述第一MCC从第一预置列表中获取与所述第一MCC对应的第一国家的PLMN的网络标识,其中,所述第一预置列表中包括多个国家的PLMN的网络标识;
第一搜网模块103,用于将获取的所述第一国家的PLMN的网络标识更新至所述终端设备的等效公共陆地移动网络EPLMN列表和/或等效本地公共陆地移动网络EHPLMN列表中,并根据更新后的所述EPLMN列表和/或所述EHPLMN列表进行搜网。
具体地,如图4中的虚线方框所示,装置10还包括:
第一更新模块104,用于在所述终端设备入网成功的情况下,将接入成功的PLMN的等效PLMN的网络标识更新至所述EPLMN列表和/或所述EHPLMN列表中进行等效。
进一步地,第一获取模块,具体用于:
获取当前最快搜索到的PLMN的网络标识中的第一MCC;或者
获取当前搜索到的信号最强的PLMN的网络标识中的第一MCC。
再进一步地,所述第一预置列表中的所述多个国家的PLMN的网络标识按照MCC的不同进行分类存储。
再进一步地,所述第一预置列表中的所述多个国家的PLMM的网络标识根据MCC的数字大小进行顺序排列存储。
再进一步地,所述EPLMN列表或者EHPLMN列表中默认存储所述终端设备已经签约的预设国家的PLMN的网络标识。
再进一步地,如图4中的虚线方框所示,装置10还包括:
第三获取模块105,用于在终端设备开机后或者处于无服务状态的情况下,获取所述终端设备的已登记公共陆地移动网络RPLMN的网络标识中的第二MCC;
第四获取模块106,用于根据所述第二MCC从第一预置列表中获取与所述第二MCC对应的第二国家的PLMN的网络标识;
第二搜网模块107,用于将获取的所述第二国家的PLMN的网络标识更新至所述终端设备的EPLMN列表和/或EHPLMN列表中,并根据更新后的所述EPLMN列表和/或所述EHPLMN列表进行搜网。
再进一步地,如图4中的虚线方框所示,装置10还包括:
第五获取模块108,用于根据所述第一MCC从第二预置列表中获取与所述第一MCC对应的第一国家的禁用公共陆地移动网络FPLMN的网络标识,其中,所述第二预置列表中包括所述终端设备中当前所插入的用户身份识别卡所对应的多个国家的FPLMN的网络标识;
第二更新模块109,用于将获取的所述第一国家的FPLMN的网络标识更新至所述终端设备的FPLMN列表中。
再进一步地,如图4中的虚线方框所示,装置10还包括:
第六获取模块110,用于根据所述第一MCC从第三预置列表中获取与所述第一MCC对应的第一国家的优选公共陆地移动网络PPLMN的网络标识,其中,所述第三预置列表中包括所述终端设备中当前所插入的用户身份识别卡 所对应的多个国家的PPLMN的网络标识;
第三更新模块111,用于将获取的所述第一国家的PPLMN的网络标识更新至所述终端设备的PPLMN列表中。
可理解的是,搜网装置10中各模块的功能可对应参考上述图1至图3中的各方法实施例中的具体实现方式,这里不再赘述。
在本实施例中,搜网装置10是以模块的形式来呈现。这里的“模块”可以指特定应用集成电路(application-specific integrated circuit,ASIC),执行一个或多个软件或固件程序的处理器和存储器,集成逻辑电路,和/或其他可以提供上述功能的器件。此外,第一搜网模块103可通过图5所示的终端设备的处理器201来实现等。
本申请实施例还提供了一种终端设备20,如图5所示,图5是本申请实施例中的终端设备的结构示意图,下面将结合附图5对终端设备20的结构进行详细介绍。该终端设备20包括至少一个处理器201,至少一个存储器202、至少一个通信接口203。所述处理器201、所述存储器202和所述通信接口203通过所述通信总线连接并完成相互间的通信。
处理器201可以是通用中央处理器(CPU),微处理器,特定应用集成电路(application-specific integrated circuit,ASIC),或一个或多个用于控制以上方案程序执行的集成电路。
通信接口203,用于与其他设备或通信网络通信,如以太网,无线接入网(RAN),无线局域网(Wireless Local Area Networks,WLAN)等。
存储器202可以是只读存储器(read-only memory,ROM)或可存储静态信息和指令的其他类型的静态存储设备,随机存取存储器(random access memory,RAM)或者可存储信息和指令的其他类型的动态存储设备,也可以是电可擦可编程只读存储器(Electrically Erasable Programmable Read-Only Memory,EEPROM)、只读光盘(Compact Disc Read-Only Memory,CD-ROM)或其他光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储 具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。存储器可以是独立存在,通过总线与处理器相连接。存储器也可以和处理器集成在一起。
其中,所述存储器202用于存储执行以上方案的应用程序代码,并由处理器201来控制执行。所述处理器201用于执行所述存储器202中存储的应用程序代码。
存储器202存储的代码可执行以上提供的终端设备执行的图1-图3的搜网方法,比如在终端设备开机后或者处于无服务状态的情况下,获取当前搜索到的公共陆地移动网络PLMN的网络标识中的第一移动国家码MCC;根据所述第一MCC从第一预置列表中获取与所述第一MCC对应的第一国家的PLMN的网络标识,其中,所述第一预置列表中包括多个国家的PLMN的网络标识;将获取的所述第一国家的PLMN的网络标识更新至所述终端设备的等效公共陆地移动网络EPLMN列表和/或等效本地公共陆地移动网络EHPLMN列表中,并根据更新后的所述EPLMN列表和/或所述EHPLMN列表进行搜网。
请参阅图6,图6是本申请实施例提供的终端设备的另一实施例的结构示意图。该终端设备30可以为智能移动终端(如手机),终端设备30包括:射频(英文:radio frequency,RF)电路301、存储有一个或多个计算机程序的存储器302、输入装置303、输出装置304、传感器305、音频电路306、无线保真(英文:wireless fidelity,Wi-Fi)模块307、包括有一个或多个处理核心的处理器308、以及电源303等部件。本领域技术人员可以理解,图6中示出的终端设备结构并不构成对终端设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。其中:
RF电路301可用于收发信息或通话过程中,信号的接收和发送,特别地,将基站的下行信息接收后,交由一个或多个处理器308处理;另外,将涉及上行的数据发送给基站。通常,RF电路301包括但不限于天线、至少一个放大器、调谐器、一个或多个振荡器、用户身份模块(英文:subscriber identity module,SIM)卡、收发信机、耦合器、低噪声放大器(英文:low noise amplifier, LNA)、双工器等。此外,RF电路301还可以通过无线通信与网络或其他终端设备进行通信。所述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(英文:global system of mobile communication,GSM)、通用分组无线服务(英文:general packet radio service,GPRS)、码分多址(英文:code division multiple access,CDMA)、宽带码分多址(英文:wideband code division multiple access,WCDMA)、长期演进(英文:long term evolution,LTE)、电子邮件、短消息服务(英文:short messaging service,SMS)等。
存储器302可用于存储计算机程序以及模块,处理器308通过运行存储在存储器302的计算机程序以及模块,从而执行各种功能应用以及数据处理。存储器302可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据终端设备30的使用所创建的数据(比如拍摄的照片、音频数据、视频数据等)等。此外,存储器302可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。相应地,存储器302还可以包括存储器控制器,以提供处理器308和输入装置303对存储器302的访问。
输入装置303可用于接收输入的数字或字符信息,以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入。具体地,输入装置303可包括触敏表面3031以及其他输入设备3032。触敏表面3031,也称为触摸显示面板或者触控板,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触敏表面3031上或在触敏表面3031附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触敏表面3031可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器308,并能接收处理器308发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触敏表面3031。除了触敏表面3031,输入装置303还可以包括其他输入设备3032。具体地, 其他输入设备3032可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。
输出装置304可用于显示由用户输入的信息或提供给用户的信息以及终端设备30的各种图形用户界面,这些图形用户界面可以由图形、文本、图标、视频和其任意组合来构成。输出装置304可包括显示面板3041,可选的,显示面板3041可以采用液晶显示器(英文:liquid crystal display,LCD)、有机发光二极管(英文:organic light-emitting diode,OLED)等形式来配置。进一步的,触敏表面3031可覆盖显示面板3041,当触敏表面3031检测到在其上或附近的触摸操作后,传送给处理器308以确定触摸事件的类型,随后处理器308根据触摸事件的类型在显示面板3041上提供相应的视觉输出。虽然在图6中,触敏表面3031与显示面板3041是作为两个独立的部件来实现输入和输入功能,但是在某些实施例中,可以将触敏表面3031与显示面板3041集成而实现输入和输出功能。
终端设备30还可包括至少一种传感器305,比如距离传感器、光传感器、运动传感器以及其他传感器。具体地,距离传感器用于检测所述终端设备屏幕与覆盖所述终端设备的物体之间的距离,光传感器用于检测所述终端设备外部环境的光信号。作为运动传感器的一种,重力加速度传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别终端设备30姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于终端设备30还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,此处不再赘述。
音频电路306、扬声器3061、传声器3062可提供用户与终端设备30之间的音频接口。音频电路306可将接收到的音频数据转换后的电信号,传输到扬声器3061,由扬声器3061转换为声音信号输出;另一方面,传声器3062将收集的声音信号转换为电信号,由音频电路306接收后转换为音频数据,再将音频数据输出处理器308处理后,经RF电路301以发送给比如另一设备,或者将音频数据输出至存储器302以便进一步处理。音频电路306还可能包括耳塞插孔,以提供外设耳机与终端设备30的通信。
WiFi属于短距离无线传输技术,终端设备30通过WiFi模块307可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图6示出了WiFi模块307,但是可以理解的是,其并不属于终端设备30的必须构成,完全可以根据需要在不改变申请的本质的范围内而省略。
处理器308是终端设备30的控制中心,利用各种接口和线路连接整个终端设备30的各个部分,通过运行或执行存储在存储器302内的计算机程序和/或模块,以及调用存储在存储器302内的数据,执行终端设备30的各种功能和处理数据,从而对终端设备30进行整体监控。可选的,处理器308可包括一个或多个处理核心;优选的,处理器308可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器308中。
终端设备30还包括给各个部件供电的电源303(比如电池),优选的,电源可以通过电源管理系统与处理器308逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。电源303还可以包括一个或多个直流或交流电源、再充电系统、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。
尽管未示出,终端设备30还可以包括摄像头、蓝牙模块等,此处不再赘述。具体在本申请实施例中,终端设备的输出装置304(或输入装置303)是触摸屏显示器,终端设备30还包括有存储器302、处理器308、以及一个或多个的计算机程序,其中一个或多个计算机程序存储于存储器302中,处理器308用于调用存储器302(非易失性存储器)存储的搜网的程序执行前述方法实施例中的各方法步骤流程,在此不再赘述。
本申请实施例还提供一种计算机存储介质,其中,该计算机存储介质可存储有程序,该程序执行时包括上述方法实施例中记载的任何一种搜网方法的部分或全部步骤。
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本申请所必须的。
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储器中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储器中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储器包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码 的介质。
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储器中,存储器可以包括:闪存盘、只读存储器(英文:Read-Only Memory,简称:ROM)、随机存取器(英文:Random Access Memory,简称:RAM)、磁盘或光盘等。
以上对本申请实施例进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。

Claims (20)

  1. 一种搜网方法,其特征在于,包括:
    在终端设备开机后或者处于无服务状态的情况下,获取当前搜索到的公共陆地移动网络PLMN的网络标识中的第一移动国家码MCC;
    根据所述第一MCC从第一预置列表中获取与所述第一MCC对应的第一国家的PLMN的网络标识,其中,所述第一预置列表中包括多个国家的PLMN的网络标识;
    将获取的所述第一国家的PLMN的网络标识更新至所述终端设备的等效公共陆地移动网络EPLMN列表和/或等效本地公共陆地移动网络EHPLMN列表中,并根据更新后的所述EPLMN列表和/或所述EHPLMN列表进行搜网。
  2. 如权利要求1所述的方法,其特征在于,所述根据更新后的所述EPLMN列表和/或所述EHPLMN列表进行搜网之后,包括:
    在所述终端设备入网成功的情况下,将接入成功的PLMN的等效PLMN的网络标识更新至所述EPLMN列表和/或所述EHPLMN列表中进行等效。
  3. 如权利要求1所述的方法,其特征在于,所述获取当前搜索到的公共陆地移动网络PLMN的网络标识中的第一移动国家码MCC,包括:
    获取当前最快搜索到的PLMN的网络标识中的第一MCC;或者
    获取当前搜索到的信号最强的PLMN的网络标识中的第一MCC。
  4. 如权利要求1所述的方法,其特征在于,所述第一预置列表中的所述多个国家的PLMN的网络标识按照MCC的不同进行分类存储。
  5. 如权利要求1所述的方法,其特征在于,所述第一预置列表中的所述多个国家的PLMM的网络标识根据MCC的数字大小进行顺序排列存储。
  6. 如权利要求1所述的方法,其特征在于,所述EPLMN列表或者EHPLMN 列表中默认存储所述终端设备已经签约的预设国家的PLMN的网络标识。
  7. 如权利要求1所述的方法,其特征在于,所述在终端设备开机后或者处于无服务状态的情况下,获取当前搜索到的公共陆地移动网络PLMN的网络标识中的第一移动国家码MCC之前,还包括:
    在终端设备开机后或者处于无服务状态的情况下,获取所述终端设备的已登记公共陆地移动网络RPLMN的网络标识中的第二MCC;
    根据所述第二MCC从第一预置列表中获取与所述第二MCC对应的第二国家的PLMN的网络标识;
    将获取的所述第二国家的PLMN的网络标识更新至所述终端设备的EPLMN列表和/或EHPLMN列表中,并根据更新后的所述EPLMN列表和/或所述EHPLMN列表进行搜网。
  8. 如权利要求1-7任意一项所述的方法,其特征在于,所述方法还包括:
    根据所述第一MCC从第二预置列表中获取与所述第一MCC对应的第一国家的禁用公共陆地移动网络FPLMN的网络标识,其中,所述第二预置列表中包括所述终端设备中当前所插入的用户身份识别卡所对应的多个国家的FPLMN的网络标识;
    将获取的所述第一国家的FPLMN的网络标识更新至所述终端设备的FPLMN列表中。
  9. 如权利要求1-7任意一项所述的方法,其特征在于,所述方法还包括:
    根据所述第一MCC从第三预置列表中获取与所述第一MCC对应的第一国家的优选公共陆地移动网络PPLMN的网络标识,其中,所述第三预置列表中包括所述终端设备中当前所插入的用户身份识别卡所对应的多个国家的PPLMN的网络标识;
    将获取的所述第一国家的PPLMN的网络标识更新至所述终端设备的PPLMN列表中。
  10. 一种搜网装置,其特征在于,包括:
    第一获取模块,用于在终端设备开机后或者处于无服务状态的情况下,获取当前搜索到的公共陆地移动网络PLMN的网络标识中的第一移动国家码MCC;
    第二获取模块,用于根据所述第一MCC从第一预置列表中获取与所述第一MCC对应的第一国家的PLMN的网络标识,其中,所述第一预置列表中包括多个国家的PLMN的网络标识;
    第一搜网模块,用于将获取的所述第一国家的PLMN的网络标识更新至所述终端设备的等效公共陆地移动网络EPLMN列表和/或等效本地公共陆地移动网络EHPLMN列表中,并根据更新后的所述EPLMN列表和/或所述EHPLMN列表进行搜网。
  11. 如权利要求10所述的装置,其特征在于,所述装置,还包括:
    第一更新模块,用于在所述终端设备入网成功的情况下,将接入成功的PLMN的等效PLMN的网络标识更新至所述EPLMN列表和/或所述EHPLMN列表中进行等效。
  12. 如权利要求10所述的装置,其特征在于,所述第一获取模块,具体用于:
    获取当前最快搜索到的PLMN的网络标识中的第一MCC;或者
    获取当前搜索到的信号最强的PLMN的网络标识中的第一MCC。
  13. 如权利要求10所述的装置,其特征在于,所述第一预置列表中的所述多个国家的PLMN的网络标识按照MCC的不同进行分类存储。
  14. 如权利要求10所述的装置,其特征在于,所述第一预置列表中的所述多个国家的PLMM的网络标识根据MCC的数字大小进行顺序排列存储。
  15. 如权利要求10所述的装置,其特征在于,所述EPLMN列表或者EHPLMN列表中默认存储所述终端设备已经签约的预设国家的PLMN的网络标识。
  16. 如权利要求10所述的装置,其特征在于,所述装置,还包括:
    第三获取模块,用于在终端设备开机后或者处于无服务状态的情况下,获取所述终端设备的已登记公共陆地移动网络RPLMN的网络标识中的第二MCC;
    第四获取模块,用于根据所述第二MCC从第一预置列表中获取与所述第二MCC对应的第二国家的PLMN的网络标识;
    第二搜网模块,用于将获取的所述第二国家的PLMN的网络标识更新至所述终端设备的EPLMN列表和/或EHPLMN列表中,并根据更新后的所述EPLMN列表和/或所述EHPLMN列表进行搜网。
  17. 如权利要求10-16任意一项所述的装置,其特征在于,所述装置还包括:
    第五获取模块,用于根据所述第一MCC从第二预置列表中获取与所述第一MCC对应的第一国家的禁用公共陆地移动网络FPLMN的网络标识,其中,所述第二预置列表中包括所述终端设备中当前所插入的用户身份识别卡所对应的多个国家的FPLMN的网络标识;
    第二更新模块,用于将获取的所述第一国家的FPLMN的网络标识更新至所述终端设备的FPLMN列表中。
  18. 如权利要求10-16任意一项所述的装置,其特征在于,所述装置还包括:
    第六获取模块,用于根据所述第一MCC从第三预置列表中获取与所述第一MCC对应的第一国家的优选公共陆地移动网络PPLMN的网络标识,其中,所述第三预置列表中包括所述终端设备中当前所插入的用户身份识别卡所对 应的多个国家的PPLMN的网络标识;
    第三更新模块,用于将获取的所述第一国家的PPLMN的网络标识更新至所述终端设备的PPLMN列表中。
  19. 一种终端设备,其特征在于,包括:
    存储有可执行程序代码的存储器;
    与所述存储器耦合的处理器;
    所述处理器调用所述存储器中存储的所述可执行程序代码,执行如权利要求1至9任一项所述的方法。
  20. 一种计算机可读存储介质,其特征在于,其存储用于电子数据交换的计算机程序,其中,所述计算机程序使得计算机执行如权利要求1-9任一项所述的方法。
PCT/CN2017/111964 2017-03-17 2017-11-20 一种搜网方法及装置 WO2018166234A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710160785.2A CN106851786A (zh) 2017-03-17 2017-03-17 一种搜网方法及装置
CN201710160785.2 2017-03-17

Publications (1)

Publication Number Publication Date
WO2018166234A1 true WO2018166234A1 (zh) 2018-09-20

Family

ID=59145242

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/111964 WO2018166234A1 (zh) 2017-03-17 2017-11-20 一种搜网方法及装置

Country Status (2)

Country Link
CN (1) CN106851786A (zh)
WO (1) WO2018166234A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020250032A1 (en) * 2019-06-14 2020-12-17 Nokia Technologies Oy Controlling provision of access to restricted local operator services by user equipment
WO2021057219A1 (zh) * 2019-09-29 2021-04-01 维沃移动通信有限公司 网络信息处理方法及终端设备

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106851786A (zh) * 2017-03-17 2017-06-13 广东欧珀移动通信有限公司 一种搜网方法及装置
CN107333253B (zh) * 2017-06-16 2020-11-10 青岛海信移动通信技术股份有限公司 移动终端的接入方法及装置
CN107509238A (zh) * 2017-09-26 2017-12-22 维沃移动通信有限公司 一种移动终端的搜网方法及移动终端
CN108012310A (zh) * 2017-12-05 2018-05-08 广东欧珀移动通信有限公司 网络搜索方法、移动终端和计算机存储介质
CN108601017B (zh) * 2018-04-04 2021-10-01 广东小天才科技有限公司 一种基于用户终端的搜网控制方法及用户终端
CN108770043B (zh) * 2018-05-15 2021-01-08 奇酷互联网络科技(深圳)有限公司 网络标记方法、装置、可读存储介质及移动终端
CN109005533B (zh) * 2018-07-31 2022-04-15 Oppo广东移动通信有限公司 一种数据更新方法及装置、终端设备
CN109068368A (zh) * 2018-07-31 2018-12-21 Oppo广东移动通信有限公司 一种小区驻留方法、终端、更新服务器及存储介质
CN108966260B (zh) * 2018-07-31 2022-03-25 Oppo广东移动通信有限公司 一种数据更新方法及装置、终端设备
CN109862607B (zh) * 2019-04-22 2021-12-14 维沃移动通信有限公司 一种网络推荐方法及移动终端
GB2589826A (en) * 2019-10-03 2021-06-16 Nokia Technologies Oy Apparatus, method, and computer program
CN113498063A (zh) * 2020-03-19 2021-10-12 中兴通讯股份有限公司 共享小区的处理方法及装置、电子设备、可读介质
CN115250459B (zh) * 2021-04-27 2024-05-17 花瓣云科技有限公司 驻网方法、电子设备及系统
CN113260062B (zh) * 2021-05-17 2023-09-08 深圳市广和通无线股份有限公司 多频终端工作频段配置方法、装置、电子设备及存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104902460A (zh) * 2015-04-30 2015-09-09 广东欧珀移动通信有限公司 一种网络接入方法和移动通信终端
WO2015143706A1 (zh) * 2014-03-28 2015-10-01 华为终端有限公司 漫游入网方法及装置
CN105554851A (zh) * 2015-12-22 2016-05-04 努比亚技术有限公司 移动终端快速搜网方法及装置
CN105848248A (zh) * 2016-04-12 2016-08-10 乐视控股(北京)有限公司 手机的漫游搜网方法及装置
CN105873103A (zh) * 2016-03-31 2016-08-17 北京奇虎科技有限公司 通信网络接入方法和用户设备
CN106851786A (zh) * 2017-03-17 2017-06-13 广东欧珀移动通信有限公司 一种搜网方法及装置

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015143706A1 (zh) * 2014-03-28 2015-10-01 华为终端有限公司 漫游入网方法及装置
CN104902460A (zh) * 2015-04-30 2015-09-09 广东欧珀移动通信有限公司 一种网络接入方法和移动通信终端
CN105554851A (zh) * 2015-12-22 2016-05-04 努比亚技术有限公司 移动终端快速搜网方法及装置
CN105873103A (zh) * 2016-03-31 2016-08-17 北京奇虎科技有限公司 通信网络接入方法和用户设备
CN105848248A (zh) * 2016-04-12 2016-08-10 乐视控股(北京)有限公司 手机的漫游搜网方法及装置
CN106851786A (zh) * 2017-03-17 2017-06-13 广东欧珀移动通信有限公司 一种搜网方法及装置

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020250032A1 (en) * 2019-06-14 2020-12-17 Nokia Technologies Oy Controlling provision of access to restricted local operator services by user equipment
WO2021057219A1 (zh) * 2019-09-29 2021-04-01 维沃移动通信有限公司 网络信息处理方法及终端设备

Also Published As

Publication number Publication date
CN106851786A (zh) 2017-06-13

Similar Documents

Publication Publication Date Title
WO2018166234A1 (zh) 一种搜网方法及装置
US10142845B2 (en) Network connection method and apparatus, and computer storage medium
US10462764B2 (en) Method and apparatus for identifying pseudo base-station, and terminal
CN106714250B (zh) 一种小区注册方法及装置和计算机可读存储介质
EP3793264A1 (en) Method for selecting nsa and sa networking modes and terminal device
US10327147B2 (en) Method and apparatus for identifying pseudo base-station, and terminal
CN106961676B (zh) 一种搜网方法、装置及介质
US10813058B2 (en) Method for processing information and terminal device
WO2018133519A1 (zh) 一种小区注册方法及装置
WO2015090248A1 (zh) 服务器的过载保护方法及装置
US11224027B2 (en) Cell registration method and device
WO2019011324A1 (zh) 确定移动终端接入方式的方法、存储介质及移动终端
WO2018145477A1 (zh) 一种网络接入方法及终端
CN112269842A (zh) 一种信息处理方法、装置、存储介质及计算机设备
CN110933704A (zh) 网络通信方法、装置、存储介质及电子设备
CN110209434B (zh) 一种内存管理方法、装置及计算机可读存储介质
CN105744600B (zh) 通信网络接入方法和用户设备
CN110351702B (zh) 系统信息区域确定方法、指示方法、终端及网络设备
CN111314900B (zh) 无线连接方法、无线连接装置及移动终端
CN106303616B (zh) 一种播放控制方法、装置及终端
CN105703808A (zh) 一种传输数据的方法和装置
CN108770043B (zh) 网络标记方法、装置、可读存储介质及移动终端
WO2018103442A1 (zh) 一种信息处理方法及终端设备
CN112367688A (zh) 一种选网的方法、终端设备及计算机可读存储介质
CN111970745A (zh) 一种终端的wlan连接方法及终端

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: 17901100

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: 17901100

Country of ref document: EP

Kind code of ref document: A1