Method and terminal for selecting a virtual card for international roaming within a terminal
By storing and utilizing registration record information to select the optimal local virtual card for international roaming, the method addresses inefficiencies in existing methods, ensuring rapid registration and improved network access success rates.
Patent Information
- Application Number
- JP2024577347
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2022-07-07
- Filing Date
- 2023-05-12
- Publication Date
- 2025-07-03
AI Technical Summary
Existing methods for international roaming in terminals face inefficiencies due to random selection of local virtual cards, leading to prolonged registration times and increased collision probabilities, which hinder network access success rates.
A method and terminal that store registration record information for local virtual cards, allowing for the selection of the optimal card based on successful registration history, ensuring rapid registration and reducing collisions by prioritizing cards with successful registration records.
This approach enhances the efficiency and success rate of network access by quickly selecting and registering the appropriate local virtual card, thereby improving the overall service efficiency and reducing the time required for startup and network access.
Smart Images

Figure 2025520903000001_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present invention relate to the technical field of communications, and in particular, to a method for selecting a virtual card for international roaming in a terminal and a terminal.
Background Art
[0002] In the prior art, a method for switching signals is provided. Referring to the description of CN107567013, it is disclosed as follows. When the terminal moves from the second country to the first country, currently, according to the mobile country code MCC attached to the network cell system message, the geographical location where the terminal is currently located is identified as the first country. When the current communication signal of the terminal is not the communication signal of the first country, the current communication signal of the terminal is switched to the communication signal of the virtual card of the first country. Among them, when the terminal has purchased the communication data service of the first country in advance, while identifying the country where the terminal is located according to the mobile country code MCC, it can automatically switch to the communication data service of the country where the terminal is located, and the continuity of the communication data can be guaranteed.
[0003] In the above solution, switching to the communication signal of the virtual card of the first country uses a form of randomly switching the international roaming virtual card. Therefore, as an existing defect, the randomly selected local international roaming virtual card (Global Roaming Virtual Sim for Embedded Devices, Global Soft sim for Embedded Devices) may be activated but cannot be registered in the first country. Without exchanging multiple local international roaming cards, it may not be able to register with the network finally. Since the process of completing the exchange of the regional long-term remote virtual card (Regional Roaming Remote Virtual Sim (Regional Roaming Remote Softsim)) is relatively long, the registration time becomes even longer, collisions are more likely to occur, and the efficiency of the service is relatively low.
Summary of the Invention
Problems to be Solved by the Invention
[0004] In order to solve the problems existing in the prior art, at least one embodiment of the present invention shortens the time for activation and registration in an ignition card (also called a seed card), which is a local virtual card, effectively reduces the probability of collision, and improves the efficiency of operations. A method for selecting a virtual card for international roaming in a terminal and a terminal are provided.
Means for Solving the Problems
[0005] According to a first aspect, a method for selecting a virtual card for international roaming in a terminal provided by an embodiment of the present invention includes: Before the terminal communicates with the server based on one local virtual card in the terminal when starting up, the terminal checks whether registration record information of at least one local virtual card within the area where the terminal is currently located is stored in the terminal. In the terminal, S1 where a predetermined number of local virtual cards of each operator are stored, If the registration record information exists, S2 of selecting a first local virtual card corresponding to the successfully selected registration information from the registration record information and communicating with the server, S3 in which the terminal receives remote virtual card information for registration in the area where the terminal is currently located, which is sent by the server based on the first local virtual card, at a predetermined time period, S4 in which the terminal determines whether the reception of the remote virtual card information is successful at a predetermined time period, and updates the registration record information of the first local virtual card according to whether the reception is successful. The registered record information is stored in a predetermined format and includes registration time, a flag indicating whether the registration was successful, the terminal location area, information on the local virtual card identifier, and the PLMN for which the registration was successful. The local virtual card is an ignition card shared by multiple terminals. For the first local virtual card, the registered record information of the first local virtual card is record information indicating whether the terminal using the first local virtual card based on the first local virtual card has successfully registered during a predetermined time period.
[0006] When actually applied, multiple local virtual cards are shared by multiple terminals and may be local virtual cards belonging to different operators. The network information of the successfully registered PLMN is for preparing for accelerating the next registration.
[0007] Optionally, when there is no registered record information, it includes randomly selecting one local virtual card as the first local virtual card to communicate with the server in S2a, and executing S3 and S4. In S4, the terminal stores the registered record information of the first local virtual card based on information indicating whether the reception of the remote virtual card information was successful during a predetermined time period.
[0008] Optionally, when the terminal fails to receive the remote virtual card information during a predetermined time period in S4, the method further includes reselecting the first local virtual card corresponding to the successful registration information from the registered record information to communicate with the server and executing S3 and S4.
[0009] Optionally, the method further includes, when the download of the remote virtual card information fails even if any of the local virtual cards of all the successful registration information in the registered record information communicate with the server, selecting one local virtual card in other local virtual cards as the first virtual card to communicate with the server, and deleting the registered record information of all the local virtual cards corresponding to the area where the terminal is currently located.
[0010] Optionally, when all local virtual cards in the area where the terminal is currently located have registration record information and all of the registration record information is unsuccessful registration information, the method includes the terminal communicating with the server using the local virtual card in the area where the terminal is located as the first virtual card, and deleting the registration record information of all local virtual cards corresponding to the area where the terminal is currently located. Or When some local virtual cards in the area where the terminal is currently located have registration record information and all of the registration record information is unsuccessful registration information, the terminal randomly selects one local virtual card from the remaining local virtual cards in the area where the terminal is located as the first local virtual card after excluding the local virtual cards corresponding to the unsuccessful registration information and communicates with the server, and further includes deleting the registration record information of the local virtual cards corresponding to the unsuccessful registration information.
[0011] Optionally, the local virtual card identifier includes an IMSI, the registration time includes the time when the registration of the PLMN (Public Land Mobile Network) is successful, and the registration time further includes the total length of the registration time. The registration record information is divided according to the area where the terminal is located, and the local virtual cards in any one area are divided according to priority. The local virtual card with the highest priority is the local virtual card that has successful registration information within the first time period associated with the current time, and the local virtual card with the second highest priority is the local virtual card that has successful registration information within the second time period associated with the current time. Correspondingly, S2 includes selecting the first local virtual card with the highest priority corresponding to the successful registration information from the registration record information and communicating with the server.
[0012] Optionally, the method further periodically checks whether there is registered record information exceeding a first predetermined time period in another area, and if so, deletes the registered record information exceeding the first predetermined time period in the area. Here, the first predetermined time period may be understood as the valid period of the registered record information or the valid period of the usage record.
[0013] Optionally, in the method, the terminal receives placement information for placing the registered record information, which is sent from the server, places the registered record information in the terminal based on the placement information, assigns priority information to a local virtual card in the terminal, and the placement information further includes priority information of the local virtual card. The priority information includes a local virtual card identifier with the highest level and a local virtual card identifier with the second highest level. The local virtual card identifier with the highest level is the identifier of the local virtual card on which the terminal recorded in the server communicates with the server through the local virtual card and the registration is successful and the communication time is the shortest.
[0014] When there is no priority information of the local virtual card in the terminal, the terminal places the priority information of all local virtual cards in the terminal according to the placement information sent from the server. When there is priority information of the local virtual card in the terminal and the terminal receives the placement information sent from the server, the terminal updates the priority information of all local virtual cards in the terminal according to the placement information sent from the server.
[0015] When there is priority information in the local virtual card in the terminal, in step S2 above, a first local virtual card corresponding to the successful registration information and having the highest priority is selected from the registered record information to communicate with the server.
[0016] Optionally, a plurality of local virtual cards are stored in the terminal. And / or The management system belonging to all local virtual cards selects according to the registration record information of all terminals managed by the management system, and issues the selected valid registration record information to the terminals that use all or part of the local virtual cards.
[0017] According to another aspect of the present invention, the terminal further provided by the embodiments of the present invention includes a memory and a processor, a computer program is stored in the memory, and when the processor executes the computer program stored in the memory, it specifically executes the steps of the method for selecting an international roaming virtual card in the terminal according to any one of the above first aspects.
[0018] According to another aspect of the present invention, the computer-readable storage medium further provided by the embodiments of the present invention stores one or more programs, and when the one or more programs are executed by one or more processors, the steps of the method for selecting an international roaming virtual card in the terminal according to any one of the first aspects are realized.
Advantages of the Invention
[0019] Therefore, in at least one embodiment of the embodiments of the present invention, in this embodiment, since the registration record information of the local virtual card is stored in advance, the terminal selects the optimal local virtual card based on the registration record information and performs rapid registration. As a result, it can successfully switch to the corresponding regional long-term remote virtual card, thereby improving the efficiency of the business and increasing the success rate and speed of starting up and accessing the network.
[0020] In particular, in the embodiments of the present invention, by using a method of preferably selecting a local virtual card, the time for startup and registration of the local virtual card can be shortened, the probability of collision in the prior art can be more effectively reduced, and the efficiency of the business can be improved.
[0021] In this embodiment, since the registration success information of the local virtual card is recorded in the registration record information and the priority of the local virtual card is set, it can be ensured that the terminal makes a selection according to the priority when making a call, and the selection efficiency and the success rate of accessing the network can be increased.
Brief Description of the Drawings
[0022] In order to more clearly explain the technical solution of the embodiment of the present invention, the drawings required for use when explaining the embodiments and the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained based on these drawings as long as no creative labor is required.
[0023]
Figure 1
Figure 2
Figure 3
Modes for Carrying Out the Invention
[0024] In order to more clearly define the object, technical solution and advantages of the embodiments of the present invention, the technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative labor are also included in the protection scope of the present invention.
[0025] It should be noted that in the present text, expressions indicating relationships such as "first" and "second" are only used to distinguish one entity or operation from other entities or operations, but do not necessarily require or imply any actual existence of such relationships or orders between those entities or operations.
[0026] In the prior art, when the regional long-term remote virtual card cannot be used or an abnormality occurs, it is necessary to restart the international roaming card stored locally. In the conventional form, since the selection is made randomly, after the selected local international roaming virtual card is started, it may not be registered in the current country, or the time required for registration may be long. It may not be possible to finally register with the network without exchanging a plurality of local international roaming cards. The process of completing the exchange of the regional long-term remote virtual card is relatively long, and the efficiency of the operation is relatively low.
[0027] Currently, the international roaming virtual card stored locally is generally used as the ignition card. When the regional long-term remote virtual card in the device cannot be used or an abnormality occurs, it is common to connect to the server and perform an exchange by restarting one local international roaming virtual card. For this reason, the embodiments of the present invention mainly provide an algorithm for preferably selecting the local roaming virtual card, so that in the device, the optimal local international roaming card virtual card can be selected earlier and quickly registered with the corresponding regional long-term remote virtual card for exchange.
[0028] The international roaming local virtual card, also known as the local virtual card, local roaming virtual card, international roaming card, ignition card, and roaming virtual card, is a virtual card that is pre-stored in a terminal, which is a local device, and can be used for international roaming. It is a regional remote virtual card that can only be downloaded to the local area and made available when roaming is registered. There is a situation where multiple devices / terminals share a local international roaming card that forms a single lot.
[0029] The regional long-term remote virtual card, also called the remote virtual card, is issued from a virtual card server and is a virtual card in which local information is stored. The virtual card can be a virtual card that can realize roaming in the current area.
[0030] In the prior art, when a device / terminal starts up for the first time or each time it starts up, it randomly selects and uses a local international roaming virtual card for registration, and needs to connect to the network with a remote virtual card server to obtain a regional long-term remote virtual card from the remote virtual card server and download it to the local area. In the embodiments of the present invention, by recording the usage record, time, and current country of the called local international roaming virtual card, when it is necessary to start the local international roaming virtual card for the next operation, an optimal selection can be made, and the success rate and speed can be increased when starting up and accessing the network.
[0031] As shown in FIG. 1, the method for selecting an international roaming virtual card in the terminal provided by this embodiment has an execution entity that is a terminal storing a plurality of local virtual cards. Specifically, it includes the following steps.
[0032] In step S1, when the terminal starts up, before communicating with the server based on one local virtual card in the terminal, the terminal checks whether the registration record information of at least one local virtual card in the area where the terminal is currently located is stored in the terminal.
[0033] When actually applied, the area where the terminal is currently located is the country where the terminal is currently located, and the country code in the registration record information can be used to identify the registration record information of at least one local virtual card to which the current country code is applied.
[0034] Generally, the registration record information includes registration time, a flag indicating whether the registration was successful, the area where the terminal is located, information on the local virtual card flag, and the PLMN network information for which the registration was successful, etc. The flag may include a success flag and a failure flag, etc. Of course, the registration record information may include other predetermined information such as priority information, etc., but in this embodiment, there is no limit to these, and they may be arranged according to actual needs.
[0035] Also, when actually applied, the registration record information is information stored in a predetermined format.
[0036] In step S2, when the registration record information exists, the first local virtual card corresponding to the successful registration information is selected from the registration record information to communicate with the server.
[0037] In step S3, the terminal receives, within a predetermined time period, remote virtual card information for registration within the area to which the terminal currently belongs and which is sent from the first local virtual card by the server.
[0038] The terminal connects to the network based on the successfully received remote virtual card information, and realizes switching the current communication signal of the terminal, or connecting to the network when the terminal starts up to obtain a communication signal.
[0039] Step S4 is that the terminal determines whether the reception of the remote virtual card information is successful within a predetermined time period, and updates the registration record information of the first local virtual card according to whether the successful reception is successful.
[0040] In this embodiment, the local virtual card is called an ignition card, and the process of switching this ignition card may be the switching form in the prior art. However, in the prior art, since the ignition card is randomly selected, there are defects that the efficiency of the service is low and the success rate of accessing the network is not high during the switching. In this embodiment, by storing the registration record information of the local virtual card in advance, the terminal can rapidly perform registration by adopting the optimal local virtual card based on the registration record information, and thus can successfully switch to the corresponding regional long-term remote virtual card, thereby improving the efficiency of the service and increasing the success rate and speed of starting up and accessing the network.
[0041] Generally, the local virtual card may be an ignition card shared by multiple terminals. And the registration record information related to the above step S1 will be described as follows.
[0042] For example, for one ignition card which is the first local virtual card, the registration record information of the first local virtual card is the record information on whether the terminal using the first local virtual card has successfully registered based on the first local virtual card within a predetermined time period. At this time, the terminal using the first local virtual card is two or more terminals.
[0043] Actually, the management system to which all the ignition cards belong may perform screening based on the registration record information of all the terminals managed by the management system, and issue the selected valid registration record information to the terminals using all or part of the ignition cards.
[0044] The selected valid registration record information here refers to the registration record information within the selected valid period. For example, the valid period may be set to one week, or it may be set to one month or three months, etc.
[0045] Generally, the registration record information may be classified and stored according to area identifiers. And for the convenience of query, during the process of use or query, it is advisable to query according to the area to which the terminal belongs.
[0046] In the embodiments of the present invention, collisions in the registration and use of local virtual cards can be effectively avoided. A preferred registration method is provided, which can effectively shorten the registration time during the process of the terminal registering with the server, improve the efficiency of the service, and enhance the user's usage experience.
[0047] In addition, this embodiment further provides a method for selecting an international roaming virtual card in the terminal. The execution entity according to this embodiment may be the terminal. A plurality of local virtual cards are stored in the terminal. This embodiment includes the following steps.
[0048] Step 101: When the terminal starts up, before communicating with the server based on one local virtual card in the terminal, the terminal checks whether the registration record information of at least one local virtual card in the area where the terminal is currently located is stored in the terminal. If it exists, step 102 is executed; otherwise, step 102a is executed.
[0049] In this embodiment, the registration record information is stored in a predetermined format and includes registration time, a flag indicating whether the registration was successful, the area where the terminal is located, priority information, information on the local virtual card identifier, etc.
[0050] The local virtual card identifier includes the IMSI, and the registration time includes the time when the registration of the PLMN is successful. Further, the registration time may further include the length of time for the registration of the local virtual card. The identifier indicating whether the registration is successful includes an identifier indicating successful registration and an identifier indicating unsuccessful registration (for example, an error code).
[0051] Generally, the registration record information is divided according to the area where the terminal is located, and the local virtual cards within any area are divided according to priority. The ignition card with the highest priority is the ignition card that has successful registration information in the first time period associated with the current time. The ignition card with the second highest priority is the ignition card that has successful registration information within the second time period associated with the current time. By analogy, it is advisable. For example, within one week before the current time, the priority of the ignition card with successful registration is the highest priority. Within two weeks before the current time (excluding the one week with the highest priority), the priority of the ignition card with successful registration is the second highest priority. Within three weeks before the current time (excluding the time period with the highest priority and the time period with the second highest priority), the priority of the ignition card with successful registration can be the third highest priority, and so on.
[0052] In step 102, when there is registration record information, a first local virtual card corresponding to the successful registration information is selected from the registration record information and communicated with the server.
[0053] Specifically, a first local virtual card with the highest priority corresponding to the successful registration information is selected from the registration record information and communicated with the server. When the first local virtual card with the highest priority does not exist, a first local virtual card with the second highest priority is selected and communicated with the server.
[0054] In step 103, the terminal receives remote virtual card information for registration in the area where the terminal currently belongs, which is sent from the first local virtual card by the server.
[0055] In the previous step, since the process of the server issuing a remote virtual card for the first time based on the first local virtual card is the same as the processing process of the server in the prior art, it will not be repeatedly described here.
[0056] Step 104: The terminal determines whether the reception of the remote virtual card information is successful within a predetermined time period, and updates the registration record information of the first local virtual card according to whether the reception is successful. When the reception of the remote virtual card information is successful, the registration record information of the first local virtual card is updated. Of course, if there is no registration record information of the first local virtual card, the registration record information of the first local virtual card may be directly stored.
[0057] Step 102a: When there is no registration record information, a local virtual card is randomly selected as the first local virtual card to communicate with the server, and Steps 103 and 104 are executed.
[0058] That is, if there is no registration record information, a local virtual card is randomly selected as the first local virtual card to communicate with the server.
[0059] When all the information in the registration record information is information that the registration has not been successful, a local virtual card is randomly selected as the first local virtual card to communicate with the server.
[0060] Step 105: When the terminal fails to receive the remote virtual card information within the predetermined time period in Step 104, a second local virtual card corresponding to the successful registration information is selected from the registration record information to communicate with the server, and Steps 103 and 104 are executed.
[0061] Step 106 is that when the download of the remote virtual card information fails regardless of which local virtual card among all the successfully registered information in the registration record information communicates with the server, one local virtual card among other local virtual cards is selected to communicate with the server, and the registration record information of all local virtual cards corresponding to the area where the terminal is currently located is deleted. It should be noted that at this time, the terminal deletes the part of the records stored in the terminal, that is, deletes the registration record information of all local virtual cards corresponding to the area where the terminal is located. If the terminal corresponds to the terminal belonging to the management system, it is not necessary for the terminal to delete the registration record information in the management system. When the terminal executes the deletion operation, the terminal may report the deleted information to the management system so that the management system updates the registration record information in the management system.
[0062] Step 107 is that the terminal periodically checks whether there is registration record information that exceeds the first predetermined time period (that is, the validity period) in one area. If it exceeds, the registration record information that exceeds the first predetermined time period in the area is deleted.
[0063] Alternatively, in other embodiments, the terminal may receive the arrangement information for arranging the registration record information, which is sent by the server. The terminal arranges the registration record information in the terminal based on the arrangement information. The arrangement information has the priority information of the local virtual card. For example, the priority information includes the ignition card identifier with the highest level and the ignition card identifier with the second highest level. The ignition card identifier with the highest level is the identifier of the ignition card based on which the terminal recorded in the server communicates with the server, the registration is successful, and the communication time is the shortest. The one with the second highest level is an ignition card with a communication time slower than that of the one with the highest level. When the priority information of one local virtual card recorded in the terminal is different from the priority information corresponding to the same local virtual card in the arrangement information sent from the server, the terminal may be updated according to the arrangement information sent from the server, that is, it may conform to the priority information arranged in the server.
[0064] In this embodiment, the registration success information of the local virtual card is recorded in the registration record information, and the priority of the local virtual card is set. Thereby, it is guaranteed that the terminal selects according to the priority when calling, and the selection efficiency and the success rate of accessing the network can be increased.
[0065] In other embodiments, when any of all the local virtual cards in the area where the terminal is currently located has the registration record information and all of the registration record information is unsuccessful registration information (that is, the record of the error code), the terminal randomly selects the local virtual card in the area where it is located as the first virtual card to communicate with the server, and also deletes the registration record information of all the local virtual cards corresponding to the area where the terminal is currently located.
[0066] There are other possible implementation forms. When some local virtual cards have registration record information within the area where the terminal is currently located, and all the registration record information is unsuccessful registration information, the terminal excludes the local virtual cards corresponding to the unsuccessful registration information, and then randomly selects a local virtual card from the remaining local virtual cards within the area where the terminal is located as the first local virtual card to communicate with the server, and also deletes the registration record information of the local virtual card corresponding to the unsuccessful registration information.
[0067] To better understand the method according to the embodiments of the present invention, the following will be described with reference to the flow shown in FIG. 2. In FIG. 2, the process of selecting and starting a local virtual card and connecting to the server (randomly selecting and starting a local international virtual card locally) is all a conventional process. After the conventional solution, a step of recording registration record information is added to the embodiments of the present invention. A conventional terminal randomly selects a local international virtual card in the area where the terminal is located to start and register when starting up or restarting. When the start and registration are successful, it connects to the remote virtual card server and successfully downloads a regional long-term remote virtual card that can be registered in the area. In this embodiment, the terminal may record the PLMN, time, and imsi of the local international virtual card registered.
[0068] Of course, if the local virtual card selected in the above terminal fails to connect to the remote virtual card server within a certain period of time, or fails to successfully download the regional long-term remote virtual card, the terminal records error code information (such as time, imsi, error information, etc.) and randomly exchanges one local international virtual card and tries again.
[0069] Therefore, in order to meet the needs of the next operation, when the terminal restarts the local international virtual card, it preferably selects the local international virtual card. The preferred selection means that if there is a successfully registered local international virtual card record, the terminal selects the local international virtual card for registration. Furthermore, for the preferred local international virtual card, the PLMN recorded by registration is written into its RPLMN (Registered PLMN) for rapid registration. The RPLMN is the PLMN registered before the terminal last shut down or disconnected from the network. The specific form of joining the registered PLMN to the RPLMN may be to correct the current card's RPLMN by writing it into the card file before starting the card.
[0070] The flow described in each embodiment of the present invention above may be understood as first selecting the local virtual card of the region / country where the terminal is located from the terminal, then checking the registration record information of the selected local virtual card, and selecting the local virtual card corresponding to the successful registration information from the registration record information to communicate with the server.
[0071] The following, the flow shown in Figure 3 is that first, the registration record information of the local virtual card is selected, and then the local virtual card of the region / country where the terminal is located is selected from the local virtual card corresponding to the successful registration information to communicate with the server. The method for selecting the virtual card for international roaming in the terminal shown in Figure 3 specifically includes the following steps.
[0072] The first step is to check whether there is a record (i.e., registration record information) using the local international virtual card for any local international virtual card that needs to be restarted and registered in the terminal. If so, the second step is executed; otherwise, the terminal randomly selects a local international virtual card for startup.
[0073] In the second step, the terminal also checks whether the record of using the local international virtual card is within the validity period (i.e., whether the registered record information is within the first predetermined time period), and if it exceeds, deletes all usage records that exceed the storage time.
[0074] In the third step, the terminal checks whether there is record information with successful activation (i.e., successful registration information in the registered record information) from the usage records within the validity period. If there is, it selects the record information with successful activation and the information of the corresponding local virtual card.
[0075] In the fourth step, the terminal determines whether the country code of the selected local virtual card belongs to the country code to which the terminal belongs. If it belongs, while starting up, it writes the PLMN that recorded the successful registration to the RPLMN. Otherwise, it deletes all target records.
[0076] Of course, in the third step, if there is no record of successful activation, that is, if all cards are records of error codes, the terminal randomly selects a local international virtual card within the area where the terminal is located and starts it up, and deletes all records of error codes. Here, randomly selecting means that it can be assumed that it selects from the remaining local international virtual cards within the area where the terminal is located, excluding the local virtual cards with error codes recorded. If all local international virtual cards within the area where the terminal is located are records of error codes, it deletes all records and randomly selects a local international virtual card from all local international virtual cards within the area where the terminal is located.
[0077] In this embodiment, the registration record information of the local virtual card is stored in advance. Thereby, the terminal can quickly perform registration by adopting the optimal local virtual card based on the registration record information, and then, by exchanging it for the corresponding regional long-term remote virtual card, the efficiency of the service can be improved, and the success rate and speed of starting up and accessing the network can be increased.
[0078] In addition, an embodiment of the present invention further provides a terminal, which includes a memory and a processor. A computer program is stored in the memory, and when the processor executes the computer program stored in the memory, it specifically executes the steps of the method for selecting an international roaming virtual card in the terminal described in any of the above embodiments.
[0079] When actually applied, the terminal according to this embodiment may include at least one processor, at least one memory, at least one network interface, and / or other user interfaces. Each component in the terminal is coupled by a bus system. It is understood that the bus system is for realizing the connection and communication between these components. In addition to including a data bus, the bus system also includes a power bus, a control bus, and a status signal bus.
[0080] The terminal according to this embodiment executes the method shown in FIG. 1 or FIG. 2. Among them, the user interface may include a display, a keyboard, or a mouse or a touch panel that is a pointing device.
[0081] It should be understood that the memory according to this embodiment may include a volatile memory, a non-volatile memory, or both a volatile memory and a non-volatile memory. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM) used as an external high-speed buffer. By way of illustrative but non-limiting description, a number of standard RAMs can be utilized. For example, a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate SDRAM (DDR SDRAM), an enhanced SDRAM (ESDRAM), a synchlink DRAM (SLDRAM), and a direct rambus RAM (DRRAM) can be utilized. The memory described herein includes any memory of these and corresponding other types, but is not limited thereto.
[0082] In some embodiments, the memory stores an execution means or a data structure, or a subset thereof, or an extended set thereof, an operating system, and an application as follows.
[0083] Among them, the operating system is a program for various systems, including, for example, a framework layer, a kernel library layer, a drive layer, etc., and is used to realize various basic operations and process tasks based on hardware. The application includes various applications, such as a media player (MediaPlayer), a browser (Browser), etc., and is used to realize various application operations. The program for realizing the method according to the embodiment of the present invention may be included in the application program.
[0084] In the embodiment of the present invention, the processor is for calling the programs and instructions stored in the memory, specifically, for calling the programs and instructions stored in the application program, so as to execute the method steps provided by the first aspect.
[0085] The method disclosed in the above embodiments of the present invention may be applied to a processor or implemented by a processor. The processor may be an integrated circuit chip with the ability to process signals. In the process of implementation, each step in the above method is completed by the integrated logic circuit of the hardware in the processor or the instructions in the form of software. The above processor may be a general-purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) that can be rewritten on-site, or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. Each method, step, and logic block diagram disclosed in the embodiments of the present invention may be implemented or executed. The general-purpose processor may be a microprocessor, and the above processor may be any ordinary processor or the like. The steps combined with the method disclosed in the embodiments of the present invention may be directly executed by the hardware compiler processor, or may be executed by combining the hardware and software in the compiler processor. The software means may be located in a storage medium well known in the art such as random access memory, flash memory, read-only memory, programmable read-only memory, or electrically erasable programmable read-only memory, register, etc. The above storage medium is located in the memory, and the processor reads the information in the memory and combines it with its hardware to complete the steps of the above method.
[0086] According to other aspects, embodiments of the present invention further provide a computer-readable storage medium, in which a computer program is stored, and when the computer program is executed by a processor, it is for implementing the steps of the method according to any of the above embodiments.
[0087] It should be understood that these embodiments described in the text may be implemented by hardware, software, firmware, middleware, microcode, or any combination thereof. The implementation by hardware may be realized by implementing the processing means with one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSP Devices, DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), general-purpose processors, controllers, microcontrollers, microprocessors, other electronic means for implementing the functions in this application, or any combination thereof.
[0088] Regarding the implementation by software, the techniques described in the text can be realized by executing the means of the functions described in the text. The software code is stored in a memory and is executable by a processor. The memory can be realized within the processor or outside the processor.
[0089] It will be recognized by those skilled in the art that referring to the means and algorithm steps according to each of the examples described in the embodiments disclosed in the text, they can be realized by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed in the form of hardware or software depends on the specific application to the technical solution and the design constraints. Those skilled in the art can realize the described functions in different ways for each specific application, but this realization cannot be recognized as exceeding the scope of the present invention.
[0090] It will be clearly understood by those skilled in the art that, for the sake of convenience and brevity of description, the specific operation processes of the systems, devices and means described above can be referred to the corresponding processes in the embodiments of the method, and thus will not be repeated here.
[0091] In the embodiments provided by the present application, it should be understood that, except that there is a clear order before and after between the steps of the method embodiments, the execution order can be arbitrarily adjusted. Such devices and methods may be implemented in other forms. For example, the device embodiments described above are merely illustrative. For example, the division of the means is only a division of logical functions, and other division methods are possible when actually implemented. For example, a plurality of means or components may be combined, or integrated into other systems, or some features may be omitted or not executed. In addition, the coupling or direct coupling or communication connection between those shown or considered may be an indirect coupling or communication connection by some interfaces, devices or means, or in an electrical, mechanical or other form.
[0092] The means described as separate components may or may not be physically separated. The components shown as means may or may not be physical means. That is, they may be located in the same place or distributed in a plurality of network means. According to actual needs, some or all of the means can be selected to achieve the purpose of the solution of this embodiment.
[0093] In addition, in the present invention, each functional means according to each embodiment may be integrated into one processing means, or each means may exist as an independent physical entity, or two or more means may be integrated into one means.
[0094] The above functions are realized in the form of means that function as software, and when sold or used as an independent product, they may be stored in a computer-readable storage medium. According to this understanding, in the technical solutions according to the embodiments of the present invention, the essential part, or the part that contributes to the prior art, or the part of the technical solution, appears in the form of a product by software, and the product by the computer software is stored in the storage medium and contains some instructions, so that all or some steps of the methods described in each embodiment of the present invention can be executed by a computer device (which may be a personal computer, a server, or a network device, etc.).
[0095] It should be noted that in this text, expressions such as "include", "be included", or any other variations cover this inclusion non-exclusively, meaning that a process, method, component, or device that includes a series of elements not only includes those elements but also includes other elements not explicitly listed, or elements inherent in these processes, methods, components, or devices. Unless there are further limitations, elements limited by the sentence "only include one" do not exclude the existence of other same elements in the process, method, component, or device that includes the said element.
[0096] Those skilled in the art will understand that some of the embodiments described here include certain features included in other embodiments but not other features. The combinations of features according to different embodiments mean that they belong to the scope of the present invention and can form different embodiments.
[0097] Although the embodiments of the present invention have been described with reference to the drawings, those skilled in the art can make various corrections and modifications as long as they do not exceed the spirit and scope of the present invention, and these corrections and modifications should all belong to the scope limited by the appended claims.
Claims
1. When the terminal is started, before communicating with the server based on one local virtual card in the terminal, it checks whether registration record information of at least one local virtual card in the area where the terminal is currently located is stored in the terminal. There are a predetermined number of local virtual cards of each operator stored in the terminal in step S1, When the registration record information exists, it selects the first local virtual card corresponding to the successful registration information from the registration record information and communicates with the server in step S2, The terminal receives remote virtual card information for registration in the area where the terminal is currently located, which is issued by the server based on the first local virtual card, within a predetermined time period in step S3, The terminal determines whether the reception of the remote virtual card information is successful within a predetermined time period, and updates the registration record information of the first local virtual card according to whether the reception is successful in step S4, including The registration record information is stored in a predetermined format, including registration time, whether registration is successful flag, terminal location area, information of local virtual card flag, and PLMN for which registration is successful. The local virtual card is an ignition card shared by multiple terminals. For the first local virtual card, the registration record information of the first local virtual card is record information on whether the terminal using the first local virtual card has successfully registered based on the first local virtual card in a predetermined time period. A method for selecting an international roaming virtual card in a terminal, characterized by this.
2. When the registration record information does not exist, it randomly selects one local virtual card as the first local virtual card and communicates with the server in step S2a, and It further includes executing step S3 and step S4, In step S4, the terminal stores the registration record information of the first local virtual card according to whether the reception of the remote virtual card information is successful in a predetermined time period. The selection method according to claim 1, characterized by this.
3. When the terminal fails to receive the remote virtual card information in the predetermined time period in step S4, the method includes The selection method according to claim 1, further comprising: when reselecting the first local virtual card corresponding to the successful registration information from the registration record information and communicating with the server, and executing steps S3 and S4.
4. The selection method according to claim 3, further comprising: when the download of the remote virtual card information fails even if any of the local virtual cards of all the successful registration information in the registration record information communicates with the server, selecting one local virtual card from other local virtual cards as the first virtual card and communicating with the server, and deleting the registration record information of all the local virtual cards corresponding to the area where the terminal is currently located.
5. When all the local virtual cards in the area where the terminal is currently located have registration record information and all of them are unsuccessful registration information, randomly selecting a local virtual card in the area where the terminal is located as the first virtual card and communicating with the server, and deleting the registration record information of all the local virtual cards corresponding to the area where the terminal is currently located. Or The selection method according to claim 1, further comprising: when some of the local virtual cards in the area where the terminal is currently located have registration record information and all of them are unsuccessful registration information, the terminal excludes the local virtual cards corresponding to the unsuccessful registration information, and then randomly selects one local virtual card from the remaining local virtual cards in the area where the terminal is located as the first local virtual card and communicates with the server, and deleting the registration record information of the local virtual cards corresponding to the unsuccessful registration information.
6. The local virtual card identifier includes the IMSI, and the registration time includes the time when the registration of the PLMN is successful. The registered record information is divided according to the terminal location area, and the local virtual cards within any one area are divided according to priority. The local virtual card with the highest priority is the local virtual card that has successful registration information within the first time zone associated with the current time. The local virtual card with the second highest priority is the local virtual card that has successful registration information within the second time zone associated with the current time. Correspondingly, step S2 is selecting, from the registered record information, the first local virtual card with the highest priority corresponding to the successful registration information and communicating with the server, which is characterized in that it includes the selection method according to claim 1.
7. periodically checking whether there is registered record information exceeding the first predetermined time zone in one area, and if so, deleting the registered record information exceeding the first predetermined time zone in the area, which is further included in the selection method according to claim 6.
8. The terminal is sent from the server, receives the arrangement information for arranging the registered record information, arranges the registered record information in the terminal based on the arrangement information, gives priority information to the local virtual cards in the terminal, and the arrangement information further includes having priority information of the local virtual cards. The priority information includes the local virtual card identifier with the highest level and the local virtual card identifier with the second highest level. The local virtual card identifier with the highest level is the identifier of the local virtual card that the terminal recorded in the server communicates with the server through the local virtual card and the registration is successful and the communication time is the shortest. Correspondingly, step S2 further includes selecting, from the registered record information, the first local virtual card corresponding to the successful registration information and having the highest level and communicating with the server, which is characterized in that it includes the selection method according to any one of claims 1 to 5.
9. A plurality of local virtual cards are stored in the terminal. and / or The management system belonging to all local virtual cards performs screening according to the registration record information of all terminals managed by the management system, and issues the selected valid registration record information to the terminals that use all or part of the local virtual cards. The selection method according to claim 1 is characterized by this.
10. including a memory and a processor, a computer program is stored in the memory, and when the processor executes the computer program stored in the memory, the steps in the method of selecting an in-terminal international roaming virtual card according to any one of claims 1 to 9 above are specifically executed. A terminal characterized by this.
Citation Information
Patent Citations
Roaming network access method and apparatus
JP2017515432A
Roaming network access method and device
JP2017517989A
Communication carrier network connection method and device, program and recording medium
JP2017527235A
Network access method and terminal device
WO2019184009A1
Method and apparatus for sending user identifier
WO2022116695A1