WO2021129446A1 - Network searching method and device, and storage medium - Google Patents

Network searching method and device, and storage medium Download PDF

Info

Publication number
WO2021129446A1
WO2021129446A1 PCT/CN2020/136238 CN2020136238W WO2021129446A1 WO 2021129446 A1 WO2021129446 A1 WO 2021129446A1 CN 2020136238 W CN2020136238 W CN 2020136238W WO 2021129446 A1 WO2021129446 A1 WO 2021129446A1
Authority
WO
WIPO (PCT)
Prior art keywords
plmn
target
network
information
search
Prior art date
Application number
PCT/CN2020/136238
Other languages
French (fr)
Chinese (zh)
Inventor
张立海
Original Assignee
Oppo广东移动通信有限公司
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 Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Publication of WO2021129446A1 publication Critical patent/WO2021129446A1/en

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

  • This application relates to the field of communication technology, and in particular to a method and device for searching the Internet, and a storage medium.
  • the terminal can support wider and wider frequency bands, enabling it to support international roaming network services in actual networks in many countries around the world.
  • the terminals of Global Netcom are communication equipment that can cover major countries and regions in the world.
  • the standard of Global Netcom's terminals can cover all modes, and the frequency bands cover up to 30 frequency bands. At the same time, the network coverage is getting more and more. wide.
  • the terminal determines the country code (Mobile Country Code, MCC) of the roaming destination in the commonly used MCC, it starts to perform a blind search in the registered network to find the target public land mobile network (Public Land Mobile Network). , PLMN), so as to realize the search of the roaming destination, and then realize the network access and communication.
  • MCC Mobile Country Code
  • PLMN Public Land Mobile Network
  • the terminal can support more standards and frequency bands. In this way, when the terminal is roaming at the destination, it needs to scan multiple standards and multiple frequency bands to search for suitable access. PLMN, therefore, causes too long time to search the network during roaming, and the efficiency of the network search is low.
  • the embodiments of the present application expect to provide a network search method, device, and storage medium, which can speed up the network search efficiency of roaming destinations and save network search time.
  • An embodiment of the present application provides a method for searching a network, and the method includes:
  • the contracted network information includes contract information corresponding to the target MCC
  • the searching the network in the full frequency band to determine the target MCC includes:
  • the network is searched in the whole frequency band to determine the target MCC.
  • the subscription network information includes at least two of the following: at least one PLMN, a standard corresponding to each PLMN, frequency point information corresponding to each PLMN, and frequency band information corresponding to each PLMN.
  • the at least one PLMN includes a plurality of PLMNs arranged in sequence; the determining the target PLMN based on the subscription network information includes:
  • the network is searched based on the i-th PLMN in the at least one PLMN to obtain the i-th signal; where i is a positive integer greater than or equal to 1 and less than N, and N is the total number of at least one PLMN;
  • the i-th candidate PLMN When the i-th candidate PLMN is inconsistent with the i-th PLMN, continue to search the network based on the i+1th PLMN until the i+Mth candidate PLMN consistent with the i+Mth PLMN is searched out So far, the i+Mth candidate PLMN is used as the target PLMN; where M is a positive integer greater than or equal to 1, and i+M is a positive integer less than N.
  • the method further includes:
  • the i-th candidate PLMN When the i-th candidate PLMN is consistent with the i-th PLMN, use the i-th candidate PLMN as the target PLMN.
  • the performing network search based on the i-th PLMN in the at least one PLMN to obtain the i-th signal includes:
  • the network signal is taken as the i-th signal.
  • the method further includes:
  • a network signal search is performed based on the target frequency band information to obtain the i-th signal searched on candidate target frequency information, where the candidate target frequency information is frequency information in the target frequency information.
  • the at least one PLMN includes a plurality of PLMNs arranged in sequence; the determining the target PLMN based on the subscription network information includes:
  • i is a positive integer greater than or equal to 1 and less than N
  • N is the total number of at least one PLMN
  • M is greater than or equal to A positive integer of 1.
  • the acquiring the contracted network information corresponding to the target communication card based on the target MCC includes: counting the historical network information of the target object; and determining the network information related to the target object based on the historical network information.
  • the acquiring the contracted network information corresponding to the target communication card based on the target MCC includes: receiving the contracted network information database corresponding to different MCCs pushed by the network platform; and determining the contracted network information database from the contracted network information database.
  • the target MCC and the contracted network information corresponding to the target communication card includes: receiving the contracted network information database corresponding to different MCCs pushed by the network platform; and determining the contracted network information database from the contracted network information database.
  • the method before acquiring the contracted network information corresponding to the target communication card based on the target MCC, the method further includes: acquiring roaming target location information of the target object; and determining the target based on the target location information MCC.
  • the embodiment of the present application also provides a network search device, the device includes a search module, an acquisition module, and an access module, wherein:
  • the search module is configured to search the network in the full frequency band and determine the target MCC
  • An obtaining module configured to obtain contracted network information corresponding to a target communication card based on the target MCC; the contracted network information includes contract information corresponding to the target MCC;
  • the search module is further configured to determine a target PLMN based on the contracted network information
  • the access module is configured to perform network access according to the target PLMN.
  • the search module is further configured to search the network in the full frequency band when the system message of the network is not searched within a preset time, and determine the target MCC.
  • the subscription network information includes at least two of the following: at least one PLMN, a standard corresponding to each PLMN, frequency point information corresponding to each PLMN, and frequency band information corresponding to each PLMN.
  • the at least one PLMN includes multiple PLMNs arranged in sequence; the search module is further configured to:
  • the network is searched based on the i-th PLMN in the at least one PLMN to obtain the i-th signal; where i is a positive integer greater than or equal to 1 and less than N, and N is the total number of at least one PLMN;
  • the i-th candidate PLMN When the i-th candidate PLMN is inconsistent with the i-th PLMN, continue to search the network based on the i+1th PLMN until the i+Mth candidate PLMN consistent with the i+Mth PLMN is searched out So far, the i+Mth candidate PLMN is used as the target PLMN; where M is a positive integer greater than or equal to 1, and i+M is a positive integer less than N.
  • the search module is further configured as:
  • the i-th candidate PLMN After the i-th candidate PLMN is parsed from the i-th signal, and before the network access is performed according to the target PLMN, when the i-th candidate PLMN is consistent with the i-th PLMN , Use the i-th candidate PLMN as the target PLMN.
  • the search module is further configured as:
  • the network signal is taken as the i-th signal.
  • the search module is further configured as:
  • the target frequency information corresponding to the target standard After obtaining the target frequency information corresponding to the target standard from the frequency point information corresponding to the i-th PLMN, if the network signal is searched from the target frequency point information, no network signal is found , In the frequency band information corresponding to the i-th PLMN, obtain target frequency band information corresponding to the target standard;
  • a network signal search is performed based on the target frequency band information to obtain the i-th signal searched on candidate target frequency information, where the candidate target frequency information is frequency information in the target frequency information.
  • the at least one PLMN includes multiple PLMNs arranged in sequence; the search module is further configured to:
  • i is a positive integer greater than or equal to 1 and less than N
  • N is the total number of at least one PLMN
  • M is greater than or equal to A positive integer of 1.
  • the obtaining module is further configured as:
  • the contracted network information corresponding to the target pass card and the target MCC of the target object is determined.
  • the obtaining module is further configured as:
  • the contracted network information database From the contracted network information database, the contracted network information corresponding to the target MCC and the target communication card is determined.
  • the obtaining module is further configured as:
  • the target MCC is determined.
  • the embodiment of the present application also provides a storage medium on which a computer program is stored, and when the computer program is executed by a processor, any one of the aforementioned methods for searching the Internet is implemented.
  • the embodiments of the present application provide a network search method and device, and a storage medium.
  • the method includes: searching for a network in a full frequency band to determine a target MCC; based on the target MCC, acquiring contracted network information corresponding to a target communication card;
  • the contracted network information includes contract information corresponding to the target MCC; based on the contracted network information, a target PLMN is determined, and network access is performed according to the target PLMN.
  • the target MCC in the process of determining the target MCC, no MCC or PLMN is specified, but the first searched PLMN is decoded by searching the network in the full frequency band to obtain the target MCC Because the entire search process does not need to be traversed one by one to search, as long as the system message of the network is found, the target MCC is determined through the system message, and then the roaming destination of the terminal is determined.
  • This process can speed up the acquisition of the target MCC; On the one hand, by acquiring the contracted network information corresponding to the target communication card and searching only the PLMN included in the contracted network information, it is possible to avoid traversal search of PLMNs under all network information, thereby speeding up the search of PLMNs, thereby saving Time to search the net. It can be seen that the network search method of the embodiment of the present application determines the roaming destination of the terminal by speeding up the search of the target MCC, and at the same time, speeds up the search speed of the PLMN through the contracted network information, thereby saving the time for searching the network when the terminal is roaming, and improving the efficiency of the network search. .
  • FIG. 1 is a flowchart of a network search method provided by an embodiment of this application
  • FIG. 2 is a schematic diagram of a terminal searching for a target MCC in a full frequency band according to an embodiment of the application;
  • FIG. 3 is a schematic diagram of acquiring contracted network information according to an embodiment of the application.
  • Fig. 4 is a schematic diagram of a terminal searching for a network based on contracted network information according to an embodiment of the application;
  • FIG. 5 is a flowchart of acquiring a target PLMN according to an embodiment of the application.
  • FIG. 6 is a flow chart of the i-th signal obtained by the terminal searching the network of the i-th PLMN according to an embodiment of this application;
  • FIG. 7 is a schematic diagram of the composition structure of a network search device according to an embodiment of the application.
  • FIG. 8 is a schematic structural diagram of an electronic device according to an embodiment of the application.
  • the terms "including”, “including” or any other variants thereof are intended to cover non-exclusive inclusion, so that a method or device including a series of elements not only includes what is clearly stated Elements, but also include other elements not explicitly listed, or elements inherent to the implementation of the method or device. Without more restrictions, the element defined by the sentence “including a" does not exclude the existence of other related elements (such as steps or steps in the method) in the method or device that includes the element.
  • the unit in the device for example, the unit may be a part of a circuit, a part of a processor, a part of a program or software, etc.).
  • the data processing method provided in the embodiment of the application includes a series of steps, but the data processing method provided in the embodiment of the application is not limited to the recorded steps.
  • the data processing device provided in the embodiment of the application includes a series of steps.
  • a series of modules but the data processing device provided in the embodiments of the present application is not limited to include the explicitly recorded modules, and may also include modules that need to be set to obtain related time series data or perform processing based on time series data.
  • the embodiments of the present application can be applied to a computer system composed of a terminal device and a server, and can be operated with many other general-purpose or special-purpose computing system environments or configurations.
  • the terminal device can be a thin client, a thick client, a handheld or laptop device, a microprocessor-based system, a set-top box, a programmable consumer electronic product, a network personal computer, a small computer system, etc.
  • the server can be a server Computer system Small computer system, large computer system and distributed cloud computing technology environment including any of the above systems, etc.
  • Electronic devices such as terminal devices and servers can be described in the general context of computer system executable instructions (such as program modules) executed by a computer system.
  • program modules may include routines, programs, object programs, components, logic, data structures, etc., which perform specific tasks or implement specific abstract data types.
  • the computer system/server can be implemented in a distributed cloud computing environment. In the distributed cloud computing environment, tasks are executed by remote processing equipment linked through a communication network.
  • program modules may be located on a storage medium of a local or remote computing system including a storage device.
  • FIG. 1 is a flowchart of a network search method in an embodiment of the present application. As shown in FIG. 1, the method includes the following steps:
  • An embodiment of the application provides a network search method, which provides a network search implementation method when a terminal enters a roaming country.
  • the terminal when the terminal arrives in some roaming countries or roaming destinations, it will first search the network from the historical MCC and PLMN. If the terminal can search for the network in the historical MCC and PLMN, it will use the searched network Determine the target MCC.
  • the network when the system message of the network is not searched within a preset time, the network is searched in the entire frequency band, and the target MCC is searched.
  • a preset time can be set in advance. If the terminal does not search for system messages about any network within the preset time, the terminal cannot confirm the current roaming destination. At this time, the terminal stops the current history. MCC and PLMN search the network, but start to search the network in the whole frequency band, and regard the first searched MCC as the target MCC. Conversely, if the terminal finds the system message of the network within the preset time, it decodes the system message of the network to obtain the target MCC, and then confirms the current roaming destination through the target MCC.
  • the preset time can be 1 minute.
  • the preset time may be set based on actual network search conditions, which is not limited in the embodiment of the present application.
  • MCC Mobile Country Code
  • MCC Mobile Country Code
  • ITU International Telecommunication Union
  • management which uniquely identifies the country to which the mobile user belongs, with a total of 3 digits, for example, 460 for China and 525 for Singapore.
  • the terminal may be a mobile electronic device with a communication function, such as a smart phone or a tablet computer, which is not limited in the embodiment of the present application.
  • the terminal searches the network in the full frequency band, and in the process of searching for the target MCC, there is no need to specify the MCC or PLMN to search, as long as the system message can be searched in the shortest time, and the uniquely determined system message can be obtained from the system message.
  • the MCC serves as the target MCC, so that the roaming destination (ie, the roaming country) is determined based on the target MCC.
  • the terminal does not search the network successfully within the preset time, it will switch to the network search in the full frequency band.
  • the useless search process is stopped in time, and the fastest MCC searched in the whole frequency band is the target MCC.
  • the scope of the network is expanded, the success rate and speed of searching the network can be improved, and the fastest searched MCC is used as the target MCC, which effectively saves the time of searching the network.
  • the terminal may include a non-access layer network search module and an access layer network search module.
  • the non-access layer network search module stores historical MCCs previously searched or accessed by the terminal, and the terminal first searches the network through the non-access layer
  • the module searches for historical MCC, and when the historical MCC is not searched for the preset time, it turns to inform the lower layer to search the network in the full frequency band, that is, the network search module of the access layer searches in the whole frequency band to quickly search for the MCC, that is, a new one is found MCC (target MCC), and the full frequency search network speeds up the update of the MCC.
  • target MCC target MCC
  • the terminal since the roaming country where the terminal is located needs to be determined by the target MCC, the terminal searches the network in the full frequency band, and in the process of searching for the target MCC, the first searched PLMN can be decoded.
  • the target MCC the full-band scanning process is more hopping and flexible, and the terminal does not need to scan the full-band one by one, nor does it need to perform refined scanning, but preferentially search for system messages decoded by the cell in all supported frequency bands That is to say, when the terminal searches the network in the full frequency band, if it finds a system message, it can directly determine the target MCC through the system message, and then determine the roaming destination of the terminal. This process can speed up the acquisition of the target MCC.
  • the terminal based on the target MCC, acquires the roaming target location information of the target object before acquiring the contracted network information corresponding to the target communication card; the terminal determines the target MCC based on the target location information.
  • the target location information may be a description of longitude and latitude coordinate information, or a description of a country or region determined by the longitude and latitude coordinate information.
  • the terminal can obtain the roaming target location information of the target object in the following manner: the terminal can perform satellite positioning through dedicated location information, such as GPS and Beidou positioning system to obtain the target location information corresponding to the terminal;
  • the target location information corresponding to the terminal can be obtained through its own electronic itinerary, network order, and information records when passing through the customs location.
  • the method for the terminal to determine the target MCC based on the target location information includes: after the terminal determines the target location information in the above manner, the terminal directly determines the roaming country according to the roaming target location information, and then determines the MCC corresponding to the roaming country (that is, the target MCC).
  • the method for the terminal to determine the target MCC based on the target location information further includes: the terminal can preferentially search for the network information registered last time, if the registered network information is the network of the country where the terminal is currently roaming Information, the MCC corresponding to the roaming country can be determined directly through the network information, which can significantly shorten the time for the terminal to determine the target MCC.
  • the terminal determines the country information of the terminal roaming destination according to the target MCC, and then obtains the contracted network information of the target communication card in the country, so that the contracted information corresponding to the target MCC can be found through the contracted network information.
  • the contract information includes contract data of countries that have contracted for international roaming.
  • the target communication card is the communication card on the terminal, which is the medium through which the target object uses the terminal to communicate; among them, a target communication card can uniquely identify a target object, and the same target communication card can be used on different terminals
  • a terminal can contain at least one target communication card, and only after the terminal is inserted into the target communication card, the target object can use the terminal to search the network.
  • the terminal by reading the operator information corresponding to the target communication card and the supported network standard, it can be determined whether the current terminal is in an international roaming state. If so, the terminal determines the terminal roaming country information according to the target MCC. According to the current roaming country, obtain the contracted network information corresponding to the target communication card.
  • the target communication card may be a SIM card (Subscriber Identity Modula, SIM) supported by the Global System for Mobile Communications (GSM) or a UIM card (User Identity) supported by the CDMA system (Code Division Multiple Access, CDMA). Modula, UIM), and other identification cards for mobile communication, which are not limited in the embodiment of this application.
  • SIM Subscriber Identity Modula
  • GSM Global System for Mobile Communications
  • UIM User Identity
  • CDMA Code Division Multiple Access
  • Modula, UIM and other identification cards for mobile communication, which are not limited in the embodiment of this application.
  • the contracted network information database refers to the network information database in the international roaming contract database, which can be: a network information form maintained by each operator for a communication network that has completed roaming agreement contracts in other countries Database, where each type of target communication card corresponds to the same type of contracted network information.
  • the contracted network information database includes contracted contracted network information corresponding to multiple operators, and the terminal needs to find the contracted network information consistent with the operator of the target communication card.
  • the contracted network information at this time includes the roaming network information of multiple countries contracted with China Mobile, that is, the terminal obtains the operation of the roaming country and issuance of the target communication card
  • the contracted network information of the supplier is then automatically searched according to the network standard priority supported by the target communication card and the contracted network information of the target communication card in the country to achieve the purpose of searching the network.
  • the contracted network information corresponding to the target communication card includes at least two of the following: at least one PLMN, the standard corresponding to each PLMN, the frequency information corresponding to each PLMN, and Corresponding frequency band information.
  • each PLMN in the contracted network information corresponds to different standard information, frequency band information, and frequency point information, which is not limited by the embodiment of this application.
  • the terminal after determining the roaming destination of the terminal, the terminal obtains the contracted network information corresponding to the target communication card, and searches for the PLMN list in the contracted network information, where PLMN is a sorted list of at least one PLMN, and the terminal
  • the system information can be searched for the PLMN with the highest network coverage in the PLMN list.
  • the network coverage is the description of the geographic location covered by the network.
  • the search for the system information is in the order of priority from high to low. of.
  • Standard information includes, but is not limited to, the fifth-generation mobile communication technology (5th-Generation, 5G), the fourth-generation mobile communication technology (4th-Generation, 4G), the third-generation mobile communication technology (3rd-Generation, 3G), and the second Generation mobile communication technology (2nd-Generation, 2G) and other network standards.
  • the priority of the standard information from high to low is: 5G, 4G, 3G, 2G, the higher the priority of the standard information, the better the corresponding network information; if there is a sixth-generation mobile communication technology (6th-Generation, 6G) standard information, the priority corresponding to 6G is the highest, and so on, the embodiment of this application does not limit it.
  • the terminal first searches for the standard information corresponding to the PLMN with the highest priority, and after finding the standard information, starts to scan the frequency point information and frequency band information under the PLMN.
  • the contracted network information includes a PLMN list, where the order of the PLMN list is arranged according to the size of the network coverage, that is, the larger the network coverage, the higher the ranking.
  • the PLMN is composed of MCC and mobile network code MNC (Mobile Network Code, MNC).
  • MCC Mobile Network Code, MNC
  • MNC Mobile Network Code
  • the terminal obtains the contracted network information corresponding to the target communication card can be achieved by: statistic the historical network information of the target object; the terminal determines the network information related to the target object based on the historical network information.
  • the target MCC when the target MCC has been determined, the current roaming destination of the terminal is known. If the historical network information that the terminal has registered before is counted, the target communication card corresponding to the roaming destination can be obtained.
  • the contracted network information when the terminal searches the network at the roaming destination, it directly searches for the corresponding contracted network information from the registered historical network information, and searches the network through the contracted network information.
  • the contracted network information obtained by the terminal through the above method is historical network information registered by the terminal, the terminal does not need to search one by one from the contracted network information database that includes multiple operators that is consistent with the operator of the target communication card. Sign up for network information, so you can quickly search the network.
  • the terminal obtains the contracted network information corresponding to the target communication card can also be achieved by: the terminal receives the contracted network information database corresponding to different MCCs pushed by the network platform; from the contracted network information database , Determine the contracted network information corresponding to the target MCC and the target communication card.
  • the receiving network platform can periodically push the contracted network information database corresponding to different MCCs to the terminal according to the user's needs.
  • the user performs a roaming search, it searches the contracted network information database for the contracted network information corresponding to the current roaming destination.
  • the corresponding contracted network information can be pushed to the user terminal regularly or according to user needs through the network platform, or the user terminal can determine the corresponding contracted network information based on historical use of network information.
  • the contracted network information when the contracted network information is obtained, the corresponding PLMN, standard, frequency, and frequency band information are determined through the contracted network information.
  • the network platform may be an operator or another information sending platform, which is not limited in the embodiment of the present application.
  • the contracted network information corresponding to the target communication card is obtained based on the target MCC; once the contracted network information corresponding to the target communication card is determined, only the PLMN list included in the contracted network information is searched, which can avoid all communications
  • the PLMN under the network information of the network performs a traversal search, which can speed up the search speed of the PLMN.
  • S103 Determine the target PLMN based on the contracted network information.
  • S104 Perform network access according to the target PLMN.
  • the terminal after obtaining the corresponding contracted network information, the terminal searches for the target PLMN from the PLMN list included in the contracted network information, and performs network access.
  • the terminal determines the MCC of the roaming destination, it searches for the PLMN in the contracted network information.
  • the target PLMN searches for the corresponding standard information according to the target PLMN, and then obtains the frequency point information corresponding to the standard information ; If the corresponding frequency point information is not obtained, obtain the frequency band information corresponding to the standard information.
  • the terminal when the terminal obtains the frequency band information and frequency point information corresponding to the standard information, if the frequency point information with a certain energy is found during the scanning process, it means that the frequency point is probably the terminal that can realize the network.
  • the frequency point information is decoded to obtain the network information under the frequency point information, and the terminal performs registration and network access on the network information.
  • the terminal may include a non-access layer network search module and an access layer network search module.
  • the non-access layer network search module determines a new MCC, that is, the target MCC
  • the non-access layer network search module requests the lower layer according to the contracted network information
  • Perform network search that is, the access layer network search module searches for the target PLMN, and then returns the search result of the target PLMN to the non-access layer network search module.
  • the non-access layer network search module performs network access based on the returned target PLMN. Enter, you can complete the terminal search process.
  • the network search method searches the network in the full frequency band to determine the target MCC; based on the target MCC, obtains the contracted network information corresponding to the target communication card; the contracted network information includes the contract information corresponding to the target MCC; Based on the contracted network information, the target PLMN is determined, and network access is performed according to the target PLMN.
  • the target MCC in the process of determining the target MCC, no MCC or PLMN is specified, but the first searched PLMN is decoded by searching the network in the full frequency band to obtain the target MCC Because the entire search process does not need to be traversed one by one to search, as long as the system message of the network is found, the target MCC is determined through the system message, and then the roaming destination of the terminal is determined.
  • This process can speed up the acquisition of the target MCC; On the one hand, by acquiring the contracted network information corresponding to the target communication card and searching only the PLMN included in the contracted network information, it is possible to avoid traversal search of PLMNs under all network information, thereby speeding up the PLMN search. It can be seen that the network search method of the embodiment of the present application determines the roaming destination of the terminal by speeding up the search of the target MCC, and at the same time, speeds up the search speed of the PLMN through the contracted network information, thereby saving the time for searching the network when the terminal is roaming, and improving the efficiency of the network search. .
  • FIG. 5 is a schematic diagram of a process for acquiring a target PLMN, when at least one PLMN includes multiple PLMNs arranged in sequence
  • the implementation of S103 includes: S1031-S1034, as follows:
  • S1031. Perform network search based on the i-th PLMN in at least one PLMN to obtain the i-th signal; where i is a positive integer greater than or equal to 1 and less than N, and N is the total number of at least one PLMN.
  • the subscription network information includes a PLMN list
  • the PLMN list includes at least one PLMN, that is, N PLMNs, where the sequence of the multiple PLMNs included in the PLMN list is determined, and the multiple PLMNs It is arranged according to the size of the network coverage area, and is sequential, that is, among all the PLMNs included in the PLMN list, which PLMN has the larger the network coverage area, the higher the ranking.
  • the signal here refers to the signal on the frequency under the standard supported by the PLMN. Among them, i is a positive integer greater than or equal to 1 and less than N, and N is a positive integer.
  • the terminal when the terminal searches the network for the i-th PLMN, it first searches for the standard under the i-th PLMN, and then searches for the frequency point or frequency band information corresponding to the standard, and then Search for signals based on the frequency or frequency band information.
  • the terminal may not get the i-th signal, that is, the signal cannot be searched. At this time, if all the modes of the i-th PLMN cannot find the signal, it will start to check the i-th signal. +1 PLMN for network search processing.
  • the realization of analyzing the i-th candidate PLMN from the i-th signal may be: the terminal decodes the i-th signal obtained by searching the network to obtain network information-PLMN The number segment or label of, and the decoded PLMN is used as the i-th candidate PLMN.
  • the i-th signal carries information such as the PLMN number segment and frequency point information.
  • the terminal parses the i-th candidate PLMN, it compares the i-th candidate PLMN obtained by analyzing the i-th signal with the i-th PLMN to see whether the searched signal is correct. If the i-th candidate PLMN is inconsistent with the i-th PLMN, it means that the i-th candidate PLMN is not the required PLMN, and other PLMN signals are found under the i-th PLMN, indicating that the i-th signal is not intended to be searched That is, it is impossible to search the network in the i-th candidate PLMN.
  • the terminal when the terminal does not search the network in the i-th PLMN, it needs to continue to search the network from the PLMN list for the i+1th PLMN whose network coverage is only lower than the i-th PLMN. First search for the standard under the i+1th PLMN, then search for the i+1th frequency point or i+1th frequency band information corresponding to the standard, and then search for the i+1th signal based on the frequency point or frequency band information. After analyzing the i+1th candidate PLMN, the terminal compares the i+1th candidate PLMN obtained by analyzing the i+1th signal with the i+1th PLMN to see if the searched signal is correct.
  • the i+1th candidate PLMN is inconsistent with the i+1th PLMN, so it means that the i+1th candidate PLMN is not the required PLMN.
  • the signals of other PLMNs are found under the i+1th PLMN, which represents the The i+1 signal is not the signal to be searched, that is, the network search cannot be realized in the i+1th candidate PLMN.
  • the network coverage is only lower than the i+M-1th candidate PLMN from the PLMN list.
  • the i+Mth PLMN of the PLMN is searched.
  • the i+Mth candidate PLMN is the required PLMN, that is, The signal of the corresponding PLMN is searched under the i+Mth PLMN, which indicates that the i+Mth signal is the signal that you want to search, that is, the network can be searched in the i+Mth candidate PLMN, and the i+Mth candidate PLMN can be searched.
  • +M candidate PLMNs are used as target PLMNs.
  • the terminal parses the i-th candidate PLMN, it compares the i-th candidate PLMN decoded from the i-th signal with the i-th PLMN. If the i-th candidate PLMN happens to be the same as the i-th PLMN, The two PLMNs are completely consistent, indicating that the i-th candidate PLMN is the required PLMN, that is, the i-th candidate PLMN can enable the terminal to search the network and use the i-th candidate PLMN as the target PLMN.
  • the i-th candidate PLMN when the i-th candidate PLMN is consistent with the i-th PLMN, it means that the decoded network information of the i-th candidate PLMN corresponds to the network information required by the terminal to access the network, that is, The terminal can search the network through the i-th candidate candidate PLMN.
  • the i-th candidate PLMN is inconsistent with the i-th PLMN, continue to search the network based on the i+1th PLMN until the i+Mth candidate consistent with the i+Mth PLMN is searched out PLMN, the i+M-th candidate PLMN is used as the target PLMN.
  • the i+M-th PLMN in the PLMN list is used for network access; if the i-th candidate PLMN is consistent with the i-th PLMN, the If i candidate PLMNs are used as target PLMNs, the i-th PLMN in the PLMN list is used for network access.
  • At least one PLMN includes a plurality of PLMNs arranged in sequence; based on the contracted network information, the target PLMN is determined, and according to the target PLMN, the realization of network access may be: the terminal is based on the at least one PLMN Search the network for the i-th PLMN of, and when the i-th signal is not obtained, continue to search the network based on the i+1th PLMN until the i+Mth candidate PLMN consistent with the i+Mth PLMN is searched , Take the i+Mth candidate PLMN as the target PLMN; where i is a positive integer greater than or equal to 1 and less than N, N is the total number of at least one PLMN; M is a positive integer greater than or equal to 1.
  • the terminal obtains the corresponding PLMN list based on the contracted network information, where the order of the multiple PLMNs included in the PLMN list is determined, and the PLMN list is arranged in descending order of network coverage , If the i-th PLMN is searched and the i-th signal is not obtained, the network will be searched based on the i+1-th PLMN according to the determined arrangement order.
  • the i+M-th PLMN is searched from the PLMN list
  • the i+Mth candidate PLMN with the same PLMN, the i+Mth candidate PLMN is the target PLMN.
  • the PLMN list can also be arranged from small to large according to the network coverage. If it is arranged from small to large, the terminal determines the PLMN based on the contracted network information, and according to the target PLMN, the implementation process of network access can be Including: search the network based on the i-th PLMN in at least one PLMN to obtain the i-th signal; where i is a positive integer less than or equal to N, and N is the total number of at least one PLMN; and parse out the i-th signal from the i-th signal i candidate PLMN; when the i-th candidate PLMN is inconsistent with the i-th PLMN, continue to search the network based on the i-1th PLMN until the iM-th candidate PLMN consistent with the iM-th PLMN is searched, and The iMth candidate PLMN is used as the target PLMN; where M is a positive integer less than or equal to N-1, and i
  • the fact that the i-th signal is not obtained indicates that the i-th PLMN in the PLMN list is not a target PLMN required by the terminal to search the network.
  • the network identifier of the PLMN of operator A is 33010
  • the network identifier of the PLMN of operator B is 33020. Since the network coverage of operator A is larger than that of operator A, PLMN33010 is ranked before PLMN33020 in the PLMN list.
  • the terminal When searching the network, the terminal first searches for PLMN33010, then the terminal searches for the system corresponding to PLMN33010, and obtains the frequency point information and frequency band information corresponding to the system; the terminal decodes the frequency point information, and the decoded network information corresponds to PLMN33010 Inconsistent, then PLMN33010 is not the target PLMN required by the terminal to search the network.
  • S1033 and S1034 are two optional implementations after S1032, which can be executed according to the actual implementation situation, and this application does not limit the execution order.
  • a flow chart of the i-th signal obtained by the terminal searching the i-th PLMN includes: S10311-S10315, as follows:
  • S10311 Search based on the standard corresponding to the i-th PLMN in at least one PLMN, and search for the target standard.
  • the search priority order is standard-frequency point information-frequency band information.
  • the terminal first searches for the system corresponding to the i-th PLMN. The search is performed according to the priority of the system to obtain the target system, and then searches for the frequency information corresponding to the target system. If the frequency information cannot be found, Search for frequency band information corresponding to the target standard.
  • the contracted network information corresponding to the target communication card obtained by the terminal includes at least one PLMN, and at least one standard information, at least one frequency point information, and at least one frequency band information corresponding to the at least one PLMN. Therefore, the terminal is in After the target standard is determined, the frequency point information and frequency band information of the target standard can be determined from the contracted network information.
  • searching for the system corresponding to the i-th PLMN also needs to be searched in the order of the system search priority from high to low, where the system search priority is from high to low
  • the order is: 4G (including frequency division duplex LTE (Frequency Division Duplexing LTE, FDD LTE) and time division duplex LTE (Time Division Long TERM, TD-LTE) two standards), 3G (including broadband code division multiple access) (Wideband Code Division Multiple Access, WCDMA) and Time Division-Synchronous Code Division Multiple Access (Time Division-Synchronous Code Division Multiple Access, TDSCDMA) two standards), 2G (including GSM and CDMA two standards).
  • 4G including frequency division duplex LTE (Frequency Division Duplexing LTE, FDD LTE) and time division duplex LTE (Time Division Long TERM, TD-LTE) two standards
  • 3G including broadband code division multiple access
  • WCDMA Wideband Code Division Multiple Access
  • TDSCDMA Time Division-Syn
  • 4G is given priority as the target system corresponding to the i-th PLMN. If 4G is not found, 3G is found If this is the case, 3G will be prioritized as the target standard corresponding to the i-th PLMN.
  • PLMNs correspond to different standards. For example, some PLMNs only have 5G, 4G, and 2G, but not 3G, while some PLMNs only have 5G and 3G, and 2G does not have 4G, and so on.
  • the priority of the system corresponding to the same PLMN is sorted from high to low. If there is no 3G, the order of priority is: 5G, 4G, 2G; if there is no 4G, the order of priority is: 5G, 3G, 2G, the embodiment of this application does not limit it.
  • the terminal searches for the i-th PLMN according to the priority of the system, and no network or signal is found in the system with the highest priority, it continues to search for the system with the second highest priority until Search out the target system. However, if the standard is not found in the i-th PLMN, then the search for the next PLMN in the PLMN list is directly performed.
  • S10312 Obtain target frequency information corresponding to the target standard from the frequency information corresponding to the i-th PLMN.
  • the target frequency information corresponding to the target standard is further searched, where the target frequency information refers to a plurality of commonly used target standards corresponding to the target standard. Frequency information.
  • the terminal determines the target standard according to the target PLMN, it needs to obtain frequency information corresponding to the target standard.
  • different standards correspond to different frequency information, and there are multiple commonly used frequency information under the same target standard. .
  • the search is performed on the common frequency point corresponding to 4G. If the target standard of the i-th PLMN is 3G, then the common frequency corresponding to the i-th PLMN is 3G. The search is performed on the frequency point. Therefore, the priority search order of the frequency point information depends on the priority order of the target system.
  • the target frequency point information under the target standard corresponding to the i-th PLMN is found, the target frequency point is scanned, and the scanned network signal is used as the i-th signal corresponding to the i-th PLMN.
  • the terminal will sort according to the energy value (ie power value) of each frequency point, and preferentially decode the frequency point with high energy value to obtain the decoded network information.
  • the energy value ie power value
  • the terminal when the terminal determines the target frequency point information according to the target standard, it first scans the common frequency points under the target standard, then measures the power value of each common frequency point, and compares the common frequency points Sort the power values of, select the frequency point with the largest power value as the target frequency point information, and search the target frequency point information for the network signal. If the network signal is found, the network signal is taken as the i-th signal.
  • the process of searching the target frequency point information for the network signal if none of the common frequency points included in the target frequency point has searched for energy information, that is, the received power information of the target frequency point is not searched, it is required Search for corresponding network signals in the frequency band information corresponding to the i-th PLMN.
  • the search order of frequency band information is searched according to the search priority of the target standard of the i-th PLMN, that is, if the target standard is 4G, the frequency band information of 4G is searched first, and if the target standard is 3G, then 3G is correspondingly searched. Therefore, the priority search order of the frequency band information depends on the priority order of the target system.
  • the target frequency band information represents part of the frequency band information of the frequency band information corresponding to the i-th PLMN.
  • the frequency band information is selected from the frequency band information corresponding to the i-th PLMN as the target frequency band information, and Scan all frequency points included in the target frequency band information to search for network signals.
  • all frequency points contained in the target frequency band information are scanned. If a frequency point with energy information is found during the scanning process, a network signal search is performed on this frequency point to obtain the i-th signal .
  • the network information is obtained by decoding the i-th signal
  • the network information includes basic information such as the network number PLMN, frequency point number, cell priority, etc., which is obtained by decoding the i-th signal PLMN is compared with the i-th PLMN. If the comparison results are consistent, it means that the network can be accessed at this frequency. On the contrary, if the comparison results are inconsistent, it means that the network cannot be accessed at this frequency and needs to be re-networked on other frequency bands. Signal search.
  • the target standard is 3G
  • the supported frequency bands are B1, B2, B3, and other frequency bands. If all frequency points in the frequency band B1 do not have frequency points with energy information, that is, the corresponding network is not searched. Signal; in the next network search process, search for network signals in frequency bands that have not been searched except for frequency band B1, and use the searched network signal as the i-th signal.
  • S10313 and S10314 are the two optional implementations after S10312 and before S10315, which can be executed according to actual implementation conditions, and this application does not limit the execution order.
  • a search is performed based on the standard corresponding to the i-th PLMN in at least one PLMN, and the target standard is searched; from the frequency information corresponding to the i-th PLMN, the target frequency information corresponding to the target standard is obtained; If the network signal is searched from the target frequency information, and the network signal is found, the network signal is regarded as the i-th signal; if the network signal is searched from the target frequency information and the network signal is not found, the i-th signal In the frequency band information corresponding to each PLMN, obtain the target frequency band information corresponding to the target standard; search for network signals based on the target frequency band information to obtain the i-th signal searched on the candidate target frequency point information, where the candidate target frequency point information Is the frequency point information in the target frequency band information.
  • the target standard in the PLMN list is searched according to the priority, and the common frequency corresponding to the target standard Scanning does not need to scan all frequency points corresponding to the target standard, which can improve the search efficiency of the target PLMN, thereby shortening the network search time.
  • the terminal when the terminal does not search any network within a preset time as a system message, the terminal stops the current network search of MCC and PLMN, and the terminal searches for system messages in all supported frequency bands, and uses the searched system messages Determine the target MCC of the roaming destination, and the terminal can search for the target PLMN in a targeted manner through the contracted network information in the contracted network information database.
  • the terminal can perform processing based on the target PLMN and the frequency information and frequency band information under the corresponding standard of the target PLMN. Network access.
  • an embodiment of the present application proposes a network search device.
  • FIG. 7 is a schematic diagram of the composition structure of a data processing device according to an embodiment of the application. As shown in FIG. 7, the device includes: a search module 701, an acquisition module 702, and an access module 703, wherein,
  • the search module 701 is configured to search the network in the full frequency band and determine the target MCC;
  • the obtaining module 702 is configured to obtain contracted network information corresponding to the target communication card based on the target MCC; the contracted network information includes contract information corresponding to the target MCC;
  • the search module 701 is also configured to determine the target PLMN based on the contracted network information
  • the access module 703 is configured to perform network access according to the target PLMN.
  • the subscription network information includes at least two of the following: at least one PLMN, a standard corresponding to each PLMN, frequency information corresponding to each PLMN, and frequency band information corresponding to each PLMN.
  • the search module is further configured to search for the network in the entire frequency band when the system message of the network is not searched within a preset time to determine the target MCC.
  • At least one PLMN includes multiple PLMNs arranged in sequence; the search module 701 is further configured to:
  • i is a positive integer greater than or equal to 1 and less than N, and N is the total number of at least one PLMN;
  • the i-th candidate PLMN When the i-th candidate PLMN is inconsistent with the i-th PLMN, continue to search the network based on the i+1th PLMN until the i+Mth candidate PLMN that is consistent with the i+Mth PLMN is searched, and the i+M candidate PLMNs are used as the target PLMN; where M is a positive integer greater than or equal to 1, and i+M is a positive integer less than N.
  • the search module 701 is further configured to:
  • the i-th candidate PLMN After the i-th candidate PLMN is parsed from the i-th signal, and before network access is performed according to the target PLMN, when the i-th candidate PLMN is consistent with the i-th PLMN, the i-th candidate PLMN is used as the target PLMN.
  • the search module 701 is further configured to:
  • the network signal is searched from the target frequency point information, and the network signal is found, the network signal is taken as the i-th signal.
  • the search module 701 is further configured to:
  • the i-th PLMN From the frequency point information corresponding to the i-th PLMN, after obtaining the target frequency point information corresponding to the target standard, if the network signal is searched from the target frequency point information, the network signal is not found, then the i-th PLMN corresponds to In the frequency band information, obtain the target frequency band information corresponding to the target standard;
  • the network signal is searched based on the target frequency band information, so as to obtain the i-th signal searched on the candidate target frequency point information, where the candidate target frequency point information is the frequency point information in the target frequency band information.
  • At least one PLMN includes multiple PLMNs arranged in sequence; the search module 701 is further configured to:
  • the i+Mth candidate PLMN is used as the target PLMN; where i is a positive integer greater than or equal to 1 and less than N, N is the total number of at least one PLMN; M is a positive integer greater than or equal to 1.
  • the obtaining module 702 is further configured to:
  • the contracted network information corresponding to the target pass card and the target MCC of the target object is determined.
  • the obtaining module 702 is further configured to:
  • the contracted network information database From the contracted network information database, the contracted network information corresponding to the target MCC and the target communication card is determined.
  • the obtaining module 702 is further configured to:
  • the target MCC is determined.
  • the aforementioned search module 701, acquisition module 702, and access module 703 can all be implemented by a processor located in an electronic device.
  • the processor can be an ASIC, DSP, DSPD, PLD, FPGA, CPU, controller, At least one of microcontroller and microprocessor.
  • the functional modules in this embodiment may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated unit can be realized in the form of hardware or software function module.
  • the integrated unit is implemented in the form of a software function module and is not sold or used as an independent product, it can be stored in a computer readable storage medium.
  • the technical solution of this embodiment is essentially or correct
  • the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product.
  • the computer software product is stored in a storage medium and includes several instructions to enable a computer device (which can be a personal A computer, a server, or a network device, etc.) or a processor (processor) execute all or part of the steps of the method in this embodiment.
  • the aforementioned storage media include: U disk, mobile hard disk, read only memory (Read Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program codes.
  • the computer program instructions corresponding to a method of searching the Internet in this embodiment can be stored on storage media such as optical disks, hard disks, U disks, etc.
  • storage media such as optical disks, hard disks, U disks, etc.
  • FIG. 8 shows an electronic device 80 provided by an embodiment of the present application, which may include: a memory 81 and a processor 82; wherein,
  • the memory 81 is configured to store computer programs and data
  • the processor 82 is configured to execute a computer program stored in the memory to implement any one of the methods for searching the Internet in the foregoing embodiments.
  • the aforementioned memory 81 may be a volatile memory (volatile memory), such as RAM; or a non-volatile memory (non-volatile memory), such as ROM, flash memory, or hard disk (Hard Disk). Drive, HDD) or Solid-State Drive (SSD); or a combination of the foregoing types of memories, and provide instructions and data to the processor 82.
  • volatile memory volatile memory
  • non-volatile memory non-volatile memory
  • ROM read-only memory
  • flash memory read-only memory
  • HDD hard disk
  • SSD Solid-State Drive
  • the aforementioned processor 82 may be at least one of ASIC, DSP, DSPD, PLD, FPGA, CPU, controller, microcontroller, and microprocessor. It is understandable that, for different devices, the electronic device used to implement the above-mentioned processor function may also be other, which is not limited in the embodiment of the present application.
  • the functions or modules contained in the device provided in the embodiments of the present application can be used to execute the methods described in the above method embodiments.
  • the functions or modules contained in the device provided in the embodiments of the present application can be used to execute the methods described in the above method embodiments.
  • the method of the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is better. ⁇
  • the technical solution of this application essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes a number of instructions to enable a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods of the various embodiments of the present application.
  • a terminal which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.
  • the target MCC is obtained, which speeds up the acquisition of the target MCC; and, by obtaining the contracted network information corresponding to the target communication card, only Searching for the PLMN included in the contracted network information can avoid traversal search of the PLMN under all network information, thereby speeding up the search speed of the PLMN, thereby saving network search time and improving network search efficiency.

