Network camping method, device, computer equipment and chip
Patent Information
- Application Number
- CN202611264401.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-19
- Publication Date
- 2026-10-30
AI Technical Summary
[0003]终端设备保存的RPLMN信息是漫游前驻留的网络,跨境漫游后RPLMN在当前国家完全不存在,终端设备按照上述顺序在RPLMN、EPLM、EHPLMN/HPLMN阶段驻网均失败后,才会扫描当前国家的可用网络,从而使终端设备在国际漫游时不能快速获取到网络服务
[0017]第七方面,本申请还提供了一种计算机程序产品,包括计算机程序,该计算机程序被处理器执行时实现上述第一方面所提供方法的步骤。
Smart Images

Figure CN123021299A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of network technology, and in particular to a network hosting method, apparatus, computer equipment, and chip. Background Technology
[0002] According to the requirements of the 3GPP 23.122 protocol, when a terminal device is powered on for international roaming, it needs to select a network in the following order: RPLMN (Registered Public Land Mobile Network) -> EPLMN (Equivalent PLMN) -> EHPLMN (Equivalent Home PLMN) / HPLMN (Home PLMN) -> UPLMN (User Controlled PLMN Selector with Access Technology) -> OPLMN (Operator Controlled PLMN Selector with Access Technology).
[0003] The RPLMN information stored by the terminal device is the network it registered with before roaming. After cross-border roaming, the RPLMN does not exist in the current country. The terminal device will only scan for available networks in the current country after failing to register at the RPLMN, EPLM, and EHPLMN / HPLMN stages in the above order. This makes it impossible for the terminal device to quickly obtain network services when roaming internationally. Summary of the Invention
[0004] Therefore, it is necessary to provide a network dwelling method, device, computer equipment, and chip that can enable rapid network dwelling when terminal devices roam internationally, in response to the above-mentioned technical problems.
[0005] In a first aspect, this application provides a network camping method applied to a terminal device. The method includes: in response to a power-on operation of the terminal device, performing a first network selection operation in the current network environment; during the execution of the first network selection operation, detecting the availability of each preset non-disabled PLMN in the current roaming location based on the scanned identifier of a first Public Land Mobile Network (PLMN) in the current network environment; wherein each preset non-disabled PLMN is a non-disabled PLMN corresponding to each non-disabled PLMN identifier recorded in the terminal device; based on the detection result, sequentially performing a second network selection operation for each available preset non-disabled PLMN, and during the execution of any second network selection operation, in response to scanning a second PLMN identifier identical to the first PLMN identifier, camping on the preset non-disabled PLMN corresponding to the second PLMN identifier.
[0006] In one embodiment, based on the scanned identifier of a first public land mobile network (PLMN) in the current network environment, the availability of each preset non-restricted PLMN in the current roaming location is detected, including: for each preset non-restricted PLMN, in response to the mobile country code in the non-restricted PLMN identifier corresponding to the preset non-restricted PLMN being the same as the first mobile country code, determining that the preset non-restricted PLMN is available in the current roaming location; in response to the mobile country code in the non-restricted PLMN identifier corresponding to the preset non-restricted PLMN being different from the first mobile country code, determining that the preset non-restricted PLMN is unavailable in the current roaming location; wherein, the first mobile country code is the mobile country code in the scanned first PLMN identifier.
[0007] In one embodiment, based on the detection results, a second network selection operation is sequentially performed for each available preset non-disabled PLMN, including: in response to the fact that the first PLMN identifier is different from each of the disabled PLMN identifiers recorded in the terminal device, updating the first list in the terminal device based on the first PLMN identifier; wherein the first list includes at least one non-disabled PLMN identifier other than the first PLMN identifier among the non-disabled PLMN identifiers scanned in the first network selection operation; based on the detection results, a second network selection operation is sequentially performed for the PLMN corresponding to the third PLMN identifier, wherein the third PLMN identifier is a non-disabled PLMN identifier corresponding to each available preset non-disabled PLMN outside the first list recorded in the terminal device; and in response to the fact that no second PLMN identifier identical to the first PLMN identifier is scanned, a second network selection operation is sequentially performed for each available preset non-disabled PLMN in the updated first list based on the format of each available preset non-disabled PLMN in the updated first list.
[0008] In one embodiment, updating the first list in the terminal device according to the first PLMN identifier includes: in response to the first PLMN identifier existing in the first list, detecting the standard supported by the PLMN corresponding to the first PLMN identifier, and updating the standard corresponding to the first PLMN identifier in the first list according to the detected standard; in response to the first PLMN identifier not existing in the first list, adding the first PLMN identifier to the first list.
[0009] In one embodiment, performing a first network selection operation in the current network environment includes: in response to a power-on operation being the first power-on operation in the entire lifecycle of the terminal device, performing a first network selection operation for a home PLMN and / or an equivalent home PLMN in the current network environment; and in response to a power-on operation being a non-first power-on operation in the entire lifecycle, performing a first network selection operation for a registered PLMN and / or an equivalent PLMN in the current network environment.
[0010] In one embodiment, detecting the availability of each preset non-banned PLMN in the current roaming location includes: in response to the fact that the country code in the first PLMN identifier is different from the country code in the PLMN identifier corresponding to the PLMN targeted by the first network selection operation, detecting the availability of each preset non-banned PLMN in the current roaming location.
[0011] In one embodiment, the method further includes: in response to the absence of an available non-disabled PLMN, performing a third network selection operation in the current network environment using a full-band blind search method; and residing in a third PLMN; wherein the third PLMN is a PLMN corresponding to a third PLMN identifier that is the same as the first PLMN identifier scanned during the execution of the third network selection operation.
[0012] Secondly, this application also provides a network camping device deployed on a terminal device. The device includes: a first network selection module, used to perform a first network selection operation in the current network environment in response to the power-on operation of the terminal device; a first detection module, used to detect the availability of each preset non-disabled PLMN in the current roaming location based on the scanned first public land mobile network (PLMN) identifier of the current network environment during the execution of the first network selection operation; wherein each preset non-disabled PLMN is a non-disabled PLMN corresponding to each non-disabled PLMN identifier recorded in the terminal device; and a second network selection module, used to perform a second network selection operation sequentially for each available preset non-disabled PLMN based on the detection results, and during the execution of any second network selection operation, in response to the scanned second PLMN identifier that is the same as the first PLMN identifier, camping on the preset non-disabled PLMN corresponding to the second PLMN identifier.
[0013] Thirdly, this application also provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps of the method provided in the first aspect.
[0014] Fourthly, this application also provides a chip, including a processor and a communication interface, wherein the processor is configured to cause the chip to perform the steps of the method provided in the first aspect.
[0015] Fifthly, this application also provides a chip module, including a communication module, a power module, a storage module, and a chip, wherein: the power module is used to provide electrical energy to the chip module; the storage module is used to store data and instructions; the communication module is used for internal communication within the chip module, or for communication between the chip module and external devices; and the chip is used to perform the steps of the method provided in the first aspect above.
[0016] In a sixth aspect, this application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method provided in the first aspect.
[0017] In a seventh aspect, this application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the method provided in the first aspect above.
[0018] The aforementioned network camping method, device, computer equipment, and chip, after the terminal device is powered on, perform a first network selection operation in the current network environment. Based on the first PLMN identifier scanned in the current network environment, they detect the availability of non-disabled PLMNs corresponding to each non-disabled PLMN identifier recorded in the terminal device in the current roaming location. In this way, subsequent second network selection operations only need to be performed sequentially for each available preset non-disabled PLMN, instead of performing network selection operations sequentially for all PLMNs, greatly reducing the number of PLMNs targeted in the network selection operation. Therefore, it is possible to achieve rapid network camping when the terminal device is roaming internationally. Attached Figure Description
[0019] To more clearly illustrate the technical solutions in the embodiments of this application or related technologies, the drawings used in the description of the embodiments of this application or related technologies will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0020] Figure 1 This is a flowchart illustrating a network residency method in one embodiment;
[0021] Figure 2 This is a flowchart illustrating the availability detection steps in one embodiment;
[0022] Figure 3 This is a flowchart illustrating the execution steps of the second net selection operation in one embodiment;
[0023] Figure 4 This is a flowchart illustrating the first list update step in one embodiment;
[0024] Figure 5 This is a flowchart illustrating the fallback network deployment step in one embodiment;
[0025] Figure 6A This is a flowchart illustrating the network residency method in another embodiment;
[0026] Figure 6B This is a flowchart illustrating the network residency method in yet another embodiment;
[0027] Figure 7 This is a structural block diagram of a network resident device in one embodiment;
[0028] Figure 8 This is an internal structural diagram of a computer device in one embodiment;
[0029] Figure 9 This is an internal structure diagram of a chip module in one embodiment. Detailed Implementation
[0030] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0031] It should be noted that the terms "first," "second," etc., used in this application can be used to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish the first element from the second element. The terms "comprising" and "having," and any variations thereof, used in this application, are intended to cover non-exclusive inclusion. The term "multiple" used in this application refers to two or more. The term "and / or" used in this application refers to one of the embodiments, or any combination of multiple embodiments.
[0032] The following is an explanation of the English terms used in this application:
[0033] RPLMN: Registered Public Land Mobile Network, abbreviated as Registered PLMN.
[0034] EPLMN: Equivalent PLMN.
[0035] HPLMN: Home PLMN.
[0036] EHPLMN: Equivalent Home PLMN.
[0037] UPLMN: User Controlled PLMN Selector with Access Technology.
[0038] OPLMN: Operator Controlled PLMN Selector with Access Technology.
[0039] FPLMN: Forbidden PLMN, disables PLMN.
[0040] RAT: Radio Access Technology.
[0041] NAS: Non-Access Stratum.
[0042] AS: Access Stratum.
[0043] In one exemplary embodiment, a network dwell method is provided, which is applied to a terminal device or a chip / chip module in the terminal device that has data processing capabilities, such as... Figure 1 As shown, the method includes the following steps S110 to S130:
[0044] S110, in response to the power-on operation of the terminal device, performs the first network selection operation in the current network environment.
[0045] Specifically, after the terminal device is powered on, steps S110 to S130 are executed to achieve network registration.
[0046] If the power-on operation is not the first power-on operation in the entire life cycle of the terminal device, the terminal device records RPLMN, EPLMN, EHPLMN, HPLMN, UPLMN, OPLMN, and FPLMN. If the power-on operation is the first power-on operation in the entire life cycle of the terminal device, the terminal device does not record RPLMN and EPLMN.
[0047] In an optional implementation, performing the first network selection operation in the current network environment in S110 may include:
[0048] (1) In response to the power-on operation being the first power-on operation in the entire life cycle of the terminal device, perform the first network selection operation for the home PLMN and / or equivalent home PLMN in the current network environment.
[0049] Among them, the equivalent home PLMN is the equivalent network of the home PLMN.
[0050] (2) In response to the power-on operation being a non-first power-on operation in the entire life cycle, perform the first network selection operation for the registered PLMN (i.e., RPLMN) and / or equivalent PLMN in the current network environment.
[0051] Among them, the equivalent PLMN is the equivalent network of the registered PLMN.
[0052] Among them, RPLMN is the roaming network or home network that the terminal device has successfully registered with last time. The terminal device prioritizes RPLMN as the target and initiates a targeted network search for the highest RAT type (i.e., the highest standard) supported by the terminal device, thereby reusing the network resources of the previously successfully registered network, greatly shortening the first access time in roaming scenarios and improving the user experience.
[0053] Understandably, since the power-on operation is the first power-on operation in the entire lifecycle of the terminal device, the terminal device does not have RPLMN and EPLMN. Therefore, the first network selection operation is performed for the home PLMN and / or equivalent home PLMN. If the power-on operation is not the first power-on operation in the entire lifecycle of the terminal device, the terminal device records RPLMN and EPLMN. Therefore, the first network selection operation is performed for the registered PLMN and / or equivalent PLMN.
[0054] In the above implementation, a method is provided to perform the corresponding network selection operation for different PLMNs based on whether the terminal device is powered on for the first time, so as to ensure that the first network selection operation can be performed regardless of whether the terminal device is powered on for the first time or not.
[0055] In another alternative implementation, performing the first network selection operation in the current network environment in S110 may include:
[0056] (3) Use the full-band blind search method to perform network selection operation for the highest RAT type supported by the terminal device in the current network environment.
[0057] Understandably, the above method (3) applies regardless of whether the terminal device is powered on for the first time.
[0058] Of course, when performing the first screen selection operation, it is not limited to using the above methods (1), (2) or (3). Other screen selection methods can also be used, which are not limited here.
[0059] S120, during the first network selection operation, detects the availability of each preset non-disabled PLMN in the current roaming area based on the first PLMN identifier of the current network environment scanned.
[0060] Among them, each preset non-disabled PLMN is a non-disabled PLMN corresponding to each non-disabled PLMN identifier recorded in the terminal device.
[0061] The process of performing the first network selection operation is as follows: The AS layer of the terminal device first scans the target PLMN in historical frequency points. If the target PLMN cannot be found in the historical frequency points, a full frequency band scan is performed, and the first PLMN found is reported to the NAS layer of the terminal device, thereby obtaining the PLMN identifier corresponding to the first PLMN, i.e., the first PLMN identifier mentioned above. The first three digits of the first PLMN identifier are the mobile country code, and the last two digits are the mobile network code.
[0062] In method (1), the target PLMN is the home PLMN and the equivalent home PLMN targeted by the first network selection operation. In method (2), the target PLMN is the RPLMN and the equivalent PLMN targeted by the first network selection operation. In method (3), the target PLMN is any PLMN corresponding to the highest RAT type supported by the terminal device.
[0063] When the first network selection operation is performed in S110 using method (1) or method (2), the target PLMN may be the PLMN of the current roaming location (see Example 2) or it may not be the PLMN of the current roaming location (see Example 1). However, since the first network selection operation is performed in the current network environment in S110, the first PLMN identifier is the identifier of the PLMN of the terminal device in the current network environment of the current roaming location.
[0064] Example 1: The target PLMN is the PLMN of country A, while the current roaming location is country B. In S110, the first network selection operation is initiated for the target PLMN (the identifier of the target PLMN is 46001, 460 is the mobile country code of country A, and 01 indicates an operator in country A). After the AS layer scan, the first PLMN identifier obtained is the identifier of the PLMN of country B (the identifier is 44011, 440 is the mobile country code of country B, and 11 indicates an operator in country B). It can be seen that the first PLMN identifier is not the identifier of the PLMN of country A, but the identifier of the PLMN of the terminal device in the current network environment of country B.
[0065] Example 2: The target PLMN is the PLMN of country A, and the current roaming location is country A. In S110, the first network selection operation is initiated for the target PLMN (the identifier of the target PLMN is 46001). After the AS layer scan, the first PLMN identifier obtained is the identifier of the PLMN of country A, but the operator may be different. For example, the first PLMN identifier is 46000, and the operator represented by 00 is different from the operator represented by 01.
[0066] Of course, if the identifier of the target PLMN is exactly the same as that of the first PLMN, then you can reside in the target PLMN.
[0067] If the target PLMN's identifier and the first PLMN's identifier have the same mobile country code but different operators, such as in Example 2 above, the terminal device can continue scanning in the current network environment until it finds a PLMN with the same identifier as the target PLMN and then camps on that PLMN.
[0068] Based on the network selection method provided by the above method (1) or (2) in S110, the specific process of detecting the availability of each preset non-banned PLMN in the current roaming location in S120 may include: in response to the fact that the mobile country code in the first PLMN identifier is different from the mobile country code in the PLMN identifier corresponding to the PLMN targeted by the first network selection operation, detecting the availability of each preset non-banned PLMN in the current roaming location.
[0069] The PLMN targeted by the first network selection operation is the aforementioned target PLMN. The first PLMN identifier is the identifier of the PLMN of the current roaming location. If the country code in the first PLMN identifier is different from the country code in the PLMN identifier corresponding to the target PLMN, it means that the target PLMN is not the PLMN of the current roaming location (for example, Example 1 above). Only in this case will the detection of the availability of each preset non-disabled PLMN in the current roaming location and subsequent S130 be performed.
[0070] Based on the network selection method provided by the above method (3) in S110, the PLMN corresponding to the first PLMN identifier scanned by method (3) is the PLMN that the terminal device can camp on. Therefore, it is not necessary to determine whether the mobile country code in the first PLMN identifier is the same as the mobile country code in the PLMN identifier corresponding to the PLMN targeted by the first network selection operation. The availability of each preset non-disabled PLMN in the current roaming location can be directly detected.
[0071] After the first network selection operation, the first PLMN identifier scanned by the AS layer can be used as the first PLMN identifier. Based on the other PLMN identifiers scanned, a high-quality list and a low-quality list are generated. The high-quality list includes at least one non-disabled PLMN identifier with higher priority, and the low-quality list includes at least one non-disabled PLMN identifier with lower priority. The low-quality list is the first list mentioned below.
[0072] S130, based on the detection results, perform the second network selection operation sequentially for each available preset non-disabled PLMN, and during the execution of any second network selection operation, in response to scanning a second PLMN identifier that is the same as the first PLMN identifier, reside in the preset non-disabled PLMN corresponding to the second PLMN identifier.
[0073] The test results include the availability of each non-banned PLMN in the current roaming area.
[0074] During the second meshing operation for each available preset non-disabled PLMN, the operation can be performed sequentially according to the priority of the available preset non-disabled PLMNs from high to low. For example, if there are available preset non-disabled PLMNs in the first list, but the first list is a low-quality list, then the priority of the first list is the lowest. If a second PLMN identifier with the same identifier as the first PLMN has already been scanned among available preset non-disabled PLMNs with a higher priority than the first list, then it is not necessary to perform the second meshing operation for the available preset non-disabled PLMNs in the first list.
[0075] For example, if the first PLMN identifier is 44011, then when performing the second network selection operation, if the scanned PLMN identifier is 44011, it means that the PLMN with the identifier 44011 is an available non-disabled PLMN. Then, the PLMN identifier is used as the second PLMN identifier, and the PLMN is camped on the preset non-disabled PLMN corresponding to the second PLMN identifier, thereby achieving successful network camping.
[0076] In real-world scenarios, after scanning a second PLMN identifier that is identical to the first PLMN identifier, the AS layer identifies that the network selection is successful. At this point, the AS layer reports the second PLMN identifier and the current service type to the NAS layer. Of course, it can also report information such as the cell identifier, but this is not limited here.
[0077] The NAS layer decides whether to initiate a registration process based on the current service type. Specifically, if the current service type is normal, a registration process is initiated; if the current service type is restricted, a registration process is not initiated, but emergency registration can be performed when the terminal device needs service. Without registration, the mobile terminal can enjoy dial-up call services but cannot enjoy SMS and internet services. Successful network registration is achieved after registration is complete.
[0078] The network registration method provided in this embodiment performs a first network selection operation in the current network environment after the terminal device is powered on. Based on the first PLMN identifier of the current network environment, it detects the availability of non-disabled PLMNs corresponding to each non-disabled PLMN identifier recorded in the terminal device in the current roaming location. In this way, the second network selection operation only needs to be performed sequentially for each available preset non-disabled PLMN, instead of performing the network selection operation sequentially for all PLMNs, which greatly reduces the number of PLMNs targeted by the network selection operation. Therefore, it can achieve fast network registration when the terminal device is roaming internationally.
[0079] Based on the technical solutions provided in the above embodiments, an optional embodiment is provided, in which the availability detection step in S120 is refined.
[0080] See Figure 2 The detailed usability testing steps include:
[0081] S210, for each preset non-disabled PLMN, in response to the fact that the mobile country code in the non-disabled PLMN identifier corresponding to the preset non-disabled PLMN is the same as the first mobile country code, it is determined that the preset non-disabled PLMN is available in the current roaming location.
[0082] The first mobile country code is the mobile country code in the scanned first PLMN identifier.
[0083] S220, in response to the fact that the mobile country code in the non-disabled PLMN identifier corresponding to the preset non-disabled PLMN is different from the first mobile country code, it is determined that the preset non-disabled PLMN is unavailable in the current roaming location.
[0084] That is, for each non-disabled PLMN identifier recorded in the terminal device, it is determined whether the mobile country code in the non-disabled PLMN identifier is the same as the first mobile country code. If they are the same, it is considered that the preset non-disabled PLMN corresponding to the non-disabled PLMN identifier exists in the current roaming location, and therefore is usable in the current roaming location. If they are different, it is considered that the preset non-disabled PLMN corresponding to the non-disabled PLMN identifier does not exist in the current roaming location, and therefore is unusable in the current roaming location.
[0085] In this embodiment, based on whether the mobile country code in the non-disabled PLMN identifier corresponding to the preset non-disabled PLMN is the same as the first mobile country code, it is possible to accurately and quickly determine whether the preset non-disabled PLMN is available in the current roaming location.
[0086] Based on the technical solutions provided in the above embodiments, an optional embodiment is provided, in which the execution steps of the second mesh selection operation in S130 are refined.
[0087] See Figure 3 The detailed steps for the second mesh selection operation include:
[0088] S310, in response to the fact that the first PLMN identifier is different from each of the disabled PLMN identifiers recorded in the terminal device, the first list in the terminal device is updated according to the first PLMN identifier.
[0089] The first list includes at least one non-disabled PLMN identifier other than the first PLMN identifier among the non-disabled PLMN identifiers scanned by the first network selection operation.
[0090] Understandably, the first PLMN identifier is different from each of the disabled PLMN identifiers recorded in the terminal device, indicating that the PLMN corresponding to the first PLMN identifier is not a disabled PLMN, but a non-disabled PLMN. Therefore, the first PLMN identifier can be used to update the first list.
[0091] If the first PLMN identifier is the same as a disabled PLMN identifier recorded in the terminal device, it means that the PLMN corresponding to the first PLMN identifier is a disabled PLMN. Therefore, the scanning continues through the AS layer until a non-disabled PLMN that can be registered on the network is found. The first PLMN identifier cannot be used to update the first list in the terminal device to avoid introducing a disabled PLMN identifier into the first list.
[0092] S320, based on the test results, execute the second network selection operation sequentially for the PLMNs corresponding to the third PLMN identifier.
[0093] The third PLMN identifier is the non-disabled PLMN identifier corresponding to each of the available preset non-disabled PLMNs outside the first list.
[0094] Understandably, the priority of each available preset non-disabled PLMN outside the first list is higher than that of each available preset non-disabled PLMN in the first list. Therefore, the second network selection operation is performed first on each available preset non-disabled PLMN outside the updated first list.
[0095] S330, in response to not finding a second PLMN identifier that is the same as the first PLMN identifier, the second network selection operation is performed sequentially for each preset non-disabled PLMN available in the updated first list according to the format of each preset non-disabled PLMN available in the updated first list.
[0096] Understandably, the second network selection operation will only be performed on the preset non-disabled PLMNs available in the updated first list if there is no PLMN with the same identifier as the first PLMN among the available preset non-disabled PLMNs outside the first list.
[0097] For each preset non-disabled PLMN available in the updated first list, a second network selection operation is performed. Specifically, among the preset non-disabled PLMNs available in the updated first list, a preset non-disabled PLMN whose standard matches the standard supported by the terminal device is searched, and the second network selection operation is performed sequentially for each found preset non-disabled PLMN. For example, if the terminal device supports the 5G standard, then a preset non-disabled PLMN supporting the 5G standard is searched among the preset non-disabled PLMNs available in the updated first list, and the second network selection operation is performed sequentially for each found preset non-disabled PLMN.
[0098] In this embodiment, the first PLMN identifier is used to update the first list only if the PLMN corresponding to the first PLMN identifier is not a disabled PLMN, thus avoiding the introduction of disabled PLMN identifiers into the first list. Since the first list is a low-quality list with the lowest priority, the second meshing operation is performed first on all available preset non-disabled PLMNs outside the updated first list. Only during the second meshing process for available preset non-disabled PLMNs outside the updated first list, if no second PLMN identifier identical to the first PLMN identifier is found, is the second meshing operation performed sequentially on all available preset non-disabled PLMNs in the updated first list. Therefore, this embodiment tries to reside on high-quality PLMNs; only when a high-quality PLMN cannot be resided on does it search for a PLMN that meets the standard requirements from the first list.
[0099] Based on the technical solutions provided in the above embodiments, an optional embodiment is provided, in which the first list update step in S310 is refined.
[0100] See Figure 4 The detailed first list update steps include:
[0101] S410, in response to the existence of the first PLMN identifier in the first list, detect the standard supported by the PLMN corresponding to the first PLMN identifier, and update the standard corresponding to the first PLMN identifier in the first list according to the detected standard.
[0102] As can be seen, S410 updates the standard corresponding to the first PLMN identifier in the first list.
[0103] S420, in response to the first PLMN identifier not existing in the first list, add the first PLMN identifier to the first list.
[0104] Understandably, if the first PLMN identifier does not exist in the first list, it can be assumed that the PLMN corresponding to the first PLMN identifier is being scanned for the first time. Therefore, for network security, the first PLMN identifier is directly added to the first list.
[0105] In this embodiment, the first list is updated in different ways depending on whether the first PLMN identifier exists in the first list, thereby ensuring the rationality of the first list update and the security of subsequent network selection operations using the first list.
[0106] Based on the technical solutions provided in the above embodiments, an optional embodiment is provided, in which the network residency method is further refined to include a fallback network residency step.
[0107] See Figure 5 The steps for securing a backup network include:
[0108] The S510, in response to the absence of an available non-disabled PLMN, performs a third network selection operation in the current network environment using a full-band blind search method.
[0109] Among them, the full-band blind search method refers to the method in which the terminal device does not rely on prior network information such as historical camping frequency points and neighbor cell lists, but scans all the licensed mobile communication frequency bands it supports without discrimination, identifies all possible frequency points with signals through broadband energy detection, and then completes the subsequent cell synchronization and network screening.
[0110] S520, stationed at the third PLMN.
[0111] The third PLMN is the PLMN corresponding to the third PLMN identifier that is the same as the first PLMN identifier, which is scanned during the third network selection operation.
[0112] Understandably, if after availability testing it is found that none of the non-disabled PLMNs recorded in the terminal device are available, then a third network selection operation is performed in the current network environment using a full-band blind search method. This is a fallback network selection method.
[0113] In this embodiment, when all non-disabled PLMNs recorded in the terminal device are unavailable, a third network selection operation is performed in the current network environment using a full-band blind search method, thereby ensuring that the terminal device can reside in a PLMN and thus ensure that it can provide services to users.
[0114] Based on the technical solutions provided in the above embodiments, an optional embodiment is provided, in which a network hosting method is provided, applied to a terminal device, specifically applied to the processor in the terminal device. See also Figure 6A The method includes:
[0115] S1A reads the identification information of each PLMN from the terminal device: RPLMN identifier, EPLMN identifier, EHPLMN identifier, HPLMMN identifier, UPLMN identifier, OPLMN identifier, and PLMN disabled identifier.
[0116] S2A, for RPLMN, performs the first network selection operation in the current network environment.
[0117] S3A, after scanning the first PLMN, uses the identifier of the first PLMN as the first PLMN identifier.
[0118] Of course, a first list will also be generated based on other PLMN identifiers besides the first PLMN identifier detected by scanning.
[0119] S4A, determine whether the Mobile Country Code (MCC) in the first PLMN identifier is the same as the MCC in the RPLMN identifier.
[0120] If S5A is different, it indicates that the terminal device is currently in a cross-border roaming state. Therefore, the availability of each non-disabled PLMN recorded by the terminal device is determined according to the MCC in the first PLMN identifier.
[0121] S6A, determine whether the first PLMN identifier exists in the disabled PLMNs recorded by the terminal device.
[0122] S7A, if the first PLMN identifier does not exist in the disabled PLMNs recorded by the terminal device, the first list is updated according to the first PLMN identifier.
[0123] S8A, select each available preset non-disabled PLMN from each non-disabled PLMN (including the first list).
[0124] S9A performs the second network selection operation sequentially for each of the selected available preset non-disabled PLMNs.
[0125] S10A: After scanning and finding a second PLMN identifier that is the same as the first PLMN identifier, the network selection is successful, and the network resides in the preset non-disabled PLMN corresponding to the second PLMN identifier.
[0126] Based on the technical solutions provided in the above embodiments, an optional embodiment is provided, in which a network hosting method is provided, applied to a terminal device, specifically applied to the processor in the terminal device. See also Figure 6B The method includes:
[0127] S1B reads the identification information of each PLMN from the terminal device: the identifier of RPLMN, the identifier of EPLMN, the identifier of EHPLMN, the identifier of HPLMN, the identifier of UPLMN, the identifier of OPLMN, and the identifier of disabled PLMN.
[0128] S2B performs the first network selection operation for any PLMN based on the highest TAT supported by the terminal device; that is, it performs the first network selection operation in the current network environment using a full-band blind search method based on the highest TAT supported by the terminal device.
[0129] S3B, after scanning the first PLMN, uses the identifier of the first PLMN as the first PLMN identifier.
[0130] S4B determines the availability of each non-disabled PLMN recorded by the terminal device based on the MCC in the first PLMN identifier.
[0131] S5B, determine whether the first PLMN identifier exists in the disabled PLMNs recorded by the terminal device.
[0132] S6B, if the first PLMN identifier does not exist in the disabled PLMNs recorded by the terminal device, then the first list is updated according to the first PLMN identifier.
[0133] S7B, select each available preset non-disabled PLMN from each non-disabled PLMN (including the first list).
[0134] S8B performs the second network selection operation sequentially for each of the selected available preset non-disabled PLMNs.
[0135] S9B, after scanning a second PLMN identifier that is the same as the first PLMN identifier, successfully selects a network and resides in the preset non-disabled PLMN corresponding to the second PLMN identifier.
[0136] It should be understood that although the steps in the flowcharts of the above embodiments are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the above embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages in other steps. It is understood that the steps in different embodiments can be freely combined as needed, and all non-contradictory solutions formed by such combinations are within the scope of protection of this application.
[0137] Based on the same inventive concept, this application also provides a network hosting device for implementing the network hosting method described above. This device can be applied to or integrated into a chip or chip module, for example. The solution provided by this device is similar to the implementation scheme described in the above method; therefore, the specific limitations in one or more network hosting device embodiments provided below can be found in the limitations of the network hosting method described above, and will not be repeated here.
[0138] In one exemplary embodiment, a network-hosting device is provided, which is deployed on a terminal device, such as... Figure 7 As shown, the device includes:
[0139] The first network selection module 710 is used to perform a first network selection operation in the current network environment in response to the power-on operation of the terminal device;
[0140] The first detection module 720 is used to detect the availability of each preset non-disabled PLMN in the current roaming area based on the first public land mobile network (PLMN) identifier of the current network environment scanned during the first network selection operation; wherein, each preset non-disabled PLMN is a non-disabled PLMN corresponding to each non-disabled PLMN identifier recorded in the terminal device.
[0141] The second mesh selection module 730 is used to perform a second mesh selection operation sequentially for each available preset non-disabled PLMN based on the detection results, and during the execution of any second mesh selection operation, in response to scanning a second PLMN identifier that is the same as the first PLMN identifier, resides in the preset non-disabled PLMN corresponding to the second PLMN identifier.
[0142] In one embodiment, the first detection module is specifically configured to: for each preset non-restricted PLMN, in response to the fact that the mobile country code in the non-restricted PLMN identifier corresponding to the preset non-restricted PLMN is the same as the first mobile country code, determine that the preset non-restricted PLMN is available in the current roaming location; in response to the fact that the mobile country code in the non-restricted PLMN identifier corresponding to the preset non-restricted PLMN is different from the first mobile country code, determine that the preset non-restricted PLMN is not available in the current roaming location; wherein, the first mobile country code is the mobile country code in the scanned first PLMN identifier.
[0143] In one embodiment, the second mesh selection module includes:
[0144] The list update unit is configured to update the first list in the terminal device according to the first PLMN identifier in response to the fact that the first PLMN identifier is different from each of the disabled PLMN identifiers recorded in the terminal device; wherein the first list includes at least one non-disabled PLMN identifier other than the first PLMN identifier among the non-disabled PLMN identifiers scanned by the first network selection operation.
[0145] The first network selection unit is configured to perform a second network selection operation sequentially on the PLMNs corresponding to the third PLMN identifiers based on the detection results. The third PLMN identifier is a non-disabled PLMN identifier corresponding to each of the available preset non-disabled PLMNs outside the first list, recorded in the terminal device.
[0146] The second selection unit is used to respond to the failure to scan a second PLMN identifier that is the same as the first PLMN identifier, and to perform a second selection operation sequentially for each preset non-disabled PLMN available in the updated first list according to the format of each preset non-disabled PLMN available in the updated first list.
[0147] In one embodiment, the list update unit includes:
[0148] The first update subunit is configured to, in response to the existence of the first PLMN identifier in the first list, detect the standard supported by the PLMN corresponding to the first PLMN identifier, and update the standard corresponding to the first PLMN identifier in the first list according to the detected standard.
[0149] The second update subunit is used to add the first PLMN identifier to the first list in response to the first PLMN identifier not existing in the first list.
[0150] In one embodiment, the first network selection module is specifically configured to: in response to a power-on operation being the first power-on operation in the entire lifecycle of the terminal device, perform a first network selection operation for the home PLMN and / or equivalent home PLMN in the current network environment; and in response to a power-on operation being a non-first power-on operation in the entire lifecycle, perform a first network selection operation for the registered PLMN and / or equivalent PLMN in the current network environment.
[0151] In one embodiment, the detection of the availability of each preset non-disabled PLMN in the current roaming location in the first detection module includes: in response to the fact that the country code in the first PLMN identifier is different from the country code in the PLMN identifier corresponding to the PLMN targeted by the first network selection operation, detecting the availability of each preset non-disabled PLMN in the current roaming location.
[0152] In one embodiment, the apparatus further includes:
[0153] The blind selection module is used to perform a third network selection operation in the current network environment in response to the absence of an available non-disabled PLMN;
[0154] The third network selection module is used to reside in the third PLMN; wherein, the third PLMN is the PLMN corresponding to the third PLMN identifier that is the same as the first PLMN identifier scanned during the execution of the third network selection operation.
[0155] Regarding the modules / units included in the various devices and products described in the above embodiments, they can be software modules / units, hardware modules / units, or a combination of both. For example, for various devices and products applied to or integrated into a chip, all of their modules / units can be implemented using hardware methods such as circuits, or at least some modules / units can be implemented using software programs that run on a processor integrated within the chip, while the remaining (if any) modules / units can be implemented using hardware methods such as circuits; for various devices and products applied to or integrated into a chip module, all of their modules / units can be implemented using hardware methods such as circuits, and different modules / units can be located in the same component (e.g., chip, circuit module, etc.) or different components of the chip module, or at least some modules / units can be implemented using hardware methods such as circuits. The components can be implemented using software programs that run on the processor integrated within the chip module. The remaining (if any) modules / units can be implemented using hardware methods such as circuits. For various devices and products applied to or integrated into the terminal, each of its components / units can be implemented using hardware methods such as circuits. Different modules / units can be located in the same component (e.g., chip, circuit module, etc.) or in different components within the terminal. Alternatively, at least some modules / units can be implemented using software programs that run on the processor integrated within the terminal, while the remaining (if any) modules / units can be implemented using hardware methods such as circuits.
[0156] In one exemplary embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as follows: Figure 8 As shown, the computer device includes a processor, memory, input / output interfaces, a communication interface, a display unit, and an input device. The processor, memory, and input / output interfaces are connected via a system bus, and the communication interface, display unit, and input device are also connected to the system bus via the input / output interfaces. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The input / output interfaces are used for exchanging information between the processor and external devices. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, Near Field Communication (NFC), or other technologies. When the computer program is executed by the processor, it implements a network-resident method.
[0157] Those skilled in the art will understand that Figure 8 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0158] In one exemplary embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps of the network residency method described above.
[0159] Based on the same inventive concept, this application also provides a chip, including a processor and a communication interface; the communication interface is used to receive or send data; the processor is configured to cause the chip to execute the steps of the network resident method in the above embodiments.
[0160] It is understood that the chip involved in the embodiments of this application may be a field-programmable gate array (FPGA), may be an application-specific integrated circuit (ASIC), may be a system on chip (SoC), may be a central processor unit (CPU), may be a network processor (NP), may be a digital signal processor (DSP), may be a microcontroller unit (MCU), may be a programmable logic device (PLD), or other integrated chips, etc.
[0161] Based on the same inventive concept, this application also provides a chip module, such as... Figure 9 As shown, the chip module includes a communication module, a power module, a storage module, and a chip. Specifically: the power module provides power to the chip module; the storage module stores data and instructions; the communication module enables internal communication within the chip module or communication between the chip module and external devices; and the chip corresponds to the chip in the aforementioned chip embodiment. The implementation of this chip module can be found in the relevant content of the aforementioned chip embodiment, and will not be repeated here.
[0162] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the steps of the network residency method described above.
[0163] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps of the network residency method described above.
[0164] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of the relevant data must comply with relevant regulations.
[0165] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. 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). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, artificial intelligence (AI) processors, etc., and are not limited to these.
[0166] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0167] The above embodiments are merely illustrative of several implementation methods of this application, and their descriptions are relatively specific and detailed. However, they should not be construed as limiting the scope of this application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.
Claims
1. A network residency method, characterized in that, Applied to terminal devices, the method includes: In response to the power-on operation of the terminal device, perform the first network selection operation in the current network environment; During the execution of the first network selection operation, the availability of each preset non-disabled PLMN in the current roaming location is detected based on the first public land mobile network (PLMN) identifier of the current network environment scanned; wherein, each preset non-disabled PLMN is a non-disabled PLMN corresponding to each non-disabled PLMN identifier recorded in the terminal device. Based on the detection results, the second network selection operation is performed sequentially for each available preset non-disabled PLMN. During the execution of any second network selection operation, in response to the detection of a second PLMN identifier that is the same as the first PLMN identifier, the system resides in the preset non-disabled PLMN corresponding to the second PLMN identifier.
2. The method according to claim 1, characterized in that, The step of detecting the availability of each preset non-disabled PLMN in the current roaming location based on the scanned first public land mobile network (PLMN) identifier of the current network environment includes: For each preset non-disabled PLMN, in response to the fact that the mobile country code in the non-disabled PLMN identifier corresponding to the preset non-disabled PLMN is the same as the first mobile country code, it is determined that the preset non-disabled PLMN is available in the current roaming location; In response to the fact that the mobile country code in the non-disabled PLMN identifier corresponding to the preset non-disabled PLMN is different from the first mobile country code, it is determined that the preset non-disabled PLMN is unavailable in the current roaming location; The first mobile country code is the mobile country code in the scanned first PLMN identifier.
3. The method according to claim 1 or 2, characterized in that, Based on the detection results, the second network selection operation is performed sequentially for each available preset non-disabled PLMN, including: In response to the fact that the first PLMN identifier is different from each of the disabled PLMN identifiers recorded in the terminal device, the first list in the terminal device is updated according to the first PLMN identifier; wherein, the first list includes at least one non-disabled PLMN identifier other than the first PLMN identifier among the non-disabled PLMN identifiers scanned by the first network selection operation. Based on the detection results, a second network selection operation is sequentially performed on the PLMNs corresponding to the third PLMN identifier, wherein the third PLMN identifier is a non-disabled PLMN identifier corresponding to each available preset non-disabled PLMN outside the first list recorded in the terminal device; and... In response to the failure to detect a second PLMN identifier that is identical to the first PLMN identifier, a second network selection operation is performed sequentially for each preset non-disabled PLMN available in the updated first list, based on the standard of each preset non-disabled PLMN available in the updated first list.
4. The method according to claim 3, characterized in that, The step of updating the first list in the terminal device according to the first PLMN identifier includes: In response to the existence of the first PLMN identifier in the first list, the system supported by the PLMN corresponding to the first PLMN identifier is detected, and the system corresponding to the first PLMN identifier in the first list is updated according to the detected system. In response to the first PLMN identifier not existing in the first list, the first PLMN identifier is added to the first list.
5. The method according to claim 1 or 2, characterized in that, The step of performing the first network selection operation in the current network environment includes: In response to the power-on operation being the first power-on operation in the entire life cycle of the terminal device, a first network selection operation is performed in the current network environment for the home PLMN and / or equivalent home PLMN. In response to the power-on operation being a non-first power-on operation in the entire lifecycle, a first network selection operation is performed in the current network environment for the registered PLMN and / or equivalent PLMN.
6. The method according to claim 5, characterized in that, The detection of the availability of each preset non-disabled PLMN in the current roaming location includes: In response to the fact that the country code in the first PLMN identifier is different from the country code in the PLMN identifier corresponding to the PLMN targeted by the first network selection operation, the availability of each preset non-disabled PLMN in the current roaming location is detected.
7. The method according to claim 1 or 2, characterized in that, Also includes: In response to the absence of an available non-disabled PLMN, a third network selection operation is performed in the current network environment using a full-band blind search method. Resides in a third PLMN; wherein the third PLMN is the PLMN corresponding to the third PLMN identifier that is scanned during the execution of the third network selection operation and is identical to the first PLMN identifier.
8. A network hosting device, characterized in that, Deployed on terminal devices, the device includes: The first network selection module is used to perform the first network selection operation in the current network environment in response to the power-on operation of the terminal device. The first detection module is used to detect the availability of each preset non-disabled PLMN in the current roaming location based on the first public land mobile network (PLMN) identifier of the current network environment scanned during the execution of the first network selection operation; wherein, each preset non-disabled PLMN is a non-disabled PLMN corresponding to each non-disabled PLMN identifier recorded in the terminal device. The second mesh selection module is used to perform a second mesh selection operation sequentially for each available preset non-disabled PLMN based on the detection results, and during the execution of any second mesh selection operation, in response to scanning a second PLMN identifier that is the same as the first PLMN identifier, resides in the preset non-disabled PLMN corresponding to the second PLMN identifier.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 7.
10. A chip, characterized in that, The device includes a processor and a communication interface, the processor being configured to cause the chip to perform the steps of the method described in any one of claims 1 to 7.
