CN112969218B - Network registration method and device, electronic equipment and storage medium - Google Patents

Network registration method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN112969218B
CN112969218B CN202110072753.3A CN202110072753A CN112969218B CN 112969218 B CN112969218 B CN 112969218B CN 202110072753 A CN202110072753 A CN 202110072753A CN 112969218 B CN112969218 B CN 112969218B
Authority
CN
China
Prior art keywords
network
coverage area
search result
home
searched
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
CN202110072753.3A
Other languages
Chinese (zh)
Other versions
CN112969218A (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.)
Fibocom Wireless Inc
Original Assignee
Fibocom Wireless Inc
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 Fibocom Wireless Inc filed Critical Fibocom Wireless Inc
Priority to CN202110072753.3A priority Critical patent/CN112969218B/en
Publication of CN112969218A publication Critical patent/CN112969218A/en
Application granted granted Critical
Publication of CN112969218B publication Critical patent/CN112969218B/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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W60/00Affiliation to network, e.g. registration; Terminating affiliation with the network, e.g. de-registration
    • H04W60/04Affiliation to network, e.g. registration; Terminating affiliation with the network, e.g. de-registration using triggered events

Landscapes

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

Abstract

The application relates to a network registration method, a network registration device, an electronic device and a storage medium. The method comprises the following steps: when a preset network registration event is triggered, network searching is carried out to obtain a network searching result; when the network search result does not comprise a preset home network, searching a network coverage area of the network searched in the network search result; and when the network coverage area of the searched network is not overlapped with the network coverage area of the home network, performing roaming network registration. By adopting the method, the network search result can be compared with the preset home network; the current network is effectively and quickly positioned, the preset network coverage relation can quickly and effectively screen the current network, the search time is saved, the network coverage area is not overlapped, the network service can be quickly acquired by directly trying to register to the network, and the quick network registration is realized.

Description

Network registration method, device, electronic equipment and storage medium
Technical Field
The present application relates to the field of network technologies, and in particular, to a network registration method, an apparatus, an electronic device, and a storage medium.
Background
With the wide application of Network technologies, a large number of wireless Network technologies emerge, for example, a Mobile Network technology and a wireless local area Network technology, and taking the Mobile Network technology as an example, currently, the Mobile Network technology is rapidly developed, the use of a Mobile Network relates to a registration process for acquiring a Network service, before registering the Mobile Network, a terminal searches for the Mobile Network, tries to find a Home Public Land Mobile Network (HPLMN), and performs Network registration after acquiring a corresponding Network.
However, under the roaming condition, the terminal also performs mobile network search first, and the terminal will not attempt to search for the roaming network until the full-band search is completed and the HPLMN cannot be found, so that the client cannot acquire network service for a long time, and the problem that the network cannot be registered for a long time exists.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a network registration method, apparatus, electronic device and storage medium capable of quickly registering a network.
A method of network registration, the method comprising:
when a preset network registration event is triggered, network searching is carried out to obtain a network searching result;
when the network search result does not comprise the preset home network, searching the network coverage area of the network searched in the network search result;
judging whether the network coverage area of the searched network in the network search result is overlapped with the network coverage area of the home network;
and when the network coverage area of the searched network is not overlapped with the network coverage area of the home network, performing roaming network registration.
In one embodiment, the network search is a mobile network search for the current frequency band;
the method further comprises the following steps:
when the network coverage area of the searched network is overlapped with the network coverage area of the home network, taking the next frequency band of the current frequency band as a new current frequency band, and performing network search on the new current frequency band to obtain a new network search result;
and taking the new network search result as the network search result again, and returning to the step of judging whether the network coverage area of the network in the network search result is overlapped with the network coverage area of the home network or not until the network coverage area of the network in the latest network search result is not overlapped with the network coverage area of the home network.
In one embodiment, when a preset network registration event is triggered, performing a network search, and obtaining a network search result, the method further includes:
and when the network search result comprises a preset home network, registering the home network corresponding to the user identity identification card.
In one embodiment, when the network search result does not include the preset home network, before finding the network coverage area of the network searched in the network search result, the method further includes:
acquiring a home network identification code corresponding to a user identity identification card;
and comparing the search identification code in the network search result with a preset home network identification code according to the home network identification code to determine whether the network search result comprises the preset home network.
In one embodiment, before performing roaming network registration when the network coverage area of the searched network does not overlap with the network coverage area of the home network, the method further includes:
acquiring network coverage areas of different networks, and dividing geographical areas covered by the different networks;
and presetting the network coverage area relation of different networks according to the network coverage area.
In one embodiment, when the network coverage area of the searched network is not overlapped with the network coverage area of the home network, performing roaming network registration includes:
when the network coverage area of the searched network is not overlapped with the network coverage area of the home network, determining that the current network is a roaming network;
and performing network registration according to the roaming network.
In one embodiment, the network registration according to the roaming network includes:
determining a roaming network identification code according to a roaming network;
and registering the roaming network corresponding to the roaming identification code according to the roaming network identification code.
A network registration apparatus, the apparatus comprising:
the network search module is used for searching the network to obtain a network search result when a preset network registration event is triggered;
the coverage area searching module is used for searching the network coverage area of the network searched in the network searching result when the network searching result does not comprise the preset home network;
the overlap judging module is used for judging whether the network coverage area of the searched network in the network searching result is overlapped with the network coverage area of the home network;
and the network registration module is used for performing roaming network registration when the network coverage area of the searched network is not overlapped with the network coverage area of the home network.
An electronic device comprising a memory storing a computer program and a processor implementing the following steps when the computer program is executed:
when a preset network registration event is triggered, network searching is carried out to obtain a network searching result;
when the network search result does not comprise a preset home network, searching a network coverage area of the network searched in the network search result;
and when the network coverage area of the searched network is not overlapped with the network coverage area of the home network, performing roaming network registration.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
when a preset network registration event is triggered, network searching is carried out to obtain a network searching result;
when the network search result does not comprise a preset home network, searching a network coverage area of the network searched in the network search result;
and when the network coverage area of the searched network is not overlapped with the network coverage area of the home network, performing roaming network registration.
According to the network registration method, the network registration device, the electronic equipment and the storage medium, when a preset network registration event is triggered, a network search result is obtained by performing network search; comparing the network search result with a preset home network; through comparison processing, the current network is effectively and quickly positioned, the searching time is saved, when the network searching result does not comprise a preset home network, the network coverage area of the network in the network searching result is searched, when the network coverage area of the network is not overlapped with the network coverage area of the home network, network registration is carried out according to the network searching result, the network is directly registered in the non-overlapped area, network service can be quickly obtained, and quick network registration is realized.
Drawings
FIG. 1 is a diagram of an application environment of a method for network registration in one embodiment;
FIG. 2 is a flowchart illustrating a network registration method according to an embodiment;
FIG. 3 is a flow chart illustrating a network registration method in accordance with another embodiment;
FIG. 4 is a flowchart illustrating a network registration method according to another embodiment;
FIG. 5 is a flowchart illustrating a network registration method according to yet another embodiment;
FIG. 6 is a flowchart illustrating a network registration method according to yet another embodiment;
FIG. 7 is a flowchart illustrating a network registration method in accordance with another embodiment;
FIG. 8 is a flowchart illustrating a method for network registration in one embodiment;
fig. 9 is a flowchart illustrating a network registration method in accordance with another embodiment;
fig. 10 is a flowchart illustrating a network registration method according to another embodiment;
FIG. 11 is a block diagram of a network registration apparatus in one embodiment;
FIG. 12 is a diagram illustrating the internal architecture of an electronic device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The network registration method provided by the present application may be applied to an application environment shown in fig. 1, where the network may be a wireless local area network, a mobile network, and so on, and the mobile network is taken as an example. Wherein the terminal 102 communicates with the server 104 via a network. When a preset network registration event is triggered, the terminal 102 searches for a mobile network through the server 104 to obtain a mobile network search result, when the mobile network search result does not include a preset home mobile network, the terminal 102 searches for a network coverage area of the mobile network in the mobile network search result, and when the network coverage area of the mobile network is not overlapped with the network coverage area of the home mobile network, the terminal 102 performs network registration through the server 104. The terminal 102 may be, but not limited to, various electronic devices that can communicate, such as a personal computer, a notebook computer, a smart phone, a tablet computer, and a portable wearable device, and the server 104 may be implemented by an independent server or a server cluster formed by a plurality of servers.
In an embodiment, as shown in fig. 2, a network registration method is provided, and is described by taking the method as an example applied to the terminal in fig. 1, specifically, the network registration method may be a wireless local area network registration method, a mobile network registration method, and the like, and for convenience of description, in the following embodiments, taking the mobile network registration method as an example, and taking the mobile network as an example, the network includes the following steps:
step 202, when a preset network registration event is triggered, network searching is performed to obtain a network searching result.
The preset network registration event may be a power-on operation performed when an electronic terminal such as a mobile phone is inserted into a Subscriber Identity Module (SIM) card, or a switching operation performed when the electronic terminal is switched from a no-network condition or a flight mode back to a network connection.
The Mobile Network search includes search of a full band PLMN (Public Land Mobile Network), that is, a band, where the full band refers to all bands supported by the capability of the terminal electronic device. Different electronic devices have different capabilities, supporting different bands. The full frequency band means that all bands supported are searched one by one, the one-by-one search means that one frequency band is searched at a time, the next frequency band is entered for continuous searching after the current frequency band is searched, and the mobile network searching result comprises a result obtained by searching in the PLMN of the full frequency band until all frequency bands are searched.
Specifically, when a preset network registration event is triggered, the terminal performs mobile network search of all frequency bands supported by the terminal to obtain a mobile network search result. For example, when the mobile phone terminal is inserted into the SIM card and turned on, the mobile phone terminal may perform a search of a full frequency band PLMN to obtain a search result of the PLMN.
And step 204, when the network search result does not include the preset home network, searching the network coverage area of the network searched in the network search result.
The mobile network search result is a result obtained by searching in a PLMN of the full frequency band, and the HOME mobile network is the HPLMN, for example, the PLMN of the local HOME network corresponding to the SIM card is the HPLMN. The network coverage area is divided based on the geographic areas covered by different networks, and the different networks may be networks corresponding to different operators, for example, networks corresponding to chinese operators, such as a chinese mobile network, a chinese unicom network, and a chinese telecommunication network, exist in the geographic area of china. The geographical area is a divided area of an actual region, for example, an actual region in china is a geographical area of china, so that networks in china such as a china Mobile Network, a china unicom Network, and a china telecommunication Network have a Network coverage area, networks corresponding to a japanese DOCOMO operator exist in a geographical area of japan, and a Network coverage area does not exist between the geographical area of japan and the geographical area of china, so that japanese networks such as a DO Communication Over Mobile Network (japanese operator Network) DO not overlap with networks in china such as a china Mobile Network, a china unicom Network, and a china telecommunication Network, and a Network coverage area does not exist.
Specifically, the terminal compares the obtained mobile network search result with a preset home mobile network, and when the mobile network search result does not include the preset home mobile network, for example, when the mobile network search result is a china mobile network, the preset home mobile network is a network corresponding to the SIM card when the SIM card is inserted, and when the SIM card is a china telecommunication card, the home mobile network is a china telecommunication network, and then the mobile network search result does not include the preset home mobile network, the terminal will start to search for the network coverage area of the mobile network in the mobile network search result.
Step 206, determining whether the network coverage area of the network in the network search result overlaps with the network coverage area of the home network, if not, entering step 208.
Specifically, the mobile network search includes mobile network searches of all frequency bands supported by the terminal electronic device, the terminal searches one frequency band at a time in the supported frequency bands, and the one-by-one search refers to searching one frequency band at a time.
Step 208, roaming network registration is performed.
The network coverage area of the mobile network refers to the network coverage area of the mobile network searched by the current frequency band, and the network coverage area of the home mobile network is the network coverage area of the HPLMN corresponding to the SIM card of the home mobile network. For example, a china mobile network, a china unicom network, and a china telecommunication network can be searched in the current frequency band, networks corresponding to the three operators have overlapped geographical areas, and network coverage areas exist, and at this time, the SIM card inserted into the mobile phone terminal is a china mobile card, so that the local HOME network is the china mobile network, the china mobile network corresponding to the HPLMN overlaps with the three networks of the searched mobile network, the china unicom network, and the china telecommunication network, and further network search needs to be continued to confirm the specific corresponding networks. If the current frequency band is searched to be the Japanese DOCOMO network, the Japanese DOCOMO network and the China Mobile network corresponding to the HPLMN do not have an overlapping area, at this time, network searching does not need to be continued, network registration can be carried out according to non-overlapping network searching results, at this time, the network registration is international roaming network registration, roaming refers to using network data traffic when the network data traffic is not in a home location, and international roaming refers to using network data traffic when the network data traffic is not in the home location and is not in a country of the home location.
Specifically, when the network coverage area of the network is not overlapped with the network coverage area of the home network, that is, when the network coverage area of the mobile network is not overlapped with the network coverage area of the home mobile network, the terminal may stop searching for the frequency band that is not searched in the full frequency band and perform network registration according to the mobile network search result. For example, when the mobile network searches for a japanese DOCOMO network, the home mobile network is a china mobile network corresponding to a china mobile SIM card, and the DOCOMO network and the china mobile network do not have a network overlapping area, it may be determined that the geographic area of the network is not china at this time, and it is impossible to find the HPLMN, and the search for the remaining other frequency bands in the PLMN may be stopped, and an attempt may be made to acquire a japanese roaming network to perform a japanese international roaming network registration.
In the network registration method, when a preset network registration event is triggered, a mobile network search result is obtained by performing mobile network search; comparing the mobile network search result with a preset home mobile network; the current network is effectively and quickly positioned through comparison processing, the current network can be quickly and effectively screened through a preset network coverage relation, the search time is saved, when the mobile network search result does not include a preset attribution mobile network, the network coverage area of the mobile network in the mobile network search result is searched, when the network coverage area of the mobile network is not overlapped with the network coverage area of the attribution mobile network, network registration is carried out according to the mobile network search result, the network is directly tried to be registered to the network through the non-overlapping area, network service can be quickly obtained, and quick mobile network registration is realized.
In one embodiment, as shown in fig. 3, the network registration method further includes:
step 302, taking the next frequency band of the current frequency band as a new current frequency band, and performing network search in the new current frequency band to obtain a new network search result.
And taking the new mobile network search result as the mobile network search result again until the network coverage area of the mobile network in the latest mobile network search result is not overlapped with the network coverage area of the home mobile network.
In the step of determining whether the network coverage area of the searched network overlaps with the network coverage area of the home network in the network search result, if so, that is, when the network coverage area of the searched network overlaps with the network coverage area of the home network, specifically, when the determination result is that the network coverage area of the mobile network overlaps with the network coverage area of the home mobile network in the mobile network search result, the next frequency band of the current frequency band is used as the latest current frequency band, network search is performed in the latest current frequency band, and mobile network search is performed again. For example, in the PLMN search of the current frequency band, the searched PLMN is not the HPLMN corresponding to the terminal SIM card, but when the searched PLMN has an overlapping coverage area with the HPLMN corresponding to the terminal SIM card, the next frequency band is entered, the next frequency band is updated to the current frequency band, and the PLMN search is performed again.
After the previous frequency band search is finished, when no network coverage area is obtained to be not overlapped, the previous frequency band search is finished, the next frequency band is entered into the next frequency band, the step of judging whether the network coverage area of the mobile network is overlapped with the network coverage area of the home mobile network in the mobile network search result is returned, the next frequency band is the updated current frequency band at the moment, the terminal carries out network search in the updated current frequency band until the searched network coverage area of the mobile network is not overlapped with the network coverage area of the home mobile network, the mobile network search is stopped, it needs to be noted that when all the frequency bands are searched, the searched network coverage area of the mobile network is overlapped with the network coverage area of the home mobile network and does not comprise a preset home network, the network cannot be registered at the moment, and the network service cannot be obtained, for example, when the home network is a mobile network, the network is not in the network coverage area of the mobile network at the moment, but the network coverage area of the mobile network can be in telecom communication or not in the network service range of the mobile network, so the network cannot be registered.
In this embodiment, the mobile network search is a mobile network search in a current frequency band, and when a network coverage area of the mobile network overlaps with a network coverage area of an attributive mobile network, a next frequency band of the current frequency band is used as an updated current frequency band, and the network search is performed in the updated current frequency band until the searched network coverage area of the mobile network does not overlap with the network coverage area of the attributive mobile network. The method has the advantages that the current network can be quickly and effectively screened through the network coverage relation in the full frequency band supported by the terminal electronic equipment, the search duration is saved, when the network coverage area of the mobile network is not overlapped with the network coverage area of the attributive mobile network, network registration is carried out according to the mobile network search result, the network is directly tried to be registered in the non-overlapped area, the network service can be quickly obtained, the complete search of the full frequency band is not required to be continued, and the quick mobile network registration is realized.
In an embodiment, as shown in fig. 4, when a preset network registration event is triggered, performing a network search, and obtaining a network search result, that is, after step 202, further includes:
step 402, when the network search result includes a preset home network, performing home network registration corresponding to the user identity card.
Specifically, when the mobile network search result includes a preset HOME mobile network, that is, when the search result of the PLMN search includes the HPLMN of the local HOME network, the terminal registers the HOME mobile network HPLMN corresponding to the SIM card. For example, when the SIM card inserted into the terminal is a chinese telecommunication SIM card, the HPLMN corresponds to a PLMN of the local HOME network, so the HOME mobile network at this time is a chinese telecommunication network, and when the search result of the PLMN includes a chinese telecommunication network, the terminal performs registration of the chinese telecommunication network.
In the embodiment, when the mobile network search result includes the preset home mobile network, the home mobile network registration corresponding to the user identity identification card is performed, the current network can be quickly and effectively screened through the network coverage relation in the full frequency band supported by the terminal electronic device, the search time is saved, when the mobile network search result includes the preset home mobile network, the network registration is performed according to the mobile network search result, the effective home mobile network registration can be performed, the network service can be quickly obtained, and the quick mobile network registration is realized.
In one embodiment, as shown in fig. 5, when the network search result does not include the preset home network, before finding the network coverage area of the network that has been searched in the network search result, that is, before step 204, further includes:
step 502, a home network identification code corresponding to the user identification card is obtained.
In one embodiment, the terminal electronic device obtains an identifier of a home mobile network corresponding to the inserted subscriber identity module card, where the identifier of the home mobile network corresponds to the home mobile network, for example, when the terminal electronic device obtains an inserted SIM card of china telecommunications, the identifier of the home mobile network of china telecommunications is obtained as 46011, the identifier 46011 corresponds to the china telecommunications network, when the terminal electronic device obtains an inserted SIM card of china mobile, the identifier of the home mobile network of china mobile is obtained as 46000, the identifier 46000 corresponds to the china mobile network, when the terminal electronic device obtains an inserted SIM card of china telecommunications, the identifier of the home mobile network of china telecommunications is obtained as 46001, the identifier 46001 corresponds to the unicom network, the SIM card may also be an SIM card of another operator, the identifiers of home mobile networks corresponding to the SIM cards of different operators are different, and each home mobile network corresponds to one identifier of the home mobile network.
Step 504, comparing the search identification code in the network search result with a preset home network identification code according to the home network identification code, and determining whether the network search result includes a preset home network.
In one embodiment, the terminal compares the search identifier in the search result of the mobile network search with a default home mobile network identifier of the terminal according to the corresponding home mobile network identifier obtained from the SIM card, where the default home mobile network identifier of the terminal is the corresponding home mobile network identifier obtained from the SIM card, and whether the network searched by the PLMN is the HPLMN can be obtained according to the search identifier and the home mobile network identifier.
In the embodiment, the home mobile network identification code corresponding to the user identity identification card is acquired, the search identification code in the mobile network search result is compared with the preset home mobile network identification code according to the home mobile network identification code, whether the searched network is the home mobile network can be obtained through comparison of the identification codes, the home mobile network is accurately identified, effective home mobile network registration can be performed, network service can be quickly acquired, and quick mobile network registration is realized.
In one embodiment, as shown in fig. 6, when the network coverage area of the searched network does not overlap with the network coverage area of the home network, before performing roaming network registration, that is, before step 206, the method further includes:
step 602, network coverage areas of different networks are obtained, and the network coverage areas are divided based on geographical areas covered by the different networks.
In one embodiment, the terminal acquires network coverage areas of all different networks, the network coverage areas are divided based on geographic areas covered by the different networks, the different networks may be networks corresponding to different operators in a geographic area of china, or different networks corresponding to all operators around the world, a relationship of the network coverage areas exists in the geographic area of china, a network area coverage relationship does not exist in a non-geographic area of china, the network area coverage relationship includes overlapping and non-overlapping, so that the network coverage areas of the different networks are different, and the network coverage areas of all the mobile networks are acquired for subsequent layout of the network coverage area relationship.
And step 604, presetting the relation of different network coverage areas according to the network coverage areas.
In one embodiment, the terminal presets a network coverage area relationship according to the acquired network coverage areas of different networks, where the network coverage area relationship exists, for example, the related network coverage area relationship is set according to a network corresponding to a chinese operator such as a chinese mobile network, a chinese unicom network, and a chinese telecommunications network, where the chinese mobile network, the chinese unicom network, and the chinese telecommunications network all exist in a geographical area of china, and the network coverage area relationship does not exist, for example, a network corresponding to a japanese DOCOMO operator exists in a geographical area of japan, and a geographical area of japan and a geographical area of china do not have a network coverage area, so that japanese networks such as DOCOMO do not overlap with chinese networks such as the chinese mobile network, the chinese unicom network, and the chinese telecommunications network do not exist network coverage areas, and networks corresponding to other country operators also all have corresponding network coverage area relationships, and may be configured according to network data of different global operators.
In the embodiment, by acquiring the network coverage area of the mobile network, the network coverage area is divided based on the geographical areas covered by different mobile networks, and the network coverage area relationship is preset according to the network coverage area, so that the current network can be quickly and effectively screened according to the preset network coverage relationship, the search time is saved, when the mobile network search result does not include the preset home mobile network, the network coverage area of the mobile network in the mobile network search result is searched, when the network coverage area of the mobile network is not overlapped with the network coverage area of the home mobile network, network registration is performed according to the mobile network search result, and the network is directly tried to be registered in the non-overlapped area, so that network service can be quickly acquired, and quick mobile network registration is realized.
In one embodiment, as shown in fig. 7, when the network coverage area of the searched network does not overlap with the network coverage area of the home network, the roaming network registration is performed, that is, step 208 includes:
in step 702, it is determined that the searched network is a roaming network.
When the network coverage area of the searched network is not overlapped with the network coverage area of the home network, specifically, when the network coverage area of the mobile network is not overlapped with the network coverage area of the home network, that is, when the PLMN is not overlapped with the network coverage area of the HPLMN, the terminal determines that the mobile network is a roaming network according to the mobile network search result, for example, when the terminal inserts a SIM card of chinese mobile, the chinese mobile network is the home mobile network, and the geographical area of china corresponding to the chinese mobile network is a geographical area existing in japan such as a japanese operator corresponding to a japanese network DOCOMO such as DOCOMO according to the mobile network search result, and the geographical area of japan and the geographical area of china do not have network coverage areas.
Step 704, according to the roaming network, network registration is performed.
Specifically, the terminal performs registration of a mobile network corresponding to a roaming network by roaming according to the roaming network, for example, if the roaming network is a japanese network such as DOCOMO, and if the terminal is inserted with a china mobile SIM card at this time, the terminal performs registration of the japanese mobile network by roaming from the china mobile network to the japanese mobile network, and at this time, the terminal does not directly register on the searched japanese network such as DOCOMO (that is, the searched roaming network at this time), but performs network registration from the own china mobile network by roaming to the corresponding mobile network according to the japanese network such as DOCOMO.
In this embodiment, when the network coverage area of the mobile network does not overlap with the network coverage area of the home mobile network, the non-overlapping area is determined according to the mobile network search result, and network registration is performed according to the mobile network corresponding to the non-overlapping area, so that network service can be quickly acquired, and quick mobile network registration is realized. In one embodiment, as shown in fig. 8, performing network registration according to a roaming network includes:
step 802, determining a roaming network identifier according to a roaming network.
Specifically, according to the roaming network, the terminal obtains the roaming network identifier corresponding to the roaming network, and determines the roaming network identifier, for example, if the terminal is inserted with a chinese telecommunication SIM card AT this time, the mobile network search result AT this time is the roaming network of AT & T (American Telephone & Telegraph), and the roaming network identifier is determined to be 310280 according to AT & T.
Step 804, registering the network corresponding to the roaming identification code according to the roaming network identification code.
Specifically, the terminal determines a corresponding mobile network according to the roaming network identifier, performs network registration on the corresponding mobile network, and acquires a network service, for example, the SIM card inserted by the terminal in the above embodiment is a chinese telecommunications SIM card, and the AT & T has determined that the roaming network identifier is 310280, the terminal determines that the corresponding mobile network is a mobile network in the united states according to the roaming network identifier 310280 of the chinese telecommunications roaming in the united states, and the terminal performs corresponding registration of the chinese telecommunications SIM card with the mobile network in the united states.
In this embodiment, the roaming network identifier is determined according to the roaming network, and the roaming network corresponding to the roaming identifier is registered according to the roaming network identifier. When the network coverage area of the mobile network is not overlapped with the network coverage area of the home mobile network, the mobile network is determined to be the roaming network according to the mobile network searching result, and network registration is performed according to the mobile network corresponding to the roaming network, so that network service can be quickly acquired, and quick mobile network registration is realized.
In one embodiment, as shown in fig. 9, a network registration method is provided, which includes the following steps 902 to 924.
Step 902, when a preset network registration event is triggered, performing mobile network search to obtain a mobile network search result.
Step 904, obtaining the home mobile network identification code corresponding to the user identification card.
Step 906, comparing the search identification code in the mobile network search result with the preset home mobile network identification code according to the home mobile network identification code, and determining whether the mobile network search result includes the preset home mobile network.
Step 908, when the mobile network search result includes the preset home mobile network, the home mobile network corresponding to the user identity card is registered.
Step 910, when the mobile network search result does not include the preset home mobile network, the network coverage area of the mobile network in the mobile network search result is searched.
Step 912, network coverage areas of different networks are obtained, and the network coverage areas are divided based on geographical areas covered by different mobile networks.
Step 914, according to the network coverage area, presetting the network coverage area relation of different mobile networks.
Step 916, determining whether the network coverage area of the mobile network in the mobile network search result overlaps with the network coverage area of the home mobile network, if yes, going to step 918, otherwise, going to step 920.
Step 918, taking the next frequency band of the current frequency band as a new current frequency band, performing network search on the new current frequency band to obtain a new mobile network search result, taking the new mobile network search result as the mobile network search result again, returning to step 916 until the network coverage area of the mobile network in the latest mobile network search result is not overlapped with the network coverage area of the home mobile network, and entering step 920.
In step 920, it is determined that the current mobile network is a roaming network.
Step 922, determining the roaming network identification code according to the roaming network.
Step 924, register the mobile network corresponding to the roaming identifier according to the roaming network identifier.
In an application example, the present application further provides an application scenario, which applies the network registration method described above, as shown in fig. 10. Specifically, the application of the mobile network registration method taking the mobile network as an example in the application scenario is as follows:
in one embodiment, the coverage relations of all PLMN areas are preset, specifically, the terminal acquires the PLMN coverage areas of all different networks, the PLMN coverage areas are divided based on the geographic areas covered by the different PLMNs, and the terminal presets the PLMN coverage area relations according to the acquired PLMN coverage areas.
When the mobile phone terminal is inserted into a China mobile SIM card to perform starting operation, searching the PLMN in full frequency bands, searching the PLMN in full frequency band one band at a time one band by one band, and entering the next band after the current band is searched to continue searching until all bands are searched.
When the mobile phone terminal searches the PLMN in the current band, a PLMN searching result is obtained, the HPLMN identification code 46000 corresponding to the China Mobile SIM card is obtained, the PLMN identification code in the PLMN searching result is compared with the HPLMN identification code according to the HPLMN identification code 46000, and the searching result is whether the searched PLMN is the HPLMN or not.
And if the searched PLMN comprises the HPLMN, registering the HPLMN, and specifically, when the PLMN search result comprises the HPLMN of the local HOME network corresponding to the SIM card, registering the HPLMN by the mobile phone terminal.
And if the search result is that the searched PLMN does not comprise the HPLMN, searching the network coverage area of the PLMN searched in the search result, and comparing the network coverage area relation of the PLMN searched and the HPLMN by obtaining a preset PLMN area coverage relation to obtain whether an overlapped coverage area exists.
If the network coverage area of the PLMN has an overlapping relationship with the network coverage area of the HPLMN, and the overlapping relationship can be that when the network coverage areas of the HPLMN China mobile network and the China telecommunication network searched by the PLMN have an overlapping relationship, the next band of the current band is taken as the updated current band, the PLMN search is carried out again, the PLMN search is carried out on the updated current band, and the PLMN search is stopped and the roaming network is registered until the searched network coverage area of the PLMN has no overlapping relationship with the network coverage area of the HPLMN or the next frequency band comprises the HPLMN.
If the searched PLMN of the Japanese DOCOMO network is not overlapped with the network coverage area of the HPLMN China mobile, the search of the PLMN is stopped, the mobile phone terminal determines that the mobile network is a roaming network according to the search result of the PLMN, the mobile phone terminal tries to acquire a roaming network identification code corresponding to the roaming network, and the mobile phone terminal registers the network according to the network corresponding to the roaming network identification code to acquire the network service.
In the embodiment, when the mobile phone terminal is inserted into the SIM card for starting up, PLMN searching is carried out to obtain a PLMN searching result; comparing the PLMN search result with the HPLMN corresponding to the SIM card; the method comprises the steps of effectively and quickly positioning a current network through comparison processing, quickly and effectively screening the current network through a preset PLMN relation, saving search time, searching a network coverage area of the PLMN in a PLMN search result when the PLMN search result does not include a HPLMN corresponding to an SIM card, carrying out network registration according to the PLMN search result when the network coverage area of the PLMN is not overlapped with the network coverage area of the HPLMN, and quickly acquiring network service through directly trying to register to a roaming network, thereby realizing quick mobile network registration.
It should be understood that, although the steps in the flowcharts are shown in sequence as indicated by the arrows, the steps are not necessarily performed in sequence as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a part of the steps in each flowchart may include a plurality of steps or a plurality of stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of performing the steps or stages is not necessarily sequential, but may be performed alternately or alternately with other steps or at least a part of the steps or stages in other steps.
In one embodiment, as shown in fig. 11, there is provided a network registration apparatus, including: a network search module 1102, a coverage area lookup module 1104, and a network registration module 1106, wherein:
the network search module 1102 is configured to perform network search to obtain a network search result when a preset network registration event is triggered.
And a coverage area searching module 1104, configured to search a network coverage area of the network searched in the network search result when the network search result does not include the preset home network.
An overlap determining module 1106 is configured to determine whether the network coverage area of the network in the network search result overlaps with the network coverage area of the home network.
A network registration module 1108, configured to perform roaming network registration when the network coverage area of the searched network does not overlap with the network coverage area of the home network.
In one embodiment, the network registration apparatus further includes a frequency band updating module, where the frequency band updating module is configured to, when a network coverage area of a searched network overlaps with a network coverage area of a home network, take a next frequency band of a current frequency band as a new current frequency band, and perform network search in the new current frequency band to obtain a new network search result; and taking the new network search result as the network search result again, and returning to the step of judging whether the network coverage area of the network in the network search result is overlapped with the network coverage area of the home network or not until the network coverage area of the network in the latest network search result is not overlapped with the network coverage area of the home network.
In one embodiment, the network registration module 1108 is further configured to perform home network registration corresponding to the subscriber identity card when the network search result includes a preset home network.
In one embodiment, the network registration device further comprises an acquisition and comparison module, wherein the acquisition and comparison module is used for acquiring a home network identification code corresponding to the user identity identification card; and comparing the search identification code in the network search result with a preset home network identification code according to the home network identification code to determine whether the network search result comprises the preset home network.
In one embodiment, the network registration apparatus further includes a network coverage area relationship presetting module, where the network coverage area relationship presetting module is configured to determine that the network is a roaming network when the network coverage area of the network is not overlapped with the network coverage area of the home network, and perform network registration.
In one embodiment, the network coverage area relationship presetting module is further configured to determine a roaming network identification code according to a roaming network; and registering the roaming network corresponding to the roaming identification code according to the roaming network identification code.
For specific limitations of the network registration apparatus, reference may be made to the above limitations of the network registration method, which is not described in detail herein. The modules in the mobile network registration apparatus may be wholly or partially implemented by software, hardware and a combination thereof. The modules may be embedded in a hardware form or may be independent of a processor in the electronic device, or may be stored in a memory in the electronic device in a software form, so that the processor calls and executes operations corresponding to the modules.
In one embodiment, an electronic device is provided, which may be a terminal, and its internal structure diagram may be as shown in fig. 12. The electronic device comprises a processor, a memory, a communication interface, a display screen and an input device which are connected through a system bus. Wherein the processor of the electronic device is configured to provide computing and control capabilities. The memory of the electronic equipment comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operating system and the computer program to run on the non-volatile storage medium. The communication interface of the electronic device is used for carrying out wired or wireless communication with an external terminal, and the wireless communication can be realized through WIFI, an operator network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement a network registration method. The display screen of the electronic equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the electronic equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the electronic equipment, an external keyboard, a touch pad or a mouse and the like.
It will be understood by those skilled in the art that the structure shown in fig. 12 is a block diagram of only a portion of the structure associated with the present application, and does not constitute a limitation on the electronic device to which the present application applies, and that a particular electronic device may include more or fewer components than shown in the drawings, or may combine certain components, or have a different arrangement of components.
In one embodiment, an electronic device is further provided, which includes a memory and a processor, where the memory stores a computer program, and the processor implements the steps of the above method embodiments when executing the computer program.
In an embodiment, a computer-readable storage medium is provided, on which a computer program is stored which, when being executed by a processor, carries out the steps of the above-mentioned method embodiments.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent application shall be subject to the appended claims.

Claims (10)

1. A method of network registration, the method comprising:
when a preset network registration event is triggered, network searching of the current frequency band is carried out to obtain a network searching result; the preset network registration event is triggered when the electronic terminal is inserted into an SIM card for starting up operation;
when the network search result does not comprise a preset home network, searching a network coverage area of a network searched in the network search result, wherein the preset home network is a network corresponding to an SIM card when the SIM card is inserted;
judging whether the network coverage area of the searched network in the network search result is overlapped with the network coverage area of the home network;
when the network coverage area of the searched network is overlapped with the network coverage area of the home network, taking the next frequency band of the current frequency band as a new current frequency band, and performing network search on the new current frequency band to obtain a new network search result;
returning the new network search result as a network search result, and judging whether the network coverage area of the searched network in the network search result is overlapped with the network coverage area of the home network; until the network coverage area of the network in the latest network search result is not overlapped with the network coverage area of the home network;
and when the network coverage area of the searched network is not overlapped with the network coverage area of the home network, or when the next frequency band comprises the home network, stopping network search and performing roaming network registration.
2. The method of claim 1, wherein the network coverage area of the searched network is a network coverage area of a mobile network searched in a current frequency band.
3. The method according to claim 1, wherein when the predetermined network registration event is triggered, performing a network search to obtain a network search result, further comprising:
and when the network search result comprises a preset home network, performing home network registration corresponding to the user identity card.
4. The method according to claim 1, wherein before finding a network coverage area of a network searched in the network search result when the network search result does not include a preset home network, further comprising:
acquiring a home network identification code corresponding to a user identity identification card;
and comparing the search identification code in the network search result with a preset home network identification code according to the home network identification code, and determining whether the network search result comprises a preset home network.
5. The method of claim 1, wherein before performing roaming network registration when the network coverage area of the searched network does not overlap with the network coverage area of the home network, further comprising:
acquiring network coverage areas of different networks, wherein the network coverage areas are divided based on geographic areas covered by the different networks;
and presetting the network coverage area relation of different networks according to the network coverage area.
6. The method of claim 1, wherein performing roaming network registration when the network coverage area of the searched network does not overlap with the network coverage area of the home network comprises:
when the network coverage area of the searched network is not overlapped with the network coverage area of the home network, determining that the current network is a roaming network;
and performing network registration according to the roaming network.
7. The method of claim 6, wherein the performing network registration according to the roaming network comprises:
determining a roaming network identification code according to the roaming network;
and registering the network corresponding to the roaming network identification code according to the roaming network identification code.
8. An apparatus for network registration, the apparatus comprising:
the network searching module is used for searching the network of the current frequency band when a preset network registration event is triggered to obtain a network searching result; the preset network registration event is triggered when the electronic terminal is inserted into an SIM card for starting up operation;
a coverage area searching module, configured to search a network coverage area of a network that has been searched in the network search result when the network search result does not include a preset home network, where the preset home network is a network corresponding to an SIM card when the SIM card is inserted;
an overlap judging module, configured to judge whether a network coverage area of the searched network in the network search result overlaps with a network coverage area of the home network; when the network coverage area of the searched network is overlapped with the network coverage area of the home network, taking the next frequency band of the current frequency band as a new current frequency band, and performing network search on the new current frequency band to obtain a new network search result; returning the new network search result as a network search result, and judging whether the network coverage area of the searched network in the network search result is overlapped with the network coverage area of the home network; until the network coverage area of the network in the latest network search result is not overlapped with the network coverage area of the home network;
and the network registration module is used for stopping network search and performing roaming network registration when the network coverage area of the searched network is not overlapped with the network coverage area of the home network or when the next frequency band comprises the home network.
9. An electronic device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor realizes the steps of the method of any of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
CN202110072753.3A 2021-01-20 2021-01-20 Network registration method and device, electronic equipment and storage medium Active CN112969218B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110072753.3A CN112969218B (en) 2021-01-20 2021-01-20 Network registration method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110072753.3A CN112969218B (en) 2021-01-20 2021-01-20 Network registration method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112969218A CN112969218A (en) 2021-06-15
CN112969218B true CN112969218B (en) 2022-11-15