Abstract

Embodiments of the present application provide a network searching method, comprising: searching a network in a full frequency band, and determining a target Mobile Country Code (MCC); obtaining, on the basis of the target MCC, subscription network information corresponding to a target communication card, wherein the subscription network information comprises subscription information corresponding to the target MCC; determining a target Public Land Mobile Network (PLMN) on the basis of the subscription network information; and performing network access according to the target PLMN. The embodiments of the present application further apply for a network searching method and device, and a storage medium.

Description

一种搜网方法及装置、存储介质Network search method and device, and storage medium
相关申请的交叉引用Cross references to related applications
本申请基于申请号为201911365423.2、申请日为2019年12月26日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。This application is filed based on a Chinese patent application with an application number of 201911365423.2 and an application date of December 26, 2019, and claims the priority of the Chinese patent application. The entire content of the Chinese patent application is hereby incorporated into this application by reference.
技术领域Technical field
本申请涉及通信技术领域,尤其涉及一种搜网方法及装置、存储介质。This application relates to the field of communication technology, and in particular to a method and device for searching the Internet, and a storage medium.
背景技术Background technique
随着全球化发展,越来越多的出境游和国际交流的需求,使得全球主要目的地国家的入境场景的漫游找网变得日渐重要。终端在搜网时,能够支持越来越宽的频段,使其能够在全球很多国家的实际网络中支持国际漫游网络服务。其中,全球全网通的终端为能够涵盖全球主要国家和地区的通信设备,其中,全球全网通的终端的制式能够涵盖全模式,和频段覆盖高达30个频段以上,同时网络覆盖范围也越来越广。With the development of globalization, more and more outbound travel and international exchanges are required, making roaming and finding networks in the inbound scenes of major destination countries around the world increasingly important. When searching the network, the terminal can support wider and wider frequency bands, enabling it to support international roaming network services in actual networks in many countries around the world. Among them, the terminals of Global Netcom are communication equipment that can cover major countries and regions in the world. Among them, the standard of Global Netcom's terminals can cover all modes, and the frequency bands cover up to 30 frequency bands. At the same time, the network coverage is getting more and more. wide.
目前,当终端在常用的MCC中确定漫游目的地的国家码移动国家代码(Mobile Country Code,MCC)后,开始在已注册过的网络中进行盲搜查找目标公共陆地移动网络(Public Land Mobile Network,PLMN),从而实现漫游目的地的搜网,进而实现入网及通信。At present, when the terminal determines the country code (Mobile Country Code, MCC) of the roaming destination in the commonly used MCC, it starts to perform a blind search in the registered network to find the target public land mobile network (Public Land Mobile Network). , PLMN), so as to realize the search of the roaming destination, and then realize the network access and communication.
然而,虽然终端的软硬件能力不同,但是终端可以支持的制式和频段均较多,这样终端在漫游目的地时,需要进行多个制式和多个频段的扫描,才可能搜索到合适接入的PLMN,因此,导致漫游时搜网的时间过长,搜网的效率较低。However, although the hardware and software capabilities of the terminal are different, the terminal can support more standards and frequency bands. In this way, when the terminal is roaming at the destination, it needs to scan multiple standards and multiple frequency bands to search for suitable access. PLMN, therefore, causes too long time to search the network during roaming, and the efficiency of the network search is low.
发明内容Summary of the invention
本申请实施例期望提供一种搜网方法及装置、存储介质,能够加快漫游目的地的搜网效率,节省搜网时间。The embodiments of the present application expect to provide a network search method, device, and storage medium, which can speed up the network search efficiency of roaming destinations and save network search time.
本申请的技术方案是这样实现的:The technical solution of this application is realized as follows:
本申请实施例提供一种搜网方法,所述方法包括:An embodiment of the present application provides a method for searching a network, and the method includes:
在全频段内搜索网络,确定目标移动国家代码MCC;Search the network in the full frequency band and determine the target mobile country code MCC;
基于所述目标MCC,获取目标通信卡对应的签约网络信息;所述签约网络信息包括与所述目标MCC对应的签约信息;Acquiring contracted network information corresponding to the target communication card based on the target MCC; the contracted network information includes contract information corresponding to the target MCC;
基于所述签约网络信息,确定目标公共陆地移动网络PLMN;Determine the target public land mobile network PLMN based on the contracted network information;
根据所述目标PLMN,进行网络接入。Perform network access according to the target PLMN.
可选地,所述在全频段内搜索网络,确定目标MCC,包括:Optionally, the searching the network in the full frequency band to determine the target MCC includes:
当预设时间内未搜索到网络的系统消息时,在全频段内搜索网络,确定所述目标MCC。When the system message of the network is not searched within the preset time, the network is searched in the whole frequency band to determine the target MCC.
可选地,所述签约网络信息中包括以下至少两种:至少一个PLMN、与每个PLMN对应的制式、与每个PLMN对应的频点信息,以及与每个PLMN对应的频段信息。Optionally, the subscription network information includes at least two of the following: at least one PLMN, a standard corresponding to each PLMN, frequency point information corresponding to each PLMN, and frequency band information corresponding to each PLMN.
可选地,所述至少一个PLMN包含有具有顺序排列的多个PLMN;所述基于所述签约网络信息,确定目标PLMN,包括:Optionally, the at least one PLMN includes a plurality of PLMNs arranged in sequence; the determining the target PLMN based on the subscription network information includes:
基于所述至少一个PLMN中的第i个PLMN进行搜网,得到第i个信号;其中,i为大于等于1且小于N的正整数,N为至少一个PLMN的总数;The network is searched based on the i-th PLMN in the at least one PLMN to obtain the i-th signal; where i is a positive integer greater than or equal to 1 and less than N, and N is the total number of at least one PLMN;
从所述第i个信号中解析出第i个候选PLMN;Parse out the i-th candidate PLMN from the i-th signal;
当所述第i个候选PLMN与所述第i个PLMN不一致时,继续基于第i+1个PLMN进行搜网,直至搜索出与第i+M个PLMN一致的第i+M个候选PLMN时为止,将所述第i+M个候选PLMN作为所述目标PLMN;其中,M为大于等于1的正整数,i+M为小于N的正整数。When the i-th candidate PLMN is inconsistent with the i-th PLMN, continue to search the network based on the i+1th PLMN until the i+Mth candidate PLMN consistent with the i+Mth PLMN is searched out So far, the i+Mth candidate PLMN is used as the target PLMN; where M is a positive integer greater than or equal to 1, and i+M is a positive integer less than N.
可选地,所述从所述第i个信号中解析出第i个候选PLMN之后,所述根据所述目标PLMN,进行网络接入之前,所述方法还包括:Optionally, after the i-th candidate PLMN is parsed from the i-th signal, and before the network access is performed according to the target PLMN, the method further includes:
当所述第i个候选PLMN与所述第i个PLMN一致时,将所述第i个候选PLMN作为所述目标PLMN。When the i-th candidate PLMN is consistent with the i-th PLMN, use the i-th candidate PLMN as the target PLMN.
可选地,所述基于所述至少一个PLMN中的第i个PLMN进行搜网,得到第i个信号,包括:Optionally, the performing network search based on the i-th PLMN in the at least one PLMN to obtain the i-th signal includes:
基于所述至少一个PLMN中的第i个PLMN对应的制式进行搜索,搜索出目标制式;Searching based on the standard corresponding to the i-th PLMN in the at least one PLMN, and searching for the target standard;
从所述第i个PLMN对应的频点信息中,获取与所述目标制式对应的目标频点信息;Obtaining target frequency information corresponding to the target standard from the frequency point information corresponding to the i-th PLMN;
若从所述目标频点信息上进行网络信号的搜索,搜索到网络信号,则将所述网络信号作为所述第i个信号。If a network signal is searched from the target frequency point information, and a network signal is found, the network signal is taken as the i-th signal.
可选地,所述从所述第i个PLMN对应的频点信息中,获取与所述目标制式对应的目标频点信息之后,所述方法还包括:Optionally, after obtaining the target frequency information corresponding to the target standard from the frequency information corresponding to the i-th PLMN, the method further includes:
若从所述目标频点信息上进行网络信号的搜索,未搜索到网络信号,则所述第i个PLMN对应的频段信息中,获取与所述目标制式对应的目标频段信息;If a network signal is searched from the target frequency point information, and no network signal is found, then from the frequency band information corresponding to the i-th PLMN, obtain the target frequency band information corresponding to the target standard;
基于所述目标频段信息进行网络信号的搜索,从而得到候选目标频点信息上搜索的所述第i个信号,其中,所述候选目标频点信息为所述目标频段信息中的频点信息。A network signal search is performed based on the target frequency band information to obtain the i-th signal searched on candidate target frequency information, where the candidate target frequency information is frequency information in the target frequency information.
可选地,所述至少一个PLMN包含有具有顺序排列的多个PLMN;所述基于所述签约网络信息,确定目标PLMN,包括:Optionally, the at least one PLMN includes a plurality of PLMNs arranged in sequence; the determining the target PLMN based on the subscription network information includes:
基于所述至少一个PLMN中的第i个PLMN进行搜网,未得到第i个信号时,继续基于第i+1个PLMN进行搜网,直至搜索出与第i+M个PLMN一致的第i+M个候选PLMN时为止,将所述第i+M个候选PLMN作为所述目标PLMN;其中,i为大于等于1且小于N的正整数,N为至少一个PLMN的总数;M为大于等于1的正整数。Search the network based on the i-th PLMN in the at least one PLMN, and when the i-th signal is not obtained, continue to search the network based on the i+1-th PLMN until the i-th PLMN consistent with the i+M-th PLMN is searched +M candidate PLMNs, use the i+Mth candidate PLMN as the target PLMN; where i is a positive integer greater than or equal to 1 and less than N, N is the total number of at least one PLMN; M is greater than or equal to A positive integer of 1.
可选地,所述基于所述目标MCC,获取目标通信卡对应的签约网络信息,包括:统计目标对象的历史使用网络信息;基于所述历史使用网络信息,确定出与所述目标对象的所述目标通行卡以及所述目标MCC对应的签约网络信息。Optionally, the acquiring the contracted network information corresponding to the target communication card based on the target MCC includes: counting the historical network information of the target object; and determining the network information related to the target object based on the historical network information. The target pass card and the contracted network information corresponding to the target MCC.
可选地,所述基于所述目标MCC,获取目标通信卡对应的签约网络信息,包括:接收网络平台推送的不同MCC对应的签约网络信息库;从所述签约网络信息库中,确定出与所述目标MCC和所述目标通信卡对应的所述签约网络信息。Optionally, the acquiring the contracted network information corresponding to the target communication card based on the target MCC includes: receiving the contracted network information database corresponding to different MCCs pushed by the network platform; and determining the contracted network information database from the contracted network information database. The target MCC and the contracted network information corresponding to the target communication card.
可选地,所述基于所述目标MCC,获取目标通信卡对应的签约网络信息之前,所述方法还包括:获取目标对象的漫游的目标位置信息;基于所述目标位置信息,确定所述目标MCC。Optionally, before acquiring the contracted network information corresponding to the target communication card based on the target MCC, the method further includes: acquiring roaming target location information of the target object; and determining the target based on the target location information MCC.
本申请实施例还提供了一种搜网装置,所述装置包括搜索模块、获取模块和接入模块,其中,The embodiment of the present application also provides a network search device, the device includes a search module, an acquisition module, and an access module, wherein:
搜索模块,配置为在全频段内搜索网络,确定目标MCC;The search module is configured to search the network in the full frequency band and determine the target MCC;
获取模块,配置为基于所述目标MCC,获取目标通信卡对应的签约网络信息;所述签约网络信息包括与所述目标MCC对应的签约信息;An obtaining module, configured to obtain contracted network information corresponding to a target communication card based on the target MCC; the contracted network information includes contract information corresponding to the target MCC;
所述搜索模块,还配置为基于所述签约网络信息,确定目标PLMN;The search module is further configured to determine a target PLMN based on the contracted network information;
接入模块,配置为根据所述目标PLMN,进行网络接入。The access module is configured to perform network access according to the target PLMN.
可选地,所述搜索模块,还配置为:当预设时间内未搜索到网络的系统消息时,在全频段内搜索网络,确定所述目标MCC。Optionally, the search module is further configured to search the network in the full frequency band when the system message of the network is not searched within a preset time, and determine the target MCC.
可选地,所述签约网络信息中包括以下至少两种:至少一个PLMN、与每个PLMN对应的制式、与每个PLMN对应的频点信息,以及与每个PLMN对应的频段信息。Optionally, the subscription network information includes at least two of the following: at least one PLMN, a standard corresponding to each PLMN, frequency point information corresponding to each PLMN, and frequency band information corresponding to each PLMN.
可选地,所述至少一个PLMN包含有具有顺序排列的多个PLMN;所述搜索模块,还配置为:Optionally, the at least one PLMN includes multiple PLMNs arranged in sequence; the search module is further configured to:
基于所述至少一个PLMN中的第i个PLMN进行搜网,得到第i个信号;其中,i为大于等于1且小于N的正整数,N为至少一个PLMN的总数;The network is searched based on the i-th PLMN in the at least one PLMN to obtain the i-th signal; where i is a positive integer greater than or equal to 1 and less than N, and N is the total number of at least one PLMN;
从所述第i个信号中解析出第i个候选PLMN;Parse out the i-th candidate PLMN from the i-th signal;
当所述第i个候选PLMN与所述第i个PLMN不一致时,继续基于第i+1个PLMN进行搜网,直至搜索出与第i+M个PLMN一致的第i+M个候选PLMN时为止,将所述第i+M个候选PLMN作为所述目标PLMN;其中,M为大于等于1的正整数,i+M为小于N的正整数。When the i-th candidate PLMN is inconsistent with the i-th PLMN, continue to search the network based on the i+1th PLMN until the i+Mth candidate PLMN consistent with the i+Mth PLMN is searched out So far, the i+Mth candidate PLMN is used as the target PLMN; where M is a positive integer greater than or equal to 1, and i+M is a positive integer less than N.
可选地,所述搜索模块,还配置为:Optionally, the search module is further configured as:
所述从所述第i个信号中解析出第i个候选PLMN之后,所述根据所述目标PLMN,进行网络接入之前,当所述第i个候选PLMN与所述第i个PLMN一致时,将所述第i个候选PLMN作为所述目标PLMN。After the i-th candidate PLMN is parsed from the i-th signal, and before the network access is performed according to the target PLMN, when the i-th candidate PLMN is consistent with the i-th PLMN , Use the i-th candidate PLMN as the target PLMN.
可选地,所述搜索模块,还配置为:Optionally, the search module is further configured as:
基于所述至少一个PLMN中的第i个PLMN对应的制式进行搜索,搜索出目标制式;Searching based on the standard corresponding to the i-th PLMN in the at least one PLMN, and searching for the target standard;
从所述第i个PLMN对应的频点信息中,获取与所述目标制式对应的目标频点信息;Obtaining target frequency information corresponding to the target standard from the frequency point information corresponding to the i-th PLMN;
若从所述目标频点信息上进行网络信号的搜索,搜索到网络信号,则将所述网络信号作为所述第i个信号。If a network signal is searched from the target frequency point information, and a network signal is found, the network signal is taken as the i-th signal.
可选地,所述搜索模块,还配置为:Optionally, the search module is further configured as:
所述从所述第i个PLMN对应的频点信息中,获取与所述目标制式对应的目标频点信息之后,若从所述目标频点信息上进行网络信号的搜索,未搜索到网络信号,则所述第i个PLMN对应的频段信息中,获取与所述目标制式对应的目标频段信息;After obtaining the target frequency information corresponding to the target standard from the frequency point information corresponding to the i-th PLMN, if the network signal is searched from the target frequency point information, no network signal is found , In the frequency band information corresponding to the i-th PLMN, obtain target frequency band information corresponding to the target standard;
基于所述目标频段信息进行网络信号的搜索,从而得到候选目标频点信息上搜索的所述第i个信号,其中,所述候选目标频点信息为所述目标频段信息中的频点信息。A network signal search is performed based on the target frequency band information to obtain the i-th signal searched on candidate target frequency information, where the candidate target frequency information is frequency information in the target frequency information.
可选地,所述至少一个PLMN包含有具有顺序排列的多个PLMN;所述 搜索模块,还配置为:Optionally, the at least one PLMN includes multiple PLMNs arranged in sequence; the search module is further configured to:
基于所述至少一个PLMN中的第i个PLMN进行搜网,未得到第i个信号时,继续基于第i+1个PLMN进行搜网,直至搜索出与第i+M个PLMN一致的第i+M个候选PLMN时为止,将所述第i+M个候选PLMN作为所述目标PLMN;其中,i为大于等于1且小于N的正整数,N为至少一个PLMN的总数;M为大于等于1的正整数。Search the network based on the i-th PLMN in the at least one PLMN, and when the i-th signal is not obtained, continue to search the network based on the i+1-th PLMN until the i-th PLMN consistent with the i+M-th PLMN is searched +M candidate PLMNs, use the i+Mth candidate PLMN as the target PLMN; where i is a positive integer greater than or equal to 1 and less than N, N is the total number of at least one PLMN; M is greater than or equal to A positive integer of 1.
可选地,所述获取模块,还配置为:Optionally, the obtaining module is further configured as:
统计目标对象的历史使用网络信息;Count the historical usage network information of the target object;
基于所述历史使用网络信息,确定出与所述目标对象的所述目标通行卡以及所述目标MCC对应的签约网络信息。Based on the historical network usage information, the contracted network information corresponding to the target pass card and the target MCC of the target object is determined.
可选地,所述获取模块,还配置为:Optionally, the obtaining module is further configured as:
接收网络平台推送的不同MCC对应的签约网络信息库;Receive the contracted network information database corresponding to different MCCs pushed by the network platform;
从所述签约网络信息库中,确定出与所述目标MCC和所述目标通信卡对应的所述签约网络信息。From the contracted network information database, the contracted network information corresponding to the target MCC and the target communication card is determined.
可选地,所述获取模块,还配置为:Optionally, the obtaining module is further configured as:
所述基于所述目标MCC,获取目标通信卡对应的签约网络信息之前,获取目标对象的漫游的目标位置信息;Obtaining the roaming target location information of the target object before obtaining the contracted network information corresponding to the target communication card based on the target MCC;
基于所述目标位置信息,确定所述目标MCC。Based on the target location information, the target MCC is determined.
本申请实施例还提供了一种存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现上述任意一种搜网方法。The embodiment of the present application also provides a storage medium on which a computer program is stored, and when the computer program is executed by a processor, any one of the aforementioned methods for searching the Internet is implemented.
本申请实施例提供了一种搜网方法及装置、存储介质,该方法包括:在全频段内搜索网络,确定目标MCC;基于所述目标MCC,获取目标通信卡对应的签约网络信息;所述签约的网络信息包括与所述目标MCC对应的签约信息;基于所述签约网络信息,确定目标PLMN,根据所述目标PLMN,进行网络接入。采用本申请实施例的技术实现方案,一方面,在确定目标MCC的过程中,并没有指定MCC或者PLMN,而是通过全频段内搜索网络,对最先搜索到的PLMN进行解码,得到目标MCC,由于整个搜索过程不需要逐一遍历去进行搜索,只要搜到网路的系统消息,便通过该系统消息确定目标MCC,进而确定终端的漫游目的地,该过程能够加快目标MCC的获取;另一方面,通过获取目标通信卡对应的签约网络信息,并且只对签约网络信息中包括的PLMN进行搜索,能够避免对所有的网络信息下的PLMN进行遍历搜索,进而能够加快PLMN的搜索速度,从而节省了搜网时间。可见,本申请实施例的搜网方法通过加快目标MCC的搜索确定终端的漫游目的地,同时,通过签约网络信息加快PLMN的搜索速度,进而节省了终端漫游时的搜网时间,提升搜网效率。The embodiments of the present application provide a network search method and device, and a storage medium. The method includes: searching for a network in a full frequency band to determine a target MCC; based on the target MCC, acquiring contracted network information corresponding to a target communication card; The contracted network information includes contract information corresponding to the target MCC; based on the contracted network information, a target PLMN is determined, and network access is performed according to the target PLMN. Using the technical implementation scheme of the embodiments of the present application, on the one hand, in the process of determining the target MCC, no MCC or PLMN is specified, but the first searched PLMN is decoded by searching the network in the full frequency band to obtain the target MCC Because the entire search process does not need to be traversed one by one to search, as long as the system message of the network is found, the target MCC is determined through the system message, and then the roaming destination of the terminal is determined. This process can speed up the acquisition of the target MCC; On the one hand, by acquiring the contracted network information corresponding to the target communication card and searching only the PLMN included in the contracted network information, it is possible to avoid traversal search of PLMNs under all network information, thereby speeding up the search of PLMNs, thereby saving Time to search the net. It can be seen that the network search method of the embodiment of the present application determines the roaming destination of the terminal by speeding up the search of the target MCC, and at the same time, speeds up the search speed of the PLMN through the contracted network information, thereby saving the time for searching the network when the terminal is roaming, and improving the efficiency of the network search. .
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,而非限制本申请。It should be understood that the above general description and the following detailed description are only exemplary and explanatory, rather than limiting the application.
附图说明Description of the drawings
此处的附图被并入说明书中并构成本说明书的一部分,这些附图示出了符合本申请的实施例,并与说明书一起用于说明本申请的技术方案。The drawings here are incorporated into the specification and constitute a part of the specification. These drawings show embodiments that conform to the application and are used together with the specification to illustrate the technical solution of the application.
图1为本申请实施例提供的一种搜网方法的流程图;FIG. 1 is a flowchart of a network search method provided by an embodiment of this application;
图2为本申请实施例提供的一种终端在全频段内搜索目标MCC的示意图;FIG. 2 is a schematic diagram of a terminal searching for a target MCC in a full frequency band according to an embodiment of the application;
图3为本申请实施例提供的一种获取签约网络信息的示意图;FIG. 3 is a schematic diagram of acquiring contracted network information according to an embodiment of the application;
图4为本申请实施例提供的一种终端基于签约网络信息进行搜网的示意 图;Fig. 4 is a schematic diagram of a terminal searching for a network based on contracted network information according to an embodiment of the application;
图5为本申请实施例提供的一种获取目标PLMN的流程图;FIG. 5 is a flowchart of acquiring a target PLMN according to an embodiment of the application;
图6为本申请实施例提供的一种终端对第i个PLMN进行搜网得到的第i个信号的流程图;FIG. 6 is a flow chart of the i-th signal obtained by the terminal searching the network of the i-th PLMN according to an embodiment of this application;
图7为本申请实施例的搜网装置的组成结构示意图;FIG. 7 is a schematic diagram of the composition structure of a network search device according to an embodiment of the application;
图8为本申请实施例的电子设备的结构示意图。FIG. 8 is a schematic structural diagram of an electronic device according to an embodiment of the application.
具体实施方式Detailed ways
以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所提供的实施例仅仅用以解释本申请,并不用于限定本申请。另外,以下所提供的实施例是用于实施本申请的部分实施例,而非提供实施本申请的全部实施例,在不冲突的情况下,本申请实施例记载的技术方案可以任意组合的方式实施。The application will be further described in detail below in conjunction with the drawings and embodiments. It should be understood that the embodiments provided here are only used to explain the application, and are not used to limit the application. In addition, the embodiments provided below are part of the embodiments for implementing the application, rather than providing all the embodiments for implementing the application. In the case of no conflict, the technical solutions described in the embodiments of the application can be combined in any manner. Implement.
需要说明的是,在本申请实施例中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的方法或者装置不仅包括所明确记载的要素,而且还包括没有明确列出的其他要素,或者是还包括为实施方法或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个......”限定的要素,并不排除在包括该要素的方法或者装置中还存在另外的相关要素(例如方法中的步骤或者装置中的单元,例如的单元可以是部分电路、部分处理器、部分程序或软件等等)。It should be noted that in the embodiments of the present application, the terms "including", "including" or any other variants thereof are intended to cover non-exclusive inclusion, so that a method or device including a series of elements not only includes what is clearly stated Elements, but also include other elements not explicitly listed, or elements inherent to the implementation of the method or device. Without more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other related elements (such as steps or steps in the method) in the method or device that includes the element. The unit in the device, for example, the unit may be a part of a circuit, a part of a processor, a part of a program or software, etc.).
本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中术语“至少一种”表示多种中的任意一种或多种中的至少两种的任意组合,例如,包括A、B、C中的至少一种,可以表示包括从A、B和C构成的集合中选择的任意一个或多个元素。The term "and/or" in this article is only an association relationship describing the associated objects, which means that there can be three relationships, for example, A and/or B, which can mean: A alone exists, A and B exist at the same time, exist alone B these three situations. In addition, the term "at least one" in this document means any one of a plurality of or any combination of at least two of the plurality, for example, including at least one of A, B, and C, may mean including A, Any one or more elements selected in the set formed by B and C.
例如,本申请实施例提供的数据处理方法包含了一系列的步骤,但是本申请实施例提供的数据处理方法不限于所记载的步骤,同样地,本申请实施例提供的数据处理装置包括了一系列模块,但是本申请实施例提供的数据处理装置不限于包括所明确记载的模块,还可以包括为获取相关时序数据、或基于时序数据进行处理时所需要设置的模块。For example, the data processing method provided in the embodiment of the application includes a series of steps, but the data processing method provided in the embodiment of the application is not limited to the recorded steps. Similarly, the data processing device provided in the embodiment of the application includes a series of steps. A series of modules, but the data processing device provided in the embodiments of the present application is not limited to include the explicitly recorded modules, and may also include modules that need to be set to obtain related time series data or perform processing based on time series data.
本申请实施例可以应用于终端设备和服务器组成的计算机系统中,并可以与众多其它通用或专用计算系统环境或配置一起操作。这里,终端设备可以是瘦客户机、厚客户机、手持或膝上设备、基于微处理器的系统、机顶盒、可编程消费电子产品、网络个人电脑、小型计算机系统,等等,服务器可以是服务器计算机系统小型计算机系统﹑大型计算机系统和包括上述任何系统的分布式云计算技术环境,等等。The embodiments of the present application can be applied to a computer system composed of a terminal device and a server, and can be operated with many other general-purpose or special-purpose computing system environments or configurations. Here, the terminal device can be a thin client, a thick client, a handheld or laptop device, a microprocessor-based system, a set-top box, a programmable consumer electronic product, a network personal computer, a small computer system, etc. The server can be a server Computer system Small computer system, large computer system and distributed cloud computing technology environment including any of the above systems, etc.
终端设备、服务器等电子设备可以在由计算机系统执行的计算机系统可执行指令(诸如程序模块)的一般语境下描述。通常,程序模块可以包括例程、程序、目标程序、组件、逻辑、数据结构等等,它们执行特定的任务或者实现特定的抽象数据类型。计算机系统/服务器可以在分布式云计算环境中实施,分布式云计算环境中,任务是由通过通信网络链接的远程处理设备执行的。在分布式云计算环境中,程序模块可以位于包括存储设备的本地或远程计算系统存储介质上。Electronic devices such as terminal devices and servers can be described in the general context of computer system executable instructions (such as program modules) executed by a computer system. Generally, program modules may include routines, programs, object programs, components, logic, data structures, etc., which perform specific tasks or implement specific abstract data types. The computer system/server can be implemented in a distributed cloud computing environment. In the distributed cloud computing environment, tasks are executed by remote processing equipment linked through a communication network. In a distributed cloud computing environment, program modules may be located on a storage medium of a local or remote computing system including a storage device.
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行 清楚、完整地描述。The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.
本申请的实施例提供一种搜网方法,图1是本申请实施例中的一种搜网方法的流程图,如图1所示,该方法包括如下步骤:The embodiment of the present application provides a network search method. FIG. 1 is a flowchart of a network search method in an embodiment of the present application. As shown in FIG. 1, the method includes the following steps:
S101、在全频段内搜索网络,确定目标MCC。S101. Search the network in the full frequency band to determine the target MCC.
终端在进入别的漫游国家时,需要在漫游目的地进行搜网和入网后才可以进行通信。本申请实施例中提供了一种搜网方法,为终端进入漫游国家时提供搜网实现方法。When the terminal enters other roaming countries, it needs to search and access the network at the roaming destination before it can communicate. An embodiment of the application provides a network search method, which provides a network search implementation method when a terminal enters a roaming country.
在本申请实施例中,终端在到达一些漫游国家或者漫游目的地时,会先从历史MCC和PLMN中进行搜网,如果终端能够在历史MCC和PLMN中搜索到网络,则通过搜索到的网络确定目标MCC。In the embodiment of this application, when the terminal arrives in some roaming countries or roaming destinations, it will first search the network from the historical MCC and PLMN. If the terminal can search for the network in the historical MCC and PLMN, it will use the searched network Determine the target MCC.
本申请实施例中,当预设时间内未搜索到网络的系统消息时,在全频段内搜索网络,搜索到目标MCC。In the embodiment of the present application, when the system message of the network is not searched within a preset time, the network is searched in the entire frequency band, and the target MCC is searched.
这里,事先可以设定一个预设时间,如果终端在预设时间内没有搜索到关于任何网络的系统消息时,终端便无法确认当前所在的漫游目的地,此时,终端停止了当前的在历史MCC和PLMN的搜网,而是开始在全频段内搜索网络,将最先搜索到的MCC,当作目标MCC。相反地,如果终端在预设时间内搜索到网络的系统消息时,对该网络的系统消息进行解码得到目标MCC,进而通过目标MCC确认当前所在的漫游目的地。Here, a preset time can be set in advance. If the terminal does not search for system messages about any network within the preset time, the terminal cannot confirm the current roaming destination. At this time, the terminal stops the current history. MCC and PLMN search the network, but start to search the network in the whole frequency band, and regard the first searched MCC as the target MCC. Conversely, if the terminal finds the system message of the network within the preset time, it decodes the system message of the network to obtain the target MCC, and then confirms the current roaming destination through the target MCC.
其中,预设时间可以为1分钟。预设时间可以是基于实际搜网情况设置的,本申请实施例不作限制。Among them, the preset time can be 1 minute. The preset time may be set based on actual network search conditions, which is not limited in the embodiment of the present application.
MCC是国家码移动国家代码(Mobile Country Code,MCC),示例性的,通过MCC可以区别出每个用户当前入境的国家,其中,MCC的资源由国际电信联盟(International Telecommunication Union,ITU)统一分配和管理,唯一识别移动用户所属的国家,共3位,例如,中国为460,新加坡为525。MCC is the mobile country code (Mobile Country Code, MCC). Illustratively, the country where each user currently enters can be distinguished through MCC. Among them, the resources of MCC are uniformly allocated by the International Telecommunication Union (ITU) And management, which uniquely identifies the country to which the mobile user belongs, with a total of 3 digits, for example, 460 for China and 525 for Singapore.
需要说明的是,终端可以为智能手机、平板电脑等具有通信功能的移动电子设备,本申请实施例不作限制。It should be noted that the terminal may be a mobile electronic device with a communication function, such as a smart phone or a tablet computer, which is not limited in the embodiment of the present application.
本申请实施例中,终端在全频段内搜索网络,搜索到目标MCC的过程中,不需要指定MCC或者PLMN去进行搜索,只要能够在最短时间搜到系统消息,从系统消息中得到唯一确定的MCC作为目标MCC,从而基于目标MCC确定漫游目的地(即漫游国家)。In the embodiment of this application, the terminal searches the network in the full frequency band, and in the process of searching for the target MCC, there is no need to specify the MCC or PLMN to search, as long as the system message can be searched in the shortest time, and the uniquely determined system message can be obtained from the system message. The MCC serves as the target MCC, so that the roaming destination (ie, the roaming country) is determined based on the target MCC.
可以理解的是,终端在预设时间内未搜网成功,即转为在全频段搜网,及时停止了无用的搜网流程,在全频段搜索到的最快的MCC为目标MCC,使得搜网的范围扩大,搜网的成功率和速度可以提高,且最快搜到的MCC作为目标MCC,有效的节省了搜网时间。It is understandable that if the terminal does not search the network successfully within the preset time, it will switch to the network search in the full frequency band. The useless search process is stopped in time, and the fastest MCC searched in the whole frequency band is the target MCC. The scope of the network is expanded, the success rate and speed of searching the network can be improved, and the fastest searched MCC is used as the target MCC, which effectively saves the time of searching the network.
示例性的,如图2所示的终端在全频段内搜索目标MCC的示意图。终端可以包括非接入层搜网模块和接入层搜网模块,其中,非接入层搜网模块上存储有终端之前搜索或者接入过的历史MCC,终端先通过非接入层搜网模块进行历史MCC的搜索,在预设时间未搜索到历史MCC时,转为告知下层进行全频段搜网,即接入层搜网模块在全频段内搜索快速进行MCC的搜索,即发现新的MCC(目标MCC),而全频段搜网加快了MCC的更新,完成目标MCC的搜索解码后,即可停止全频段搜网过程。Exemplarily, as shown in FIG. 2, a schematic diagram of a terminal searching for a target MCC in a full frequency band is shown. The terminal may include a non-access layer network search module and an access layer network search module. The non-access layer network search module stores historical MCCs previously searched or accessed by the terminal, and the terminal first searches the network through the non-access layer The module searches for historical MCC, and when the historical MCC is not searched for the preset time, it turns to inform the lower layer to search the network in the full frequency band, that is, the network search module of the access layer searches in the whole frequency band to quickly search for the MCC, that is, a new one is found MCC (target MCC), and the full frequency search network speeds up the update of the MCC. After the search and decoding of the target MCC is completed, the full frequency search network process can be stopped.
在本申请的一些实施例中,由于终端所在的漫游国家需要通过目标MCC进行确定,在终端进行全频段内搜索网络,搜索到目标MCC的过程中,可以对最先搜索到的PLMN进行解码,得到目标MCC;全频段扫描进行搜网的过 程更加跳跃和灵活,终端不需要逐一进行全频段扫描,也不需要执行精细化扫描,而是以在所有支持频段内优先搜到小区解码的系统消息为准;也就是说,终端在进行全频段内搜索网络时,如果搜到系统消息,可以通过该系统消息直接确定目标MCC,进而确定终端的漫游目的地,该过程能够加快目标MCC的获取。In some embodiments of the present application, since the roaming country where the terminal is located needs to be determined by the target MCC, the terminal searches the network in the full frequency band, and in the process of searching for the target MCC, the first searched PLMN can be decoded. Obtain the target MCC; the full-band scanning process is more hopping and flexible, and the terminal does not need to scan the full-band one by one, nor does it need to perform refined scanning, but preferentially search for system messages decoded by the cell in all supported frequency bands That is to say, when the terminal searches the network in the full frequency band, if it finds a system message, it can directly determine the target MCC through the system message, and then determine the roaming destination of the terminal. This process can speed up the acquisition of the target MCC.
在本申请的一些实施例中,终端基于目标MCC,获取目标通信卡对应的签约网络信息之前,获取目标对象的漫游的目标位置信息;终端基于目标位置信息,确定目标MCC。In some embodiments of the present application, based on the target MCC, the terminal acquires the roaming target location information of the target object before acquiring the contracted network information corresponding to the target communication card; the terminal determines the target MCC based on the target location information.
其中,目标位置信息可以是经纬度坐标信息描述,也可以是通过经纬度坐标信息确定的国家或地区描述。Wherein, the target location information may be a description of longitude and latitude coordinate information, or a description of a country or region determined by the longitude and latitude coordinate information.
本申请的一些实施例中,终端获取目标对象的漫游的目标位置信息可以通过以下方式:终端可以通过专用的位置信息进行卫星定位,例如GPS和北斗定位系统得到终端对应的目标位置信息;终端还可以通过自身的电子行程单、网络订单以及通过海关所处地点时的信息记录得到终端对应的目标位置信息。In some embodiments of the present application, the terminal can obtain the roaming target location information of the target object in the following manner: the terminal can perform satellite positioning through dedicated location information, such as GPS and Beidou positioning system to obtain the target location information corresponding to the terminal; The target location information corresponding to the terminal can be obtained through its own electronic itinerary, network order, and information records when passing through the customs location.
示例性的,终端基于目标位置信息,确定目标MCC的实现方法包括:终端通过上述方式确定目标位置信息后,终端根据漫游的目标位置信息直接确定漫游国家,进而确定漫游国家对应的MCC(即目标MCC)。Exemplarily, the method for the terminal to determine the target MCC based on the target location information includes: after the terminal determines the target location information in the above manner, the terminal directly determines the roaming country according to the roaming target location information, and then determines the MCC corresponding to the roaming country (that is, the target MCC).
在本申请的一些实施例中,终端基于目标位置信息,确定目标MCC的实现方法还包括:终端可以优先搜索上一次注册过的网络信息,如果注册过的网络信息是终端当前所在漫游国家的网络信息,则直接通过该网络信息可以确定漫游国家对应的MCC,能够显著缩短终端确定目标MCC的时间。In some embodiments of the present application, the method for the terminal to determine the target MCC based on the target location information further includes: the terminal can preferentially search for the network information registered last time, if the registered network information is the network of the country where the terminal is currently roaming Information, the MCC corresponding to the roaming country can be determined directly through the network information, which can significantly shorten the time for the terminal to determine the target MCC.
S102、基于目标MCC,获取目标通信卡对应的签约网络信息;签约网络信息包括与目标MCC对应的签约信息。S102. Obtain contracted network information corresponding to the target communication card based on the target MCC; the contracted network information includes contract information corresponding to the target MCC.
本申请实施例中,终端根据目标MCC确定终端漫游目的地的国家信息,进而获得目标通信卡在该国家下的签约网络信息,这样就可以通过该签约网络信息寻找目标MCC对应的签约信息。其中,签约信息中包括已签约国际漫游的国家的签约数据。In the embodiment of the present application, the terminal determines the country information of the terminal roaming destination according to the target MCC, and then obtains the contracted network information of the target communication card in the country, so that the contracted information corresponding to the target MCC can be found through the contracted network information. Among them, the contract information includes contract data of countries that have contracted for international roaming.
示例性的,目标通信卡为终端上的通信卡,是目标对象采用终端进行通信的媒介;其中,一张目标通信卡能够唯一标识一个目标对象,同一张目标通信卡可以在不同的终端上使用,一个终端可以包含至少一个目标通信卡,并且,终端只有插入目标通信卡后,目标对象才能使用终端进行搜网。Exemplarily, the target communication card is the communication card on the terminal, which is the medium through which the target object uses the terminal to communicate; among them, a target communication card can uniquely identify a target object, and the same target communication card can be used on different terminals A terminal can contain at least one target communication card, and only after the terminal is inserted into the target communication card, the target object can use the terminal to search the network.
在本申请的一些实施例中,通过读取目标通信卡对应的运营商信息和支持的网络制式,能够判定当前终端是否处于国际漫游状态,如果是,终端根据目标MCC确定终端漫游国家信息,终端根据当前所处漫游国家,获取目标通信卡对应的签约网络信息。In some embodiments of the application, by reading the operator information corresponding to the target communication card and the supported network standard, it can be determined whether the current terminal is in an international roaming state. If so, the terminal determines the terminal roaming country information according to the target MCC. According to the current roaming country, obtain the contracted network information corresponding to the target communication card.
示例性的,目标通信卡可以是通信GSM系统(Global System for Mobile Communications,GSM)支持的SIM卡(Subscriber Identity Modula,SIM)或者CDMA系统(Code Division Multiplexing Access,CDMA)支持的UIM卡(User Identity Modula,UIM),也可以进行移动通信的其他识别卡,本申请实施例不作限制。Exemplarily, the target communication card may be a SIM card (Subscriber Identity Modula, SIM) supported by the Global System for Mobile Communications (GSM) or a UIM card (User Identity) supported by the CDMA system (Code Division Multiple Access, CDMA). Modula, UIM), and other identification cards for mobile communication, which are not limited in the embodiment of this application.
本申请实施例中,签约网络信息库指的是国际漫游签约数据库中的网络信息库,可以为:每一个运营商所维护的一张通信网络在其它国家已经完成漫游协议签约的网络信息表格的数据库,其中,每一类目标通信卡对应与其 类型相同的签约网络信息。In the embodiments of this application, the contracted network information database refers to the network information database in the international roaming contract database, which can be: a network information form maintained by each operator for a communication network that has completed roaming agreement contracts in other countries Database, where each type of target communication card corresponds to the same type of contracted network information.
可以理解的是,签约网络信息库中包括多个运营商对应的已签约的签约网络信息,终端需要从中找到跟目标通信卡的运营商一致的签约网络信息。例如,终端目标通信卡对应的运营商为中国移动时,此时的签约网络信息包括与中国移动签约的多个国家可进行漫游的网络信息,即,终端获取漫游国家与发行目标通信卡的运营商的签约网络信息,然后按照目标通信卡所支持的网络制式优先级及目标通信卡在该国家下的签约网络信息进行自动搜网,以达到搜网目的。It is understandable that the contracted network information database includes contracted contracted network information corresponding to multiple operators, and the terminal needs to find the contracted network information consistent with the operator of the target communication card. For example, when the operator corresponding to the target communication card of the terminal is China Mobile, the contracted network information at this time includes the roaming network information of multiple countries contracted with China Mobile, that is, the terminal obtains the operation of the roaming country and issuance of the target communication card The contracted network information of the supplier is then automatically searched according to the network standard priority supported by the target communication card and the contracted network information of the target communication card in the country to achieve the purpose of searching the network.
在本申请实施例中,与目标通信卡对应的签约网络信息中包括以下至少两种:至少一个PLMN、与每个PLMN对应的制式、与每个PLMN对应的频点信息,以及与每个PLMN对应的频段信息。In the embodiment of the present application, the contracted network information corresponding to the target communication card includes at least two of the following: at least one PLMN, the standard corresponding to each PLMN, the frequency information corresponding to each PLMN, and Corresponding frequency band information.
本申请实施例中,签约网络信息中每个PLMN对应不同的制式信息、频段信息以及频点信息,本申请实施例不作限制。In the embodiment of this application, each PLMN in the contracted network information corresponds to different standard information, frequency band information, and frequency point information, which is not limited by the embodiment of this application.
在一个示例性的应用场景中,当确定终端漫游目的地后,终端获取目标通信卡对应的签约网络信息,在签约网络信息中查找PLMN列表,其中,PLMN是至少一个PLMN排序后的列表,终端可以针对PLMN列表中网络覆盖范围最高的PLMN进行制式信息的搜索,这里,网络覆盖范围是对网络所覆盖地理位置范围的描述,其中,制式信息的搜索是按照优先级从高到低的顺序查找的。制式信息包括但是不限于第五代移动通信技术(5th-Generation,5G)、第四代移动通信技术(4th-Generation,4G)、第三代移动通信技术(3rd-Generation,3G)、第二代移动通信技术(2nd-Generation,2G)等网络制式。其中,制式信息的优先级从高到低依次为:5G、4G、3G、2G,制式信息的优先级越高,对应的网络信息越优;如果存在第六代移动通信技术(6th-Generation,6G)的制式信息,则6G对应的优先级最高,以此类推,本申请实施例不作限制。In an exemplary application scenario, after determining the roaming destination of the terminal, the terminal obtains the contracted network information corresponding to the target communication card, and searches for the PLMN list in the contracted network information, where PLMN is a sorted list of at least one PLMN, and the terminal The system information can be searched for the PLMN with the highest network coverage in the PLMN list. Here, the network coverage is the description of the geographic location covered by the network. The search for the system information is in the order of priority from high to low. of. Standard information includes, but is not limited to, the fifth-generation mobile communication technology (5th-Generation, 5G), the fourth-generation mobile communication technology (4th-Generation, 4G), the third-generation mobile communication technology (3rd-Generation, 3G), and the second Generation mobile communication technology (2nd-Generation, 2G) and other network standards. Among them, the priority of the standard information from high to low is: 5G, 4G, 3G, 2G, the higher the priority of the standard information, the better the corresponding network information; if there is a sixth-generation mobile communication technology (6th-Generation, 6G) standard information, the priority corresponding to 6G is the highest, and so on, the embodiment of this application does not limit it.
在本申请的一些实施例中,终端首先查找PLMN对应的优先级最高的制式信息,当找到制式信息后,开始对PLMN下的频点信息和频段信息进行扫描。In some embodiments of the present application, the terminal first searches for the standard information corresponding to the PLMN with the highest priority, and after finding the standard information, starts to scan the frequency point information and frequency band information under the PLMN.
示例性的,签约网络信息中包括一个PLMN列表,其中,PLMN列表顺序是按照网络覆盖范围的大小进行排列的,即,网络覆盖范围越大,排名越靠前。Exemplarily, the contracted network information includes a PLMN list, where the order of the PLMN list is arranged according to the size of the network coverage, that is, the larger the network coverage, the higher the ranking.
本申请实施例中,PLMN由MCC和移动网络号码MNC(Mobile Network Code,MNC)组成,其中,MCC一旦设定之后是不允许更改的,MNC一般由归家的有关电信管理部门统一分配,同一个运营商可以拥有一个或多个MNC,但不同的运营商不可以分享相同的MNC,因此,在同一个国家内,如果有多个移动网络运营商,可以通过MNC来进行区别。In the embodiment of this application, the PLMN is composed of MCC and mobile network code MNC (Mobile Network Code, MNC). Once the MCC is set, it is not allowed to be changed. The MNC is generally assigned uniformly by the relevant telecommunications management department returning home. An operator can have one or more MNCs, but different operators cannot share the same MNC. Therefore, if there are multiple mobile network operators in the same country, they can be distinguished by MNC.
在本申请的一些实施例中,终端基于目标MCC,获取目标通信卡对应的签约网络信息的实现可以为:统计目标对象的历史使用网络信息;终端基于历史使用网络信息,确定出与目标对象的目标通行卡以及目标MCC对应的签约网络信息。In some embodiments of the present application, based on the target MCC, the terminal obtains the contracted network information corresponding to the target communication card can be achieved by: statistic the historical network information of the target object; the terminal determines the network information related to the target object based on the historical network information. The target pass card and the contracted network information corresponding to the target MCC.
示例性的,在目标MCC已经确定的情况下,终端当前的漫游目的地是已知的,如果将终端之前在注册过的历史网络信息进行统计,能够得到目标通信卡在该漫游目的地对应的签约网络信息,当终端在漫游目的地进行搜网时,直接从注册过的历史网络信息查找对应的签约网络信息,通过该签约网络信 息进行搜网。Exemplarily, when the target MCC has been determined, the current roaming destination of the terminal is known. If the historical network information that the terminal has registered before is counted, the target communication card corresponding to the roaming destination can be obtained. The contracted network information, when the terminal searches the network at the roaming destination, it directly searches for the corresponding contracted network information from the registered historical network information, and searches the network through the contracted network information.
需要说明的是,由于终端通过上述方式得到的签约网络信息是终端注册过的历史网络信息,终端不需要从包括多个运营商的签约网络信息库中逐一查找跟目标通信卡的运营商一致的签约网络信息,因而能够实现快速搜网。It should be noted that, since the contracted network information obtained by the terminal through the above method is historical network information registered by the terminal, the terminal does not need to search one by one from the contracted network information database that includes multiple operators that is consistent with the operator of the target communication card. Sign up for network information, so you can quickly search the network.
在本申请的一些实施例中,终端基于目标MCC,获取目标通信卡对应的签约网络信息的实现还可以为:终端接收网络平台推送的不同MCC对应的签约网络信息库;从签约网络信息库中,确定出与目标MCC和目标通信卡对应的签约网络信息。In some embodiments of the present application, based on the target MCC, the terminal obtains the contracted network information corresponding to the target communication card can also be achieved by: the terminal receives the contracted network information database corresponding to different MCCs pushed by the network platform; from the contracted network information database , Determine the contracted network information corresponding to the target MCC and the target communication card.
示例性的,接收网络平台能够按照用户需要向终端定期推送不同MCC对应的签约网络信息库,当用户进行漫游搜网时,通过在签约网络信息库中查找当前漫游目的地对应的签约网络信息。Exemplarily, the receiving network platform can periodically push the contracted network information database corresponding to different MCCs to the terminal according to the user's needs. When the user performs a roaming search, it searches the contracted network information database for the contracted network information corresponding to the current roaming destination.
示例性的,如图3所示,为获取签约网络信息的示意图,可以通过网络平台向用户终端定期或者按照用户需求推送相应的签约网络信息,也可以是用户终端根据历史使用网络信息确定对应的签约网络信息,当得到签约网络信息后,通过签约网络信息确定对应的PLMN、制式、频点以及频段信息。Exemplarily, as shown in Figure 3, to obtain a schematic diagram of contracted network information, the corresponding contracted network information can be pushed to the user terminal regularly or according to user needs through the network platform, or the user terminal can determine the corresponding contracted network information based on historical use of network information. The contracted network information, when the contracted network information is obtained, the corresponding PLMN, standard, frequency, and frequency band information are determined through the contracted network information.
这里,网络平台可以是运营商,也可以是其他信息发送平台,本申请实施例不作限制。Here, the network platform may be an operator or another information sending platform, which is not limited in the embodiment of the present application.
本申请实施例中,基于目标MCC获取目标通信卡对应的签约网络信息;一旦确定目标通信卡对应的签约网络信息后,只对签约网络信息中包括的PLMN列表进行搜索,能够避免对所有的通信网络的网络信息下的PLMN进行遍历搜索,从而能够加快PLMN的搜索速度。In the embodiment of this application, the contracted network information corresponding to the target communication card is obtained based on the target MCC; once the contracted network information corresponding to the target communication card is determined, only the PLMN list included in the contracted network information is searched, which can avoid all communications The PLMN under the network information of the network performs a traversal search, which can speed up the search speed of the PLMN.
S103、基于签约网络信息,确定目标PLMN。S103: Determine the target PLMN based on the contracted network information.
S104、根据目标PLMN,进行网络接入。S104: Perform network access according to the target PLMN.
本申请实施例中,终端获取到对应的签约网络信息后,从签约网络信息中所包括的PLMN列表中查找目标PLMN,进行网络接入。In the embodiment of the present application, after obtaining the corresponding contracted network information, the terminal searches for the target PLMN from the PLMN list included in the contracted network information, and performs network access.
示例性的,当终端确定漫游目的地的MCC后,对签约网络信息中的PLMN进行搜索,当搜索到目标PLMN,再根据目标PLMN搜索对应的制式信息、然后获取与制式信息对应的频点信息;如果未获取到对应的频点信息,则获取与制式信息对应的频段信息。Exemplarily, after the terminal determines the MCC of the roaming destination, it searches for the PLMN in the contracted network information. When the target PLMN is found, it searches for the corresponding standard information according to the target PLMN, and then obtains the frequency point information corresponding to the standard information ; If the corresponding frequency point information is not obtained, obtain the frequency band information corresponding to the standard information.
在本申请的一些实施例中,终端在获取与制式信息对应的频段信息及频点信息时,如果在扫描过程中发现具有一定能量的频点信息,说明该频点很可能是终端能够实现网络接入的频点,就对该频点信息进行解码,得到频点信息下的网络信息,终端在网络信息上进行注册和网络接入。In some embodiments of this application, when the terminal obtains the frequency band information and frequency point information corresponding to the standard information, if the frequency point information with a certain energy is found during the scanning process, it means that the frequency point is probably the terminal that can realize the network. For the accessed frequency point, the frequency point information is decoded to obtain the network information under the frequency point information, and the terminal performs registration and network access on the network information.
示例性的,如图4所示的终端基于签约网络信息进行搜网的示意图。终端可以包括非接入层搜网模块和接入层搜网模块,其中,非接入层搜网模块确定新的MCC后,即目标MCC,非接入层搜网模块请求下层根据签约网络信息进行搜网,即接入层搜网模块进行目标PLMN搜索,之后,将目标PLMN的搜索结果返回给非接入层搜网模块,非接入层搜网模块依据返回的目标PLMN,进行网络接入,即可完成终端搜网过程。Exemplarily, as shown in FIG. 4, a schematic diagram of a terminal searching the network based on the contracted network information. The terminal may include a non-access layer network search module and an access layer network search module. After the non-access layer network search module determines a new MCC, that is, the target MCC, the non-access layer network search module requests the lower layer according to the contracted network information Perform network search, that is, the access layer network search module searches for the target PLMN, and then returns the search result of the target PLMN to the non-access layer network search module. The non-access layer network search module performs network access based on the returned target PLMN. Enter, you can complete the terminal search process.
本申请实施例提供的一种搜网方法,在全频段内搜索网络,确定目标MCC;基于目标MCC,获取目标通信卡对应的签约网络信息;签约的网络信息包括与目标MCC对应的签约信息;基于签约网络信息,确定目标PLMN,根据目标PLMN,进行网络接入。采用本申请实施例的技术实现方案,一方面,在确定目标MCC的过程中,并没有指定MCC或者PLMN,而是通过全频段内 搜索网络,对最先搜索到的PLMN进行解码,得到目标MCC,由于整个搜索过程不需要逐一遍历去进行搜索,只要搜到网路的系统消息,便通过该系统消息确定目标MCC,进而确定终端的漫游目的地,该过程能够加快目标MCC的获取;另一方面,通过获取目标通信卡对应的签约网络信息,并且只对签约网络信息中包括的PLMN进行搜索,能够避免对所有的网络信息下的PLMN进行遍历搜索,进而能够加快PLMN的搜索。可见,本申请实施例的搜网方法通过加快目标MCC的搜索确定终端的漫游目的地,同时,通过签约网络信息加快PLMN的搜索速度,进而节省了终端漫游时的搜网时间,提升搜网效率。The network search method provided by the embodiment of the present application searches the network in the full frequency band to determine the target MCC; based on the target MCC, obtains the contracted network information corresponding to the target communication card; the contracted network information includes the contract information corresponding to the target MCC; Based on the contracted network information, the target PLMN is determined, and network access is performed according to the target PLMN. Using the technical implementation scheme of the embodiments of the present application, on the one hand, in the process of determining the target MCC, no MCC or PLMN is specified, but the first searched PLMN is decoded by searching the network in the full frequency band to obtain the target MCC Because the entire search process does not need to be traversed one by one to search, as long as the system message of the network is found, the target MCC is determined through the system message, and then the roaming destination of the terminal is determined. This process can speed up the acquisition of the target MCC; On the one hand, by acquiring the contracted network information corresponding to the target communication card and searching only the PLMN included in the contracted network information, it is possible to avoid traversal search of PLMNs under all network information, thereby speeding up the PLMN search. It can be seen that the network search method of the embodiment of the present application determines the roaming destination of the terminal by speeding up the search of the target MCC, and at the same time, speeds up the search speed of the PLMN through the contracted network information, thereby saving the time for searching the network when the terminal is roaming, and improving the efficiency of the network search. .
在本申请的一些实施例中,如图5所示,为获取目标PLMN的流程示意图,至少一个PLMN包含有具有顺序排列的多个PLMN时,S103的实现包括:S1031-S1034,如下:In some embodiments of the present application, as shown in FIG. 5, which is a schematic diagram of a process for acquiring a target PLMN, when at least one PLMN includes multiple PLMNs arranged in sequence, the implementation of S103 includes: S1031-S1034, as follows:
S1031、基于至少一个PLMN中的第i个PLMN进行搜网,得到第i个信号;其中,i为大于等于1且小于N的正整数,N为至少一个PLMN的总数。S1031. Perform network search based on the i-th PLMN in at least one PLMN to obtain the i-th signal; where i is a positive integer greater than or equal to 1 and less than N, and N is the total number of at least one PLMN.
本申请实施例中,签约网络信息中包括的是一个PLMN列表,并且PLMN列表包括至少一个PLMN,即N个PLMN,其中,PLMN列表所包含的多个PLMN的排列顺序是确定的,多个PLMN是按照网络覆盖范围的大小进行排列的,具有顺序性,即,PLMN列表中包括的所有PLMN中,哪个PLMN的网络覆盖范围越大,其排名越靠前。In this embodiment of the application, the subscription network information includes a PLMN list, and the PLMN list includes at least one PLMN, that is, N PLMNs, where the sequence of the multiple PLMNs included in the PLMN list is determined, and the multiple PLMNs It is arranged according to the size of the network coverage area, and is sequential, that is, among all the PLMNs included in the PLMN list, which PLMN has the larger the network coverage area, the higher the ranking.
在本申请实施例中,终端按照排列顺序,即网络覆盖范围由高到低的顺序对PLMN进行搜网,即终端对第i个PLMN进行搜网,其中,i的取值从1开始,当i=1时,说明该PLMN的网络覆盖范围最大,优先对该PLMN进行搜网,得到第i个信号,这里的信号指的是PLMN支持的制式下的频点上的信号。其中,i为大于等于1且小于N的正整数,N为正整数。In the embodiment of this application, the terminal searches for the PLMN in the order of arrangement, that is, the network coverage from high to low, that is, the terminal searches for the i-th PLMN, where the value of i starts from 1, when When i=1, it indicates that the network coverage of the PLMN is the largest, and the PLMN is searched first to obtain the i-th signal. The signal here refers to the signal on the frequency under the standard supported by the PLMN. Among them, i is a positive integer greater than or equal to 1 and less than N, and N is a positive integer.
需要说明的是,在本申请实施例中,终端在对第i个PLMN进行搜网的时候,是先搜索该第i个PLMN下的制式,再搜索制式对应的频点或者频段信息的,然后基于该频点或者频段信息搜索信号的。It should be noted that, in the embodiment of this application, when the terminal searches the network for the i-th PLMN, it first searches for the standard under the i-th PLMN, and then searches for the frequency point or frequency band information corresponding to the standard, and then Search for signals based on the frequency or frequency band information.
在本申请的一些实施例中,终端也有得不到第i个信号,即搜不到信号的情况,这时,若第i个PLMN的所有制式都搜不到信号时,则开始对第i+1个PLMN进行搜网处理。In some embodiments of the present application, the terminal may not get the i-th signal, that is, the signal cannot be searched. At this time, if all the modes of the i-th PLMN cannot find the signal, it will start to check the i-th signal. +1 PLMN for network search processing.
S1032、从第i个信号中解析出第i个候选PLMN。S1032, parse out the i-th candidate PLMN from the i-th signal.
本申请实施例中,终端得到第i个信号之后,从第i个信号中解析出第i个候选PLMN的实现可以为:终端对搜网得到的第i个信号进行解码,得到网络信息-PLMN的号段或标号,将经过解码得到的PLMN作为第i个候选PLMN。In the embodiment of this application, after the terminal obtains the i-th signal, the realization of analyzing the i-th candidate PLMN from the i-th signal may be: the terminal decodes the i-th signal obtained by searching the network to obtain network information-PLMN The number segment or label of, and the decoded PLMN is used as the i-th candidate PLMN.
需要说明的是,终端若搜网得到第i个信号,那么第i个信号中携带有PLMN号段,以及频点信息等信息。It should be noted that if the terminal obtains the i-th signal by searching the network, the i-th signal carries information such as the PLMN number segment and frequency point information.
S1033、当第i个候选PLMN与第i个PLMN不一致时,继续基于第i+1个PLMN进行搜网,直至搜索出与第i+M个PLMN一致的第i+M个候选PLMN时为止,将第i+M个候选PLMN作为目标PLMN;其中,M为大于等于1的正整数,i+M为小于N的正整数。S1033. When the i-th candidate PLMN is inconsistent with the i-th PLMN, continue to search the network based on the i+1th PLMN until the i+Mth candidate PLMN consistent with the i+Mth PLMN is searched out, Take the i+Mth candidate PLMN as the target PLMN; where M is a positive integer greater than or equal to 1, and i+M is a positive integer less than N.
本申请实施例中,终端解析出第i个候选PLMN之后,将从第i个信号中解析得到的第i个候选PLMN与第i个PLMN进行比较,来实现看是否搜索到的信号正确。如果,第i个候选PLMN与第i个PLMN不一致,那么说明 第i个候选PLMN不是所需要的PLMN,在第i个PLMN下搜出了其他PLMN的信号,表征第i个信号不是想要搜索的信号,即,无法在第i个候选PLMN中实现搜网。In the embodiment of the present application, after the terminal parses the i-th candidate PLMN, it compares the i-th candidate PLMN obtained by analyzing the i-th signal with the i-th PLMN to see whether the searched signal is correct. If the i-th candidate PLMN is inconsistent with the i-th PLMN, it means that the i-th candidate PLMN is not the required PLMN, and other PLMN signals are found under the i-th PLMN, indicating that the i-th signal is not intended to be searched That is, it is impossible to search the network in the i-th candidate PLMN.
在本申请的一些实施例中,终端在第i个PLMN未搜到网时,需要继续从PLMN列表中找网络覆盖范围仅低于第i个PLMN的第i+1个PLMN进行搜网,终端首先搜索第i+1个PLMN下的制式,再搜索制式对应的第i+1个频点或者第i+1个频段信息,然后基于该频点或者频段信息搜索得到第i+1个信号。终端解析出第i+1个候选PLMN之后,将第i+1个信号中解析得到的第i+1个候选PLMN与第i+1个PLMN进行比较,来实现看是否搜索到的信号正确。第i+1个候选PLMN与第i+1个PLMN不一致,那么说明第i+1个候选PLMN也不是所需要的PLMN,在第i+1个PLMN下搜出了其他PLMN的信号,表征第i+1个信号不是想要搜索的信号,即,无法在第i+1个候选PLMN中实现搜网。In some embodiments of the present application, when the terminal does not search the network in the i-th PLMN, it needs to continue to search the network from the PLMN list for the i+1th PLMN whose network coverage is only lower than the i-th PLMN. First search for the standard under the i+1th PLMN, then search for the i+1th frequency point or i+1th frequency band information corresponding to the standard, and then search for the i+1th signal based on the frequency point or frequency band information. After analyzing the i+1th candidate PLMN, the terminal compares the i+1th candidate PLMN obtained by analyzing the i+1th signal with the i+1th PLMN to see if the searched signal is correct. The i+1th candidate PLMN is inconsistent with the i+1th PLMN, so it means that the i+1th candidate PLMN is not the required PLMN. The signals of other PLMNs are found under the i+1th PLMN, which represents the The i+1 signal is not the signal to be searched, that is, the network search cannot be realized in the i+1th candidate PLMN.
在本申请实施例中,如果从第i+1个信号中解码得到的第i+1个候选PLMN不是需要的PLMN,继续从PLMN列表中找网络覆盖范围仅低于第i+M-1个PLMN的第i+M个PLMN进行搜网,如果发现第i+M个候选PLMN与第i+M个PLMN完全一致,则说明第i+M个候选PLMN正是所需要的PLMN,即,在第i+M个PLMN下搜出了对应的PLMN的信号,表征第i+M个信号正是想要搜索的信号,即,能够在第i+M个候选PLMN中实现搜网,将第i+M个候选PLMN作为目标PLMN。In the embodiment of this application, if the i+1th candidate PLMN decoded from the i+1th signal is not the required PLMN, the network coverage is only lower than the i+M-1th candidate PLMN from the PLMN list. The i+Mth PLMN of the PLMN is searched. If it is found that the i+Mth candidate PLMN is exactly the same as the i+Mth PLMN, it means that the i+Mth candidate PLMN is the required PLMN, that is, The signal of the corresponding PLMN is searched under the i+Mth PLMN, which indicates that the i+Mth signal is the signal that you want to search, that is, the network can be searched in the i+Mth candidate PLMN, and the i+Mth candidate PLMN can be searched. +M candidate PLMNs are used as target PLMNs.
需要说明的是,M=1时,表征终端在进行第i+1个PLMN搜网时,搜到了网络。M大于1,表征端在进行第i+1个PLMN搜网时,未搜到网络,在继续进行后面的PLMN的搜网时,在第i+M个PLMN中搜索到了网络。It should be noted that when M=1, it means that the terminal has searched the network during the i+1th PLMN network search. M is greater than 1. The characterization end did not find the network when searching for the i+1th PLMN, and when continuing to search for the following PLMN, it found the network in the i+Mth PLMN.
S1034、当第i个候选PLMN与第i个PLMN一致时,将第i个候选PLMN作为目标PLMN。S1034. When the i-th candidate PLMN is consistent with the i-th PLMN, use the i-th candidate PLMN as the target PLMN.
本申请实施例中,终端解析出第i个候选PLMN之后,将从第i个信号中解码得到的第i个候选PLMN与第i个PLMN进行比较,如果,第i个候选PLMN刚好与第i个PLMN完全一致,说明第i个候选PLMN就是需要的PLMN,即,第i个候选PLMN能够使终端实现搜网,将第i个候选PLMN作为目标PLMN。In the embodiment of this application, after the terminal parses the i-th candidate PLMN, it compares the i-th candidate PLMN decoded from the i-th signal with the i-th PLMN. If the i-th candidate PLMN happens to be the same as the i-th PLMN, The two PLMNs are completely consistent, indicating that the i-th candidate PLMN is the required PLMN, that is, the i-th candidate PLMN can enable the terminal to search the network and use the i-th candidate PLMN as the target PLMN.
在本申请的一些实施例中,当第i个候选PLMN与第i个PLMN一致时,说明第i个候选PLMN经过解码后的网络信息与终端接入网络所需的网络信息对应一致,即,终端通过第i个候选候选PLMN能够实现搜网。In some embodiments of the present application, when the i-th candidate PLMN is consistent with the i-th PLMN, it means that the decoded network information of the i-th candidate PLMN corresponds to the network information required by the terminal to access the network, that is, The terminal can search the network through the i-th candidate candidate PLMN.
本申请实施例中,如果第i个候选PLMN与第i个PLMN不一致时,继续基于第i+1个PLMN进行搜网,直至搜索出与第i+M个PLMN一致的第i+M个候选PLMN时为止,将第i+M个候选PLMN作为目标PLMN,此时,将PLMN列表中第i+M个PLMN进行网络接入;如果第i个候选PLMN与第i个PLMN一致时,将第i个候选PLMN作为目标PLMN,则将PLMN列表中第i个PLMN进行网络接入。In the embodiment of this application, if the i-th candidate PLMN is inconsistent with the i-th PLMN, continue to search the network based on the i+1th PLMN until the i+Mth candidate consistent with the i+Mth PLMN is searched out PLMN, the i+M-th candidate PLMN is used as the target PLMN. At this time, the i+M-th PLMN in the PLMN list is used for network access; if the i-th candidate PLMN is consistent with the i-th PLMN, the If i candidate PLMNs are used as target PLMNs, the i-th PLMN in the PLMN list is used for network access.
在本申请的一些实施例中,至少一个PLMN包含有具有顺序排列的多个PLMN;基于签约网络信息,确定目标PLMN,根据目标PLMN,进行网络接入的实现可以为:终端基于至少一个PLMN中的第i个PLMN进行搜网,未得到第i个信号时,继续基于第i+1个PLMN进行搜网,直至搜索出与第i+M个PLMN一致的第i+M个候选PLMN时为止,将第i+M个候选PLMN作为 目标PLMN;其中,i为大于等于1且小于N的正整数,N为至少一个PLMN的总数;M为大于等于1的正整数。In some embodiments of the present application, at least one PLMN includes a plurality of PLMNs arranged in sequence; based on the contracted network information, the target PLMN is determined, and according to the target PLMN, the realization of network access may be: the terminal is based on the at least one PLMN Search the network for the i-th PLMN of, and when the i-th signal is not obtained, continue to search the network based on the i+1th PLMN until the i+Mth candidate PLMN consistent with the i+Mth PLMN is searched , Take the i+Mth candidate PLMN as the target PLMN; where i is a positive integer greater than or equal to 1 and less than N, N is the total number of at least one PLMN; M is a positive integer greater than or equal to 1.
本申请实施例中,终端基于签约网络信息,得到对应的PLMN列表,其中,PLMN列表所包含的多个PLMN的排列顺序是确定的,PLMN列表是按照网络覆盖范围的由大到小进行排列的,如果对第i个PLMN进行搜网,没有得到第i个信号时,则按照确定好的排列顺序继续基于第i+1个PLMN进行搜网,当从PLMN列表搜索出与第i+M个PLMN一致的第i+M个候选PLMN,该第i+M个候选PLMN为目标PLMN。In the embodiment of this application, the terminal obtains the corresponding PLMN list based on the contracted network information, where the order of the multiple PLMNs included in the PLMN list is determined, and the PLMN list is arranged in descending order of network coverage , If the i-th PLMN is searched and the i-th signal is not obtained, the network will be searched based on the i+1-th PLMN according to the determined arrangement order. When the i+M-th PLMN is searched from the PLMN list The i+Mth candidate PLMN with the same PLMN, the i+Mth candidate PLMN is the target PLMN.
需要说明的是,PLMN列表也可以是按照网络覆盖范围由小到大排列的,若是由小到大排列,则终端基于签约网络信息,确定PLMN,根据目标PLMN,进行网络接入的实现过程可以包括:基于至少一个PLMN中的第i个PLMN进行搜网,得到第i个信号;其中,i为小于等于N的正整数,N为至少一个PLMN的总数;从第i个信号中解析出第i个候选PLMN;当第i个候选PLMN与第i个PLMN不一致时,继续基于第i-1个PLMN进行搜网,直至搜索出与第i-M个PLMN一致的第i-M个候选PLMN时为止,将第i-M个候选PLMN作为目标PLMN;其中,M为小于等于N-1的正整数,i-M为大于等于1的正整数;最后,根据目标PLMN,进行网络接入。It should be noted that the PLMN list can also be arranged from small to large according to the network coverage. If it is arranged from small to large, the terminal determines the PLMN based on the contracted network information, and according to the target PLMN, the implementation process of network access can be Including: search the network based on the i-th PLMN in at least one PLMN to obtain the i-th signal; where i is a positive integer less than or equal to N, and N is the total number of at least one PLMN; and parse out the i-th signal from the i-th signal i candidate PLMN; when the i-th candidate PLMN is inconsistent with the i-th PLMN, continue to search the network based on the i-1th PLMN until the iM-th candidate PLMN consistent with the iM-th PLMN is searched, and The iMth candidate PLMN is used as the target PLMN; where M is a positive integer less than or equal to N-1, and iM is a positive integer greater than or equal to 1; finally, network access is performed according to the target PLMN.
示例性的,没有得到第i个信号说明PLMN列表中第i个PLMN并不是终端搜网需要的目标PLMN。例如,运营商A的PLMN的网络标识为33010,运营商B的PLMN的网络标识为33020,由于运营商A的网络覆盖范围大于运营商A,所以在PLMN列表中PLMN33010排在PLMN33020的前面,当终端在进行搜网时,优先搜索到PLMN33010,然后终端搜索PLMN33010对应的制式,并获取与制式对应的频点信息和频段信息;终端对频点信息进行解码,经过解码后的网络信息与PLMN33010对应不一致,那么说明PLMN33010不是终端搜网需要的目标PLMN。Exemplarily, the fact that the i-th signal is not obtained indicates that the i-th PLMN in the PLMN list is not a target PLMN required by the terminal to search the network. For example, the network identifier of the PLMN of operator A is 33010, and the network identifier of the PLMN of operator B is 33020. Since the network coverage of operator A is larger than that of operator A, PLMN33010 is ranked before PLMN33020 in the PLMN list. When searching the network, the terminal first searches for PLMN33010, then the terminal searches for the system corresponding to PLMN33010, and obtains the frequency point information and frequency band information corresponding to the system; the terminal decodes the frequency point information, and the decoded network information corresponds to PLMN33010 Inconsistent, then PLMN33010 is not the target PLMN required by the terminal to search the network.
需要说明的是,S1033和S1034为S1032之后的两个可选的实现,可以依据实际的实现情况进行执行,本申请并不限制执行顺序。It should be noted that S1033 and S1034 are two optional implementations after S1032, which can be executed according to the actual implementation situation, and this application does not limit the execution order.
在本申请的一些实施例中,如图6所示的终端对第i个PLMN进行搜网得到的第i个信号的流程图,S1031的实现包括:S10311-S10315,如下:In some embodiments of the present application, as shown in FIG. 6, a flow chart of the i-th signal obtained by the terminal searching the i-th PLMN, the implementation of S1031 includes: S10311-S10315, as follows:
S10311、基于至少一个PLMN中的第i个PLMN对应的制式进行搜索,搜索出目标制式。S10311: Search based on the standard corresponding to the i-th PLMN in at least one PLMN, and search for the target standard.
本申请实施例中,终端在针对至少一个PLMN中的第i个PLMN进行信号搜索或者网络搜索时,搜索优先级顺序为制式-频点信息-频段信息。终端先对第i个PLMN对应的制式进行搜索,搜索是按照制式的优先级进行搜索的,从而得到目标制式,再进行目标制式对应的频点信息的搜索,若频点信息搜不到,才进行目标制式对应的频段信息的搜索。In the embodiment of the present application, when the terminal performs signal search or network search for the i-th PLMN in at least one PLMN, the search priority order is standard-frequency point information-frequency band information. The terminal first searches for the system corresponding to the i-th PLMN. The search is performed according to the priority of the system to obtain the target system, and then searches for the frequency information corresponding to the target system. If the frequency information cannot be found, Search for frequency band information corresponding to the target standard.
需要说明的是,终端获取的与目标通信卡对应的签约网络信息中包括至少一个PLMN,以及与至少一个PLMN对应的至少一个制式信息、至少一个频点信息和至少一个频段信息,因此,终端在确定了目标制式后,是可以从签约网络信息中确定出目标制式的频点信息和频段信息。It should be noted that the contracted network information corresponding to the target communication card obtained by the terminal includes at least one PLMN, and at least one standard information, at least one frequency point information, and at least one frequency band information corresponding to the at least one PLMN. Therefore, the terminal is in After the target standard is determined, the frequency point information and frequency band information of the target standard can be determined from the contracted network information.
在本申请实施例中,在进行网络搜索时,对第i个PLMN对应的制式进行搜索还需要按照制式搜索优先级从高到低的顺序进行搜索,其中,制式搜索优先级按照从高到低的顺序依次为:4G(包括频分双工LTE(Frequency Division Duplexing LTE,FDD LTE)和时分双工LTE(Time Division Long  TERM,TD-LTE)两种制式)、3G(包括宽带码分多址(Wideband Code Division Multiple Access,WCDMA)和时分同步码分多址(Time Division-Synchronous Code Division Multiple Access,TDSCDMA)两种制式)、2G(包括GSM和CDMA两种制式)。In the embodiment of the present application, when performing a network search, searching for the system corresponding to the i-th PLMN also needs to be searched in the order of the system search priority from high to low, where the system search priority is from high to low The order is: 4G (including frequency division duplex LTE (Frequency Division Duplexing LTE, FDD LTE) and time division duplex LTE (Time Division Long TERM, TD-LTE) two standards), 3G (including broadband code division multiple access) (Wideband Code Division Multiple Access, WCDMA) and Time Division-Synchronous Code Division Multiple Access (Time Division-Synchronous Code Division Multiple Access, TDSCDMA) two standards), 2G (including GSM and CDMA two standards).
在本申请的一些实施例中,如果在搜网过程中,搜到PLMN对应的制式为4G,则优先将4G作为第i个PLMN对应的目标制式,如果,没有搜索到4G,而搜到3G的话,就优先将3G作为第i个PLMN对应的目标制式。In some embodiments of the present application, if the system corresponding to the PLMN is found to be 4G during the network search process, 4G is given priority as the target system corresponding to the i-th PLMN. If 4G is not found, 3G is found If this is the case, 3G will be prioritized as the target standard corresponding to the i-th PLMN.
需要说明的是,不同的PLMN对应的制式可以不同,例如,有的PLMN只有5G、4G和2G,没有3G,而有的PLMN只有5G和3G,2G没有4G,等等。其中,对于同一个PLMN对应的制式优先级从高制式到低制式进行排序,如果没有3G,则优先级顺序依次为:5G、4G、2G,如果没有4G,则优先级顺序依次为:5G、3G、2G,本申请实施例不作限制。It should be noted that different PLMNs correspond to different standards. For example, some PLMNs only have 5G, 4G, and 2G, but not 3G, while some PLMNs only have 5G and 3G, and 2G does not have 4G, and so on. Among them, the priority of the system corresponding to the same PLMN is sorted from high to low. If there is no 3G, the order of priority is: 5G, 4G, 2G; if there is no 4G, the order of priority is: 5G, 3G, 2G, the embodiment of this application does not limit it.
在本申请的一些实施例中,若终端按照制式优先级进行第i个PLMN搜索时,在优先级高的制式中未搜索到网络或者信号时,继续对优先级次高的制式进行搜索,直至搜索出目标制式。但是,若第i个PLMN中未搜索出制式时,那么就直接进行PLMN列表中的下一个PLMN的搜索。In some embodiments of the present application, if the terminal searches for the i-th PLMN according to the priority of the system, and no network or signal is found in the system with the highest priority, it continues to search for the system with the second highest priority until Search out the target system. However, if the standard is not found in the i-th PLMN, then the search for the next PLMN in the PLMN list is directly performed.
S10312、从第i个PLMN对应的频点信息中,获取与目标制式对应的目标频点信息。S10312: Obtain target frequency information corresponding to the target standard from the frequency information corresponding to the i-th PLMN.
本申请实施例中,当根据优先级顺序搜索到第i个PLMN对应目标制式后,进一步搜索与目标制式对应的目标频点信息,其中,目标频点信息指的是目标制式对应的多个常用的频点信息。In the embodiment of the present application, after the target standard corresponding to the i-th PLMN is searched according to the priority order, the target frequency information corresponding to the target standard is further searched, where the target frequency information refers to a plurality of commonly used target standards corresponding to the target standard. Frequency information.
需要说明的是,终端根据目标PLMN确定目标制式后,需要获取与目标制式对应的频点信息,其中,不同的制式对应不同的频点信息,同一个目标制式下存在多种常用的频点信息。It should be noted that after the terminal determines the target standard according to the target PLMN, it needs to obtain frequency information corresponding to the target standard. Among them, different standards correspond to different frequency information, and there are multiple commonly used frequency information under the same target standard. .
示例性的,如果按照优先级顺序搜索到第i个PLMN的目标制式为4G,则在4G对应的常用频点上进行搜索,如果第i个PLMN的目标制式为3G,则在3G对应的常用频点上进行搜索,因而,频点信息的优先搜索顺序取决于目标制式的优先级顺序。Exemplarily, if the target standard of the i-th PLMN is 4G searched in the order of priority, the search is performed on the common frequency point corresponding to 4G. If the target standard of the i-th PLMN is 3G, then the common frequency corresponding to the i-th PLMN is 3G. The search is performed on the frequency point. Therefore, the priority search order of the frequency point information depends on the priority order of the target system.
S10313、若从目标频点信息上进行网络信号的搜索,搜索到网络信号,则将网络信号作为第i个信号。S10313: If the network signal is searched from the target frequency point information, and the network signal is found, the network signal is taken as the i-th signal.
本申请实施例中,如若找到第i个PLMN对应目标制式下的目标频点信息,对目标频点进行扫描,将扫描到的网络信号作为第i个PLMN对应的第i个信号。In the embodiment of the present application, if the target frequency point information under the target standard corresponding to the i-th PLMN is found, the target frequency point is scanned, and the scanned network signal is used as the i-th signal corresponding to the i-th PLMN.
示例性的,终端在频点扫描过程中,会按照各个频点的能量值(即功率值)进行排序,优先对具有高能量值的频点进行解码,得到解码后的网络信息,该网络信息包括:PLMN、频点号信息、小区优先级信息等基本网络信息。Exemplarily, during the frequency point scanning process, the terminal will sort according to the energy value (ie power value) of each frequency point, and preferentially decode the frequency point with high energy value to obtain the decoded network information. Including: PLMN, frequency point number information, cell priority information and other basic network information.
在本申请的一些实施例中,终端确定根据目标制式确定目标频点信息的过程中:首先对目标制式下的常用频点进行扫描,然后测量各个常用频点的功率值,并对常用频点的功率值的大小进行排序,选择功率值最大的频点作为目标频点信息,并对目标频点信息进行网络信号的搜索,搜索到网络信号,则将网络信号作为第i个信号。In some embodiments of the present application, when the terminal determines the target frequency point information according to the target standard, it first scans the common frequency points under the target standard, then measures the power value of each common frequency point, and compares the common frequency points Sort the power values of, select the frequency point with the largest power value as the target frequency point information, and search the target frequency point information for the network signal. If the network signal is found, the network signal is taken as the i-th signal.
S10314、若从目标频点信息上进行网络信号的搜索,未搜索到网络信号,则第i个PLMN对应的频段信息中,获取与目标制式对应的目标频段信息。S10314. If the network signal is searched from the target frequency point information, and the network signal is not found, obtain the target frequency band information corresponding to the target standard from the frequency band information corresponding to the i-th PLMN.
本申请实施例中,对目标频点信息进行网络信号的搜索过程中,如果目 标频点中包含的常用频点中均没有搜索到能量信息,即没有搜索到目标频点的接收功率信息,需要在第i个PLMN对应的频段信息中进行相应网络信号的搜索。In the embodiment of this application, in the process of searching the target frequency point information for the network signal, if none of the common frequency points included in the target frequency point has searched for energy information, that is, the received power information of the target frequency point is not searched, it is required Search for corresponding network signals in the frequency band information corresponding to the i-th PLMN.
示例性的,频段信息的搜索顺序按照如果第i个PLMN的目标制式的搜索优先级进行搜索,即,如果目标制式为4G,先搜索4G的频段信息,如果目标制式为3G,则对应搜索3G的频段信息,因而,频段信息的优先搜索顺序取决于目标制式的优先级顺序。Exemplarily, the search order of frequency band information is searched according to the search priority of the target standard of the i-th PLMN, that is, if the target standard is 4G, the frequency band information of 4G is searched first, and if the target standard is 3G, then 3G is correspondingly searched. Therefore, the priority search order of the frequency band information depends on the priority order of the target system.
本申请实施例中,如果在第i个PLMN对应的频段信息中,获取到对应的目标频段信息,目标频段信息表示第i个PLMN对应的频段信息一部分频段信息。In the embodiment of the present application, if the corresponding target frequency band information is obtained in the frequency band information corresponding to the i-th PLMN, the target frequency band information represents part of the frequency band information of the frequency band information corresponding to the i-th PLMN.
示例性的,当对目标频段信息中包含的常用频点进行扫描时,如果没有扫描到对应的频点信息,则重新从第i个PLMN对应的频段信息中选取频段信息作为目标频段信息,并对该目标频段信息中包含的所有频点进行扫描,进行网络信号的搜索。Exemplarily, when scanning the common frequency points included in the target frequency band information, if the corresponding frequency point information is not scanned, the frequency band information is selected from the frequency band information corresponding to the i-th PLMN as the target frequency band information, and Scan all frequency points included in the target frequency band information to search for network signals.
S10315、基于目标频段信息进行网络信号的搜索,从而得到候选目标频点信息上搜索的第i个信号,其中,候选目标频点信息为目标频段信息中的频点信息。S10315. Search for network signals based on the target frequency band information, so as to obtain the i-th signal searched on the candidate target frequency point information, where the candidate target frequency point information is the frequency point information in the target frequency band information.
本申请实施例中,对目标频段信息中包含的所有频点进行扫描,如果在扫描过程中,发现具有能量信息的频点,就对该频点进行网络信号的搜索,进而得到第i个信号。In the embodiment of the present application, all frequency points contained in the target frequency band information are scanned. If a frequency point with energy information is found during the scanning process, a network signal search is performed on this frequency point to obtain the i-th signal .
在本申请的一些实施例中,通过对第i个信号进行解码,得到网络信息,该网络信息包括:网络号PLMN,频点号,小区优先级等基本信息,将第i个信号解码得到的PLMN与第i个PLMN进行比较,如果比较结果一致的话,说明在该频点上能够进行入网,相反,如果比较结果不一致的话,说明在该频点上无法入网,需要重新在其他频段上进行网络信号的搜索。In some embodiments of the present application, the network information is obtained by decoding the i-th signal, and the network information includes basic information such as the network number PLMN, frequency point number, cell priority, etc., which is obtained by decoding the i-th signal PLMN is compared with the i-th PLMN. If the comparison results are consistent, it means that the network can be accessed at this frequency. On the contrary, if the comparison results are inconsistent, it means that the network cannot be accessed at this frequency and needs to be re-networked on other frequency bands. Signal search.
示例性的,假设目标制式为3G,其支持的频段有B1、B2、B3、以及其他频段,如果在频段B1中所有频点没有到具有能量信息的频点,即,没有搜索到对应的网络信号;则在下一次搜网过程中,对除了频段B1之外未搜索过的频段进行网络信号的搜索,并将搜索到的网络信号作为第i个信号。Exemplarily, suppose the target standard is 3G, and the supported frequency bands are B1, B2, B3, and other frequency bands. If all frequency points in the frequency band B1 do not have frequency points with energy information, that is, the corresponding network is not searched. Signal; in the next network search process, search for network signals in frequency bands that have not been searched except for frequency band B1, and use the searched network signal as the i-th signal.
需要说明的是,S10313和S10314为S10312之后,且S10315之前的两个可选的实现,可以依据实际的实现情况进行执行,本申请并不限制执行顺序。It should be noted that S10313 and S10314 are the two optional implementations after S10312 and before S10315, which can be executed according to actual implementation conditions, and this application does not limit the execution order.
本申请实施例中,基于至少一个PLMN中的第i个PLMN对应的制式进行搜索,搜索出目标制式;从第i个PLMN对应的频点信息中,获取与目标制式对应的目标频点信息;若从目标频点信息上进行网络信号的搜索,搜索到网络信号,则将网络信号作为第i个信号;若从目标频点信息上进行网络信号的搜索,未搜索到网络信号,则第i个PLMN对应的频段信息中,获取与目标制式对应的目标频段信息;基于目标频段信息进行网络信号的搜索,从而得到候选目标频点信息上搜索的第i个信号,其中,候选目标频点信息为目标频段信息中的频点信息。可见,通过对签约网络信息中包括的PLMN列表进行搜索,能够避免对所有网络信息下的PLMN进行遍历搜索,同时,根据优先级搜索PLMN列表中目标制式,并对该目标制式对应的常用频点进行扫描,不需要对目标制式对应的所有频点进行扫描,进而能够提升目标PLMN的搜索效率,从而缩短搜网时间。In the embodiment of the present application, a search is performed based on the standard corresponding to the i-th PLMN in at least one PLMN, and the target standard is searched; from the frequency information corresponding to the i-th PLMN, the target frequency information corresponding to the target standard is obtained; If the network signal is searched from the target frequency information, and the network signal is found, the network signal is regarded as the i-th signal; if the network signal is searched from the target frequency information and the network signal is not found, the i-th signal In the frequency band information corresponding to each PLMN, obtain the target frequency band information corresponding to the target standard; search for network signals based on the target frequency band information to obtain the i-th signal searched on the candidate target frequency point information, where the candidate target frequency point information Is the frequency point information in the target frequency band information. It can be seen that by searching the PLMN list included in the contracted network information, it is possible to avoid traversal search of PLMNs under all network information. At the same time, the target standard in the PLMN list is searched according to the priority, and the common frequency corresponding to the target standard Scanning does not need to scan all frequency points corresponding to the target standard, which can improve the search efficiency of the target PLMN, thereby shortening the network search time.
本申请实施例中,当终端在预设时间内没有搜到任何网络是系统消息时,终端停止当前MCC和PLMN的搜网,终端在所有的支持频段内搜索系统消息,通过搜索到的系统消息确定漫游目的地的目标MCC,终端再通过签约网络信息库中的签约网络信息,能够有针对性的查找目标PLMN,同时,终端根据目标PLMN以及目标PLMN对应制式下的频点信息以及频段信息进行网络接入。In the embodiment of this application, when the terminal does not search any network within a preset time as a system message, the terminal stops the current network search of MCC and PLMN, and the terminal searches for system messages in all supported frequency bands, and uses the searched system messages Determine the target MCC of the roaming destination, and the terminal can search for the target PLMN in a targeted manner through the contracted network information in the contracted network information database. At the same time, the terminal can perform processing based on the target PLMN and the frequency information and frequency band information under the corresponding standard of the target PLMN. Network access.
在前述实施例提出的搜网方法的基础上,本申请实施例提出了一种搜网装置。On the basis of the network search method proposed in the foregoing embodiment, an embodiment of the present application proposes a network search device.
图7为本申请实施例的数据处理装置的组成结构示意图,如图7所示,装置包括:搜索模块701、获取模块702和接入模块703,其中,FIG. 7 is a schematic diagram of the composition structure of a data processing device according to an embodiment of the application. As shown in FIG. 7, the device includes: a search module 701, an acquisition module 702, and an access module 703, wherein,
搜索模块701,配置为在全频段内搜索网络,确定目标MCC;The search module 701 is configured to search the network in the full frequency band and determine the target MCC;
获取模块702,配置为基于目标MCC,获取目标通信卡对应的签约网络信息;签约网络信息包括与目标MCC对应的签约信息;The obtaining module 702 is configured to obtain contracted network information corresponding to the target communication card based on the target MCC; the contracted network information includes contract information corresponding to the target MCC;
搜索模块701,还配置为基于签约网络信息,确定目标PLMN;The search module 701 is also configured to determine the target PLMN based on the contracted network information;
接入模块703,配置为根据目标PLMN,进行网络接入。The access module 703 is configured to perform network access according to the target PLMN.
在一实施方式中,签约网络信息中包括以下至少两种:至少一个PLMN、与每个PLMN对应的制式、与每个PLMN对应的频点信息,以及与每个PLMN对应的频段信息。In an embodiment, the subscription network information includes at least two of the following: at least one PLMN, a standard corresponding to each PLMN, frequency information corresponding to each PLMN, and frequency band information corresponding to each PLMN.
在一实施方式中,所述搜索模块,还配置为:当预设时间内未搜索到网络的系统消息时,在全频段内搜索网络,确定目标MCC。In one embodiment, the search module is further configured to search for the network in the entire frequency band when the system message of the network is not searched within a preset time to determine the target MCC.
在一实施方式中,至少一个PLMN包含有具有顺序排列的多个PLMN;搜索模块701,还配置为:In an embodiment, at least one PLMN includes multiple PLMNs arranged in sequence; the search module 701 is further configured to:
基于至少一个PLMN中的第i个PLMN进行搜网,得到第i个信号;其中,i为大于等于1且小于N的正整数,N为至少一个PLMN的总数;Perform network search based on the i-th PLMN in at least one PLMN to obtain the i-th signal; where i is a positive integer greater than or equal to 1 and less than N, and N is the total number of at least one PLMN;
从第i个信号中解析出第i个候选PLMN;Analyze the i-th candidate PLMN from the i-th signal;
当第i个候选PLMN与第i个PLMN不一致时,继续基于第i+1个PLMN进行搜网,直至搜索出与第i+M个PLMN一致的第i+M个候选PLMN时为止,将第i+M个候选PLMN作为目标PLMN;其中,M为大于等于1的正整数,i+M为小于N的正整数。When the i-th candidate PLMN is inconsistent with the i-th PLMN, continue to search the network based on the i+1th PLMN until the i+Mth candidate PLMN that is consistent with the i+Mth PLMN is searched, and the i+M candidate PLMNs are used as the target PLMN; where M is a positive integer greater than or equal to 1, and i+M is a positive integer less than N.
在一实施方式中,搜索模块701,还配置为:In an embodiment, the search module 701 is further configured to:
从第i个信号中解析出第i个候选PLMN之后,根据目标PLMN,进行网络接入之前,当第i个候选PLMN与第i个PLMN一致时,将第i个候选PLMN作为目标PLMN。After the i-th candidate PLMN is parsed from the i-th signal, and before network access is performed according to the target PLMN, when the i-th candidate PLMN is consistent with the i-th PLMN, the i-th candidate PLMN is used as the target PLMN.
在一实施方式中,搜索模块701,还配置为:In an embodiment, the search module 701 is further configured to:
基于至少一个PLMN中的第i个PLMN对应的制式进行搜索,搜索出目标制式;Search based on the standard corresponding to the i-th PLMN in at least one PLMN, and search for the target standard;
从第i个PLMN对应的频点信息中,获取与目标制式对应的目标频点信息;From the frequency point information corresponding to the i-th PLMN, obtain the target frequency point information corresponding to the target standard;
若从目标频点信息上进行网络信号的搜索,搜索到网络信号,则将网络信号作为第i个信号。If the network signal is searched from the target frequency point information, and the network signal is found, the network signal is taken as the i-th signal.
在一实施方式中,搜索模块701,还配置为:In an embodiment, the search module 701 is further configured to:
从第i个PLMN对应的频点信息中,获取与目标制式对应的目标频点信息之后,若从目标频点信息上进行网络信号的搜索,未搜索到网络信号,则第i个PLMN对应的频段信息中,获取与目标制式对应的目标频段信息;From the frequency point information corresponding to the i-th PLMN, after obtaining the target frequency point information corresponding to the target standard, if the network signal is searched from the target frequency point information, the network signal is not found, then the i-th PLMN corresponds to In the frequency band information, obtain the target frequency band information corresponding to the target standard;
基于目标频段信息进行网络信号的搜索,从而得到候选目标频点信息上搜索的第i个信号,其中,候选目标频点信息为目标频段信息中的频点信息。The network signal is searched based on the target frequency band information, so as to obtain the i-th signal searched on the candidate target frequency point information, where the candidate target frequency point information is the frequency point information in the target frequency band information.
在一实施方式中,至少一个PLMN包含有具有顺序排列的多个PLMN;搜索模块701,还配置为:In an embodiment, at least one PLMN includes multiple PLMNs arranged in sequence; the search module 701 is further configured to:
基于至少一个PLMN中的第i个PLMN进行搜网,未得到第i个信号时,继续基于第i+1个PLMN进行搜网,直至搜索出与第i+M个PLMN一致的第i+M个候选PLMN时为止,将第i+M个候选PLMN作为目标PLMN;其中,i为大于等于1且小于N的正整数,N为至少一个PLMN的总数;M为大于等于1的正整数。Search the network based on the i-th PLMN in at least one PLMN. When the i-th signal is not obtained, continue to search the network based on the i+1-th PLMN until the i+M-th PLMN consistent with the i+M-th PLMN is searched When there are no candidate PLMNs, the i+Mth candidate PLMN is used as the target PLMN; where i is a positive integer greater than or equal to 1 and less than N, N is the total number of at least one PLMN; M is a positive integer greater than or equal to 1.
在一实施方式中,获取模块702,还配置为:In an embodiment, the obtaining module 702 is further configured to:
统计目标对象的历史使用网络信息;Count the historical usage network information of the target object;
基于历史使用网络信息,确定出与目标对象的目标通行卡以及目标MCC对应的签约网络信息。Based on the historical usage network information, the contracted network information corresponding to the target pass card and the target MCC of the target object is determined.
在一实施方式中,获取模块702,还配置为:In an embodiment, the obtaining module 702 is further configured to:
接收网络平台推送的不同MCC对应的签约网络信息库;Receive the contracted network information database corresponding to different MCCs pushed by the network platform;
从签约网络信息库中,确定出与目标MCC和目标通信卡对应的签约网络信息。From the contracted network information database, the contracted network information corresponding to the target MCC and the target communication card is determined.
在一实施方式中,获取模块702,还配置为:In an embodiment, the obtaining module 702 is further configured to:
基于目标MCC,获取目标通信卡对应的签约网络信息之前,获取目标对象的漫游的目标位置信息;Based on the target MCC, before obtaining the contracted network information corresponding to the target communication card, obtain the roaming target location information of the target object;
基于目标位置信息,确定目标MCC。Based on the target location information, the target MCC is determined.
在实际应用中,上述搜索模块701、获取模块702和接入模块703均可以由位于电子设备中的处理器实现,该处理器可以为ASIC、DSP、DSPD、PLD、FPGA、CPU、控制器、微控制器、微处理器中的至少一种。In practical applications, the aforementioned search module 701, acquisition module 702, and access module 703 can all be implemented by a processor located in an electronic device. The processor can be an ASIC, DSP, DSPD, PLD, FPGA, CPU, controller, At least one of microcontroller and microprocessor.
另外,在本实施例中的各功能模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。In addition, the functional modules in this embodiment may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit. The above-mentioned integrated unit can be realized in the form of hardware or software function module.
集成的单元如果以软件功能模块的形式实现并非作为独立的产品进行销售或使用时,可以存储在一个计算机可读取存储介质中,基于这样的理解,本实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或processor(处理器)执行本实施例方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is implemented in the form of a software function module and is not sold or used as an independent product, it can be stored in a computer readable storage medium. Based on this understanding, the technical solution of this embodiment is essentially or correct The part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions to enable a computer device (which can be a personal A computer, a server, or a network device, etc.) or a processor (processor) execute all or part of the steps of the method in this embodiment. The aforementioned storage media include: U disk, mobile hard disk, read only memory (Read Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program codes.
本实施例中的一种搜网方法对应的计算机程序指令可以被存储在光盘,硬盘,U盘等存储介质上,当存储介质中的与一种搜网方法对应的计算机程序指令被一电子设备读取或被执行时,实现前述实施例的任意一种搜网方法。The computer program instructions corresponding to a method of searching the Internet in this embodiment can be stored on storage media such as optical disks, hard disks, U disks, etc. When the computer program instructions corresponding to a method of searching the Internet in the storage medium are used by an electronic device When being read or executed, any one of the methods for searching the Internet in the foregoing embodiments is implemented.
基于前述实施例相同的技术构思,参见图8,其示出了本申请实施例提供的一种电子设备80,可以包括:存储器81和处理器82;其中,Based on the same technical concept of the foregoing embodiment, refer to FIG. 8, which shows an electronic device 80 provided by an embodiment of the present application, which may include: a memory 81 and a processor 82; wherein,
存储器81,配置为存储计算机程序和数据;The memory 81 is configured to store computer programs and data;
处理器82,配置为执行存储器中存储的计算机程序,以实现前述实施例 的任意一种搜网方法。The processor 82 is configured to execute a computer program stored in the memory to implement any one of the methods for searching the Internet in the foregoing embodiments.
在实际应用中,上述存储器81可以是易失性存储器(volatile memory),例如RAM;或者非易失性存储器(non-volatile memory),例如ROM,快闪存储器(flash memory),硬盘(Hard Disk Drive,HDD)或固态硬盘(Solid-State Drive,SSD);或者上述种类的存储器的组合,并向处理器82提供指令和数据。In practical applications, the aforementioned memory 81 may be a volatile memory (volatile memory), such as RAM; or a non-volatile memory (non-volatile memory), such as ROM, flash memory, or hard disk (Hard Disk). Drive, HDD) or Solid-State Drive (SSD); or a combination of the foregoing types of memories, and provide instructions and data to the processor 82.
上述处理器82可以为ASIC、DSP、DSPD、PLD、FPGA、CPU、控制器、微控制器、微处理器中的至少一种。可以理解地,对于不同的设备,用于实现上述处理器功能的电子器件还可以为其它,本申请实施例不作限定。The aforementioned processor 82 may be at least one of ASIC, DSP, DSPD, PLD, FPGA, CPU, controller, microcontroller, and microprocessor. It is understandable that, for different devices, the electronic device used to implement the above-mentioned processor function may also be other, which is not limited in the embodiment of the present application.
在一些实施例中,本申请实施例提供的装置具有的功能或包含的模块可以用于执行上文方法实施例描述的方法,其实现可以参照上文方法实施例的描述,为了简洁,这里不再赘述。In some embodiments, the functions or modules contained in the device provided in the embodiments of the present application can be used to execute the methods described in the above method embodiments. For implementation, refer to the description of the above method embodiments. Go into details again.
上文对各个实施例的描述倾向于强调各个实施例之间的不同之处,其相同或相似之处可以互相参考,为了简洁,本文不再赘述。The above description of the various embodiments tends to emphasize the differences between the various embodiments, and the same or similarities can be referred to each other. For the sake of brevity, the details are not repeated herein.
本申请所提供的各方法实施例中所揭露的方法,在不冲突的情况下可以任意组合,得到新的方法实施例。The methods disclosed in the method embodiments provided in this application can be combined arbitrarily without conflict to obtain new method embodiments.
本申请所提供的各产品实施例中所揭露的特征,在不冲突的情况下可以任意组合,得到新的产品实施例。The features disclosed in the product embodiments provided in this application can be combined arbitrarily without conflict to obtain new product embodiments.
本申请所提供的各方法或设备实施例中所揭露的特征,在不冲突的情况下可以任意组合,得到新的方法实施例或设备实施例。The features disclosed in each method or device embodiment provided in this application can be combined arbitrarily without conflict to obtain a new method embodiment or device embodiment.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method of the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is better.的实施方式。 Based on this understanding, the technical solution of this application essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes a number of instructions to enable a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods of the various embodiments of the present application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,这些均属于本申请的保护之内。The embodiments of the application are described above with reference to the accompanying drawings, but the application is not limited to the above-mentioned specific embodiments. The above-mentioned specific embodiments are only illustrative and not restrictive. Those of ordinary skill in the art are Under the enlightenment of this application, many forms can be made without departing from the purpose of this application and the scope of protection of the claims, and these are all within the protection of this application.
工业实用性Industrial applicability
本申请实施例中,由于是通过全频段内搜索网络,对最先搜索到的PLMN进行解码,得到目标MCC,加快了目标MCC的获取;并且,通过获取目标通信卡对应的签约网络信息,只对签约网络信息中包括的PLMN进行搜索,能够避免对所有的网络信息下的PLMN进行遍历搜索,进而能够加快PLMN的搜索速度,从而节省了搜网时间,提升了搜网效率。In the embodiment of this application, since the first searched PLMN is decoded by searching the network in the full frequency band, the target MCC is obtained, which speeds up the acquisition of the target MCC; and, by obtaining the contracted network information corresponding to the target communication card, only Searching for the PLMN included in the contracted network information can avoid traversal search of the PLMN under all network information, thereby speeding up the search speed of the PLMN, thereby saving network search time and improving network search efficiency.

