CN109121184B - Network searching method and related product - Google Patents

Network searching method and related product Download PDF

Info

Publication number
CN109121184B
CN109121184B CN201811165367.3A CN201811165367A CN109121184B CN 109121184 B CN109121184 B CN 109121184B CN 201811165367 A CN201811165367 A CN 201811165367A CN 109121184 B CN109121184 B CN 109121184B
Authority
CN
China
Prior art keywords
access layer
mcc information
mcc
target
controlling
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811165367.3A
Other languages
Chinese (zh)
Other versions
CN109121184A (en
Inventor
陈燕绿
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201811165367.3A priority Critical patent/CN109121184B/en
Publication of CN109121184A publication Critical patent/CN109121184A/en
Application granted granted Critical
Publication of CN109121184B publication Critical patent/CN109121184B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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

Landscapes

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

Abstract

The embodiment of the application discloses a network searching method and a related product, wherein the method comprises the following steps: controlling the first access layer and the second access layer to respectively search for a country code MCC; if the first access layer searches target MCC information before the second access layer, controlling the first access layer to share the target MCC information; controlling the second access layer to suspend searching the MCC and controlling the second access layer to acquire the target MCC information; and controlling the first access layer and the second access layer, and respectively carrying out next network searching operation based on the target MCC information. By adopting the method and the device, the network searching speed can be improved.

Description

Network searching method and related product
Technical Field
The invention relates to the technical field of communication, in particular to a network searching method and a related product.
Background
With the rapid development of communication technology and electronic technology, it is very common to use electronic devices (e.g., mobile phones, tablets, desktop notebooks, etc.) in foreign countries in daily life and work (e.g., business trips, etc.), so that roaming network searching becomes a common function of electronic devices.
In the prior art, a conventional power-on network search preferentially searches for a public land mobile network (RPLMN) and a local public land mobile network (HPLMN) once on the network, and then searches for other available networks. With the increasing frequency bands supported by the mobile phone and the condition limitations such as complicated network coverage of the roaming place, the standard sequence makes the network searching of the first roaming place particularly slow.
Disclosure of Invention
The embodiment of the application provides a network searching method and a related product, which can improve the network searching and registering efficiency.
In a first aspect, an embodiment of the present application provides a network search method, which is applied to an electronic device, where the electronic device includes a first subscriber identity card and a second subscriber identity card, the first subscriber identity card corresponds to a first protocol stack, the second subscriber identity card corresponds to a second protocol stack, the first protocol stack includes a first access layer, the second protocol stack includes a second access layer, and the method includes:
controlling the first access layer and the second access layer to respectively search for a country code MCC;
if the first access layer searches target MCC information before the second access layer, controlling the first access layer to share the target MCC information;
controlling the second access layer to suspend searching the MCC and controlling the second access layer to acquire the target MCC information;
and controlling the first access layer and the second access layer, and respectively carrying out next network searching operation based on the target MCC information.
In a second aspect, an embodiment of the present application provides a network searching apparatus, where the first subscriber identity card corresponds to a first protocol stack, the second subscriber identity card corresponds to a second protocol stack, the first protocol stack includes a first access layer, the second protocol stack includes a second access layer, and the apparatus includes:
a searching unit, configured to control the first access layer and the second access layer to perform MCC search for country codes respectively;
a sharing unit, configured to control the first access layer to share target MCC information if the first access layer searches the target MCC information before the second access layer;
an obtaining unit, configured to control the second access layer to suspend searching for the MCC, and control the second access layer to obtain the target MCC information;
the searching unit is further configured to control the first access layer and the second access layer to perform a next network searching operation based on the target MCC information.
In a third aspect, an embodiment of the present application provides an electronic device, including a processor, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the processor, and the program includes instructions for some or all of the steps described in the first aspect.
In a fourth aspect, the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, where the computer program makes a computer perform some or all of the steps as described in the first aspect of the present application.
In a fifth aspect, embodiments of the present application provide a computer program product, where the computer program product comprises a non-transitory computer-readable storage medium storing a computer program, the computer program being operable to cause a computer to perform some or all of the steps as described in the first aspect of embodiments of the present application. The computer program product may be a software installation package.
The embodiment of the application has the following beneficial effects:
after the network searching method and the related products are adopted, a first access layer corresponding to a first user identification card and a second access layer corresponding to a second user identification card in electronic equipment are controlled to respectively carry out country code MCC searching, if the first access layer searches target MCC information before the second access layer, the first access layer is controlled to share the target MCC information, the second access layer is controlled to suspend searching the MCC and obtain the target MCC information, then the first access layer and the second access layer are controlled, and network searching operation is respectively carried out on the basis of the target MCC information. Therefore, when the first access layer searches the target MCC information, the second access layer does not need to continue searching the MCC information, but continues to use the target MCC information searched by the first access layer to perform the next network searching operation, so that the network searching efficiency of the second access layer is improved, and the user experience is improved conveniently.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Wherein:
fig. 1A is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
fig. 1B is a schematic flowchart of a country code search method according to an embodiment of the present disclosure;
fig. 1C is a schematic flowchart of another country code searching method according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of a network searching method according to an embodiment of the present application;
fig. 3 is a schematic flowchart of another network searching method according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a network searching apparatus according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of another electronic device according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions of the present application better understood, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," and the like in the description and claims of the present application and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
First, terms related to embodiments of the present invention are explained.
Public Land Mobile Networks (PLMNs) are networks established and operated by governments or operators approved by them for the purpose of providing Land Mobile services to the Public. The PLMN — MCC + MNC, where MCC is a Mobile country number and its english is a Mobile country code, is composed of 3 digits, and uniquely identifies the country to which the Mobile client belongs, for example, 460 in china, 316 in the united states, and 525 in singapore. The MNC is a Mobile Network number, and the English of the MNC is a Mobile Network Code, which consists of 2 digits and is used for identifying the Mobile Network to which the Mobile client belongs. For example, the China Mobile GSM, TD-SCDMA, LTE are 00/02/07 respectively, the China Unicom GSM is 0l, and the China telecom CDMA is 03.
A Home Public Land Mobile Network (HPLMN) is a PLMN whose Home location is a Universal Subscriber Identity Module (USIM) corresponding to an International Mobile Subscriber Identity Number (IMSI).
The IMSI is a mark for distinguishing a mobile subscriber, is stored in the SIM card, and can be used for distinguishing valid information of the mobile subscriber.
In the prior art, the conventional boot-up network searching firstly searches the RPLMN and HPLMN of the network for the last time, and then searches other available networks, for example: operator networks and user-defined networks. With the increasing frequency bands supported by the mobile phone and the condition limitations such as complicated network coverage of the roaming place, the standard sequence makes the network searching of the first roaming place particularly slow. Based on this, the embodiment of the application provides a network searching method and a related product, which can improve the network searching and registering efficiency.
The electronic devices involved in the embodiments of the present application may include various handheld devices, vehicle-mounted devices, wearable devices, computing devices or other processing devices connected to a wireless modem with wireless communication functions, as well as various forms of User Equipment (UE), Mobile Stations (MS), terminal equipment (terminal device), and so on. For convenience of description, the above-mentioned devices are collectively referred to as electronic devices.
Fig. 1A is a schematic structural diagram of an electronic device according to the present invention. The electronic device 100 includes: a first subscriber identity card 111, a second subscriber identity card 112, a baseband processing module 120, a memory 130, a first transceiver 141, a first antenna 142, a second transceiver 143, a second antenna 144, etc. The baseband processing module 120 includes: a signal processor 121, a modem 122, and an application processor 123. The modem 122 includes a first protocol stack 1221 and a second protocol stack 1222.
In the present application, the first subscriber identity card 111 and the second subscriber identity card 112 respectively store data (for example, network numbers) corresponding to networks, and network searching, network registration, and the like can be performed according to the data, thereby realizing communication of the electronic device.
The first subscriber identity card 111 and the second subscriber identity card 112 may be disposed in regions corresponding to the first card slot and the second card slot, respectively. The first card slot and the second card slot may be independent card slots, that is, include two independent card holders for respectively carrying the first subscriber identity card 111 and the second subscriber identity card 112. Therefore, the first user identification card and the second user identification card can be independently hot-plugged. The first card slot and the second card slot can also adopt a 'one-support-two' mode, namely only comprising one card support with two card slots. In this way, the first subscriber identity card 111 and the second subscriber identity card 112 cannot implement separate hot plug.
The access stratum generally refers to the portion of the network directly facing the user connection or access; a Non-access stratum (NAS) exists in a radio communication protocol stack of a Universal Mobile Telecommunications System (UMTS) as a functional layer between a core network and a user equipment. This layer supports signaling and data transfer between the two.
In the protocol stack, a Radio Resource Control (RRC) layer and a Radio Access Network Application Protocol (RANAP) layer below the RRC layer are referred to as an Access layer, and an MM, an SM, a CC, an SMs, and the like above the RRC layer and the RANAP layer are referred to as a non-Access layer. In short, the access stratum procedure refers to a procedure that a Radio Network Controller (RNC) and a NodeB of a Radio access stratum need to participate in processing. The flow of the non-access stratum refers to the signaling flow which only needs to be processed by the UE and the CN, and the RNC and the NodeB do not need to be processed. By way of a visual metaphor, the signaling of the access stratum is bridged for the signaling interaction of the non-access stratum. A signaling path is established between the UE and the CN through the signaling interaction of the access stratum, so that the signaling process of the non-access stratum can be carried out.
Referring to fig. 1B, fig. 1B is a flowchart illustrating a country code searching method according to an embodiment of the present application, as shown in fig. 1B, the first protocol stack 122 and the second protocol stack 123 are two independent protocol stacks, where the first protocol stack 122 includes a first non-access layer 1221 and a first access layer 1222, the second protocol stack 123 includes a second non-access layer 1231 and a second access layer 1232, the first subscriber identity card 111 obtains a country code of a location based on the first access layer 1222, and the second subscriber identity card 112 obtains a country code of a location based on the second access layer 1232.
The first access layer 1222 and the second access layer 1232 are connected to a Radio Frequency resource Management (Radio Frequency Management) module 125, and the Radio Frequency resource Management module 125 can implement automatic checking of Radio Frequency resources such as a peripheral wireless signal environment, dynamic adjustment of a channel and a transmission power, and intelligent balanced user access, thereby reducing Radio Frequency signal interference, adjusting a wireless signal coverage, enabling a wireless network to adapt to wireless environment changes quickly, ensuring service quality of a user accessing the wireless network, and maintaining an optimal Radio Frequency resource state.
Referring to fig. 1C, fig. 1C is a flowchart illustrating another country code searching method according to an embodiment of the present disclosure, as shown in fig. 1C, the electronic device 100 further includes a positioning module 126, and the positioning module 126 may obtain address information to determine a country code where the electronic device 100 is located.
The positioning module 126 is not limited in this application, and may include at least one of the following items: a Global Positioning System (GPS) module or a Wireless Local Area Network (WLAN) module.
The GPS module utilizes a GPS positioning satellite to perform positioning and navigation in real time in a global range. The WLAN module uses radio frequency technology and electromagnetic waves to perform communication connection in the air, and its positioning method may be according to the connected hotspot device, for example: a wireless router or an electronic device that turns on a hotspot, etc.
In the embodiment of the present application, the memory 130 is used for storing data, and the specific network parameter file may be stored in the memory 130. The memory 130 may be any available storage medium that can be accessed by general purpose or special purpose, such as a hard disk drive memory, a non-volatile memory (e.g., a flash memory or other electronically programmable read-only memory used to form a solid state drive, etc.), a volatile memory (e.g., a static or dynamic random access memory, etc.), etc., and the embodiments of the present application are not limited thereto.
The signal processor 121 may comprise suitable hardware, logic, circuitry, and/or code that may enable analog-to-digital conversion, modulation/demodulation, channel coding/decoding, and/or the like.
The modem 122 may comprise suitable hardware, logic, circuitry, and/or code that may enable protocol processing, software execution, and peripheral (e.g., keyboard, camera, wifi, GPS, etc.) management, among others. In an embodiment of the present invention, the modem 122 includes a first protocol stack 1221 and a second protocol stack 1222. The first protocol stack 1221 and the second protocol stack 1222 include various protocols of network standards interacting with the network, for example, protocol codes specified in communication standards such as LTE/WCDMA/GSM/TDSCDMA/1X/CDMA/EVDO. The protocols of these standards are followed by user equipment to interact with the operator network (e.g., to surf the internet through data traffic, to make phone calls through VOLTE, or to make phone calls through the CS circuit domain, etc.).
The application processor 124 is a control center of the electronic device 100, connects various parts of the whole electronic device 100 by using various interfaces and lines, performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 130 and calling data stored in the memory 130, thereby monitoring the electronic device as a whole.
The transceivers (the first transceiver 141 and the second transceiver 143) are mainly used for performing the functions of up-conversion, down-conversion, filtering, and amplification of signals.
The antennas (antenna 142, antenna 144) are mainly used for transmitting/receiving signals.
The electronic equipment of the embodiment of the invention comprises two sets of transceivers and antennas, and can realize double-card double-pass, namely, one user identification card can be used for carrying out data service and the other user identification card can be used for carrying out voice communication.
Referring to fig. 2, an embodiment of the present application provides a flowchart illustrating a network searching method. The network searching method is applied to the electronic equipment shown in fig. 1A, the electronic equipment includes a first subscriber identity card and a second subscriber identity card, the first subscriber identity card corresponds to a first protocol stack, the second subscriber identity card corresponds to a second protocol stack, the first protocol stack includes a first access layer, and the second protocol stack includes a second access layer.
Specifically, as shown in fig. 2, a network search method includes:
s201: and controlling the first access layer and the second access layer to respectively search the country codes MCC.
In this application, as shown in fig. 1B and fig. 1C, a first protocol stack corresponding to a first access layer and a second protocol stack corresponding to a second access layer are independent protocol stacks, and then the first access layer and the second access layer respectively search for an MCC where an electronic device is located.
S202: and if the first access layer searches the target MCC information before the second access layer, controlling the first access layer to share the target MCC information.
S203: and controlling the second access layer to suspend searching the MCC and controlling the second access layer to acquire the target MCC information.
It can be understood that, if the first access layer searches the target MCC information before the second access layer, the target MCC information is shared, so that the second access layer does not need to continue searching the MCC, but continues to perform the next network searching operation by using the target MCC information searched by the first access layer, thereby improving the network searching efficiency of the second access layer and facilitating the improvement of user experience.
The sharing method is not limited in the present application, the target MCC information may be stored in a preset target area, or a sharing instruction may be generated, where the sharing instruction includes the target MCC information, or the sharing instruction may be analyzed to obtain the target MCC information, and the sharing instruction may also be used to instruct the second access stratum to suspend MCC search.
In one possible example, the controlling the first access stratum to share the target MCC information comprises: determining a first network searching signaling corresponding to the second access layer; adding an identifier corresponding to a preset sharing position in the first network searching signaling to obtain a second network searching signaling; controlling the first access layer to store the target MCC information to the preset sharing position, and sending the second network searching signaling to the second access layer; the controlling the second access stratum to acquire the target MCC information includes: and controlling the second access layer to acquire the target MCC information according to the second network searching signaling.
Wherein, the first network searching signaling is used for indicating the second access layer to search the MCC; the second network searching signaling is used for instructing the second access layer to acquire the target MCC information from the shared location corresponding to the target MCC information, and also used for instructing the second access layer to suspend searching for the MCC.
The preset sharing position is not limited, and the preset sharing position can be a preset position, or a temporary position selected by aiming at the current storage space.
It can be understood that, an identifier corresponding to a preset shared location is added to the first network searching signaling to obtain a second network searching signaling, the first access layer is controlled to store the target MCC information to the preset shared location, and the second network searching signaling is sent to the second access layer, so that the second access layer can obtain the target MCC information according to the second network searching signaling.
Further, a verification password of the second subscriber identity card can be acquired, and the target MCC information is encrypted according to the verification password to obtain reference MCC information; the controlling the first access stratum to store the target MCC to the preset shared location comprises: controlling the first access stratum to store the reference MCC information to the preset sharing position; the controlling the second access stratum to acquire the target MCC information includes: controlling the second access layer to acquire the reference MCC information according to the second network searching signaling; and decoding the reference MCC information according to the verification password to obtain the target MCC information.
The verification password may be identification information of the second subscriber identification card, for example: the SIM card number, the telephone number, etc., may also be a password set by the second subscriber identity card, etc., and are not limited herein.
It can be understood that, the target MCC information is encrypted according to the verification password of the second subscriber identity card to obtain the reference MCC information, then the reference MCC information is stored to the preset shared position, the second access layer is controlled to obtain the reference MCC information according to the second network searching signaling, and the reference MCC information is decoded according to the verification password to obtain the target MCC information, so that the second access layer decodes the reference MCC information at the preset shared position according to the verification password to obtain the target MCC information, and thus the secure transmission performance of the target MCC information is improved.
S204: and controlling the first access layer and the second access layer, and respectively carrying out next network searching operation based on the target MCC information.
In the application, the next network searching operation is used for completing network registration of the first subscriber identity card and the second subscriber identity card, and the next network searching operation is not limited and can be operator network searching.
In the network searching method shown in fig. 2, a first access layer corresponding to a first subscriber identity card and a second access layer corresponding to a second subscriber identity card in an electronic device are controlled to perform MCC search for a country code, respectively, and if the first access layer searches target MCC information before the second access layer, the first access layer is controlled to share the target MCC information, the second access layer is controlled to suspend searching for the MCC, the target MCC information is acquired, the first access layer and the second access layer are controlled, and network searching operation is performed in the next step based on the target MCC information, respectively. Therefore, when the first access layer searches the target MCC information, the second access layer does not need to continue searching the MCC information, but continues to use the target MCC information searched by the first access layer to perform the next network searching operation, so that the network searching efficiency of the second access layer is improved, and the user experience is improved conveniently.
In one possible example, if the second access stratum searches for the target MCC information before the first access stratum, controlling the second access stratum to share the target MCC information; controlling the first access layer to suspend searching the MCC and acquiring the target MCC information;
that is, if one of the second access stratum and the first access stratum searches the target MCC information first, the target MCC information is shared, so that the other access stratum does not need to continue searching the MCC but continues to perform the next network searching operation by using the target MCC information searched by the first access stratum, thereby improving the network searching efficiency of the other access stratum and facilitating the improvement of user experience.
Referring to fig. 3, fig. 3 is a flowchart illustrating another network searching method provided in an embodiment of the present application, where the network searching method is applied to the electronic device shown in fig. 1A, where the electronic device includes a first subscriber identity card and a second subscriber identity card, the first subscriber identity card corresponds to a first protocol stack, the second subscriber identity card corresponds to a second protocol stack, the first protocol stack includes a first access layer, and the second protocol stack includes a second access layer. Specifically, as shown in fig. 3, the network search method includes:
s301: and controlling the first access layer, the second access layer and the positioning module to respectively search the country code MCC.
Wherein: the positioning module comprises at least one of: a Global Positioning System (GPS) module or a Wireless Local Area Network (WLAN) module.
In this application, as shown in fig. 1C, a first protocol stack corresponding to a first access layer and a second protocol stack corresponding to a second access layer are independent protocol stacks, and then the first access layer and the second access layer respectively search for an MCC where an electronic device is located. The electronic device further comprises a positioning module, so that the MCC can be searched by the positioning module.
S302: and if the positioning module searches target MCC information before the first access layer and the second access layer, controlling the positioning module to share the target MCC information.
In one possible example, the method further comprises: if the positioning module searches for a plurality of MCC information, obtaining an update parameter corresponding to each MCC information in the plurality of MCC information to obtain a plurality of update parameters, where the update parameters at least include one of: update time, update object and confidence coefficient; and determining the target MCC information according to the plurality of update parameters.
Wherein: the updating time is the time when each positioning module searches the MCC information, the updating object is a specific positioning module, and the confidence coefficient is used for explaining the reliability of the positioning information.
Since the positioning module may include various modules such as a GPS module or a WLAN module, and the network searching accuracy of each module is different, the various modules may update the system or have different network searching time, so as to obtain at least one MCC information.
It can be understood that, if the positioning module can obtain a plurality of MCC information, the updating parameters corresponding to the respective MCC information are obtained to obtain a plurality of updating parameters, and then the target MCC information is determined according to the plurality of updating parameters, so that the accuracy of determining the target MCC information can be improved.
The method and the device for determining the target MCC information according to the plurality of update parameters are not limited, and the MCC corresponding to the latest update time can be selected, the MCC corresponding to the maximum confidence coefficient can be selected, the MCC corresponding to the update object with the maximum reliability can be selected, and the like.
In one possible example, the determining the target MCC information according to the plurality of update parameters comprises: determining an evaluation value corresponding to each MCC information in the MCC information according to the update parameters to obtain a plurality of evaluation values; and determining MCC information corresponding to the maximum value of the evaluation values as the target MCC information.
The method for determining the evaluation value is not limited, the confidence value corresponding to each dimension in each updating parameter can be determined, and then the weighting is carried out on the confidence value corresponding to each dimension in each updating parameter so as to obtain the evaluation value.
For example, assume that there is first MCC information and second MCC information, wherein: the updating time of the first MCC information is 16 points and 40 minutes, the updating object is a GPS module, and the confidence coefficient is 0.8; the update time of the second MCC information is 16 o' clock and 50 minutes, the update object is a WLAN module, and the confidence coefficient is 0.7. And if the preset weights corresponding to the update time, the update object and the confidence coefficient are 0.4, 0.2 and 0.4, and the current time is 17 points, determining that the confidence value corresponding to the update time in the first MCC information is (60-20)/60 ≈ 0.67 and the evaluation value corresponding to the update time in the second MCC information is (60-10)/60 ≈ 0.83 by taking 60 minutes as a reference. If the confidence value corresponding to the GPS module is 0.9 and the WLAN module is 0.8, the evaluation value corresponding to the first MCC information is 0.67 × 0.4+0.9 × 0.2+0.8 × 0.4 ═ 0.768, and the evaluation value corresponding to the second MCC information is 0.83 × 0.4+0.8 × 0.2+0.7 ═ 0.4 ═ 0.772, so that the target MCC information is determined to be the second MCC information.
It can be understood that the evaluation values corresponding to the update parameters are calculated, and then the MCC information corresponding to the maximum value in the evaluation values is selected as the target MCC information, that is, the update parameters of the dimensions are comprehensively considered, so that the accuracy of determining the target MCC information is further improved.
S303: and controlling the first access layer and the second access layer to respectively suspend searching the MCC, and controlling the first access layer and the second access layer to respectively acquire the target MCC information.
S304: and controlling the first access layer and the second access layer, and respectively carrying out next network searching operation based on the target MCC information.
In the network searching method shown in fig. 3, a first access layer corresponding to a first subscriber identity card, a second access layer corresponding to a second subscriber identity card, and a positioning module of an electronic device are controlled to perform MCC search respectively for country codes, and if the positioning module searches target MCC information before the first access layer and the second access layer, the positioning module is controlled to share the target MCC information, and then the first access layer and the second access layer are controlled to obtain the target MCC information, and the first access layer and the second access layer are controlled to perform next network searching operation respectively based on the target MCC information. Therefore, when the positioning module searches the target MCC information first, the first access layer and the second access layer do not need to continue searching the MCC, but continue to use the target MCC information searched by the positioning module to perform the next network searching operation, so that the network searching efficiency of the first access layer and the second access layer is improved, and the user experience is improved conveniently.
Referring to fig. 4 and fig. 4, which are consistent with the embodiments shown in fig. 2 and fig. 3, fig. 4 is a schematic structural diagram of a network searching apparatus provided in the embodiment of the present application, where the network searching apparatus is applied to an electronic device shown in fig. 1A, where the electronic device includes a first subscriber identity card and a second subscriber identity card, the first subscriber identity card corresponds to a first protocol stack, the second subscriber identity card corresponds to a second protocol stack, the first protocol stack includes a first access layer, and the second protocol stack includes a second access layer. Specifically, as shown in fig. 4, the network search apparatus 400 includes:
the searching unit 401 is configured to control the first access layer and the second access layer to perform MCC searches for country codes respectively;
a sharing unit 402, configured to control the first access layer to share target MCC information if the first access layer searches the target MCC information before the second access layer;
the obtaining unit 403 is configured to control the second access layer to suspend searching for the MCC, and control the second access layer to obtain the target MCC information;
the searching unit 401 is further configured to control the first access layer and the second access layer to perform a next network searching operation based on the target MCC information.
It can be understood that the first access layer corresponding to the first subscriber identity card and the second access layer corresponding to the second subscriber identity card in the electronic device are controlled to perform MCC search for the country code, respectively, if the first access layer searches target MCC information before the second access layer, the first access layer is controlled to share the target MCC information, the second access layer is controlled to suspend searching for the MCC, the target MCC information is acquired, the first access layer and the second access layer are controlled, and network searching operation is performed in the next step based on the target MCC information, respectively. Therefore, when the first access layer searches the target MCC information, the second access layer does not need to continue searching the MCC information, but continues to use the target MCC information searched by the first access layer to perform the next network searching operation, so that the network searching efficiency of the second access layer is improved, and the user experience is improved conveniently.
In one possible example, the electronic device further comprises a positioning module comprising at least one of: a global positioning system GPS module or a wireless local area network WLAN module; the search unit 401 is further configured to control the positioning module to search the MCC; the sharing unit 402 is further configured to control the positioning module to share the target MCC information if the positioning module searches for the target MCC information before the first access layer and the second access layer; the obtaining unit 403 is further configured to control the first access layer and the second access layer to suspend searching for the MCC respectively, and control the first access layer and the second access layer to obtain the target MCC information respectively.
In a possible example, the obtaining unit 403 is further configured to, if the positioning module searches for multiple MCC information, obtain an update parameter corresponding to each MCC information in the multiple MCC information, to obtain multiple update parameters, where the update parameter at least includes one of: update time, update object and confidence coefficient; and determining the target MCC information according to the plurality of update parameters.
In a possible example, in the aspect of determining the target MCC information according to the plurality of update parameters, the obtaining unit 403 is specifically configured to determine, according to the plurality of update parameters, an evaluation value corresponding to each MCC information in the plurality of MCC information, so as to obtain a plurality of evaluation values; and determining MCC information corresponding to the maximum value of the evaluation values as the target MCC information.
In a possible example, in terms of the controlling the second access stratum to acquire the target MCC information, the sharing unit 402 is specifically configured to determine a first network searching signaling corresponding to the second access stratum, where the first network searching signaling is used to instruct the second access stratum to search for the MCC; adding an identifier corresponding to a preset sharing position in the first network searching signaling to obtain a second network searching signaling; controlling the first access layer to store the target MCC information to the preset sharing position, and sending the second network searching signaling to the second access layer; in the aspect of controlling the second access stratum to acquire the target MCC information, the acquiring unit 403 is specifically configured to control the second access stratum to acquire the target MCC information according to the second network searching signaling.
Referring to fig. 5, fig. 5 is a schematic structural diagram of another electronic device according to an embodiment of the present disclosure, which is similar to the embodiment shown in fig. 2 and fig. 3. As shown in fig. 5, the electronic device 500 includes a processor 510, a memory 520, a communication interface 530, and one or more programs 521, wherein the one or more programs 521 are stored in the memory 520 and configured to be executed by the processor 510, and the program 521 includes instructions for performing the following steps:
controlling the first access layer and the second access layer to respectively search for a country code MCC;
if the first access layer searches target MCC information before the second access layer, controlling the first access layer to share the target MCC information;
controlling the second access layer to suspend searching the MCC and controlling the second access layer to acquire the target MCC information;
and controlling the first access layer and the second access layer, and respectively carrying out next network searching operation based on the target MCC information.
It can be understood that the first access layer corresponding to the first subscriber identity card and the second access layer corresponding to the second subscriber identity card in the electronic device 500 are controlled to perform MCC search for the country code, respectively, and if the first access layer searches target MCC information before the second access layer, the first access layer is controlled to share the target MCC information, the second access layer is controlled to suspend searching for the MCC, the target MCC information is acquired, and then the first access layer and the second access layer are controlled to perform next network search operation based on the target MCC information, respectively. Therefore, when the first access layer searches the target MCC information, the second access layer does not need to continue searching the MCC information, but continues to use the target MCC information searched by the first access layer to perform the next network searching operation, so that the network searching efficiency of the second access layer is improved, and the user experience is improved conveniently.
In one possible example, the electronic device 500 further comprises a positioning module comprising at least one of: a global positioning system GPS module or a wireless local area network WLAN module;
the instructions in the program 521 are also for performing the following operations:
controlling the positioning module to search for the MCC;
if the positioning module searches the target MCC information before the first access layer and the second access layer, controlling the positioning module to share the target MCC information;
and controlling the first access layer and the second access layer to respectively suspend searching the MCC, and controlling the first access layer and the second access layer to respectively acquire the target MCC information.
In one possible example, the instructions in the program 521 are also for performing the following operations:
if the positioning module searches for a plurality of MCC information, obtaining an update parameter corresponding to each MCC information in the plurality of MCC information to obtain a plurality of update parameters, where the update parameters at least include one of: update time, update object and confidence coefficient;
and determining the target MCC information according to the plurality of update parameters.
In one possible example, in the determining the target MCC information according to the plurality of update parameters, the instructions in the program 521 are specifically configured to:
determining an evaluation value corresponding to each MCC information in the MCC information according to the update parameters to obtain a plurality of evaluation values;
and determining MCC information corresponding to the maximum value of the evaluation values as the target MCC information.
In one possible example, in terms of the controlling the first access stratum to share the target MCC information, the instructions in the program 521 are specifically configured to:
determining a first network searching signaling corresponding to the second access layer, where the first network searching signaling is used to instruct the second access layer to search the MCC;
adding an identifier corresponding to a preset sharing position in the first network searching signaling to obtain a second network searching signaling;
controlling the first access layer to store the target MCC information to the preset sharing position, and sending the second network searching signaling to the second access layer;
in the aspect of controlling the second access stratum to acquire the target MCC information, the instruction in the program 521 is specifically configured to perform the following operations:
and controlling the second access layer to acquire the target MCC information according to the second network searching signaling.
Embodiments of the present application also provide a computer storage medium, where the computer storage medium stores a computer program for causing a computer to execute a part or all of the steps of any one of the methods as described in the method embodiments, and the computer includes an electronic device.
Embodiments of the application also provide a computer program product comprising a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any of the methods as recited in the method embodiments. The computer program product may be a software installation package and the computer comprises the electronic device.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art will also appreciate that the embodiments described in this specification are presently preferred and that no particular act or mode of operation is required in the present application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, a division of a unit is merely a logical division, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a hardware mode or a software program mode.
The integrated unit, if implemented in the form of a software program module and sold or used as a stand-alone product, may be stored in a computer readable memory. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a memory, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method of the embodiments of the present application. And the aforementioned memory comprises: various media capable of storing program codes, such as a usb disk, a read-only memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and the like.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable memory, which may include: flash disk, ROM, RAM, magnetic or optical disk, and the like.
The foregoing detailed description of the embodiments of the present application has been presented to illustrate the principles and implementations of the present application, and the above description of the embodiments is only provided to help understand the method and the core concept of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. A network searching method is applied to electronic equipment, wherein the electronic equipment comprises a first subscriber identity card and a second subscriber identity card, the first subscriber identity card corresponds to a first protocol stack, the second subscriber identity card corresponds to a second protocol stack, the first protocol stack comprises a first access layer, the second protocol stack comprises a second access layer, and the first access layer and the second access layer are connected with a radio frequency resource management module, and the method comprises the following steps:
controlling the first access layer and the second access layer to respectively search for a country code MCC;
if the first access layer searches target MCC information before the second access layer, controlling the first access layer to share the target MCC information;
controlling the second access layer to suspend searching the MCC and controlling the second access layer to acquire the target MCC information;
and controlling the first access layer and the second access layer, and respectively carrying out next network searching operation based on the target MCC information.
2. The method of claim 1, wherein the electronic device further comprises a positioning module, wherein the positioning module comprises at least one of: a global positioning system GPS module or a wireless local area network WLAN module;
the method further comprises the following steps:
controlling the positioning module to search for the MCC;
if the positioning module searches the target MCC information before the first access layer and the second access layer, controlling the positioning module to share the target MCC information;
and controlling the first access layer and the second access layer to respectively suspend searching the MCC, and controlling the first access layer and the second access layer to respectively acquire the target MCC information.
3. The method of claim 2, further comprising:
if the positioning module searches for a plurality of MCC information, obtaining an update parameter corresponding to each MCC information in the plurality of MCC information to obtain a plurality of update parameters, where the update parameters at least include one of: update time, update object and confidence coefficient;
and determining the target MCC information according to the plurality of update parameters.
4. The method of claim 3, wherein the determining the target MCC information according to the updated parameters comprises:
determining an evaluation value corresponding to each MCC information in the MCC information according to the update parameters to obtain a plurality of evaluation values;
and determining MCC information corresponding to the maximum value of the evaluation values as the target MCC information.
5. The method of any of claims 1-4, wherein the controlling the first access stratum to share the target MCC information comprises:
determining a first network searching signaling corresponding to the second access layer, where the first network searching signaling is used to instruct the second access layer to search the MCC;
adding an identifier corresponding to a preset sharing position in the first network searching signaling to obtain a second network searching signaling;
controlling the first access layer to store the target MCC information to the preset sharing position, and sending the second network searching signaling to the second access layer;
the controlling the second access stratum to acquire the target MCC information includes:
and controlling the second access layer to acquire the target MCC information according to the second network searching signaling.
6. A network searching device is applied to an electronic device, the electronic device includes a first subscriber identity card and a second subscriber identity card, the first subscriber identity card corresponds to a first protocol stack, the second subscriber identity card corresponds to a second protocol stack, the first protocol stack includes a first access layer, the second protocol stack includes a second access layer, the first access layer and the second access layer are connected with a radio frequency resource management module, the device includes:
a searching unit, configured to control the first access layer and the second access layer to perform MCC search for country codes respectively;
a sharing unit, configured to control the first access layer to share target MCC information if the first access layer searches the target MCC information before the second access layer;
an obtaining unit, configured to control the second access layer to suspend searching for the MCC, and control the second access layer to obtain the target MCC information;
the searching unit is further configured to control the first access layer and the second access layer to perform a next network searching operation based on the target MCC information.
7. The apparatus of claim 6, wherein the electronic device further comprises a positioning module, wherein the positioning module comprises at least one of: a global positioning system GPS module or a wireless local area network WLAN module; the searching unit is further configured to control the positioning module to search the MCC; the sharing unit is further configured to control the positioning module to share the target MCC information if the positioning module searches the target MCC information before the first access layer and the second access layer; the obtaining unit is further configured to control the first access layer and the second access layer to suspend searching for the MCC, and control the first access layer and the second access layer to obtain the target MCC information.
8. The apparatus of claim 7, wherein the obtaining unit is further configured to obtain an update parameter corresponding to each MCC information in the MCC information to obtain a plurality of update parameters if the positioning module searches for a plurality of MCC information, and the update parameters at least include one of: update time, update object and confidence coefficient; and determining the target MCC information according to the plurality of update parameters.
9. An electronic device comprising a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor, the programs comprising instructions for performing the steps of the method of any of claims 1-5.
10. A computer-readable storage medium for storing a computer program, wherein the computer program causes a computer to perform the method according to any one of claims 1-5.
CN201811165367.3A 2018-09-30 2018-09-30 Network searching method and related product Active CN109121184B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811165367.3A CN109121184B (en) 2018-09-30 2018-09-30 Network searching method and related product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811165367.3A CN109121184B (en) 2018-09-30 2018-09-30 Network searching method and related product

Publications (2)

Publication Number Publication Date
CN109121184A CN109121184A (en) 2019-01-01
CN109121184B true CN109121184B (en) 2021-01-22

Family

ID=64857510

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811165367.3A Active CN109121184B (en) 2018-09-30 2018-09-30 Network searching method and related product

Country Status (1)

Country Link
CN (1) CN109121184B (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104902546B (en) * 2015-06-24 2018-10-16 中科创达软件股份有限公司 A kind of mobile terminal network-selecting method and system
US9819374B2 (en) * 2016-03-30 2017-11-14 T-Mobile Usa, Inc. Advanced device locking criteria
CN109417756A (en) * 2016-04-27 2019-03-01 高通股份有限公司 Network for more SIM devices preempts

Also Published As

Publication number Publication date
CN109121184A (en) 2019-01-01

Similar Documents

Publication Publication Date Title
CN108282845B (en) Network access method and mobile communication terminal
WO2017190349A1 (en) Network searching method and terminal device
KR101256738B1 (en) Wireless network search
CN108476449B (en) Method and terminal device for processing voice service
CN110521222B (en) User equipment for processing 5G system position information and method thereof
EP3439363A2 (en) Access point switching method and device
EP3085164B1 (en) Electronic device with frequency band scanning order
US11206612B2 (en) Wireless communication method and terminal device
CN110839200A (en) Emergency call implementation method and device
CN104284379A (en) Circuit domain fallback method and user equipment
US20230076852A1 (en) Electronic device supporting plurality of sims and operating method therefor
US10334553B2 (en) Wireless communications network registration method and terminal
CN110720237B (en) Information configuration method and device, and communication equipment
WO2016111684A1 (en) Triggering a more aggressive plmn search algorithm when in a visited plmn adjacent to the home plmn
US20210120609A1 (en) Methods for performing mobility procedure in NSA mode and communications apparatus utilizing the same
CN109121184B (en) Network searching method and related product
WO2018111793A1 (en) Camping in the context of device-to-device communication capability in a wireless device
US20170142645A1 (en) Method for enhancing performance of a communications apparatus in a plmn search procedure and a communications apparatus utilizing the same
US20230070106A1 (en) User equipment and method for warning messages delivery in private networks
US20240147219A1 (en) Secondary esim provisioning for wireless devices
CN115942421A (en) Cell disabling method, device, terminal equipment and computer storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant