Roaming network access method, electronic device, server, and system
By selecting a suitable roaming network based on location and HPLMN information using the first electronic device, the problem of excessively long network dwell time in roaming scenarios is solved, and the access efficiency and service quality of roaming networks are improved.
Patent Information
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- HUAWEI TECH CO LTD
- Filing Date
- 2025-10-28
- Publication Date
- 2026-07-23
AI Technical Summary
In roaming scenarios, electronic devices need to confirm that all standards of the saved registered Public Land Mobile Network (RPLMN) are unavailable before they will search for other networks that are actually available in the current area. This results in excessively long network dwell times, which affects the user experience.
The first electronic device selects a suitable roaming network from the roaming list based on the first location information and the first home public land mobile network (HPLMN) information, obtains and accesses the network, and refers to service experience information and registration-related information to improve the access efficiency and quality of the roaming network.
It enables the rapid acquisition of suitable roaming networks in roaming scenarios, improving the access efficiency and service quality of roaming networks, and avoiding the problem of poor network selection due to lack of reference data.
Smart Images

Figure CN2025130451_23072026_PF_FP_ABST
Abstract
Description
Roaming network access method, electronic device, server and system
[0001] The present application claims priority to the Chinese patent application No. 202510072608.3, filed on January 16, 2025, and entitled "Roaming network access method, electronic device, server and system", the content of which is incorporated herein by reference in its entirety. TECHNICAL FIELD
[0002] The present application relates to the technical field of terminal, and in particular, to a roaming network access method, an electronic device, a server and a system. BACKGROUND
[0003] With the development of communication technology, electronic devices can provide mobile communication services for users in other regions or countries after leaving the local operator service area through roaming services, which can flexibly cope with the requirements of public land mobile networks (PLMNs) in different regions and avoid the inconvenience of replacing subscriber identity modules (SIM) cards.
[0004] In some examples, before using a PLMN, the electronic device usually needs to be registered. After registration, the electronic device will be assigned to a corresponding registered public land mobile network (RPLMN).
[0005] In some examples, in a roaming scenario, if the electronic device is turned on in an automatic network search mode, it will first confirm whether all modes of the saved RPLMN can be accessed. Then, if all modes of the RPLMN in the current area are not covered, the electronic device also needs to confirm that all modes of the RPLMN are not accessible before selecting to search for other networks that are actually available in the current area, which results in a long network access time and affects the user experience. SUMMARY
[0006] To solve the above technical problems, the present application provides a roaming network access method, an electronic device, a server and a system. The technical solution provided by the present application can enable a first electronic device to select a suitable roaming network according to first location information and first home public land mobile network (HPLMN) information, thereby improving the roaming network access efficiency and quality.
[0007] To achieve the above technical purposes, the present application provides the following technical solutions:
[0008] In a first aspect, a roaming method is provided. The method is applied to a first electronic device and includes: in response to entering a roaming scenario, obtaining a first roaming network from a roaming list according to first location information and first HPLMN information of the first electronic device, wherein the roaming list includes at least one roaming network corresponding to the first location information and the first HPLMN information; and accessing the first roaming network.
[0009] In this way, the first electronic device can select a first roaming network that is currently more suitable for roaming according to the first location information and the first HPLMN information.
[0010] In addition, for a first electronic device that enters a network for the first time, the first electronic device can also obtain a suitable first roaming network according to the roaming list, thereby avoiding a problem that a selected roaming network cannot provide a better service experience due to no reference data of the first electronic device.
[0011] According to the first aspect, the roaming list includes one or more of access information, service experience information, and registration-related information of the at least one roaming network corresponding to the first location information and the first HPLMN information.
[0012] In this way, in the process of selecting the first roaming network, the service experience information and / or the registration-related information can be referred to, thereby improving roaming efficiency, a registration success rate, and a service quality.
[0013] In addition, according to the first aspect or any possible implementation manner of the first aspect, the first roaming network is obtained from the roaming list according to the first location information and the first HPLMN information of the first electronic device, including: in the roaming list, first category roaming data that matches the first location information and the first HPLMN information is obtained, a place indicated by the first location information is located within a preset range near a place indicated by second location information corresponding to the first category roaming data, and the first HPLMN information is the same as second HPLMN information corresponding to the first category roaming data; and the first roaming network is obtained according to the first category roaming data.
[0014] In this way, the server classifies the reported roaming data according to location information of a roaming place corresponding to the roaming data and HPLMN information of the second electronic device. In this way, the first electronic device can also match suitable category roaming data according to the same HPLMN information and similar location information after obtaining the roaming list, thereby selecting a roaming network.
[0015] In this way, the first electronic device that has a roaming demand and is located at the same roaming place and has the same HPLMN information can select a suitable roaming network for network access by referring to roaming data in the same category, thereby improving roaming efficiency of the first electronic device.
[0016] According to the first aspect, or any one of the implementations of the first aspect, the obtaining the first roaming network according to the first category roaming data comprises: obtaining the first roaming network corresponding to the first roaming data ranked in the front in the first category roaming data, and the ranking of the different roaming data in the first category roaming data is determined according to one or more of the corresponding access information, the service experience information, and the registration related information.
[0017] In this way, the server ranks the roaming data in the roaming list according to the service experience information and / or the registration related information, and the roaming data of the same category is arranged in order. Thus, the first electronic device to be roamed into the network can select a roaming network with better comprehensive capability from the roaming list, and the roaming into the network efficiency and the service quality are improved.
[0018] According to the first aspect, or any one of the implementations of the first aspect, the accessing the first roaming network comprises: obtaining the first access information corresponding to the first roaming network in the roaming list; performing network search according to the first access information; sending a registration request to the searched first roaming network; and accessing the first roaming network after the registration is completed.
[0019] According to the first aspect, or any one of the implementations of the first aspect, the first access information comprises one or more of the following: the mode, the frequency band, the frequency point, and the cell identifier of the first roaming network.
[0020] In this way, after the first electronic device selects the first roaming network, the first electronic device can search, register, and access the first roaming network according to the corresponding access information.
[0021] According to the first aspect, or any one of the implementations of the first aspect, before obtaining the first roaming network in the roaming list according to the first location information and the first HPLMN information of the first electronic device in response to entering the roaming scenario, the method further comprises: sending a roaming list obtaining request to the server in the case that a preset downloading condition is met; and receiving and saving the roaming list sent by the server, wherein the preset downloading condition comprises at least one of the following: booting, switching a subscriber identity module (SIM) card, reaching a preset downloading period, and determining that the future will enter the roaming scenario.
[0022] In this way, the first electronic device can obtain the roaming list from the server in a flexible manner through multiple ways.
[0023] According to the first aspect, or any one of the implementations of the first aspect, the first HPLMN information and / or the third location information corresponding to the future entering the roaming scenario is carried in the roaming list obtaining request, and the place indicated by the third location information is close to the place indicated by the first location information.
[0024] Thus, the selective downloading of the roaming list is realized, the efficiency of downloading the roaming list is improved, and the storage space occupied by the roaming list is reduced.
[0025] According to the first aspect or any one of the implementations of the first aspect, before the first roaming network is acquired from the roaming list according to the first location information and the first HPLMN information in response to entering the roaming scenario, the method further includes: determining that the roaming scenario is entered according to preset judgment information, wherein the preset judgment information includes any one or more of a mobile country code (MCC), the first HPLMN information, positioning information, an operator signal access and roaming protocol, signal quality, and opening / closing of a flight mode.
[0026] Thus, the first electronic device can flexibly determine whether the roaming scenario is entered according to the preset judgment condition.
[0027] According to the first aspect or any one of the implementations of the first aspect, the method further includes: aging part or all of the roaming data in the roaming list according to a first aging period.
[0028] Thus, the first electronic device can save a newer roaming list, so as to improve the efficiency and accuracy of subsequent roaming network selection of the first electronic device. Moreover, too much redundant data is avoided.
[0029] According to the first aspect or any one of the implementations of the first aspect, the service experience information includes one or more of a call connection rate, a call drop rate, a data service lag rate, and average delay information; and the registration-related information includes a registration success rate and / or registration delay information.
[0030] Thus, the first electronic device can select a roaming network with a higher registration success rate, a lower registration delay, and better service experience.
[0031] According to the first aspect or any one of the implementations of the first aspect, after the first roaming network is accessed, the method further includes: reporting second roaming data to the server, wherein the second roaming data is used for the server to update the roaming list.
[0032] Thus, the first electronic device can also report the roaming data to the server after roaming into the network, so as to facilitate the server to provide reference data for other devices to be roamed into the network.
[0033] In a second aspect, a roaming-in-network method is provided, applied to a server, and the method comprises: receiving, by the server, a roaming list obtaining request sent by a first electronic device; and sending, by the server, a roaming list to the first electronic device in response to the roaming list obtaining request. The roaming list is used for the first electronic device to select and access a first roaming network matching first location information and first HPLMN information of the first electronic device after entering a roaming scenario, and the roaming list comprises at least one roaming network corresponding to the first location information and the first HPLMN information.
[0034] In this way, the server can provide the roaming list to the first electronic device, so that the first electronic device can download the roaming data in the future, access the roaming network by referring to the roaming data, and provide better roaming-in-network experience for users.
[0035] According to the second aspect, the roaming list comprises one or more of access information, service experience information, and registration-related information of the at least one roaming network corresponding to the first location information and the first HPLMN information.
[0036] According to the second aspect or any one of the implementations of the second aspect, before receiving the roaming list obtaining request sent by the first electronic device, the method further comprises: receiving roaming data sent by at least one second electronic device; and generating the roaming list by classifying the roaming data sent by the at least one second electronic device according to HPLMN information and location information in the roaming data.
[0037] In this way, the server can obtain the roaming data uploaded by the plurality of second electronic devices, and classify the received roaming data to realize orderly management of the roaming data. Moreover, the server can help the first electronic devices of the corresponding categories to access the roaming network by using the classified roaming data.
[0038] According to the second aspect or any one of the implementations of the second aspect, the first category of roaming data matching the first location information and the first HPLMN information is included in the roaming list, the place indicated by the first location information is located within a preset range near the place indicated by the second location information corresponding to the first category of roaming data, and the first HPLMN information is the same as the second HPLMN information corresponding to the first category of roaming data.
[0039] According to the second aspect or any one of the implementations of the second aspect, the roaming data in each category in the roaming list is arranged in order according to one or more of the corresponding access information, service experience information, and registration-related information.
[0040] In this way, the server sorts the roaming data in the roaming list based on service experience information and / or registration information, achieving an orderly arrangement of roaming data within the same category. This allows the first electronic device awaiting roaming access to select a roaming network with better overall capabilities from the roaming list, improving roaming access efficiency and service quality.
[0041] According to the second aspect, or any implementation of the second aspect above, the roaming list acquisition request carries the first HPLMN information and / or the third location information corresponding to the roaming scene that the first electronic device will enter in the future, and the location indicated by the third location information is close to the location indicated by the first location information.
[0042] According to the second aspect, or any implementation of the second aspect above, the method further includes: aging some or all of the roaming data in the roaming list according to the second aging cycle.
[0043] In this way, the server ages the roaming list according to the second aging cycle, which reduces data storage and data management difficulty while ensuring the provision of the roaming list.
[0044] According to the second aspect, or any implementation of the second aspect above, the method further includes: receiving second roaming data reported by the first electronic device; and updating the roaming list based on the second roaming data.
[0045] According to the second aspect, or any implementation of the second aspect above, the service experience information includes one or more of the following: call connection rate, call drop rate, data service lag rate, and average latency information; the registration-related information includes the registration success rate and / or registration latency information; the access information includes one or more of the following: the standard, frequency band, frequency point, and cell identifier of the first roaming network.
[0046] Thirdly, a first electronic device is provided. The first electronic device includes a processor and a memory. The memory is coupled to the processor and stores computer program code, including computer instructions. When the processor reads the computer instructions from the memory, the first electronic device executes: in response to entering a roaming scenario, obtaining a first roaming network from a roaming list based on first location information and first HPLMN information of the first electronic device, wherein the roaming list includes at least one roaming network corresponding to the first location information and the first HPLMN information; and accessing the first roaming network.
[0047] According to the third aspect, the roaming list includes one or more of the following: access information of at least one roaming network corresponding to the first location information and the first HPLMN information, service experience information, and registration-related information.
[0048] According to the third aspect, or any implementation thereof, obtaining a first roaming network from a roaming list based on the first location information and the first HPLMN information of the first electronic device includes: obtaining, from the roaming list, first category roaming data matching the first location information and the first HPLMN information, wherein the location indicated by the first location information is within a preset range near the location indicated by the second location information corresponding to the first category roaming data, and the first HPLMN information is the same as the second HPLMN information corresponding to the first category roaming data. The first roaming network is then obtained based on the first category roaming data.
[0049] According to the third aspect, or any implementation of the third aspect above, the first roaming network is obtained based on the first category of roaming data, including: obtaining the first roaming network corresponding to the first roaming data ranked first in the first category of roaming data, wherein the ranking of different roaming data in the first category of roaming data is determined based on one or more of the corresponding access information, service experience information, and registration-related information.
[0050] According to the third aspect, or any implementation of the third aspect above, accessing the first roaming network includes: obtaining the first access information corresponding to the first roaming network in the roaming list; performing a network search based on the first access information; sending a registration request to the searched first roaming network; and accessing the first roaming network after registration is completed.
[0051] According to the third aspect, or any implementation of the third aspect above, the first access information includes one or more of the following: the standard, frequency band, frequency point, and cell identifier of the first roaming network.
[0052] According to the third aspect, or any implementation of the third aspect above, when the processor reads computer instructions from memory, it also causes the first electronic device to perform the following: under preset download conditions, sending a roaming list retrieval request to the server; wherein the preset download conditions include at least one of the following: powering on, switching to a different SIM card, reaching a preset download period, or determining that it will enter a roaming scenario in the future. Receiving and saving the roaming list sent by the server.
[0053] According to the third aspect, or any of the above implementations of the third aspect, the roaming list acquisition request carries the first HPLMN information and / or the third location information corresponding to the roaming scene to be entered in the future, and the location indicated by the third location information is close to the location indicated by the first location information.
[0054] According to the third aspect, or any implementation of the third aspect above, when the processor reads computer instructions from the memory, it also causes the first electronic device to execute: determining to enter a roaming scenario based on preset judgment information; wherein, the preset judgment information includes any one or more of the following: Mobile Country Code (MCC), First HPLMN information, Location information, Operator signal access and roaming protocol, Signal quality, and Flight Mode on / off.
[0055] According to the third aspect, or any implementation of the third aspect above, when the processor reads computer instructions from memory, it also causes the first electronic device to execute: aging some or all of the roaming data in the roaming list according to the first aging cycle.
[0056] According to the third aspect, or any of the above implementation methods of the third aspect, the business experience information includes one or more of the following: call connection rate, call drop rate, data service lag rate, and average latency information; registration-related information includes registration success rate and / or registration latency information.
[0057] According to the third aspect, or any implementation of the third aspect above, when the processor reads computer instructions from memory, it also causes the first electronic device to execute: reporting second roaming data to the server, the second roaming data being used by the server to update the roaming list.
[0058] Fourthly, a server is provided. The server includes a processor and a memory. The memory is coupled to the processor and stores computer program code, including computer instructions. When the processor reads the computer instructions from the memory, the server executes the following: The server receives a roaming list retrieval request sent by a first electronic device. In response to the roaming list retrieval request, the server sends a roaming list to the first electronic device. The roaming list is used by the first electronic device to select and access a first roaming network that matches its first location information and first HPLMN information after entering a roaming scenario. The roaming list includes at least one roaming network corresponding to the first location information and the first HPLMN information.
[0059] According to the fourth aspect, the roaming list includes one or more of the following: access information of at least one roaming network corresponding to the first location information and the first HPLMN information, service experience information, and registration-related information.
[0060] According to the fourth aspect, or any implementation of the fourth aspect above, when the processor reads computer instructions from memory, the server executes: receiving roaming data sent by at least one second electronic device; classifying the roaming data sent by at least one second electronic device based on the HPLMN information and location information in the roaming data sent by at least one second electronic device, and generating a roaming list.
[0061] According to the fourth aspect, or any implementation of the fourth aspect above, the roaming list includes a first category of roaming data that matches the first location information and the first HPLMN information. The location indicated by the first location information is located within a preset range near the location indicated by the second location information corresponding to the first category of roaming data. The first HPLMN information is the same as the second HPLMN information corresponding to the first category of roaming data.
[0062] According to the fourth aspect, or any of the above implementation methods of the fourth aspect, the roaming data in each category of the roaming list is arranged in an orderly manner according to one or more of the corresponding access information, service experience information, and registration-related information.
[0063] According to the fourth aspect, or any of the above implementations of the fourth aspect, the roaming list acquisition request carries the first HPLMN information and / or the third location information corresponding to the roaming scene that the first electronic device will enter in the future, and the location indicated by the third location information is close to the location indicated by the first location information.
[0064] According to the fourth aspect, or any implementation of the fourth aspect above, when the processor reads computer instructions from memory, the server executes: aging some or all of the roaming data in the roaming list according to the second aging cycle.
[0065] According to the fourth aspect, or any implementation of the fourth aspect above, when the processor reads computer instructions from memory, the server executes: receiving the second roaming data reported by the first electronic device; and updating the roaming list based on the second roaming data.
[0066] According to the fourth aspect, or any of the above implementation methods of the fourth aspect, the service experience information includes one or more of the following: call connection rate, call drop rate, data service lag rate, and average latency information; the registration-related information includes the registration success rate and / or registration latency information; the access information includes one or more of the following: the standard, frequency band, frequency point, and cell identifier of the first roaming network.
[0067] Fifthly, an electronic device is provided, the server having the functionality to implement the methods described in the first aspect and any of their possible implementations. This functionality can be implemented in hardware or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the described functionality.
[0068] Sixthly, a server is provided that has the functionality to implement the methods described in the second aspect and any of their possible implementations. This functionality can be implemented in hardware or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the described functionality.
[0069] In a seventh aspect, a computer-readable storage medium is provided. The computer-readable storage medium stores a computer program (also referred to as instructions or code) that, when executed by an electronic device, causes the electronic device to perform the method of the first aspect or any embodiment of the first aspect.
[0070] Eighthly, a computer-readable storage medium is provided. The computer-readable storage medium stores a computer program (also referred to as instructions or code) that, when executed by a server, causes the server to perform the method of the second aspect or any embodiment of the second aspect.
[0071] Ninth aspect, a computer program product is provided that, when the computer program product is run on an electronic device, causes the electronic device to perform the method of the first aspect or any one of the embodiments of the first aspect.
[0072] In a tenth aspect, a computer program product is provided that, when the computer program product is run on a server, causes the server to perform the method of the second aspect or any one of the embodiments of the second aspect.
[0073] Eleventhly, a roaming network access system is provided, comprising a first electronic device as described in the third aspect above, and a server as described in the fourth aspect above.
[0074] In a twelfth aspect, a circuit system is provided, the circuit system including a processing circuit configured to perform the method of the first aspect or any embodiment of the first aspect; or, the processing circuit is configured to perform the method of the second aspect or any embodiment of the second aspect.
[0075] In a thirteenth aspect, a chip system is provided, including at least one processor and at least one interface circuit, wherein the at least one interface circuit is configured to perform transceiver functions and send instructions to the at least one processor, wherein when the at least one processor executes instructions, the at least one processor performs the method of the first aspect or any embodiment thereof; or, when the at least one processor executes instructions, the at least one processor performs the method of the second aspect or any embodiment thereof.
[0076] The technical effects of the aforementioned aspects can be referenced from each other, and will not be elaborated further here. Attached Figure Description
[0077] Figure 1 is a schematic flowchart of the roaming network access method provided in an embodiment of this application;
[0078] Figure 2 is a schematic diagram of the communication system in which the roaming network access method provided in the embodiments of this application is applied;
[0079] Figure 3 is a schematic diagram of the hardware structure of the first electronic device provided in an embodiment of this application;
[0080] Figure 4 is a schematic diagram of the hardware structure of the server provided in an embodiment of this application;
[0081] Figure 5 is a schematic diagram of the roaming access method provided in the embodiment of this application;
[0082] Figure 6 is a schematic diagram of module interaction provided in an embodiment of this application;
[0083] Figure 7 is a schematic flowchart of the roaming network access method provided in an embodiment of this application;
[0084] Figure 8 is a schematic diagram of the structure of the first electronic device provided in an embodiment of this application;
[0085] Figure 9 is a schematic diagram of the server structure provided in an embodiment of this application. Detailed Implementation
[0086] The technical solutions of the embodiments of this application are described below with reference to the accompanying drawings. In the description of the embodiments of this application, the terminology used in the following embodiments is for the purpose of describing specific embodiments only and is not intended to be a limitation of this application. As used in the specification and appended claims of this application, the singular expressions “a,” “an,” “the,” “the,” “the,” and “this” are intended to include expressions such as “one or more,” unless the context clearly indicates otherwise. It should also be understood that in the following embodiments of this application, “at least one” and “one or more” refer to one or more (including two).
[0087] References to "one embodiment" or "some embodiments" in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized. The term "connection" includes direct connections and indirect connections, unless otherwise stated. "First" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated.
[0088] In the embodiments of this application, the words "exemplarily" or "for example" are used to indicate examples, illustrations, or explanations. Any embodiment or design described as "exemplarily" or "for example" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or design solutions. Specifically, the use of the words "exemplarily" or "for example" is intended to present the relevant concepts in a specific manner.
[0089] In some embodiments, the RPLMN stored in the electronic device is a PLMN that the electronic device has previously registered and used. Therefore, under normal circumstances, when the electronic device needs to reconnect to the network, it will prioritize searching for any existing RPLMNs to improve network access efficiency. However, in roaming scenarios, if the electronic device enters the current roaming area for the first time, it also needs to prioritize searching all RPLMN standards. Only after confirming that all RPLMN standards are unavailable can it select other networks that are actually available in the current area. This can lead to excessively long network access times, affecting the user experience. The RPLMN standards include, for example, 5G, 4G, 3G, and 2G standards.
[0090] For example, if an electronic device has a SIM card from a domestic operator installed and saves domestic RPLMNs, meaning the network the device previously registered with was a domestic network, and later, when a user takes the electronic device abroad, upon disembarking, the device confirms it has entered a roaming scenario and automatically performs a network search. During this process, the electronic device must first complete a search of all types of the saved domestic RPLMNs, and only after confirming that none are usable can it trigger a search for and register with the roaming location's network, impacting the user experience.
[0091] In some embodiments, after confirming entry into a roaming scenario, the electronic device may also prioritize searching for the RPLMN corresponding to the current roaming location based on the roaming location, thereby improving the efficiency of roaming network access.
[0092] For example, as shown in Figure 1, in a roaming scenario, the electronic device can prioritize searching for roaming networks to obtain the mobile country code (MCC) of the roaming network. This MCC can be used to uniquely identify the mobile communication network of a country or region. Based on the searched MCC, the electronic device can identify and distinguish communication networks of different countries or regions, thereby determining the current roaming location (as in step S101). Afterwards, the electronic device can obtain roaming reference information (as in step S102). This roaming reference information includes historical roaming information saved by the electronic device's automatic network search, user-controlled PLMN (UPLMN) saved after the user manually adds a network, and operator-controlled PLMN (OPLMN) information such as the roaming agreement signed with the operator of the SIM card in the electronic device. This roaming reference information helps the electronic device access the network more quickly. After obtaining the roaming reference information, the electronic device can perform a network search based on the roaming reference information and the MCC to obtain the PLMN that matches the MCC in the roaming reference information for registration and network entry (as in step S103).
[0093] It can be seen that although electronic devices refer to the roaming MCC (Mobile Control Center) and no longer need to search all the standards of RPLMNs, thus improving roaming network access efficiency to some extent, the network conditions in different regions within the same country indicated by the MCC can vary. Electronic devices relying on the PLMN selected by the MCC may not be able to register in actual use. Therefore, frequent network access denials for electronic devices can lead to excessively long network registration times, affecting the user experience.
[0094] Furthermore, the roaming reference information used by electronic devices does not include actual information about the network usage experience. Therefore, the PLMN that the electronic device ultimately chooses to host may not provide a good service experience for the user.
[0095] In addition, users arriving in a roaming location for the first time cannot obtain roaming reference information related to the roaming location. They can only obtain the roaming network by first searching all standards of RPLMN, resulting in low roaming network access efficiency.
[0096] Therefore, this application provides a roaming network access method, in which the first electronic device can select a suitable roaming network based on the first location information and the first home public land mobile network (HPLMN) information, thereby improving the efficiency and quality of roaming network access.
[0097] Figure 2 is a schematic diagram of the communication system used in the roaming network access method provided in this application embodiment. As shown in Figure 2, the communication system includes a first electronic device 100, a second electronic device 200, and a server 300.
[0098] Optionally, the first electronic device 100 or the second electronic device 200 may be, for example, a mobile phone, tablet computer, smart screen, personal computer (PC), wearable device (such as smartwatch, smart bracelet, etc.), in-vehicle system, ultra-mobile personal computer (UMPC), netbook, personal digital assistant (PDA), artificial intelligence (AI) device, or other terminal device. The operating system installed on the first electronic device 100 or the second electronic device 200 may include, but is not limited to, the following: Alternatively, other operating systems may be used. This application does not limit the specific type of the second electronic device 200 or the operating system installed on it.
[0099] Optionally, server 300 can be a device or server with computing capabilities, such as a cloud server or a network server. Server 300 can be a single server, a server cluster consisting of multiple servers, or a cloud computing service center.
[0100] In some embodiments, the number of second electronic devices 200 is at least one. In some examples, after accessing the roaming network, the second electronic device 200 can send its own roaming data to the server 300. Optionally, the roaming data includes, for example, home PLMN (HPLMN) information, roaming location information, registration-related information, service experience information, etc. The HPLMN information, for example, indicates the operator network to which the SIM card belongs, typically the SIM card's local network or service provider network. The HPLMN uses a specific MCC and mobile network code (MNC) to uniquely identify the network. Subsequently, after the first electronic device 100 enters the roaming scenario, it can download the roaming data uploaded by the second electronic device 200 from the server 300, thereby accessing the network based on the roaming data and improving roaming network access efficiency.
[0101] Optionally, the first electronic device 100 and the second electronic device 200 in the embodiments of this application can be implemented by different devices. Different devices can have the same, similar or different hardware structures, such as the hardware structure shown in Figure 3.
[0102] For example, taking the hardware structure of the first electronic device 100 shown in Figure 3 as an example, the hardware structures of the first electronic device 100 and the second electronic device 200 will be described.
[0103] Optionally, the first electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc.
[0104] It is understood that the structures illustrated in the embodiments of this application do not constitute a specific limitation on the first electronic device 100. In other embodiments of this application, the first electronic device 100 may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0105] Processor 110 may include one or more processing units, such as application processor (AP), modem processor, graphics processing unit (GPU), image signal processor (ISP), controller, video codec, digital signal processor (DSP), baseband processor, and / or neural network processing unit (NPU). These different processing units may be independent devices or integrated into one or more processors.
[0106] The controller can generate operation control signals based on the instruction opcode and timing signals to complete the control of instruction fetching and execution.
[0107] The processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. This memory can store instructions or data that the processor 110 has just used or that are used repeatedly. If the processor 110 needs to use the instruction or data again, it can retrieve it directly from the memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
[0108] The wireless communication function of the first electronic device 100 can be implemented through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor, and baseband processor.
[0109] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the first electronic device 100 can be used to cover one or more communication frequency bands. Different antennas can also be multiplexed to improve antenna utilization. For example, antenna 1 can be multiplexed as a diversity antenna for a wireless local area network. In some other embodiments, the antennas can be used in conjunction with a tuning switch.
[0110] The mobile communication module 150 can provide solutions for wireless communication, including 2G / 3G / 4G / 5G, applied to the first electronic device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low-noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves via antenna 1, and perform filtering, amplification, and other processing on the received electromagnetic waves before transmitting them to a modem processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modem processor and convert it into electromagnetic waves for radiation via antenna 1. In some embodiments, at least some functional modules of the mobile communication module 150 may be housed in the processor 110. In some embodiments, at least some functional modules of the mobile communication module 150 and at least some modules of the processor 110 may be housed in the same device.
[0111] The modem processor may include a modulator and a demodulator. The modulator modulates the low-frequency baseband signal to be transmitted into a mid-to-high frequency signal. The demodulator demodulates the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After processing by the baseband processor, the low-frequency baseband signal is transmitted to the application processor. The application processor outputs a sound signal through an audio device or displays an image or video through the display screen 194. In some embodiments, the modem processor may be a separate device. In other embodiments, the modem processor may be independent of the processor 110 and may be housed in the same device as the mobile communication module 150 or other functional modules.
[0112] The wireless communication module 160 can provide solutions for wireless communication applications on the first electronic device 100, including wireless local area networks (WLANs) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared (IR) technologies. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via antenna 2, performs frequency modulation and filtering of the electromagnetic wave signals, and sends the processed signal to processor 110. The wireless communication module 160 can also receive signals to be transmitted from processor 110, perform frequency modulation and amplification, and convert them into electromagnetic waves for radiation via antenna 2.
[0113] In some embodiments, antenna 1 of the first electronic device 100 is coupled to mobile communication module 150, and antenna 2 is coupled to wireless communication module 160, enabling the first electronic device 100 to communicate with networks and other devices via wireless communication technology. The wireless communication technology may include Global System for Mobile Communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Time-Division Code Division Multiple Access (TD-SCDMA), Long Term Evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technologies, etc. The GNSS may include the Global Positioning System (GPS), the Global Navigation Satellite System (GLONASS), the BeiDou Navigation Satellite System (BDS), the Quasi-Zenith Satellite System (QZSS), and / or satellite-based augmentation systems (SBAS).
[0114] Internal memory 121 can be used to store computer executable program code, which includes instructions. Internal memory 121 may include a program storage area and a data storage area. The program storage area may store the operating system, at least one application program required for a function (such as sound playback, image playback, etc.), etc. The data storage area may store data created during the use of the first electronic device 100 (such as audio data, phonebook, etc.). Furthermore, internal memory 121 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, universal flash storage (UFS), etc. Processor 110 executes various functional applications and data processing of the first electronic device 100 by running instructions stored in internal memory 121 and / or instructions stored in memory disposed in the processor.
[0115] In some embodiments, the first electronic device 100 stores its roaming data and roaming data downloaded from the server 300 in its internal memory 121. This allows the first electronic device 100 to select a suitable PLMN for access when it needs to roam and join a network, based on the roaming data stored in its internal memory 121.
[0116] Figure 4 is a schematic diagram of the hardware structure of the server 300 provided in an embodiment of this application.
[0117] As shown in Figure 4, the server 300 includes at least one processor 201, a communication line 202, a memory 203, and at least one communication interface 204. The memory 203 may also be included within the processor 201.
[0118] The processor 201 may be a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits used to control the execution of the program of the present application.
[0119] Communication line 202 may include a path for transmitting information between the aforementioned components.
[0120] Communication interface 204 is used for communication with other devices. In this embodiment, the communication interface can be a module, circuit, bus, interface, transceiver, or other device capable of communication functions, used for communication with other devices. Optionally, when the communication interface is a transceiver, the transceiver can be a separately configured transmitter used to send information to other devices, or it can be a separately configured receiver used to receive information from other devices. The transceiver can also be a component that integrates sending and receiving information functions; this embodiment does not limit the specific implementation of the transceiver.
[0121] The memory 203 may be a read-only memory (ROM) or other type of static storage device capable of storing static information and instructions, random access memory (RAM) or other type of dynamic storage device capable of storing information and instructions, or electrically erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM) or other optical disc storage, optical disk storage, magnetic disk storage media or other magnetic storage devices, or any other medium capable of carrying or storing desired program code in the form of instructions or data structures and accessible by a computer, but not limited thereto. The memory may exist independently and be connected to the processor via communication line 202. The memory may also be integrated with the processor.
[0122] The memory 203 stores computer execution instructions for implementing the scheme of this application, and its execution is controlled by the processor 201. The processor 201 executes the computer execution instructions stored in the memory 203, thereby implementing the roaming network access method provided in the following embodiments of this application.
[0123] Optionally, the computer execution instructions in the embodiments of this application may also be referred to as application code, instructions, computer program or other names, and the embodiments of this application do not specifically limit them.
[0124] In a specific implementation, as one embodiment, processor 201 may include one or more CPUs, such as CPU0 and CPU1 in FIG4.
[0125] In a specific implementation, as one example, server 300 may include multiple processors, such as processor 201 and processor 207 in Figure 4. Each of these processors may be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor. Here, "processor" may refer to one or more devices, circuits, and / or processing cores used to process data (e.g., computer program instructions).
[0126] It is understood that the structure illustrated in FIG4 of this application embodiment does not constitute the only limitation on the structural implementation of server 300. In other embodiments of this application, server 300 may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0127] The following section provides a detailed description of the roaming access method provided in the embodiments of this application.
[0128] Figure 5 is a flowchart illustrating a roaming network access method provided in an embodiment of this application. It should be noted that this method is not limited to the specific order described in Figure 5 and below. It should be understood that in other embodiments, the order of some steps in this method can be interchanged according to actual needs, or some steps can be omitted or deleted. The method includes the following steps:
[0129] S501, the second electronic device 200 sends roaming data to the server 300.
[0130] Optionally, roaming data may include one or more of the following: HPLMN information, roaming location information, registration-related information, service experience information, and access information.
[0131] The HPLMN information, for example, is used to indicate the operator network to which the SIM card installed in the second electronic device 200 belongs. Different operator networks offer different roaming experiences in different roaming locations. Therefore, the roaming data provided by the second electronic device 200 may include HPLMN information.
[0132] Generally, when an electronic device leaves an airport or port of entry, it triggers a roaming scenario and needs to reconnect to the roaming network. Therefore, the roaming location information includes, for example, the current roaming location of the second electronic device 200, such as the country, airport, and port of entry. Furthermore, combined with HPLMN information, the roaming scenario of the second electronic device 200 can be obtained. For instance, if the HPLMN information indicates that the SIM card of the second electronic device 200 is a domestic card, and the location information indicates that the roaming location is a foreign airport, then the roaming scenario is a domestic card roaming overseas. Alternatively, if the HPLMN information indicates that the SIM card of the second electronic device 200 is a domestic China Unicom card, and the location information indicates that the roaming location is a foreign airport, then the roaming scenario is a domestic card roaming overseas (China Unicom roaming scenario).
[0133] It should be understood that "domestic" or "overseas" is relative. In some embodiments, "domestic" refers to the territory within China, and "overseas" refers to the territory outside China. For example, if the SIM card is a China Unicom card and the roaming location is the United States, then the roaming scenario is a domestic SIM card roaming overseas. In other embodiments, "domestic" can also refer to the territory of other countries (such as the United States), and "overseas" can also refer to the territory outside other countries. Therefore, in the aforementioned example, if the SIM card is a China Unicom card and the roaming location is the United States, the roaming scenario could also be an overseas SIM card roaming domestic. To facilitate the description of different roaming scenarios, this application embodiment uses "domestic" to represent the territory within China and "overseas" to represent the territory outside China as an example to introduce the roaming network access method provided by this application embodiment. Other different roaming network access methods in domestic or overseas implementations can refer to the various embodiments in this application embodiment, which will not be repeated here.
[0134] In this way, the relevant information provided by the second electronic device 200 helps devices that need to roam to the network to select the roaming data corresponding to the matching roaming scenario.
[0135] Registration-related information includes, for example, the registration success rate and latency of the PLMN currently roaming with the second electronic device 200. This registration-related information may affect the registration time. For instance, a low registration success rate may result in frequent network access denials for the electronic device, extending the registration waiting time.
[0136] Service experience information includes one or more of the following: call connection rate, call drop rate, data service lag rate, and average latency. This service experience information can be used to measure the service quality of the PLMN for roaming access of the second electronic device 200, providing a reference for the selection of a PLMN for subsequent roaming access devices.
[0137] Access information may include one or more of the following: the PLMN type, frequency band, frequency point, and cell identifier of the roaming access PLMN.
[0138] In some embodiments, after roaming into the network, the second electronic device 200 may send roaming data to the server 300. Optionally, the second electronic device 200 may report roaming data to the server 300 according to a preset period.
[0139] In some embodiments, the second electronic device 200 can trigger multiple roaming scenarios. In each roaming scenario, the second electronic device 200 can send roaming data to the server 300.
[0140] S502 and server 300 classify roaming data and generate or update roaming lists.
[0141] In some embodiments, server 300 maintains a roaming list that includes roaming data sent by multiple electronic devices.
[0142] In some examples, server 300 receives roaming data from second electronic device 200 for the first time and can generate a roaming list based on the roaming data.
[0143] In other examples, server 300 may receive roaming data sent by second electronic devices 200 while maintaining the roaming list. Server 300 can then update the roaming list based on the newly received roaming data. It should be understood that there are multiple second electronic devices 200, and the roaming list includes roaming data uploaded by multiple different second electronic devices 200.
[0144] In some embodiments, after receiving roaming data, the server 300 can classify the roaming data to achieve orderly storage of the roaming data.
[0145] Optionally, server 300 receives roaming data sent by at least one second electronic device 200. Server 300 classifies the roaming data sent by at least one second electronic device 200 based on the HPLMN information and location information in the roaming data sent by at least one second electronic device 200, and generates a roaming list.
[0146] Optionally, the server 300 can classify the acquired roaming data based on classification reference information such as the SIM card's home location information and roaming location information, which indicate the location of the second electronic device 200. For example, the server 300 can classify the received roaming data based on HPLMN information and roaming location information. The HPLMN information can indicate the SIM card's home location, operator information, etc., while the roaming location information can indicate the roaming location. Optionally, based on the HPLMN information and roaming location information, the server 300 can determine the current roaming scenario as domestic SIM card to overseas roaming, overseas SIM card to domestic roaming, overseas SIM card to overseas roaming, or Skyroaming, etc.
[0147] It should be understood that the above roaming scenarios are merely illustrative examples, and the classification of roaming scenarios in this application embodiment is not limited. For example, both domestic and overseas cards can correspond to at least one operator, such as China Unicom, China Mobile, and China Telecom for domestic cards. Therefore, the roaming scenario of a domestic card roaming overseas can be further subdivided into roaming scenarios such as roaming from a domestic Unicom card overseas, roaming from a domestic China Mobile card overseas, and roaming from a domestic China Telecom card overseas. As another example, roaming may also occur between different regions within the same country. Therefore, the above roaming scenario can also include roaming from domestic region A to domestic region B. Furthermore, overseas includes different countries. Therefore, the above roaming scenario of a domestic card roaming overseas can be further subdivided into roaming scenarios such as roaming from a domestic card to overseas region A, roaming from a domestic card to overseas region B, and roaming from a domestic card to overseas region C.
[0148] Roaming scenarios typically occur at locations such as airports and ports of entry where cross-network areas are possible. Therefore, server 300 needs to provide fast roaming access services for electronic devices near these pre-defined locations. Server 300 can define a pre-defined area near these locations as the valid roaming data acquisition area; roaming data reported outside this valid area can be considered invalid data. For example, server 300 can consider roaming data reported by a second electronic device 200 within a 10-kilometer radius of an airport as valid data for updating the roaming list.
[0149] In some examples, the server 300 is configured with different preset locations and preset ranges corresponding to different preset locations, so that the server 300 can classify the received roaming data.
[0150] Optionally, the roaming data received by server 300 includes HPLMN information and location information of the second electronic device 200. The location information is within a preset range near a preset location, which can be considered the roaming location of the second electronic device 200. Optionally, even within the same roaming location, second electronic devices 200 with different HPLMN information may select different roaming networks, registration information, and service experience information. Therefore, server 300 can classify the roaming data uploaded by the second electronic device 200 based on the HPLMN information and location information included, and update the roaming data of the corresponding category in the roaming list. For example, if server 300 receives roaming data uploaded by the second electronic device 200 within a preset range near a preset location, it can classify the uploaded roaming data into the corresponding category in the roaming list based on the preset location corresponding to the HPLMN information and location information of the second electronic device 200.
[0151] For example, as shown in Table 1 below, server 300 will classify roaming data received within a preset range near preset location 1 into roaming list category 1, where different HPLMNs correspond to different subcategories within roaming list category 1. For instance, server 300 receives roaming data sent by mobile phone A within a preset range near preset location 1, and this roaming data includes mobile phone A's HPLMN information as HPLMN1. Then, server 300 can classify the roaming data uploaded by mobile phone A into roaming list category 1-1. As another example, server 300 receives roaming data sent by mobile phone B within a preset range near preset location 1, and this roaming data includes mobile phone B's HPLMN information as HPLMN2. Then, server 300 can classify the roaming data uploaded by mobile phone B into roaming list category 1-2.
[0152] As shown in Table 1, server 300 will classify roaming data received within a preset range near preset location 2 into roaming list category 2, where different HPLMNs correspond to different subcategories within roaming list category 2. For example, if server 300 receives roaming data sent by mobile phone A within a preset range near preset location 2, and this roaming data includes mobile phone A's HPLMN information as HPLMN1, then server 300 can classify the roaming data uploaded by mobile phone A into roaming list category 2-1. As another example, if server 300 receives roaming data sent by mobile phone B within a preset range near preset location 2, and this roaming data includes mobile phone B's HPLMN information as HPLMN2, then server 300 can classify the roaming data uploaded by mobile phone B into roaming list category 2-2.
[0153] Table 1
[0154] It should be understood that Table 1 above illustrates the classification process of roaming data using examples of preset locations 1 and 2, as well as HPLMN1 and HPLMN2. The roaming list maintained by server 300 may include more or fewer preset locations and HPLMN classifications, which will not be illustrated in detail in this embodiment.
[0155] Furthermore, the order in which the server 300 classifies the roaming data based on HPLMN information and location information is not limited in this embodiment. For example, the server 300 may first classify the received roaming data into broad categories based on the HPLMN information. Then, the server 300 may further subdivide the roaming data within the same broad category based on the location information. That is, the content shown in Table 1 above is only an illustrative example.
[0156] In this way, server 300 can obtain roaming data uploaded by multiple second electronic devices 200, and classify the received roaming data according to classification reference information, thereby achieving orderly management of roaming data. Furthermore, server 300 can use the classified roaming data to provide targeted assistance to first electronic devices 100 of corresponding categories for accessing the roaming network. For example, subsequently, first electronic devices 100 located in the same roaming location and within the same HPLMN that have roaming network access needs can refer to roaming data under the same category to select a suitable roaming network, improving the roaming network access efficiency of the first electronic device 100.
[0157] In other embodiments, the server 300 may also classify the received roaming data according to other classification methods, which is not limited in this application embodiment. For example, different preset locations (such as roaming locations) and HPLMN combinations may correspond to different roaming scenarios. Therefore, the server 300 may also classify the roaming data according to the roaming scenario to which the roaming data received within a preset range near different preset locations belongs, in order to generate or update the roaming list.
[0158] For example, consider a preset location including Airport A in an overseas country A and Airport B in a domestic country. Optionally, after receiving roaming data from the second electronic device 200, the server 300 first classifies the roaming data obtained near Airport A into roaming list category 3, and the roaming data obtained near Airport B into roaming list category 4, according to the location information included in the roaming data. Then, the server 300 can further refine the classification of roaming data under the same major category corresponding to the same preset location based on the roaming scenario. For example, the server 300 receives roaming data from mobile phones 1 and 2 located near Airport A. This roaming data includes the HPLMN information of each mobile phone. Specifically, the HPLMN information of mobile phone 1 indicates that the SIM card used in mobile phone 1 is a domestic China Unicom card, and the HPLMN information of mobile phone 2 indicates that the SIM card used in mobile phone 2 is a card from an overseas country B. Therefore, based on the roaming data reported by mobile phone 1, server 300 can determine that mobile phone 1's roaming scenario is domestic SIM card roaming to overseas roaming, and can update the roaming data corresponding to roaming list category 3-1. Similarly, based on the roaming data reported by mobile phone 2, server 300 can determine that mobile phone 2's roaming scenario is overseas SIM card roaming to overseas roaming, and can update the roaming data corresponding to roaming list category 3-2. For example, server 300 receives roaming data from mobile phone 2 located near airport B. Based on the roaming data reported by mobile phone 2, server 300 can determine that mobile phone 2's roaming scenario is overseas SIM card roaming to domestic roaming, and can update the roaming data corresponding to roaming list category 4-3.
[0159] Optionally, as mentioned above, this application embodiment does not limit the classification method of roaming scenarios. For example, the roaming scenario of domestic cards roaming overseas can be further subdivided into roaming scenarios such as domestic Unicom cards roaming overseas, domestic Mobile cards roaming overseas, and domestic Telecom cards roaming overseas. Then, roaming list classification 3-1 can also include roaming list classification 3-1-1 corresponding to domestic Unicom cards roaming overseas, roaming list classification 3-1-2 corresponding to domestic Mobile cards roaming overseas, and roaming list classification 3-1-3 corresponding to domestic Telecom cards roaming overseas. Further refinements of other classifications will not be exemplified in this application embodiment.
[0160] Thus, after receiving roaming data, server 300 can directly classify the roaming data based on the HPLMN and location information included in the data to update the roaming list. Alternatively, server 300 can first determine the roaming scenario to which the roaming data belongs based on the HPLMN and location information included in the data, and then classify the roaming data according to the roaming scenario to update the roaming list. This allows for flexible classification and maintenance of roaming data through different classification methods. Furthermore, it facilitates the first electronic device 100's ability to flexibly select the required roaming data when choosing a roaming network based on the roaming list. In some embodiments, after roaming data classification, server 300 can also sort the roaming data within the same category. This allows the first electronic device 100 to more efficiently select the optimal PLMN when choosing a roaming access network, avoiding the problem of poor access conditions caused by randomly selecting a PLMN within the same category.
[0161] Optionally, the roaming data after classification can help other electronic devices in the same roaming scenario selectively roam to the network. For example, if a user subsequently disembarks from a plane with the first electronic device 100 within a preset range near a preset location 1, the HPLMN information in the first electronic device 100 corresponds to HPLMN1. Then, the first electronic device 100 can refer to the roaming data of roaming list category 1-1 shown in Table 1 above to select a suitable PLMN for roaming. However, there may be multiple roaming networks available under the same category. If the first electronic device 100 selects an unsuitable roaming network, there may still be problems such as network access delay and poor service quality. Therefore, after the roaming data is classified, the server 300 can also sort the roaming data under the same category based on sorting reference information such as registration-related information and service experience information. Among them, the registration-related information can indicate the roaming network registration status of the second electronic device 200, and the service experience information can indicate the service quality of the PLMN to which the second electronic device 200 roams. Based on the service experience information, server 300 can sort the categorized roaming data to help the first electronic device 100, which needs to roam and join the network later, to choose a more suitable PLMN. This way, when selecting a PLMN, the first electronic device 100 can choose one with a higher registration success rate, lower registration latency, and a better service experience.
[0162] For example, as shown in Table 1 above, server 300 acquires roaming data uploaded by a second electronic device 200 (such as mobile phone A) within a preset range near a preset location 1. This roaming data includes HPLMN information as HPLMN1. Server 300 can determine that the roaming data is classified into roaming list category 1-1. Then, based on the existing roaming data of this type in the roaming list and the sorting reference information included in the newly uploaded roaming data by the second electronic device 200, and taking into account factors such as registration success rate, registration latency, and service experience, server 300 sorts the roaming data using a preset sorting algorithm, ranking PLMNs with better overall capabilities first and PLMNs with poorer overall capabilities last.
[0163] In this way, server 300 sorts the roaming data in the roaming list according to the sorting reference information, achieving an orderly arrangement of roaming data of the same category. Subsequently, the first electronic device 100 awaiting roaming network access can select a PLMN with better overall capabilities based on the roaming list, improving roaming network access efficiency and service quality.
[0164] For example, as shown in Figure 6, after the second electronic device 200 roams into the network, it can report roaming data to the server 300 through the data reporting module according to a preset period (as in step ①). Correspondingly, the server 300 receives the roaming data reported by the second electronic device 200. Then, the roaming list generation module in the server 300 can classify and sort the acquired roaming data according to the classification reference information and sorting reference information that may be included in the roaming data, generating a roaming list. Afterwards, the roaming list generation module can send the generated roaming list to the roaming list management module for management (as in step ②). Optionally, the roaming list management module can be used to save, distribute, and age part or all of the roaming list.
[0165] Optionally, server 300 can create roaming lists corresponding to roaming data within the same category based on the classification results, with the roaming data in each roaming list arranged in an ordered manner. For example, as shown in Table 1 above, server 300 can manage four corresponding roaming lists for the four categories. Multiple roaming lists can also be merged into a single large roaming list.
[0166] The above describes the process of generating the roaming list; the following describes the process of using the roaming list.
[0167] Figure 7 is a flowchart illustrating another roaming access method provided in an embodiment of this application. It should be noted that this method is not limited to the specific order described in Figure 7 and below. It should be understood that in other embodiments, the order of some steps in this method can be interchanged according to actual needs, or some steps can be omitted or deleted. The method includes the following steps:
[0168] S701, the first electronic device 100 obtains the roaming list issued by the server 300.
[0169] In some embodiments, if preset download conditions are met, the first electronic device 100 sends a roaming list acquisition request to the server 300 to request the download of the roaming list. Optionally, the preset download conditions may include, for example, powering on, switching to a different SIM card, reaching a preset download period, or determining that it will enter a roaming scenario in the future.
[0170] It should be understood that when the first electronic device 100 is connected to a network, it can send a roaming list retrieval request to the server 300. This network can be a registered roaming network or a non-roaming network.
[0171] Optionally, as described above, the roaming list includes roaming data sent by at least one second electronic device 200, which includes one or more of the following: access information of at least one roaming network, service experience information, and registration-related information.
[0172] For example, when the first electronic device 100 is powered on, it can send a roaming list retrieval request to the server 300. Accordingly, the server 300, based on the request from the first electronic device 100, sends the roaming list maintained by the server 300 to the first electronic device 100.
[0173] For example, the first electronic device 100 changes the SIM card according to user operation; or, the first electronic device 100 is a dual-SIM card device, switching the SIM card used according to user operation. In this case, the first electronic device 100 can send a roaming list retrieval request to the server 300. Correspondingly, the server 300, based on the request from the first electronic device 100, sends the roaming list maintained by the server 300 to the first electronic device 100.
[0174] For example, the first electronic device 100 sends a roaming list retrieval request to the server 300 according to a preset download cycle. Correspondingly, the server 300, based on the request from the first electronic device 100, sends the roaming list maintained by the server 300 to the first electronic device 100.
[0175] For example, the first electronic device 100 may obtain information about a potential future roaming scenario. Then, the first electronic device 100 can send a roaming list retrieval request to the server 300 before that time. Correspondingly, the server 300, based on the request, sends the roaming list maintained by the server 300 to the first electronic device 100. For instance, if the first electronic device 100 has a flight ticket purchase application installed, it can determine, based on the flight ticket purchase information and HPLMN information, that it will be in a roaming scenario at the future time corresponding to the flight ticket. Optionally, the first electronic device 100 can request to download the entire roaming list from the server 300. Alternatively, the first electronic device 100 can request to download the corresponding roaming list from the server 300 based on the HPLMN information and the roaming location information corresponding to the flight ticket; this roaming list is a part of the entire roaming list maintained by the server 300. For example, the roaming list retrieval request sent by the first electronic device 100 to the server 300 carries the HPLMN information of the first electronic device 100 and the roaming location information corresponding to the ticket. After receiving the roaming list retrieval request from the first electronic device 100, the server 300 determines that the HPLMN information of the first electronic device 100 carried in the roaming list retrieval request corresponds to HPLMN1, and the roaming location information corresponds to the preset location 1. Then, as shown in Table 1 above, the server 300 can send the roaming list corresponding to roaming list category 1-1 to the first electronic device 100, so that the first electronic device 100 can select the roaming network according to the roaming data in the roaming list corresponding to roaming list category 1-1. In this way, the first electronic device 100 can download a more practical roaming list based on the upcoming roaming scenario. This avoids the situation where, between the current time and the time when roaming may occur in the future, the roaming data of the previously downloaded roaming list cannot meet the usage requirements of the future roaming scenario due to the failure to meet the preset download conditions for other updated roaming lists, thus affecting the roaming network access effect.
[0176] It should be understood that the above example uses a flight ticket purchase application as an example to introduce the methods of obtaining future roaming information. The first electronic device 100 can also obtain future roaming information through third-party applications such as travel applications or system applications.
[0177] In this way, the first electronic device 100 can flexibly obtain the roaming list from the server 300 through various methods.
[0178] In some embodiments, the roaming list retrieval request carries first HPLMN information of the first electronic device 100 and / or third location information corresponding to the roaming scene to be entered in the future, wherein the location indicated by the third location information is close to the location indicated by the first location information of the first electronic device 100.
[0179] In some examples, the roaming list retrieval request sent by the first electronic device 100 to the server 300 may include the HPLMN information of the first electronic device 100. In this way, the server 300 can send the required roaming list to the first electronic device 100 based on the HPLMN information, instead of sending the entire roaming list.
[0180] In other examples, if the first electronic device 100 determines that it will soon enter a roaming scenario, it can include the location information corresponding to the upcoming roaming scenario in the roaming list retrieval request sent to the server 300. This location information is close to the actual roaming location of the first electronic device 100 in the future. For example, if the location information is airport A, the actual roaming location of the first electronic device 100 in the future may be near airport A, meaning the two location information may not completely overlap. In this way, the server 300 can send the required roaming list to the first electronic device 100 based on this location information, instead of sending the entire roaming list.
[0181] In this way, selective downloading of the roaming list improves download efficiency and reduces the storage space occupied by the roaming list.
[0182] In some embodiments, the first electronic device 100 may save the roaming list after obtaining it.
[0183] For example, as shown in Figure 6, the network access module in the first electronic device 100 can download a roaming list from the roaming list management module in the server 300 according to preset download conditions (as in step ③). In some examples, the network access module can also download a suitable roaming list by sending HPLMN information to the server 300. Alternatively, the network access module can also download a suitable roaming list by sending HPLMN information and roaming location information to the server 300. In other examples, the scene recognition module in the first electronic device 100 can identify the roaming scene in which the first electronic device 100 is located or a possible future roaming scene. The network access module can obtain the recognition result (as in step ④). Then, the network access module can also request the roaming list management module to download the corresponding roaming list based on the recognition result of the scene recognition module, such as downloading a roaming list corresponding to a possible future roaming scene.
[0184] In some embodiments, after receiving the roaming list from the server 300, if the first electronic device 100 determines that it has a historical roaming list stored locally, it can delete the historical roaming list and save the latest downloaded roaming list. That is, the first electronic device 100 updates the historical roaming list by downloading roaming lists that meet preset download conditions.
[0185] In this way, the first electronic device 100 can store a more up-to-date roaming list, so as to improve the efficiency and accuracy of subsequent roaming network selection by the first electronic device 100.
[0186] Optionally, the roaming list is updated to be the same category of roaming lists. For example, the first electronic device 100 stores the roaming list corresponding to roaming data for roaming list category 1-1. After downloading a new roaming list corresponding to roaming data for roaming list category 1-1, the first electronic device 100 can delete the previously saved roaming list corresponding to roaming data for roaming list category 1-1. Optionally, if the first electronic device 100 is a dual-SIM card device, subsequently, after downloading the roaming list corresponding to roaming data for roaming list category 1-2 based on the currently used SIM information, the first electronic device 100 can still retain the previously saved roaming list corresponding to roaming data for roaming list category 1-1.
[0187] The following section provides a detailed description of the roaming network access process of the first electronic device 100. It should be understood that steps S702-S704 can be cyclical steps, and this embodiment does not limit the execution order of steps S701 and S702-S704. For example, after roaming network access, the first electronic device 100 can also download the roaming list from the server 300 according to preset download conditions. That is, step S701 can also be executed after step S703 or step S704.
[0188] S702, in response to entering a roaming scenario, the first electronic device 100 obtains a first roaming network from the roaming list based on the first location information and the first HPLMN information of the first electronic device, wherein the roaming list includes at least one roaming network corresponding to the first location information and the first HPLMN information.
[0189] The roaming list includes one or more of the following: access information of at least one roaming network corresponding to the first location information and the first HPLMN information, service experience information, and registration-related information.
[0190] Optionally, the first electronic device 100 may obtain its current location information through network positioning, satellite positioning, or other means. Optionally, the first location information may include airport information and / or port information.
[0191] For example, after a user disembarks from an airplane with the first electronic device 100 and turns off its flight mode, the first electronic device 100 can obtain first location information via satellite positioning. This first location information might indicate that the first electronic device 100 is located at airport A. This first location information could include, for example, the detailed address of airport A, such as "XX country XX region XX terminal," etc. Thus, the first location information obtained by the first electronic device 100 not only includes the corresponding country but can also include more precise location information about the first electronic device 100's current roaming location.
[0192] In some embodiments, the first electronic device 100 may determine whether it has entered a roaming scene based on preset judgment conditions.
[0193] Optionally, the preset judgment conditions may include one or more of the following: MCC, HPLMN information, location information, operator signal access and roaming protocol, signal quality, and flight mode on / off.
[0194] For example, the first electronic device 100 determines that its network function is currently enabled but it is in a network-free state, and can perform a network search. For instance, the first electronic device 100 detects a network broadcast message, and based on the MCC (Multi-Channel Code) and HPLMN (Hyperphone Premises Number) information carried in the broadcast message, it determines that it is currently in a roaming scenario. Each country or region has a unique MCC. If the MCC and the HPLMN information indicate a different SIM card location for the first electronic device 100, it can be determined that the first electronic device 100 is in a roaming scenario.
[0195] For example, the first electronic device 100 determines its current location information via GPS positioning. If this location information differs from the location of the SIM card of the first electronic device 100 indicated by its HPLMN information, it can be determined that the first electronic device 100 is in a roaming scenario.
[0196] For example, the first electronic device 100 obtains future roaming information and the user's boarding information through a flight ticket purchase application. Then, the first electronic device 100 can determine whether to enter a roaming scenario based on the future flight landing time indicated by the future roaming information and the current network access requirements.
[0197] For example, in response to a network access request, the first electronic device 100 searches for operator signals and determines that the searched operator signal is not from the operator of the SIM card in the first electronic device 100, or determines that the searched signal is from an operator included in the roaming agreement. Then, the first electronic device 100 can determine that it has entered a roaming scenario.
[0198] For example, if the first electronic device 100 determines that the signal quality is poor and the service is unavailable, it can determine that it is entering a roaming scenario.
[0199] For example, when a user boards an airplane with the first electronic device 100, it will trigger the device to activate airplane mode. After disembarking, the device will deactivate airplane mode based on user input. However, after disembarking, the device may be in roaming mode due to travel to other countries or regions. Therefore, the device can determine whether it is entering a roaming scenario based on whether airplane mode is activated or deactivated.
[0200] Thus, the first electronic device 100 can flexibly determine whether to enter the roaming scene based on preset judgment conditions.
[0201] In some embodiments, after determining that it has entered a roaming scene, the first electronic device 100 may obtain the first roaming network from the roaming list based on the first location information and the first HPLMN information of the first electronic device.
[0202] In some examples, after determining that it has entered a roaming scenario, the first electronic device 100 may obtain a roaming list to trigger the subsequent roaming network selection process. Optionally, the roaming list obtained by the first electronic device 100 may be a roaming list that the first electronic device 100 has pre-downloaded and saved under preset download conditions.
[0203] Optionally, the roaming list includes one or more of the following: access information, service experience information, and registration-related information of at least one roaming network corresponding to the first location information and first HPLMN information of the first electronic device 100. This allows the first electronic device 100 to subsequently obtain the required first roaming network from the roaming list.
[0204] In some embodiments, as described in step S502 above, during the process of classifying roaming data, the server 300 classifies the roaming data sent by the second electronic device 200 according to the HPLMN information and roaming location information corresponding to the roaming data. Therefore, when the first electronic device 100 determines that it has entered a roaming scenario and needs to select a suitable roaming network from the saved roaming list, it can also obtain the roaming data corresponding to the category that matches the first location information and the first HPLMN information from the saved roaming list, and then select a suitable roaming network in that category.
[0205] Optionally, the roaming list downloaded and saved by the first electronic device 100 is the entire roaming list maintained by the server 300 at that time. Then, in response to entering a roaming scenario, the first electronic device 100 matches the roaming data of the corresponding category in the entire roaming list according to the first location information and the first HPLMN information of the first electronic device 100, and then selects a suitable roaming network.
[0206] For example, the first electronic device 100 retrieves first category roaming data from the roaming list that matches first location information and first HPLMN information. The location indicated by the first location information is within a preset range near the location indicated by the second location information corresponding to the first category roaming data, and the first HPLMN information is identical to the second HPLMN information corresponding to the first category roaming data. The first electronic device 100 then retrieves the first roaming network based on the first category roaming data.
[0207] Optionally, the first electronic device 100 downloads and saves a portion of the roaming list corresponding to the category of the first HPLMN information from the entire roaming list maintained by the server 300 at that time. Then, in response to entering a roaming scenario, the first electronic device 100 matches the roaming data of the corresponding roaming location category in this portion of the roaming list according to its first location information, and then selects a suitable roaming network.
[0208] Optionally, the first electronic device 100 downloads and saves a portion of the roaming list corresponding to the category in the entire roaming list maintained by the server 300 at that time, based on its first HPLMN information and first location information (such as known future roaming location information). Then, in response to entering a roaming scenario, the first electronic device 100 can directly select a suitable roaming network based on the roaming data in this portion of the roaming list.
[0209] For example, the first electronic device 100 downloads and saves the roaming list shown in Table 1 above from the server 300. In response to entering a roaming scenario, the first electronic device 100 determines that its first location information indicates it is near a preset location 1, and its first HPLMN information indicates it is HPLMN1. Therefore, the first electronic device 100 can obtain the roaming data for category 1-1 of the roaming list in Table 1 above. Then, the first electronic device 100 can select a roaming network based on the roaming data for that category.
[0210] In some embodiments, after obtaining roaming data matching a certain category, the first electronic device 100 can select a suitable PLMN to join based on the roaming data under that category. Optionally, as described above, the roaming data reported by the second electronic device 200 includes registration-related information, service experience information, etc. The server 300 can sort the roaming data under the same category based on sorting reference information such as registration-related information and service experience information. Then, when selecting a PLMN, the first electronic device 100 can select the PLMN that is ranked first, such as the first roaming network.
[0211] For example, the first electronic device 100 obtains the first roaming network corresponding to the first roaming data ranked first in the first category of roaming data. The ranking of the different roaming data in the first category of roaming data is determined based on one or more of the following: corresponding access information, service experience information, and registration-related information.
[0212] In this way, the first electronic device 100 can choose a PLMN with a higher registration success rate, lower registration latency, and better service experience.
[0213] S703, the first electronic device 100 accesses the first roaming network.
[0214] In some embodiments, as described above, the roaming data reported by the second electronic device 200 includes access information, such as one or more of the following: the standard, frequency band, frequency point, and cell identifier of the PLMN to which the roaming access is located. Then, after acquiring a suitable PLMN (such as a first roaming network), the first electronic device 100 can search for the corresponding standard, frequency band, frequency point, etc., based on the access information indicated by the corresponding roaming data in the roaming list. Upon successful search, the first electronic device 100 can access the searched PLMN and initiate a service request.
[0215] For example, the first electronic device 100 obtains the first access information corresponding to the first roaming network in the roaming list. Based on the first access information, the first electronic device 100 performs a network search. The first electronic device 100 sends a registration request to the first roaming network found in the search. After registration is completed, the first electronic device 100 accesses the first roaming network.
[0216] It should be understood that if the PLMN selected by the first electronic device 100 cannot be connected, the first electronic device 100 can also select the PLMN that is ranked later in the sequence to achieve roaming network access.
[0217] For example, as in the example scenario described above, the first electronic device 100 obtains the roaming list shown in Table 1. Then, as shown in Figure 6, the first electronic device 100 determines that it has entered a roaming scene through the scene recognition module. Afterwards, the scene recognition module can send the scene recognition result to the network access module (as in step ④). Then, in response to the scene recognition result, the network access module can select a suitable PLMN from the roaming list based on the first location information and the first HPLMN information. For example, based on the first location information and the first HPLMN information of the first electronic device 100, the network access module determines that the first location information corresponds to a preset location 1 in the roaming list, and the first HPLMN information corresponds to HPLMN1 in the roaming list. Then, the network access module determines to select roaming data of roaming list category 1-1 in the roaming list. Then, the network access module determines to select the PLMN indicated by the roaming data ranked first in roaming list category 1-1 as the first roaming network to be accessed. Then, the first electronic device 100 can search for the first roaming network selected by the network access module. After the first roaming network is located, the first electronic device 100 can request to register with the first roaming network and initiate services.
[0218] In this way, the first electronic device 100 can select a more suitable PLMN for roaming from the roaming list based on the first location information and the first HPLMN information, thereby improving roaming efficiency, registration success rate, and service quality.
[0219] In addition, for the first electronic device 100 to join the network for the first time, a suitable PLMN can be quickly obtained, avoiding the problem that the selected PLMN cannot provide a good service experience due to the lack of reference data for the first electronic device 100.
[0220] Optionally, as shown in FIG7, step S704 may be included after step S703.
[0221] S704, the first electronic device 100 sends roaming data to the server 300.
[0222] In some embodiments, after roaming and registering on the network, the first electronic device 100 can send roaming data to the server 300 according to a preset period. For example, as shown in FIG5, the first electronic device 100 can also send roaming data to the server 300.
[0223] For example, after connecting to the first roaming network, the first electronic device 100 reports second roaming data to the server 300. This second roaming data is used by the server 300 to update the roaming list.
[0224] For example, as shown in Figure 6, after the network access module in the first electronic device 100 selects a PLMN and registers access to that PLMN, it can send a data reporting instruction to the data reporting module. Correspondingly, the data reporting module can obtain the roaming data of the first electronic device 100 and report it to the server 300 (as in step ⑤). The server 300 can then receive this roaming data. Afterwards, the roaming list generation module can update the roaming list based on the received roaming data. Then, the roaming list generation module sends the updated roaming list to the roaming list management module. The roaming list management module can save the updated roaming list and delete the corresponding historical roaming lists. This ensures that the latest roaming list is provided to other electronic devices for their roaming network access reference.
[0225] In this way, after the first electronic device 100 roams into the network, it can also report roaming data to the server 300, so that the server 300 can provide reference data to other devices waiting to roam into the network.
[0226] In some embodiments, the server 300 can also age out roaming lists that have not been used for a long time according to a certain period to avoid storing too much redundant data.
[0227] Optionally, as shown in FIG5, step S503 may be included after step S502.
[0228] S503 and Server 300 age the roaming list according to preset rules.
[0229] Among them, the preset rules include, for example, roaming data whose usage frequency is lower than a preset threshold and is aged according to a preset cycle.
[0230] In some embodiments, before roaming into the network, the first electronic device 100 (or the second electronic device 200) may request to download a roaming list from the server 300. During the management of the roaming list, the server 300 may obtain the download frequency of each roaming list. Therefore, for some roaming lists with consistently low download rates, the server 300 may delete these roaming lists.
[0231] For example, server 300 ages some or all of the roaming data in the roaming list according to the second aging cycle.
[0232] In this way, server 300 ages the roaming list according to preset rules, which reduces data storage and data management difficulty while ensuring the provision of the roaming list.
[0233] In some embodiments, the first electronic device 100 (or the second electronic device 200) stores a downloaded roaming list. Therefore, the first electronic device 100 (or the second electronic device 200) can also age out roaming lists with low usage rates at a certain frequency.
[0234] For example, the first electronic device 100 ages some or all of the roaming data in the roaming list according to the first aging cycle.
[0235] In this way, the first electronic device 100 can also reduce memory usage through the aging roaming list.
[0236] It should be understood that the aging of a roaming list can be the aging of the entire roaming list or the aging of a portion of the roaming data. Specifically, the aging of a portion of the roaming data can be the aging of all roaming data within a certain category, or the aging of a portion of the roaming data within a certain category that has a low usage rate.
[0237] The roaming network access method provided by the embodiments of this application has been described in detail above with reference to Figures 5-7. The first electronic device provided by the embodiments of this application is described in detail below with reference to Figure 8, and the server provided by the embodiments of this application is described in detail below with reference to Figure 9.
[0238] In one possible design, FIG8 is a schematic diagram of the structure of a first electronic device provided in an embodiment of this application. As shown in FIG8, the first electronic device 800 may include a transceiver unit 801 and a processing unit 802. The first electronic device 800 can be used to implement the functions of the first electronic device 100 involved in the above method embodiments.
[0239] Optionally, the transceiver unit 801 is used to support the first electronic device 800 in performing S501 in FIG5; and / or, to support the first electronic device 800 in performing S701, S703 and S704 in FIG7.
[0240] Optionally, the processing unit 802 is used to support the first electronic device 800 in executing S702 in FIG7.
[0241] The transceiver unit may include a receiving unit and a transmitting unit, and may be implemented by a transceiver or transceiver-related circuit components, and may be a transceiver or transceiver module. The operation and / or function of each unit in the first electronic device 800 are respectively to implement the corresponding process of the roaming network access method described in the above method embodiments. All relevant content of each step involved in the above method embodiments can be referred to the functional description of the corresponding functional unit, and will not be repeated here for the sake of brevity.
[0242] Optionally, the first electronic device 800 shown in FIG8 may further include a storage unit (not shown in FIG8) storing a program or instructions. When the transceiver unit 801 and the processing unit 802 execute the program or instructions, the first electronic device 800 shown in FIG8 can perform the roaming network access method described in the above method embodiments.
[0243] The technical effects of the first electronic device 800 shown in Figure 8 can be referred to the technical effects of the roaming network access method described in the above method embodiments, and will not be repeated here.
[0244] In addition to being in the form of a first electronic device 800, the technical solutions provided in this application may also be functional units or chips in the first electronic device, or devices used in conjunction with the first electronic device.
[0245] In one possible design, Figure 9 is a schematic diagram of the server structure provided in an embodiment of this application. As shown in Figure 9, the server 900 may include a transceiver unit 901 and a processing unit 902. The server 900 can be used to implement the functions of the server 300 involved in the above method embodiments.
[0246] Optionally, the transceiver unit 901 is used to support the server 900 in executing S501 in Figure 5; and / or, to support the server 900 in executing S701 and S704 in Figure 7.
[0247] Optionally, the processing unit 902 is used to support the server 900 in executing S502 and S503 in Figure 5.
[0248] The transceiver unit may include a receiving unit and a transmitting unit, and may be implemented by a transceiver or transceiver-related circuit components, and may be a transceiver or transceiver module. The operation and / or function of each unit in server 900 are respectively to implement the corresponding process of the roaming network access method described in the above method embodiments. All relevant content of each step involved in the above method embodiments can be referred to the functional description of the corresponding functional unit, and will not be repeated here for the sake of brevity.
[0249] Optionally, the server 900 shown in FIG9 may further include a storage unit (not shown in FIG9) storing programs or instructions. When the transceiver unit 901 and the processing unit 902 execute the program or instructions, the server 900 shown in FIG9 can perform the roaming network access method described in the above method embodiments.
[0250] The technical effect of server 900 shown in Figure 9 can be referred to the technical effect of the roaming network access method described in the above method embodiments, and will not be repeated here.
[0251] Besides being in the form of a server 900, the technical solution provided in this application can also be a functional unit or chip in a server, or a device used in conjunction with a server.
[0252] This application also provides a chip system, including: a processor coupled to a memory, the memory being used to store programs or instructions, wherein when the program or instructions are executed by the processor, the chip system implements the methods in any of the above method embodiments.
[0253] Optionally, the chip system may contain one or more processors. These processors can be implemented in hardware or software. When implemented in hardware, the processor can be a logic circuit, an integrated circuit, etc. When implemented in software, the processor can be a general-purpose processor, implemented by reading software code stored in memory.
[0254] Optionally, the chip system may contain one or more memories. The memory may be integrated with the processor or disposed separately from it; this application embodiment does not limit this. For example, the memory may be a non-transient processor, such as a read-only memory (ROM), which may be integrated with the processor on the same chip or disposed separately on different chips. This application embodiment does not specifically limit the type of memory or the arrangement of the memory and processor.
[0255] For example, the chip system may be a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on chip (SoC), a central processor unit (CPU), a network processor (NP), a digital signal processor (DSP), a micro controller unit (MCU), a programmable logic device (PLD), or other integrated chips.
[0256] It should be understood that each step in the above method embodiments can be completed by integrated logic circuits in the processor hardware or by instructions in software form. The method steps disclosed in the embodiments of this application can be directly manifested as being executed by a hardware processor, or being executed by a combination of hardware and software modules in the processor.
[0257] This application also provides a computer-readable storage medium storing a computer program. When the computer program is run on a computer, it causes the computer to perform the aforementioned steps to implement the roaming network access method in the above embodiments.
[0258] This application also provides a computer program product that, when run on a computer, causes the computer to perform the aforementioned steps to implement the roaming network access method described in the above embodiments.
[0259] Additionally, this application also provides an apparatus. Specifically, the apparatus may be a component or module, and may include one or more processors and a memory connected together. The memory stores a computer program. When the computer program is executed by one or more processors, the apparatus performs the roaming network access methods described in the above-described method embodiments.
[0260] The apparatus, computer-readable storage medium, computer program product, or chip provided in the embodiments of this application are all used to execute the corresponding methods provided above. Therefore, the beneficial effects they can achieve can be referred to the beneficial effects of the corresponding methods provided above, and will not be repeated here.
[0261] The steps of the methods or algorithms described in conjunction with the embodiments of this application can be implemented in hardware or by a processor executing software instructions. The software instructions can consist of corresponding software modules, which can be stored in random access memory (RAM), flash memory, read-only memory (ROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), registers, hard disks, portable hard disks, CD-ROMs, or any other form of storage medium well known in the art. An exemplary storage medium is coupled to a processor, enabling the processor to read information from and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can reside in an application-specific integrated circuit (ASIC).
[0262] Through the above description of the embodiments, those skilled in the art will clearly understand that, for the sake of convenience and brevity, the division of the above functional modules is only used as an example. In practical applications, the above functions can be assigned to different functional modules as needed; that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, device, and unit described above can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0263] In the several embodiments provided in this application, it should be understood that the disclosed methods can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of modules or units is only a logical functional division, and there may be other division methods in actual implementation; for example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of modules or units may be electrical, mechanical or other forms.
[0264] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0265] Computer-readable storage media include, but are not limited to, any of the following: USB flash drive, portable hard drive, read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk, and other media capable of storing program code.
[0266] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any changes or substitutions within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A method of roaming into a network, characterized by, The method is applied to a first electronic device, and the method comprises: In response to entering a roaming scenario, obtaining a first roaming network in a roaming list according to first location information and first home public land mobile network (HPLMN) information of the first electronic device, wherein the roaming list comprises at least one roaming network corresponding to the first location information and the first HPLMN information; Accessing the first roaming network.
2. The method of claim 1, wherein, The roaming list comprises one or more of access information, service experience information, and registration-related information of at least one roaming network corresponding to the first location information and the first HPLMN information.
3. The method of claim 2, wherein, The service experience information comprises one or more of call connection rate, call drop rate, data service lag rate, and average delay information; and the registration-related information comprises registration success rate and / or registration delay information.
4. The method according to any one of claims 1 to 3, characterized in that, The obtaining of the first roaming network in the roaming list according to the first location information and the first HPLMN information of the first electronic device comprises: In the roaming list, obtaining first-category roaming data matched with the first location information and the first HPLMN information, wherein a place indicated by the first location information is located within a preset range near a place indicated by second location information corresponding to the first-category roaming data, and the first HPLMN information is identical to second HPLMN information corresponding to the first-category roaming data; Obtaining the first roaming network according to the first-category roaming data.
5. The method of claim 4, wherein, The obtaining of the first roaming network according to the first-category roaming data comprises: Obtaining the first roaming network corresponding to first roaming data in the first-category roaming data in a sequence, wherein the sequence of different roaming data in the first-category roaming data is determined according to one or more of access information, service experience information, and registration-related information.
6. The method according to any one of claims 1 to 5, characterized in that, The accessing of the first roaming network comprises: Obtaining first access information corresponding to the first roaming network in the roaming list; Performing network search according to the first access information; Sending a registration request to the searched first roaming network; After registration is completed, accessing the first roaming network.
7. The method of claim 6, wherein, The first access information comprises one or more of a standard, a frequency band, a frequency point, and a cell identifier of the first roaming network.
8. The method according to any one of claims 1 to 7, characterized in that, Before the obtaining of the first roaming network in the roaming list according to the first location information and the first HPLMN information of the first electronic device in response to entering the roaming scenario, the method further comprises: When a preset download condition is met, sending a roaming list obtaining request to a server, wherein the preset download condition comprises at least one of the following: power-on, switching of a subscriber identity module (SIM) card, reaching a preset download period, and determining that a roaming scenario will be entered in the future; Receiving and saving the roaming list sent by the server.
9. The method of claim 8, wherein, The roaming list obtaining request carries the first HPLMN information and / or third location information corresponding to the roaming scenario that will be entered in the future, wherein a place indicated by the third location information is close to a place indicated by the first location information.
10. The method according to any one of claims 1 to 9, characterized in that, Before the first roaming network is acquired from the roaming list according to the first location information and the first HPLMN information of the first electronic device in response to entering the roaming scenario, the method further comprises: determining that the roaming scenario is entered according to preset judgment information, wherein the preset judgment information comprises any one or more of a mobile country code (MCC), the first HPLMN information, positioning information, an operator signal access and roaming protocol, signal quality, and opening / closing of a flight mode.
11. The method according to any one of claims 1-10, characterized in that, The method further comprises: aging part or all of the roaming data in the roaming list according to a first aging period.
12. The method according to any one of claims 1-11, characterized in that, After the first roaming network is accessed, the method further comprises: reporting second roaming data to the server, wherein the second roaming data is used by the server to update the roaming list.
13. The method of any of claims 1-12, wherein, The first location information comprises airport information and / or port information.
14. A method of roaming into a network, the method comprising: The method is applied to a server, and the method comprises: receiving a roaming list acquisition request sent by a first electronic device; in response to the roaming list acquisition request, sending a roaming list to the first electronic device, wherein the roaming list is used by the first electronic device to select and access a first roaming network that matches first location information and first home public land mobile network (HPLMN) information of the first electronic device after entering a roaming scenario, and the roaming list comprises at least one roaming network corresponding to the first location information and the first HPLMN information.
15. The method of claim 14, wherein, The roaming list comprises one or more of access information, service experience information, and registration-related information of at least one roaming network corresponding to the first location information and the first HPLMN information.
16. The method of claim 15, wherein, The service experience information comprises one or more of call connection rate, call drop rate, data service lag rate, and average delay information; the registration-related information comprises registration success rate and / or registration delay information; and the access information comprises one or more of a standard, a frequency band, a frequency point, and a cell identifier of the first roaming network.
17. The method according to any of claims 14-16, characterized by, Before the roaming list acquisition request sent by the first electronic device is received, the method further comprises: receiving roaming data sent by at least one second electronic device; classifying the roaming data sent by the at least one second electronic device according to HPLMN information and location information in the roaming data sent by the at least one second electronic device, and generating the roaming list.
18. The method of claim 17, wherein, The roaming list comprises first-category roaming data that matches the first location information and the first HPLMN information, wherein a location indicated by the first location information is within a preset range around a location indicated by second location information corresponding to the first-category roaming data, and the first HPLMN information is identical to second HPLMN information corresponding to the first-category roaming data.
19. The method according to any one of claims 14-18, characterized by, The roaming data in each category in the roaming list is arranged in order according to one or more of corresponding access information, service experience information, and registration-related information.
20. The method of any of claims 14-19, wherein, The first HPLMN information and / or third location information corresponding to a roaming scenario in which the first electronic device will enter in the future are carried in the roaming list acquisition request, and the third location information is similar to the first location information.
21. The method of any of claims 14-20, wherein, The method further includes: aging part or all of the roaming data in the roaming list according to a second aging period.
22. The method of any of claims 14-21, wherein, The method further includes: receiving second roaming data reported by the first electronic device; updating the roaming list according to the second roaming data.
23. The method of any of claims 14-22, wherein, The first location information includes airport information and / or port information.
24. An electronic device, comprising: The method further includes: a processor and a memory, the memory being coupled to the processor, the memory being configured to store computer program code, the computer program code including computer instructions, when the processor reads the computer instructions from the memory, the electronic device executes the method according to any one of claims 1-13.
25. A server, comprising: The method further includes: a processor and a memory, the memory being coupled to the processor, the memory being configured to store computer program code, the computer program code including computer instructions, when the processor reads the computer instructions from the memory, the server executes the method according to any one of claims 14-23.
26. A roaming into network system, characterized by The system includes the electronic device according to claim 24 and the server according to claim 25.
27. A computer readable storage medium, characterized in that, The computer readable storage medium includes a computer program, when the computer program runs on an electronic device, the electronic device executes the method according to any one of claims 1-13; or, when the computer program runs on a server, the server executes the method according to any one of claims 14-23.
28. A computer program product, characterised in that, When the computer program product runs on a computer, the computer executes the method according to any one of claims 1-13; or, the computer executes the method according to any one of claims 14-23.
29. A chip, characterized by The chip includes at least one processor and at least one interface circuit, the at least one interface circuit is configured to perform a transceiving function and send instructions to the at least one processor, when the at least one processor executes the instructions, the at least one processor executes the method according to any one of claims 1-13; or, executes the method according to any one of claims 14-23.