Claims (21)

  1. 一种搜网方法,所述方法包括:A method for searching the Internet, the method includes:
    在全频段内搜索网络,确定目标移动国家代码MCC;Search the network in the full frequency band and determine the target mobile country code MCC;
    基于所述目标MCC,获取目标通信卡对应的签约网络信息;所述签约网络信息包括与所述目标MCC对应的签约信息;Acquiring contracted network information corresponding to the target communication card based on the target MCC; the contracted network information includes contract information corresponding to the target MCC;
    基于所述签约网络信息,确定目标公共陆地移动网络PLMN;Determine the target public land mobile network PLMN based on the contracted network information;
    根据所述目标PLMN,进行网络接入。Perform network access according to the target PLMN.
  2. 根据权利要求1所述的搜网方法,其中,所述在全频段内搜索网络,确定目标MCC,包括:The network search method according to claim 1, wherein the searching the network in the full frequency band to determine the target MCC comprises:
    当预设时间内未搜索到网络的系统消息时,在全频段内搜索网络,确定所述目标MCC。When the system message of the network is not searched within the preset time, the network is searched in the whole frequency band to determine the target MCC.
  3. 根据权利要求1或2所述的搜网方法,其中,The network search method according to claim 1 or 2, wherein:
    所述签约网络信息中包括以下至少两种:至少一个PLMN、与每个PLMN对应的制式、与每个PLMN对应的频点信息,以及与每个PLMN对应的频段信息。The subscription network information includes at least two of the following: at least one PLMN, a standard corresponding to each PLMN, frequency information corresponding to each PLMN, and frequency band information corresponding to each PLMN.
  4. 根据权利要求3所述的搜网方法,其中,所述至少一个PLMN包含有具有顺序排列的多个PLMN;所述基于所述签约网络信息,确定目标PLMN,包括:The network search method according to claim 3, wherein the at least one PLMN includes a plurality of PLMNs arranged in sequence; and the determining a target PLMN based on the contracted network information includes:
    基于所述至少一个PLMN中的第i个PLMN进行搜网,得到第i个信号;其中,i为大于等于1且小于N的正整数,N为至少一个PLMN的总数;The network is searched based on the i-th PLMN in the at least one PLMN to obtain the i-th signal; where i is a positive integer greater than or equal to 1 and less than N, and N is the total number of at least one PLMN;
    从所述第i个信号中解析出第i个候选PLMN;Parse out the i-th candidate PLMN from the i-th signal;
    当所述第i个候选PLMN与所述第i个PLMN不一致时,继续基于第i+1个PLMN进行搜网,直至搜索出与第i+M个PLMN一致的第i+M个候选PLMN时为止,将所述第i+M个候选PLMN作为所述目标PLMN;其中,M为大于等于1的正整数,i+M为小于N的正整数。When the i-th candidate PLMN is inconsistent with the i-th PLMN, continue to search the network based on the i+1th PLMN until the i+Mth candidate PLMN consistent with the i+Mth PLMN is searched out So far, the i+Mth candidate PLMN is used as the target PLMN; where M is a positive integer greater than or equal to 1, and i+M is a positive integer less than N.
  5. 根据权利要求4所述的搜网方法,其中,所述从所述第i个信号中解析出第i个候选PLMN之后,所述根据所述目标PLMN,进行网络接入之前,所述方法还包括:The network search method according to claim 4, wherein, after the i-th candidate PLMN is parsed from the i-th signal, and before the network access is performed according to the target PLMN, the method further include:
    当所述第i个候选PLMN与所述第i个PLMN一致时,将所述第i个候选PLMN作为所述目标PLMN。When the i-th candidate PLMN is consistent with the i-th PLMN, use the i-th candidate PLMN as the target PLMN.
  6. 根据权利要求4或5所述的搜网方法,其中,所述基于所述至少一个PLMN中的第i个PLMN进行搜网,得到第i个信号,包括:The network search method according to claim 4 or 5, wherein the performing network search based on the i-th PLMN in the at least one PLMN to obtain the i-th signal comprises:
    基于所述至少一个PLMN中的第i个PLMN对应的制式进行搜索,搜索出目标制式;Searching based on the standard corresponding to the i-th PLMN in the at least one PLMN, and searching for the target standard;
    从所述第i个PLMN对应的频点信息中,获取与所述目标制式对应的目标频点信息;Obtaining target frequency information corresponding to the target standard from the frequency point information corresponding to the i-th PLMN;
    若从所述目标频点信息上进行网络信号的搜索,搜索到网络信号,则将所述网络信号作为所述第i个信号。If a network signal is searched from the target frequency point information, and a network signal is found, the network signal is taken as the i-th signal.
  7. 根据权利要求6所述的搜网方法,其中,所述从所述第i个PLMN对应的频点信息中,获取与所述目标制式对应的目标频点信息之后,所述方法还包括:The network search method according to claim 6, wherein after the obtaining the target frequency information corresponding to the target standard from the frequency information corresponding to the i-th PLMN, the method further comprises:
    若从所述目标频点信息上进行网络信号的搜索,未搜索到网络信号,则所述第i个PLMN对应的频段信息中,获取与所述目标制式对应的目标频段信息;If a network signal is searched from the target frequency point information, and no network signal is found, then from the frequency band information corresponding to the i-th PLMN, obtain the target frequency band information corresponding to the target standard;
    基于所述目标频段信息进行网络信号的搜索,从而得到候选目标频点信息上搜索的所述第i个信号,其中,所述候选目标频点信息为所述目标频段信息中的频点信息。A network signal search is performed based on the target frequency band information to obtain the i-th signal searched on candidate target frequency information, where the candidate target frequency information is frequency information in the target frequency information.
  8. 根据权利要求3所述的搜网方法,其中,所述至少一个PLMN包含有具有顺序排列的多个PLMN;所述基于所述签约网络信息,确定目标PLMN,包括:The network search method according to claim 3, wherein the at least one PLMN includes a plurality of PLMNs arranged in sequence; and the determining a target PLMN based on the contracted network information includes:
    基于所述至少一个PLMN中的第i个PLMN进行搜网,未得到第i个信号时,继续基于第i+1个PLMN进行搜网,直至搜索出与第i+M个PLMN一致的第i+M个候选PLMN时为止,将所述第i+M个候选PLMN作为所述目标PLMN;其中,i为大于等于1且小于N的正整数,N为至少一个PLMN的总数;M为大于等于1的正整数。Search the network based on the i-th PLMN in the at least one PLMN, and when the i-th signal is not obtained, continue to search the network based on the i+1-th PLMN until the i-th PLMN consistent with the i+M-th PLMN is searched +M candidate PLMNs, use the i+Mth candidate PLMN as the target PLMN; where i is a positive integer greater than or equal to 1 and less than N, N is the total number of at least one PLMN; M is greater than or equal to A positive integer of 1.
  9. 根据权利要求1至8任一项所述的搜网方法,其中,所述基于所述目标MCC,获取目标通信卡对应的签约网络信息,包括:The network search method according to any one of claims 1 to 8, wherein the acquiring, based on the target MCC, the contracted network information corresponding to the target communication card comprises:
    统计目标对象的历史使用网络信息;Count the historical usage network information of the target object;
    基于所述历史使用网络信息,确定出与所述目标对象的所述目标通行卡以及所述目标MCC对应的签约网络信息。Based on the historical network usage information, the contracted network information corresponding to the target pass card and the target MCC of the target object is determined.
  10. 根据权利要求1至8任一项所述的搜网方法,其中,所述基于所述目标MCC,获取目标通信卡对应的签约网络信息,包括:The network search method according to any one of claims 1 to 8, wherein the acquiring, based on the target MCC, the contracted network information corresponding to the target communication card comprises:
    接收网络平台推送的不同MCC对应的签约网络信息库;Receive the contracted network information database corresponding to different MCCs pushed by the network platform;
    从所述签约网络信息库中,确定出与所述目标MCC和所述目标通信卡对应的所述签约网络信息。From the contracted network information database, the contracted network information corresponding to the target MCC and the target communication card is determined.
  11. 根据权利要求1至10任一项所述的搜网方法,其中,所述基于所述目标MCC,获取目标通信卡对应的签约网络信息之前,所述方法还包括:The network search method according to any one of claims 1 to 10, wherein, before acquiring the contracted network information corresponding to the target communication card based on the target MCC, the method further comprises:
    获取目标对象的漫游的目标位置信息;Obtain the roaming target position information of the target object;
    基于所述目标位置信息,确定所述目标MCC。Based on the target location information, the target MCC is determined.
  12. 一种搜网装置,所述装置包括搜索模块、获取模块和接入模块,其中,A network search device, the device includes a search module, an acquisition module, and an access module, wherein:
    搜索模块,配置为在全频段内搜索网络,确定目标MCC;The search module is configured to search the network in the full frequency band and determine the target MCC;
    获取模块,配置为基于所述目标MCC,获取目标通信卡对应的签约网络信息;所述签约网络信息包括与所述目标MCC对应的签约信息;An obtaining module, configured to obtain contracted network information corresponding to a target communication card based on the target MCC; the contracted network information includes contract information corresponding to the target MCC;
    所述搜索模块,还配置为基于所述签约网络信息,确定目标PLMN;The search module is further configured to determine a target PLMN based on the contracted network information;
    接入模块,配置为根据所述目标PLMN,进行网络接入。The access module is configured to perform network access according to the target PLMN.
  13. 根据权利要求12所述的装置,其中,所述搜索模块,还配置为:The device according to claim 12, wherein the search module is further configured to:
    当预设时间内未搜索到网络的系统消息时,在全频段内搜索网络,确定所述目标MCC。When the system message of the network is not searched within the preset time, the network is searched in the whole frequency band to determine the target MCC.
  14. 根据权利要求12或13所述的装置,其中,The device according to claim 12 or 13, wherein:
    所述签约网络信息中包括以下至少两种:至少一个PLMN、与每个PLMN对应的制式、与每个PLMN对应的频点信息,以及与每个PLMN对应的频段信息。The subscription network information includes at least two of the following: at least one PLMN, a standard corresponding to each PLMN, frequency information corresponding to each PLMN, and frequency band information corresponding to each PLMN.
  15. 根据权利要求14所述的装置,其中,所述至少一个PLMN包含有具有顺序排列的多个PLMN;所述搜索模块,还配置为:The apparatus according to claim 14, wherein the at least one PLMN includes a plurality of PLMNs arranged in sequence; and the search module is further configured to:
    基于所述至少一个PLMN中的第i个PLMN进行搜网,得到第i个信号;其中,i为大于等于1且小于N的正整数,N为至少一个PLMN的总数;The network is searched based on the i-th PLMN in the at least one PLMN to obtain the i-th signal; where i is a positive integer greater than or equal to 1 and less than N, and N is the total number of at least one PLMN;
    从所述第i个信号中解析出第i个候选PLMN;Parse out the i-th candidate PLMN from the i-th signal;
    当所述第i个候选PLMN与所述第i个PLMN不一致,继续基于第i+1个PLMN进行搜网,直至搜索出与第i+M个PLMN一致的第i+M个候选PLMN时为止,将所述第i+M个候选PLMN作为所述目标PLMN;其中,M为大于等于1的正整数,i+M为小于N的正整数。When the i-th candidate PLMN is inconsistent with the i-th PLMN, continue to search the network based on the i+1th PLMN until the i+Mth candidate PLMN consistent with the i+Mth PLMN is searched out , Take the i+Mth candidate PLMN as the target PLMN; where M is a positive integer greater than or equal to 1, and i+M is a positive integer less than N.
  16. 根据权利要求15所述的装置,其中,所述搜索模块,还配置为:The device according to claim 15, wherein the search module is further configured to:
    所述从所述第i个信号中解析出第i个候选PLMN之后,所述根据所述目标PLMN,进行网络接入之前,当所述第i个候选PLMN与所述第i个PLMN一致时,将所述第i个候选PLMN作为所述目标PLMN。After the i-th candidate PLMN is parsed from the i-th signal, and before the network access is performed according to the target PLMN, when the i-th candidate PLMN is consistent with the i-th PLMN , Use the i-th candidate PLMN as the target PLMN.
  17. 根据权利要求15或16所述的装置,其中,所述搜索模块,还配置为:The device according to claim 15 or 16, wherein the search module is further configured to:
    基于所述至少一个PLMN中的第i个PLMN对应的制式进行搜索,搜索出目标制式;Searching based on the standard corresponding to the i-th PLMN in the at least one PLMN, and searching for the target standard;
    从所述第i个PLMN对应的频点信息中,获取与所述目标制式对应的目标频点信息;Obtaining target frequency information corresponding to the target standard from the frequency point information corresponding to the i-th PLMN;
    若从所述目标频点信息上进行网络信号的搜索,搜索到网络信号,则将所述网络信号作为所述第i个信号。If a network signal is searched from the target frequency point information, and a network signal is found, the network signal is taken as the i-th signal.
  18. 根据权利要求17所述的装置,其中,所述搜索模块,还配置为:The device according to claim 17, wherein the search module is further configured to:
    所述从所述第i个PLMN对应的频点信息中,获取与所述目标制式对应的目标频点信息之后,若从所述目标频点信息上进行网络信号的搜索,未搜索到网络信号,则所述第i个PLMN对应的频段信息中,获取与所述目标制式对应的目标频段信息;After obtaining the target frequency information corresponding to the target standard from the frequency point information corresponding to the i-th PLMN, if the network signal is searched from the target frequency point information, no network signal is found , In the frequency band information corresponding to the i-th PLMN, obtain target frequency band information corresponding to the target standard;
    基于所述目标频段信息进行网络信号的搜索,从而得到候选目标频点信息上搜索的所述第i个信号,其中,所述候选目标频点信息为所述目标频段信息中的频点信息。A network signal search is performed based on the target frequency band information to obtain the i-th signal searched on candidate target frequency information, where the candidate target frequency information is frequency information in the target frequency information.
  19. 根据权利要求12至18任一项所述的装置,其中,所述获取模块,还配置为:The device according to any one of claims 12 to 18, wherein the acquiring module is further configured to:
    统计目标对象的历史使用网络信息;Count the historical usage network information of the target object;
    基于所述历史使用网络信息,确定出与所述目标对象的所述目标通行卡以及所述目标MCC对应的签约网络信息;Determine the contracted network information corresponding to the target pass card of the target object and the target MCC based on the historical network usage information;
    或者,or,
    所述获取模块,还配置为:The obtaining module is also configured as:
    接收网络平台推送的不同MCC对应的签约网络信息库;Receive the contracted network information database corresponding to different MCCs pushed by the network platform;
    从所述签约网络信息库中,确定出与所述目标MCC和所述目标通信卡对应的所述签约网络信息。From the contracted network information database, the contracted network information corresponding to the target MCC and the target communication card is determined.
  20. 根据权利要求12至19任一项所述的装置,其中,所述获取模块,还配置为:The device according to any one of claims 12 to 19, wherein the acquiring module is further configured to:
    所述基于所述目标MCC,获取目标通信卡对应的签约网络信息之前,获取目标对象的漫游的目标位置信息;Obtaining the roaming target location information of the target object before obtaining the contracted network information corresponding to the target communication card based on the target MCC;
    基于所述目标位置信息,确定所述目标MCC。Based on the target location information, the target MCC is determined.
  21. 一种存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现权利要求1至11任一项所述方法的步骤。A storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the method described in any one of claims 1 to 11 are realized.