Family

ID=76271484

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110072753.3A Active CN112969218B (en) 2021-01-20 2021-01-20 Network registration method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112969218B (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106465248B (en) * 2014-03-28 2020-04-03 华为终端有限公司 Roaming network access method and device
JP6389319B2 (en) * 2014-03-28 2018-09-12 華為終端(東莞)有限公司 Roaming network access method and apparatus
CN106465249B (en) * 2014-03-28 2020-02-21 华为终端有限公司 Roaming network access method and device
CN107466085B (en) * 2015-04-30 2019-04-30 Oppo广东移动通信有限公司 Method for network access and Related product
CN109309913A (en) * 2018-09-18 2019-02-05 深圳市万普拉斯科技有限公司 Method, apparatus, computer equipment and the storage medium of more card Roaming Registration networks

Also Published As

Publication number Publication date
CN112969218A (en) 2021-06-15

Similar Documents

Publication Publication Date Title
WO2020057400A1 (en) Multi-card roaming network registration method and apparatus, computer device and storage medium
CN112074011B (en) Network registration method, device, computer equipment and storage medium
US20210306974A1 (en) Network search method, computer device, and computer-readable storage medium
CN110475242B (en) LTE network registration method, device, storage medium and computer equipment
CN106792623B (en) Network searching access method of mobile terminal and mobile terminal
WO2022057429A1 (en) Network registration method and apparatus, and user terminal and storage medium
WO2022001554A1 (en) Configuration file switching method and apparatus, computer device, and storage medium
CN112673659A (en) Method and electronic device for automatically switching between multiple profiles in an ESIM
CN108848455A (en) Acquisition methods, device, equipment and the computer readable storage medium of available network
CN113055982B (en) Network access method, network access device and mobile terminal
CN105307238A (en) Mobile terminal and network selection method and device thereof
CN112770380B (en) Specific absorption rate parameter adjusting method, specific absorption rate parameter adjusting device, computer equipment and storage medium
CN112969218B (en) Network registration method and device, electronic equipment and storage medium
CN110267255B (en) Network registration method and device, electronic equipment and computer readable storage medium
CN110049535B (en) Network searching method, device, equipment and storage medium
CN116567601A (en) Emergency call control method, system, chip module, equipment and medium
CN112423288B (en) Dialing analysis method, device, computer equipment and storage medium
CN113194521B (en) Network searching method and device for 5G communication module, computer equipment and storage medium
CN112770373B (en) Network registration method, module, computer device and storage medium
US10911933B1 (en) Steering of roaming based on device type in wireless networks
CN114786166A (en) Communication method, device, equipment and computer storage medium
US20210176623A1 (en) Virtual sim card acquisition method, subscriber terminal and server
CN113242541B (en) Network registration method and device, electronic equipment and storage medium
CN112188591A (en) Network access method, device, computer equipment and storage medium
CN112367660A (en) Parameter configuration method, device, terminal and readable 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