Roaming service processing method and system, electronic device, and storage medium
By obtaining the current location information of the terminal device and selecting a matching IMSI for network login, the problems of increasing signaling interaction and prolonging network residence during roaming are solved, and efficient network login and authentication are achieved.
Patent Information
- Application Number
- CN202111161394.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-30
- Publication Date
- 2024-11-29
- Estimated Expiration
- 2041-09-30
AI Technical Summary
During user roaming, the prior art causes the signaling interaction between the terminal device and the network side to increase, extend the networking time, and the wireless network coverage varies greatly, which may lead to the failure of IMSI handover and the inability to trigger the card handover.
By obtaining the current location information of the terminal device, selecting the matching IMSI, and directly using the IMSI for network login, reducing signaling interaction and improving network resident efficiency.
The terminal device is successfully authenticated in one time, which reduces signaling interaction with the network side, improves network efficiency, and avoids the attachment rejection message and repeated registration process caused by IMSI mismatch in the prior art.
Smart Images

Figure CN113891300B_ABST
Abstract
Description
Background Art
[0002] Considering the application scenarios of users roaming in different regions, in order to take into account preferential rates, operators will customize multiple IMSIs (International Mobile Subscriber Identification Numbers) for SIM cards so that they can switch to different IMSI parameters in different regions, so that users can automatically choose lower rates and better services. When a user roams in a country / region, the terminal device will first use the default IMSI in the SIM card to initiate location registration to the network side, and the network side will determine whether the IMSI currently used by the terminal device matches the roaming network. If the IMSI is inconsistent with the roaming network, the terminal device will fail to log in and the communication function cannot be realized. In addition, the terminal device also needs to determine whether the obtained PLMN (Public Land Mobile Network) information matches the IMSI and re-initiate an attachment request. This method increases signaling interaction and prolongs the network stay time.
[0003] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention
[0004] The purpose of the present disclosure is to provide a roaming service processing method, a roaming service processing system, a storage medium and an electronic device, which can effectively reduce the signaling interaction between the terminal device and the network side and improve the network efficiency; thereby overcoming the defects caused by the limitations and defects of the relevant technology at least to a certain extent.
[0005] Other features and advantages of the present disclosure will become apparent from the following detailed description, or may be learned in part by the practice of the present disclosure.
[0006] According to a first aspect of the present disclosure, a roaming service processing method is provided, including:
[0007] In response to a control operation on the terminal device, obtaining current location information of the terminal device;
[0008] Selecting an IMSI matching the current location information according to the current location information;
[0009] The terminal device logs into the network based on the currently selected IMSI.
[0010] In an exemplary embodiment of the present disclosure, the control operation on the terminal device includes:
[0011] Either power on or turn off the airplane mode.
[0012] In an exemplary embodiment of the present disclosure, when the control operation is a power-on operation, the obtaining of the current location information of the terminal device in response to the control operation on the terminal device includes:
[0013] When the terminal device enters the boot process, a location information acquisition task is triggered to determine the current location information of the terminal device based on the location information acquisition task.
[0014] In an exemplary embodiment of the present disclosure, when the control operation is to turn off the flight mode operation, the obtaining of the current location information of the terminal device in response to the control operation on the terminal device includes:
[0015] In response to a touch operation on the flight mode control, the flight model is turned off, and a location information acquisition task is synchronously triggered to determine the current location information of the terminal device based on the location information acquisition task.
[0016] In an exemplary embodiment of the present disclosure, the acquiring the current location information of the terminal device includes:
[0017] Perform satellite search operations to obtain pseudorange information;
[0018] The coordinate value of WGS_84 is calculated according to the pseudorange information to determine the current position information.
[0019] In an exemplary embodiment of the present disclosure, the terminal device is configured with a matching information list, and the matching information list includes location information and IMSI information corresponding to the location information.
[0020] In an exemplary embodiment of the present disclosure, the selecting, according to the current location information, an IMSI matching the current location information includes:
[0021] Query the matching information list to determine the IMSI corresponding to the current location;
[0022] Trigger the user identity card to switch to this IMSI.
[0023] According to a second aspect of the present disclosure, a roaming service processing system is provided, including:
[0024] A location information acquisition module, used to acquire the current location information of the terminal device in response to a control operation on the terminal device;
[0025] An IMSI matching module, configured to select an IMSI matching the current location information according to the current location information;
[0026] The network login module is used for the terminal device to log in to the network based on the currently selected IMSI.
[0027] According to a third aspect of the present disclosure, a storage medium is provided, on which a computer program is stored, and when the program is executed by a processor, the above-mentioned roaming service processing method is implemented.
[0028] According to a fourth aspect of the present disclosure, there is provided a computer system, comprising:
[0029] Processor; and
[0030] A memory, configured to store executable instructions of the processor;
[0031] The processor is configured to execute the above-mentioned roaming service processing method by executing the executable instructions.
[0032] In a roaming service processing method provided by an embodiment of the present disclosure, when a terminal device responds to a user's control operation, the terminal device first obtains location information and determines the corresponding IMSI based on the location information, so that the terminal device can directly use the IMSI that matches the current location to log in to the network, thereby ensuring that the terminal device can be authenticated successfully once, reducing the signaling interaction between the terminal device and the network side, and improving the network efficiency.
[0033] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] The accompanying drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the specification are used to explain the principles of the present disclosure. Obviously, the accompanying drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without creative work.
[0035] Figure 1 A schematic diagram schematically illustrates a method for processing roaming services in an exemplary embodiment of the present disclosure;
[0036] Figure 2 A schematic diagram schematically illustrates a method for obtaining current location information in an exemplary embodiment of the present disclosure;
[0037] Figure 3 A schematic diagram schematically illustrates a method for determining IMSI in an exemplary embodiment of the present disclosure;
[0038] Figure 4 A schematic diagram schematically illustrates another roaming service system in an exemplary embodiment of the present disclosure;
[0039] Figure 5 A schematic diagram schematically shows the composition of an electronic device in an exemplary embodiment of the present disclosure;
[0040] Figure 6 A schematic diagram schematically illustrates a storage medium in an exemplary embodiment of the present disclosure. DETAILED DESCRIPTION
[0041] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that the disclosure will be more comprehensive and complete and to fully convey the concepts of the example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
[0042] In addition, the accompanying drawings are only schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor devices and / or microcontroller devices.
[0043] In the related art, when users roam in different regions, in order to take into account preferential rates, operators often customize SIM (Subscriber Identity Module) cards containing multiple IMSIs, so that they can switch to different IMSI parameters in different regions, so that users can automatically choose lower rates and better services. When a user roams in a country / region, he will first use the default IMSI in the card to initiate location registration with the network. The network will determine whether the IMSI currently used by the user is the same as the IMSI corresponding to the roaming network that should be selected first. If the user has not signed a contract with the local roaming operator, the IMSI will be inconsistent, and the network will send an Attach reject message with a reason value of Roaming not allowed in this tracking area. After the terminal receives this message, it will also determine whether the currently acquired PLMN (Public Land Mobile Network) matches the IMSI. If not, the corresponding IMSI will be read and the attachment request will be re-initiated. Specifically, the existing technical solution may include the following steps: the terminal starts searching for the network; when the terminal searches for an available network, it will first try to register with the default IMSI; wherein the default IMSI may be the IMSI parameter of the last successful network login; it is determined whether the current authentication is passed, and if so, it ends; if not, the IMSI is inconsistent with the current network, and the network sends an Attach reject message; the terminal receives the rejection message, triggering the card to switch the IMSI, and the terminal re-reads the IMSI parameters, re-initiates authentication, and thus logs into the network.
[0044] The process of the prior art adds additional signaling interactions and prolongs the network resident time. In addition, wireless network coverage varies greatly. If the network corresponding to the IMSI happens to have a poor signal at the location or other reasons, resulting in no rejection message from the network side, the terminal may not be able to trigger the card to switch the IMSI.
[0045] In view of the defects in the above technical solutions, this exemplary implementation first provides a roaming service processing method, which can be applied to the roaming application scenario of the terminal device. Figure 1 As shown in , the above roaming service processing method may include the following steps:
[0046] S11, in response to a control operation on the terminal device, obtaining current location information of the terminal device;
[0047] S12, selecting an IMSI matching the current location information according to the current location information;
[0048] S13, the terminal device logs into the network based on the currently selected IMSI.
[0049] The roaming service processing method provided in this example implementation mode, on the one hand, when the terminal device responds to the user's control operation, the terminal device first obtains the location information, and determines the corresponding IMSI according to the location information, thereby accurately determining the IMSI that matches the current location of the terminal device. On the other hand, the terminal device directly uses the IMSI that matches the current location to log in to the network, ensuring that the terminal device can be authenticated successfully once, reducing the signaling interaction between the terminal device and the network side, and improving the efficiency of staying on the network.
[0050] Below, each step of the roaming service processing method in this example implementation will be described in more detail with reference to the accompanying drawings and embodiments.
[0051] In step S11, in response to a control operation on the terminal device, current location information of the terminal device is acquired.
[0052] In this exemplary implementation, the above method can be applied to smart terminal devices using SIM cards, such as mobile phones and tablet computers. Specifically, the above control operation can be an operation to turn on the terminal device or turn off the flight mode.
[0053] In some exemplary embodiments, when the control operation is a power-on operation, the current location information of the terminal device is obtained in response to the control operation on the terminal device, including: when the terminal device enters the power-on process, triggering a location information acquisition task to determine the current location information of the terminal device based on the location information acquisition task.
[0054] For example, if the terminal device is a mobile phone, the above control operation can be a power-on operation. When the user presses the power button of the mobile phone to turn it on, or clicks the restart control in the graphical user interface, and the mobile phone enters the restart process, when the terminal device enters the power-on process, a location information acquisition task can be triggered and created. The location information acquisition task is executed to obtain the current location information of the terminal device.
[0055] Alternatively, in some exemplary embodiments, when the above-mentioned control operation is to turn off the flight mode operation, the current location information of the terminal device is obtained in response to the control operation on the terminal device, including: in response to the touch operation on the flight mode control, turning off the flight model, and synchronously triggering the location information acquisition task to determine the current location information of the terminal device based on the location information acquisition task.
[0056] For example, when a user clicks on a flight model control in the mobile phone's graphical user interface to turn off the flight mode, the terminal device first triggers a location information acquisition task and executes the location information acquisition task to determine the current location information.
[0057] In this exemplary embodiment, reference Figure 2 As shown, the above-mentioned acquisition of the current location information of the terminal device may specifically include:
[0058] Step S21, performing a satellite search operation to obtain pseudorange information;
[0059] Step S22, calculating the coordinate value of WGS_84 according to the pseudorange information to determine the current position information.
[0060] Specifically, the above-mentioned current location information may be GNSS (Global Navigation Satellite System) location information.
[0061] When performing the location information acquisition task, you can first search for satellites to obtain pseudorange information X, Y, and Z. According to the pseudorange information, use the pseudorange conversion model to calculate the corresponding coordinate value of the WGS_84 coordinate system, that is, the GPS coordinate. And use the coordinate value as the current location information of the terminal device.
[0062] In step S12, an IMSI matching the current location information is selected according to the current location information.
[0063] In this example implementation, for the terminal device, a matching information list may be pre-configured. The matching information list includes at least two groups of data, each group of data includes IMSI information and corresponding location information. Specifically, the location information may be represented by a coordinate range. In the terminal device, the matching information list may be stored in a local memory.
[0064] refer to Figure 3 As shown, the above step S12 may include:
[0065] Step S31, querying the matching information list to determine the IMSI corresponding to the current location;
[0066] Step S32, triggering the subscriber identity card to switch to the IMSI.
[0067] Specifically, after obtaining the current location information, the terminal device can query the matching information list to determine the coordinate range of the current location information, and then determine the corresponding IMSI information. After the terminal device determines the IMSI information corresponding to the current location, it can trigger the user identification card to switch to the IMSI. For the user identification card, multiple IMSI information can be pre-stored; these IMSI information are consistent with the IMSI information in the above matching information list.
[0068] When the terminal device is restarted, the initial or default IMSI information can be configured to be empty. After determining the IMSI corresponding to the current location, the terminal device triggers the user identification card to execute the currently selected IMSI. Alternatively, if the default IMSI of the user identification card is the IMSI information used last time, it can be determined whether the default IMSI is the same as the currently selected IMSI. If they are the same, no switch is made; or, if they are different, the default IMSI is switched to the currently selected IMSI.
[0069] In step S13, the terminal device performs network login based on the currently selected IMSI.
[0070] In this example implementation, after the terminal device controls the user identification card to switch to the currently selected IMSI, it can log in to the network based on the IMSI. Specifically, after determining the IMSI, the terminal device searches for a network, and when a network is found, it sends an attachment request to the network and registers with the current network.
[0071] Based on the above content, in other exemplary embodiments of the present disclosure, the above matching information list may also include network parameters matched by IMSI information, as well as operator information, country code / region code, etc. For example, the network parameter may be a PLMN identifier. When the terminal device searches for a network,
[0072] In some exemplary embodiments of the present disclosure, for a terminal device, the matching information list may also store the contract information of the network corresponding to the coordinate range. After determining the IMSI corresponding to the current location, it may also be determined whether the network in the area has been contracted. If it is determined that the network has been contracted, the IMSI switching of the user identification card is triggered.
[0073] For example, a telecom SIM card is configured with two sets of IMSIs, including IMSI 20404 for roaming and IMSI 46011 for non-roaming. When the terminal is turned on or the flight mode is turned off, the current GPS coordinates are read first. If the current location is in China and roaming is not required, the SIM card is triggered to use the IMSI parameter 46011; or, if the current location is identified as being in a foreign area and roaming is required, the SIM card is triggered to use the IMSI parameter 20404. This allows the terminal device to automatically switch the destination IMSI parameter without interacting with the network.
[0074] The roaming service processing method provided by the present invention first determines the current location before the terminal device searches for the network, and selects the corresponding IMSI parameters according to the current location; and after the user identification card switches the IMSI, it performs a network search, performs authentication, and sends an attachment request to the network side. Compared with the prior art, there is no need to interact with the network side in the early stage, nor is there any need to read the PLMN identifier. Registration is directly initiated with the correct IMSI, which reduces the signaling interaction with the network and improves the network efficiency. It avoids the situation in the prior art that the terminal needs to try to initiate a registration first, and then is denied access by the network due to IMSI mismatch. At this time, the terminal obtains the PLMN identifier, reads the IMSI parameters that match the PLMN just obtained, and then re-initiates registration. Effectively reduces signaling interaction.
[0075] It should be noted that the above figures are only schematic illustrations of the processes included in the method according to an exemplary embodiment of the present invention, and are not intended to be limiting. It is easy to understand that the processes shown in the above figures do not indicate or limit the time sequence of these processes. In addition, it is also easy to understand that these processes can be performed synchronously or asynchronously, for example, in multiple modules.
[0076] For further reference, Figure 4 As shown, in the implementation of this example, a roaming service processing system 40 is also provided, including: a location information acquisition module 401, an IMSI matching module 402, and a network login module 403. Among them,
[0077] The location information acquisition module 401 may be configured to acquire current location information of a terminal device in response to a control operation on the terminal device.
[0078] The IMSI matching module 402 may be configured to select an IMSI matching the current location information according to the current location information.
[0079] The network login module 403 can be used for the terminal device to perform network login based on the currently selected IMSI.
[0080] In this example implementation, the control operation on the terminal device includes: any one of a power-on operation and a flight mode off operation.
[0081] In this example implementation, the location information acquisition module 401 may be used to trigger a location information acquisition task when the terminal device enters a boot process, so as to determine the current location information of the terminal device based on the location information acquisition task.
[0082] In this example implementation, the location information acquisition module 401 can be used to respond to a touch operation on the flight mode control, turn off the flight model, and synchronously trigger a location information acquisition task to determine the current location information of the terminal device based on the location information acquisition task.
[0083] In this example implementation, the location information acquisition module 401 may include: performing a satellite search operation to acquire pseudorange information; and calculating a coordinate value of WGS_84 according to the pseudorange information to determine the current location information.
[0084] In this example implementation, the terminal device is configured with a matching information list, and the matching information list includes location information and IMSI information corresponding to the location information.
[0085] In this example implementation, the IMSI matching module 402 may be used to query the matching information list, determine the IMSI corresponding to the current location, and trigger the subscriber identity card to switch to the IMSI.
[0086] The specific details of each module in the above-mentioned roaming service processing device have been described in detail in the corresponding roaming service processing method, so they will not be repeated here.
[0087] It should be noted that, although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into multiple modules or units to be embodied.
[0088] In an exemplary embodiment of the present disclosure, a computer system capable of implementing the above method is also provided.
[0089] It will be appreciated by those skilled in the art that various aspects of the present invention may be implemented as a system, method or program product. Therefore, various aspects of the present invention may be specifically implemented in the following forms, namely: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software, which may be collectively referred to herein as a "circuit", "module" or "system".
[0090] Refer to the following Figure 5 The electronic device 600 according to this embodiment of the present invention is described. Figure 5 The electronic device 600 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0091] like Figure 5 As shown, the electronic device 600 is in the form of a general computing device. The components of the electronic device 600 may include but are not limited to: at least one processing unit 610, at least one storage unit 620, and a bus 630 connecting different system components (including the storage unit 620 and the processing unit 610).
[0092] The storage unit stores program codes, which can be executed by the processing unit 610, so that the processing unit 610 performs the steps according to various exemplary embodiments of the present invention described in the above “Exemplary Method” section of this specification. For example, the processing unit 610 can perform the following steps: Figure 1 Follow the steps shown in .
[0093] The storage unit 620 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 6201 and / or a cache memory unit 6202 , and may further include a read-only memory unit (ROM) 6203 .
[0094] The storage unit 620 may also include a program / utility 6204 having a set (at least one) of program modules 6205, such program modules 6205 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.
[0095] Bus 630 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
[0096] The computer system 600 may also communicate with one or more external devices 700 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), one or more devices that enable a user to interact with the computer system 600, and / or any device that enables the computer system 600 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 650. In addition, the computer system 600 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 660. As shown, the network adapter 660 communicates with other modules of the computer system 600 via a bus 630. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the computer system 600, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0097] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the implementation of the present disclosure.
[0098] In an exemplary embodiment of the present disclosure, a computer-readable storage medium is also provided, on which a program product capable of implementing the above method of the present specification is stored. In some possible implementations, various aspects of the present invention can also be implemented in the form of a program product, which includes a program code, and when the program product is run on a terminal device, the program code is used to enable the terminal device to execute the steps according to various exemplary embodiments of the present invention described in the above "Exemplary Method" section of the present specification.
[0099] refer to Figure 6 As shown, a program product 70 for implementing the above method according to an embodiment of the present invention is described, which can adopt a portable compact disk read-only memory (CD-ROM) and include program code, and can be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited thereto. In this document, a readable storage medium can be any tangible medium containing or storing a program, which can be used by or in combination with an instruction execution system, an apparatus or a device.
[0100] The program product may use any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0101] Computer readable signal media may include data signals propagated in baseband or as part of a carrier wave, in which readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Readable signal media may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0102] The program code embodied on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.
[0103] Program code for performing the operations of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).
[0104] In addition, the above-mentioned figures are only schematic illustrations of the processes included in the method according to an exemplary embodiment of the present invention, and are not intended to be limiting. It is easy to understand that the processes shown in the above-mentioned figures do not indicate or limit the time sequence of these processes. In addition, it is also easy to understand that these processes can be performed synchronously or asynchronously, for example, in multiple modules.
[0105] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not disclosed in the present disclosure. The specification and examples are to be considered as exemplary only, and the true scope and spirit of the present disclosure are indicated by the claims.
[0106] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A roaming service processing method, characterized in that: The method comprises: In response to a control operation on a terminal device, before the terminal device searches for a network, obtaining current location information of the terminal device; Querying the matching information list of the terminal device, determining the IMSI corresponding to the current location as the currently selected IMSI, and obtaining the IMSI information used by the terminal device last time as the default IMSI of the user identification card; when the default IMSI is different from the currently selected IMSI, triggering the user identification card to switch the default IMSI to the currently selected IMSI; the matching information list includes one or more of the location information, the IMSI information corresponding to the location information, the network parameters matched by the IMSI information, the operator information, the country code / region code, and the contract information of the network corresponding to the coordinate range; The terminal device searches for a network, sends an attachment request to the network to register with the network when a network is found, and logs in to the network based on the currently selected IMSI.
2. The roaming service processing method according to claim 1, characterized in that: The control operation on the terminal device includes: Either power on or turn off the airplane mode.
3. The roaming service processing method according to claim 2, characterized in that: When the control operation is a power-on operation, the obtaining of the current location information of the terminal device in response to the control operation on the terminal device includes: When the terminal device enters the boot process, a location information acquisition task is triggered to determine the current location information of the terminal device based on the location information acquisition task.
4. The roaming service processing method according to claim 2, characterized in that: When the control operation is to turn off the flight mode, the obtaining of the current location information of the terminal device in response to the control operation on the terminal device includes: In response to a touch operation on the flight mode control, the flight model is turned off, and a location information acquisition task is synchronously triggered to determine the current location information of the terminal device based on the location information acquisition task.
5. The roaming service processing method according to claim 1, characterized in that: The obtaining of the current location information of the terminal device includes: Perform satellite search operations to obtain pseudorange information; The coordinate value of WGS_84 is calculated according to the pseudorange information to determine the current position information.
6. A roaming service processing system, characterized in that: The system comprises: A location information acquisition module, used to obtain the current location information of the terminal device in response to a control operation on the terminal device before the terminal device searches the network; An IMSI matching module is used to query the matching information list of the terminal device, determine the IMSI corresponding to the current location as the currently selected IMSI, and obtain the IMSI information used by the terminal device last time as the default IMSI of the user identification card; when the default IMSI is different from the currently selected IMSI, trigger the user identification card to switch the default IMSI to the currently selected IMSI; the matching information list includes one or more of the location information, the IMSI information corresponding to the location information, the network parameters matched by the IMSI information, the operator information, the country code / region code, and the subscription information of the network corresponding to the coordinate range; The network login module is used for the terminal device to search for a network, send an attachment request to the network to register with the network when a network is searched, and perform network login based on the currently selected IMSI.
7. A storage medium having a computer program stored thereon, wherein when the program is executed by a processor, the roaming service processing method according to any one of claims 1 to 5 is implemented.
8. An electronic device, characterized in that: include: processor; as well as A memory, configured to store executable instructions of the processor; The processor is configured to execute the roaming service processing method according to any one of claims 1 to 5 by executing the executable instructions.
Citation Information
Patent Citations
Dual-IMSI automatic switching method and system for realizing global roaming
CN104411021A
Roaming network access method and device, SIM card, terminal and storage medium
CN110381494A
Methods and systems for subscriber identity management in a mobile device
EP2672744A1
Selecting a Subscriber Identity in a User Equipment Device Having Multiple Subscriber Identities
US20130281085A1
Methods and systems for subscriber identity management in a mobile device
US20130331096A1