PCT/CN2020/136238 2019-12-26 2020-12-14 Network searching method and device, and storage medium WO2021129446A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911365423.2 2019-12-26
CN201911365423.2A CN111107609A (en) 2019-12-26 2019-12-26 Network searching method and device and storage medium

Publications (1)

Publication Number Publication Date
WO2021129446A1 true WO2021129446A1 (en) 2021-07-01

Family

ID=70424866

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/136238 WO2021129446A1 (en) 2019-12-26 2020-12-14 Network searching method and device, and storage medium

Country Status (2)

Country Link
CN (1) CN111107609A (en)
WO (1) WO2021129446A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111107609A (en) * 2019-12-26 2020-05-05 Oppo广东移动通信有限公司 Network searching method and device and storage medium
WO2022027187A1 (en) * 2020-08-03 2022-02-10 华为技术有限公司 Public land mobile network selection method and apparatus
CN113194521B (en) * 2021-03-29 2023-07-21 深圳市广和通无线股份有限公司 Network searching method and device for 5G communication module, computer equipment and storage medium
CN113472470B (en) * 2021-05-31 2022-04-19 荣耀终端有限公司 Cell search method under multiple operators, electronic device and computer-readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015143706A1 (en) * 2014-03-28 2015-10-01 华为终端有限公司 Roaming access method and device
CN105554851A (en) * 2015-12-22 2016-05-04 努比亚技术有限公司 Quick network searching method and device for mobile terminal
EP3188532A1 (en) * 2015-06-19 2017-07-05 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Network access method and mobile terminal
CN109417756A (en) * 2016-04-27 2019-03-01 高通股份有限公司 Network for more SIM devices preempts
CN110602764A (en) * 2019-09-23 2019-12-20 捷开通讯(深圳)有限公司 Network searching method, device, storage medium and terminal
CN111107609A (en) * 2019-12-26 2020-05-05 Oppo广东移动通信有限公司 Network searching method and device and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8670761B2 (en) * 2008-04-10 2014-03-11 Telefonaktiebolaget L M Ericsson (Publ) PLMN frequency search triggered by country code change
CN105451307A (en) * 2014-09-25 2016-03-30 中国电信股份有限公司 Mobile network search method and terminal
CN105636018A (en) * 2016-01-11 2016-06-01 广东欧珀移动通信有限公司 Method and device for modifying registered public land mobile network
CN105933954A (en) * 2016-05-13 2016-09-07 珠海市魅族科技有限公司 Method and device for selecting network
CN107911812B (en) * 2017-11-14 2021-11-16 维沃移动通信有限公司 Method for adjusting preferred public land mobile network PPLMN list and mobile terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015143706A1 (en) * 2014-03-28 2015-10-01 华为终端有限公司 Roaming access method and device
EP3188532A1 (en) * 2015-06-19 2017-07-05 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Network access method and mobile terminal
CN105554851A (en) * 2015-12-22 2016-05-04 努比亚技术有限公司 Quick network searching method and device for mobile terminal
CN109417756A (en) * 2016-04-27 2019-03-01 高通股份有限公司 Network for more SIM devices preempts
CN110602764A (en) * 2019-09-23 2019-12-20 捷开通讯(深圳)有限公司 Network searching method, device, storage medium and terminal
CN111107609A (en) * 2019-12-26 2020-05-05 Oppo广东移动通信有限公司 Network searching method and device and storage medium

Also Published As

Publication number Publication date
CN111107609A (en) 2020-05-05

Similar Documents

Publication Publication Date Title
WO2021129446A1 (en) Network searching method and device, and storage medium
US10187798B2 (en) Terminal device having subscriber identity device and method for selecting profile thereof
CN108271120B (en) Method, device and equipment for determining target area and target user
US9294988B2 (en) Creating a preferred PLMN list for faster service acquisition
CN104869615B (en) Network access method and mobile communication terminal
WO2016150003A1 (en) Cell searching method and apparatus
US20120309391A1 (en) Methods and apparatus for adaptive network selection
CN110035388B (en) Method for determining user area, computer readable storage medium and terminal device
CN108141817B (en) Public Land Mobile Network (PLMN) search in a multi-Radio Access Technology (RAT) environment
US10064122B2 (en) Method for selecting public land mobile network PLMN, and apparatus and device thereof
EP3197213B1 (en) Network access method and mobile communication terminal
WO2016202293A1 (en) Network access method and mobile terminal
CN104980993A (en) Network access method, mobile communication terminal, network server and network access system
WO2018214960A1 (en) Frequency band scanning method and device, mobile terminal and storage medium
US10897702B2 (en) Method and device for calling SIM card, method and device for pushing information, and SIM card allocation system
CN110475242B (en) LTE network registration method, device, storage medium and computer equipment
CN111294918A (en) Cell registration method, device, terminal and computer storage medium
CN106793009B (en) Network searching method and mobile terminal
CN104902533A (en) Network access method and mobile communication terminal
MXPA06005689A (en) Home network searching when roaming in wireless communications networks.
CN111066333A (en) Device capable of acquiring ESIM configuration file
JP5172483B2 (en) Mobile communication terminal, mobile communication control method, and mobile communication system
CN107548121B (en) Method and device for determining access network
US10802714B2 (en) Optimizing access to universal integrated circuit card (UICC) files in a user equipment (UE)
WO2020024689A1 (en) Network searching method, terminal device, and computer readable storage medium

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

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

Country of ref document: EP

Kind code of ref document: A1