CN114666782B - Card number switching method and device, electronic equipment and positioning system - Google Patents

Card number switching method and device, electronic equipment and positioning system Download PDF

Info

Publication number
CN114666782B
CN114666782B CN202011409388.2A CN202011409388A CN114666782B CN 114666782 B CN114666782 B CN 114666782B CN 202011409388 A CN202011409388 A CN 202011409388A CN 114666782 B CN114666782 B CN 114666782B
Authority
CN
China
Prior art keywords
card number
card
information
target
sim
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011409388.2A
Other languages
Chinese (zh)
Other versions
CN114666782A (en
Inventor
宋朝阳
张亚元
赵辉
王鹏程
付荣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile IoT Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile IoT Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, China Mobile IoT Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN202011409388.2A priority Critical patent/CN114666782B/en
Publication of CN114666782A publication Critical patent/CN114666782A/en
Application granted granted Critical
Publication of CN114666782B publication Critical patent/CN114666782B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/20Transfer of user or subscriber data
    • H04W8/205Transfer to or from user equipment or user record carrier

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Databases & Information Systems (AREA)
  • Telephone Function (AREA)

Abstract

The application provides a card number switching method, a device, electronic equipment and a positioning system, wherein the method comprises the steps of obtaining first location area identification code (LAI) information of a location where the card number switching device is located; if the mobile country code MCC information is identified from the first LAI information, setting the current working card number of the SIM card as the card number corresponding to the MCC information; if the mobile country code MCC information cannot be identified from the first LAI information, the current working card number of the SIM card is switched from the first target card number to the card number other than the first target card number. In the embodiment of the application, the mobile country code MCC information is identified from the first LAI information by acquiring the first LAI information, and the card number is automatically switched according to the MCC information, so that the SIM card does not need to be manually replaced when a user goes out of or goes into the environment, and the problem that the SIM card is inconvenient to replace when the user goes out of or goes into the environment in the prior art is solved.

Description

Card number switching method and device, electronic equipment and positioning system
Technical Field
The present application relates to the field of mobile communications, and in particular, to a method and a system for automatically switching a SIM card.
Background
The global system for mobile communications (Global System for Mobile Communications), abbreviated as GSM, is a digital mobile communications standard developed by the european telecommunications standards institute ETSI. Its air interface uses time division multiple access technology. Since the mid-90 s investment, it was adopted by more than 100 countries worldwide. The ubiquitous nature of the GSM standard makes international roaming of subscribers commonplace after signing a "roaming agreement" between mobile telephone operators. After the roaming agreement is signed, the user can use one mobile phone to go through the whole world, but the problem of higher communication cost exists. Therefore, the user still adopts the scheme of replacing the SIM card when the user enters/exits, and the operation is inconvenient, namely the problem that the SIM card is inconvenient to replace when the user enters/exits in the prior art exists.
Disclosure of Invention
The embodiment of the application provides an automatic SIM card switching method and an automatic SIM card switching system, which solve the problem in the prior art that the communication cost of a user using different numbers at different places is high.
To achieve the above object, in a first aspect, an embodiment of the present application provides a card number switching method, which is performed by a card number switching device, where the card number switching device includes a Subscriber Identity Module (SIM) card, and the SIM card is provided with at least two card numbers, and the method includes:
acquiring first location area identification code LAI information of the location of the card number switching device;
if the mobile country code MCC information is identified from the first LAI information, setting the current working card number of the SIM card as the card number corresponding to the MCC information;
and under the condition that the currently working card number of the SIM card is a first target card number, if the mobile country code MCC information cannot be identified from the first LAI information, switching the currently working card number of the SIM card from the first target card number to a card number other than the first target card number in the at least two card numbers, wherein the first target card number is any one card number in the at least two card numbers.
Optionally, the method further comprises:
receiving an instruction input by a user;
and under the condition that the input instruction is matched with a preset instruction rule, switching the current working card number of the SIM card.
Optionally, if the mobile country code MCC information is identified from the first LAI information, setting the card number of the current operation of the SIM card to be the card number corresponding to the MCC information, including:
if the current working card number of the SIM card is a second target card number, if MCC information is identified from the first LAI information and MCC information corresponding to the third target card number is detected in a first preset time period, switching the current working card number of the SIM card from the second target card number to the third target card number;
wherein the second target card number and the third target card number are different card numbers of the at least two card numbers.
Optionally, the obtaining the LAI information of the first location area identifier of the location where the card number switching device is located includes:
acquiring first LAI information of the position of the card number switching device according to a preset time interval;
if the mobile country code MCC information cannot be identified from the first LAI information, switching the current working card number of the SIM card from the first target card number to a card number other than the first target card number of the at least two card numbers, including:
if the mobile country code MCC information cannot be identified from the acquired first LAI information within the second preset time period, switching the currently working card number of the SIM card from the first target card number to a card number other than the first target card number in the at least two card numbers.
In a second aspect, an embodiment of the present application provides a card number switching device, where the card number switching device includes a Subscriber Identity Module (SIM) card, and the SIM card is provided with at least two card numbers, and the device includes:
the acquisition module is used for acquiring first location area identification code (LAI) information of the location of the card number switching device;
the first setting module is used for setting the current working card number of the SIM card as the card number corresponding to the MCC information if the mobile country code MCC information is identified from the first LAI information;
and the second setting module is used for switching the current working card number of the SIM card from the first target card number to the card number other than the first target card number in the at least two card numbers if the mobile country code MCC information cannot be identified from the first LAI information, wherein the first target card number is any one of the at least two card numbers.
Optionally, the apparatus further includes:
the receiving module is used for receiving an instruction input by a user;
and the third setting module is used for switching the card number of the current work of the SIM card under the condition that the input instruction is matched with a preset instruction rule.
Optionally, the second setting module includes:
a fourth setting unit, configured to, if the current working card number of the SIM card is a second target card number, identify MCC information from the first LAI information, and detect that the MCC information in a first preset duration is MCC information corresponding to the third target card number, switch the current working card number of the SIM card from the second target card number to the third target card number;
wherein the second target card number and the third target card number are different card numbers of the at least two card numbers.
Optionally, the acquiring module includes:
the first acquisition unit is used for acquiring first LAI information of the position of the card number switching device according to a preset time interval;
the second setting module includes:
and a fifth setting unit, configured to switch, if mobile country code MCC information cannot be identified from the obtained first LAI information within a second preset duration, a card number of the SIM card currently operating from the first target card number to a card number other than the first target card number of the at least two card numbers.
In a third aspect, an embodiment of the present application provides an electronic device, where the electronic device includes a processor, a memory, and a computer program stored on the memory and executable on the processor, where the computer program is executed by the processor to implement the steps in the card number switching method according to the first aspect.
In a fourth aspect, an embodiment of the present application provides a positioning system, where the positioning system includes an electronic device, a server, and a display terminal;
the electronic device is the electronic device of the third aspect, and the electronic device is configured to obtain location information of a location where the electronic device is located, and send the location information to the server;
the server is used for receiving the position information and sending the position information to the display terminal;
and the display terminal is used for receiving and displaying the position information.
In the embodiment of the application, the mobile country code MCC information is identified from the first LAI information by acquiring the first location area identification code LAI information of the location where the card number switching device is located, and the currently working card number of the SIM card is set to be the card number corresponding to the MCC information, if the mobile country code MCC information cannot be identified, the currently working card number of the SIM card is switched to another non-working card number, the card number is automatically switched according to the MCC information, and the problem that the SIM card is inconvenient to replace when the user leaves or enters the environment is solved.
Drawings
For a clearer description of the technical solutions in the embodiments of the present application, the following description will be given with reference to the accompanying drawings, which are obvious to one skilled in the art only, and other drawings can be obtained according to the listed drawings without inventive effort.
Fig. 1 is a flowchart of a card number switching method provided in an embodiment of the present application;
fig. 2 is a schematic diagram of a card number switching device according to an embodiment of the present application;
FIG. 3 is a second schematic diagram of a card number switching device according to an embodiment of the present application;
FIG. 4 is a third schematic diagram of a card number switching device according to an embodiment of the present application;
FIG. 5 is a schematic diagram of a card number switching device according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a positioning system according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art without the exercise of inventive faculty, are intended to be within the scope of the application.
In a first aspect, an embodiment of the present application provides a card number switching method, which is executed by a card number switching device, where the card number switching device includes a Subscriber Identity Module (SIM) card, and the SIM card is provided with at least two card numbers, as shown in fig. 1, and the method includes:
step 101, obtaining first location area identification code LAI information of the location of the card number switching device;
102, if the mobile country code MCC information is identified from the first LAI information, setting the card number of the current operation of the SIM card as the card number corresponding to the MCC information;
step 103, if the current working card number of the SIM card is the first target card number, if the mobile country code MCC information cannot be identified from the first LAI information, switching the current working card number of the SIM card from the first target card number to a card number other than the first target card number of the at least two card numbers, where the first target card number is any one card number of the at least two card numbers.
It should be appreciated that the resources of the mobile country code (Mobile Country Code, MCC) are uniformly allocated and managed by the international union (ITU), uniquely identifying the country to which the mobile subscriber belongs, for a total of 3 digits, such as MCC information in china of 460. The SIM card is provided with at least two card numbers, and the SIM card can be a SIM card with one card and two numbers or a SIM card with one card and multiple numbers. The SIM card related to the embodiment of the application can be applied to terminals of the Internet of things, including but not limited to mobile phones, vehicles operated across the country and sharing bicycles.
Specifically, if the MCC information is identified from the first LAI information, comparing the MCC information with the MCC information in the MCC information table, determining the country where the card number switching device is located, and setting the card number of the current operation of the SIM card as the card number corresponding to the MCC information, where the card number corresponding to the MCC information is the card number of the country where the card number switching device is located.
The first target card number may be a card number in China or another country. The identifying of the MCC information from the first LAI information includes: obtaining first LAI information of the position of the card number switching device; the first LAI information of the position of the card number switching device is successfully obtained, but the MCC information cannot be identified.
In the following, by way of example, step 103 is further described in detail, when the SIM card user has a mobile area of both uk and france, the SIM card of "one card two-number" can be handled, one card number is in the uk, the other card number is in the france, and if the currently operating card number of the SIM card is the first target card number, for example, the uk card number, the mobile country code MCC information cannot be identified from the first LAI information, and the uk card number is switched to the card number other than the first target card number, that is, the france card number. Step 103 can avoid the situation that the mobile phone loses the signal without switching the number under the abnormal situation.
In the embodiment of the application, the mobile country code MCC information is identified from the first LAI information by acquiring the first location area identification code LAI information of the location where the card number switching device is located, and the currently working card number of the SIM card is set to be the card number corresponding to the MCC information, if the mobile country code MCC information cannot be identified, the currently working card number of the SIM card is switched to another non-working card number, the card number is automatically switched according to the MCC information, and the problem that the SIM card is inconvenient to replace when the user leaves or enters the environment is solved.
In addition, some people who need to frequently go on business in two countries usually transact a gate number in each of the two countries and use different gate numbers in different countries to save international roaming charges. The method provided by the embodiment of the application can be applied to the SIM card with one card and two numbers. The service of one card and double numbers refers to that two digital mobile phone numbers are opened on one SIM card, a user can select any number for communication through menu operation switching of the mobile phone, the communication requirements of the user for using different numbers at different times and different places are met, and a personalized communication mode is provided for the user. By applying the method of the embodiment of the application, for the user using one card with double numbers or multiple numbers, the numbers are automatically switched according to the geographic position, thereby not only facilitating the use of the mobile phone by the user, but also saving the communication charge.
Optionally, the method further comprises:
receiving an instruction input by a user;
and under the condition that the input instruction is matched with a preset instruction rule, switching the current working card number of the SIM card.
Specifically, the user input instruction may be input through a key, and the preset instruction rule may be that the user presses the key to switch the card number of the SIM card currently working to another card number. Through adding the function that the user switches the SIM card work card number through the instruction, can avoid under the unusual condition, the SIM card switches the card number malfunctioning, leads to user's communication interruption, the condition emergence of unable normal use SIM card. The specific implementation mode can be as follows: the card number switching device comprises a Long Term Evolution (LTE) module, and an instruction is integrated in the LTE module: after 00a4000C02DF20, 00a4000C02EFFC, 00D600000101, the user manually switches the card numbers by pressing a key.
Optionally, if the mobile country code MCC information is identified from the first LAI information, setting the card number of the current operation of the SIM card to be the card number corresponding to the MCC information, including:
if the current working card number of the SIM card is a second target card number, if MCC information is identified from the first LAI information and MCC information corresponding to the third target card number is detected in a first preset time period, switching the current working card number of the SIM card from the second target card number to the third target card number;
wherein the second target card number and the third target card number are different card numbers of the at least two card numbers.
It should be understood that the second target card number may be a card number in china, or may be a card number in another country, and the third target card number may be a card number in china, or may be a card number in another country, where the second target card number is different from the third target card number. The first preset duration may be set according to actual needs, for example, the first preset duration may be 5 minutes.
Embodiments of the present application will now be described in further detail, by way of example. When the movable range of the SIM card user is China and French, the SIM card with one card and two numbers can be handled, wherein one card number belongs to China, and the other card number belongs to French. If the current working card number of the SIM card is a second target card number, such as china, if MCC information is identified from the first LAI information and MCC information corresponding to the third target card number, such as france, is detected in the first preset duration, the current working card number of the SIM card is switched from the card number belonging to china to the card number belonging to france. By additionally arranging the limitation of the first preset duration, the situation that the user signal is poor due to frequent switching of the card number when the user moves in the border between China and French can be avoided. The specific implementation mode can be as follows: the card number switching device also comprises an SIM module, wherein the SIM module is connected with the LTE module, and a time parameter is added in switching logic of the SIM module. When the MCC information obtained by the network detection unit of the SIM module is consistent with the MCC information corresponding to the third target card number, and the MCC information is the MCC information corresponding to the third target card number in the first preset time period, the currently working card number of the SIM card is the third target card number, otherwise, the switching is not performed, and the currently working card number of the SIM card is still the second target card number.
Optionally, the obtaining the LAI information of the first location area identifier of the location where the card number switching device is located includes:
acquiring first LAI information of the position of the card number switching device according to a preset time interval;
if the mobile country code MCC information cannot be identified from the first LAI information, switching the current working card number of the SIM card from the first target card number to a card number other than the first target card number of the at least two card numbers, including:
if the mobile country code MCC information cannot be identified from the acquired first LAI information within the second preset time period, switching the currently working card number of the SIM card from the first target card number to a card number other than the first target card number in the at least two card numbers.
It should be understood that the preset time interval may be set according to actual needs, and may be set to 5s, and the second preset time period may also be set according to actual needs, for example, 3s. The specific implementation manner may be that the card number switching device further includes a counter, the counter counts once every 0.3s, and if the mobile country code MCC information cannot be identified for 10 consecutive times, the card number of the SIM card currently working is switched from the first target card number to a card number other than the first target card number in the at least two card numbers. And if the MCC information of the mobile country code cannot be identified after the switching, switching the currently working card number of the SIM card to the card number except the currently working card number in the at least two card numbers. By adding the second preset time length and switching the card number according to the second preset time length, the situation that the SIM card cannot be cut and the user loses the signal and cannot use due to the fact that the MCC information cannot be identified under abnormal conditions can be avoided.
In a second aspect, as shown in fig. 2, an embodiment of the present application provides a card number switching device 200, where the card number switching device 200 includes a Subscriber Identity Module (SIM) card, and the SIM card is provided with at least two card numbers, and the device 200 includes:
an obtaining module 201, configured to obtain LAI information of a first location area identifier of a location where the card number switching device is located;
a first setting module 202, configured to set, if mobile country code MCC information is identified from the first LAI information, a card number of the SIM card currently operating as a card number corresponding to the MCC information;
and the second setting module 203 is configured to switch, if the current working card number of the SIM card is the first target card number and the mobile country code MCC information cannot be identified from the first LAI information, the current working card number of the SIM card from the first target card number to a card number other than the first target card number of the at least two card numbers, where the first target card number is any one of the at least two card numbers.
Optionally, as shown in fig. 3, the apparatus 200 further includes:
a receiving module 204, configured to receive an instruction input by a user;
and a third setting module 205, configured to switch a card number of the current working SIM card when the input instruction matches with a preset instruction rule.
Optionally, as shown in fig. 4, the second setting module 203 includes:
a fourth setting unit 2031, configured to, if the current working card number of the SIM card is the second target card number, switch the current working card number of the SIM card from the second target card number to the third target card number if MCC information is identified from the first LAI information and MCC information corresponding to the third target card number is detected in a first preset duration;
wherein the second target card number and the third target card number are different card numbers of the at least two card numbers.
Optionally, as shown in fig. 5, the obtaining module 201 includes:
a first acquiring unit 2011, configured to acquire first LAI information of a location where the card number switching device is located according to a preset time interval;
the second setting module 203 includes:
a fifth setting unit 2032, configured to switch, if mobile country code MCC information cannot be identified from the acquired first LAI information within a second preset duration, a card number of the SIM card currently operating from the first target card number to a card number other than the first target card number of the at least two card numbers.
The card number switching device 200 provided in the embodiment of the present application can implement each process that can be implemented in the embodiment of the card number switching method according to the first aspect of the present application, so as to achieve the same beneficial effects, and for avoiding repetition, a detailed description is omitted herein.
In a third aspect, as shown in fig. 6, an embodiment of the present application provides an electronic device 300, where the electronic device 300 includes: a processor 301, a memory 302 and a computer program stored on and executable on said memory 302, the various components in the electronic device 300 being coupled together by a bus system 303. It is understood that the bus system 303 is used to enable connected communication between these components.
The processor 301 is configured to obtain LAI information of a first location area identifier of a location where the card number switching device is located;
if the mobile country code MCC information is identified from the first LAI information, setting the current working card number of the SIM card as the card number corresponding to the MCC information;
and under the condition that the currently working card number of the SIM card is a first target card number, if the mobile country code MCC information cannot be identified from the first LAI information, switching the currently working card number of the SIM card from the first target card number to a card number other than the first target card number in the at least two card numbers, wherein the first target card number is any one card number in the at least two card numbers.
Further, the processor 301 is further configured to receive an instruction input by a user;
and under the condition that the input instruction is matched with a preset instruction rule, switching the current working card number of the SIM card.
Further, the processor 301 is further configured to, if the current working card number of the SIM card is the second target card number, switch the current working card number of the SIM card from the second target card number to the third target card number if MCC information is identified from the first LAI information and MCC information corresponding to the third target card number is detected in the first preset duration;
wherein the second target card number and the third target card number are different card numbers of the at least two card numbers.
Further, the processor 301 is further configured to obtain, according to a preset time interval, first LAI information of a location where the card number switching device is located;
if the mobile country code MCC information cannot be identified from the acquired first LAI information within the second preset time period, switching the currently working card number of the SIM card from the first target card number to a card number other than the first target card number in the at least two card numbers.
The electronic device 300 provided in the embodiment of the present application can implement each process that can be implemented in the embodiment of the card number switching method according to the first aspect of the present application, so as to achieve the same beneficial effects, which are not described herein again.
In a fourth aspect, as shown in fig. 7, an embodiment of the present application provides a positioning system 400, where the positioning system 400 includes an electronic device 300, a server 401, and a display terminal 402;
the electronic device 300 is the electronic device of the third aspect, where the electronic device 300 is configured to obtain location information of a location where the electronic device is located, and send the location information to the server 401;
the server 401 is configured to receive the location information and send the location information to the display terminal 402;
the display terminal 402 is configured to receive and display the location information.
It should be understood that the electronic device 300 includes a power supply module, a SIM module, an LTE module, and a global positioning system GPS module, where the power supply module is connected to power supply terminals of the SIM module, the LTE module, and the GPS module, respectively, and provides electric energy for the SIM module, the LTE module, and the GPS module.
Specifically, the GPS module is configured to obtain specific location information of the location of the electronic device 300, for example, latitude and longitude information of the location of the electronic device. The output end of the LTE module is connected with the control end of the GPS module, and the LTE module controls the periodic opening and closing of the GPS module according to a preset rule so as to periodically acquire the position information of the electronic equipment 300. The output end of the GPS module is connected with the input end of the LTE, and the GPS module sends the acquired position information of the electronic equipment 300 to the LTE module. The SIM module is connected with SIM pins of the LTE module to realize that the SIM module provides networking capability for the LTE module. And the LTE module sends the position information acquired by the GPS module to a server through a wireless communication network. The server 401 receives the location information and transmits the location information to the presentation terminal 402, and the presentation terminal 402 receives and displays the location information. The display terminal 402 may be a mobile phone or a personal computer, and after receiving the location information, the current location or the historical track of the electronic device 300 may be displayed through an application program on the mobile phone or service software in the personal computer.
The LTE module of the embodiment of the application can adopt an LTE cat1 module, an LTE network is used, the service time of the communication network is longer, the LTE cat1 module supports an OpenCPU mode, and the controller function can be realized. Compared with other LTE modules, the power consumption is lower.
The SIM module in the embodiment of the application can adopt a 2mmX2mm patch card with the card body, and has high safety, strong stability and small occupied space.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are to be protected by the present application.

Claims (6)

1. A card number switching method, characterized by being executed by a card number switching device including a subscriber identity module, SIM, card provided with at least two card numbers, the method comprising:
acquiring first location area identification code LAI information of the location of the card number switching device;
if the mobile country code MCC information is identified from the first LAI information, setting the current working card number of the SIM card as the card number corresponding to the MCC information;
if the current working card number of the SIM card is a first target card number and the mobile country code MCC information cannot be identified from the first LAI information, switching the current working card number of the SIM card from the first target card number to a card number other than the first target card number in the at least two card numbers, wherein the first target card number is any one card number in the at least two card numbers;
the obtaining the first location area identifier LAI information of the location where the card number switching device is located includes:
acquiring first LAI information of the position of the card number switching device according to a preset time interval;
if the mobile country code MCC information cannot be identified from the first LAI information, switching the current working card number of the SIM card from the first target card number to a card number other than the first target card number of the at least two card numbers, including:
if the mobile country code MCC information cannot be identified from the acquired first LAI information within the second preset time period, switching the currently working card number of the SIM card from the first target card number to a card number other than the first target card number in the at least two card numbers.
2. The card number switching method according to claim 1, wherein the method further comprises:
receiving an instruction input by a user;
and under the condition that the input instruction is matched with a preset instruction rule, switching the current working card number of the SIM card.
3. A card number switching device, characterized in that the card number switching device comprises a subscriber identity module, SIM, card provided with at least two card numbers, the device comprising:
the acquisition module is used for acquiring first location area identification code (LAI) information of the location of the card number switching device;
the first setting module is used for setting the current working card number of the SIM card as the card number corresponding to the MCC information if the mobile country code MCC information is identified from the first LAI information;
the second setting module is configured to switch, if the current working card number of the SIM card is a first target card number and mobile country code MCC information cannot be identified from the first LAI information, the current working card number of the SIM card from the first target card number to a card number other than the first target card number of the at least two card numbers, where the first target card number is any one of the at least two card numbers;
the acquisition module comprises:
the first acquisition unit is used for acquiring first LAI information of the position of the card number switching device according to a preset time interval;
the second setting module includes:
and a fifth setting unit, configured to switch, if mobile country code MCC information cannot be identified from the obtained first LAI information within a second preset duration, a card number of the SIM card currently operating from the first target card number to a card number other than the first target card number of the at least two card numbers.
4. A card number switching apparatus as claimed in claim 3, further comprising:
the receiving module is used for receiving an instruction input by a user;
and the third setting module is used for switching the card number of the current work of the SIM card under the condition that the input instruction is matched with a preset instruction rule.
5. An electronic device comprising a processor, a memory, a computer program stored on the memory and executable on the processor, which when executed by the processor implements the steps of the card number switching method of any one of claims 1 to 2.
6. The positioning system is characterized by comprising electronic equipment, a server and a display terminal;
the electronic device is the electronic device according to claim 5, and the electronic device is configured to obtain location information of a location where the electronic device is located, and send the location information to the server;
the server is used for receiving the position information and sending the position information to the display terminal;
and the display terminal is used for receiving and displaying the position information.
CN202011409388.2A 2020-12-03 2020-12-03 Card number switching method and device, electronic equipment and positioning system Active CN114666782B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011409388.2A CN114666782B (en) 2020-12-03 2020-12-03 Card number switching method and device, electronic equipment and positioning system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011409388.2A CN114666782B (en) 2020-12-03 2020-12-03 Card number switching method and device, electronic equipment and positioning system

Publications (2)

Publication Number Publication Date
CN114666782A CN114666782A (en) 2022-06-24
CN114666782B true CN114666782B (en) 2023-12-12

Family

ID=82024738

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011409388.2A Active CN114666782B (en) 2020-12-03 2020-12-03 Card number switching method and device, electronic equipment and positioning system

Country Status (1)

Country Link
CN (1) CN114666782B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030008628A (en) * 2001-07-19 2003-01-29 엘지전자 주식회사 Method for Location Registration of Subscriber Subscribing for Other Mobile Communication Provider Network
CN102547624A (en) * 2010-12-07 2012-07-04 中国电信股份有限公司 Method, system and gateway for C2G international roaming user to switch international mobile subscriber identity (IMSI)
CN103379560A (en) * 2012-04-26 2013-10-30 深圳富泰宏精密工业有限公司 Automatic roaming number switching system and method
CN103648089A (en) * 2013-11-07 2014-03-19 北京奇虎科技有限公司 Anti-theft processing method and anti-theft processing device for mobile equipment
CN104754670A (en) * 2013-12-30 2015-07-01 中兴通讯股份有限公司 Network switching method and device for multimode card terminal
CN105682258A (en) * 2016-01-20 2016-06-15 广东欧珀移动通信有限公司 User identification card switching method and device
CN106604258A (en) * 2016-12-20 2017-04-26 深圳市优克联新技术有限公司 User identity identification card switching method and apparatus
CN107148062A (en) * 2017-05-27 2017-09-08 上海与德科技有限公司 A kind of double card switching method and device
CN107302757A (en) * 2017-06-26 2017-10-27 上海与德科技有限公司 The method of calling and device of emergency numbers
CN107613099A (en) * 2017-08-28 2018-01-19 上海传英信息技术有限公司 Load the method and device of emergency numbers
CN111050323A (en) * 2019-11-28 2020-04-21 中国联合网络通信集团有限公司 Terminal switching method, device and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
ES2557027T3 (en) * 2010-06-25 2016-01-21 Gemalto Sa Automatic IMSI change for international roaming

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030008628A (en) * 2001-07-19 2003-01-29 엘지전자 주식회사 Method for Location Registration of Subscriber Subscribing for Other Mobile Communication Provider Network
CN102547624A (en) * 2010-12-07 2012-07-04 中国电信股份有限公司 Method, system and gateway for C2G international roaming user to switch international mobile subscriber identity (IMSI)
CN103379560A (en) * 2012-04-26 2013-10-30 深圳富泰宏精密工业有限公司 Automatic roaming number switching system and method
CN103648089A (en) * 2013-11-07 2014-03-19 北京奇虎科技有限公司 Anti-theft processing method and anti-theft processing device for mobile equipment
CN104754670A (en) * 2013-12-30 2015-07-01 中兴通讯股份有限公司 Network switching method and device for multimode card terminal
CN105682258A (en) * 2016-01-20 2016-06-15 广东欧珀移动通信有限公司 User identification card switching method and device
CN106604258A (en) * 2016-12-20 2017-04-26 深圳市优克联新技术有限公司 User identity identification card switching method and apparatus
CN107148062A (en) * 2017-05-27 2017-09-08 上海与德科技有限公司 A kind of double card switching method and device
CN107302757A (en) * 2017-06-26 2017-10-27 上海与德科技有限公司 The method of calling and device of emergency numbers
CN107613099A (en) * 2017-08-28 2018-01-19 上海传英信息技术有限公司 Load the method and device of emergency numbers
CN111050323A (en) * 2019-11-28 2020-04-21 中国联合网络通信集团有限公司 Terminal switching method, device and system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
R Adityan ; et al.3G Intra circle roaming implementation techniques.《2014 IEEE International Conference on Computational Intelligence and Computing Research》.2014,全文. *
SIM技术体系和业务研究;刘楠;《中国优秀硕士学位论文辑》;全文 *

Also Published As

Publication number Publication date
CN114666782A (en) 2022-06-24

Similar Documents

Publication Publication Date Title
CN105307228B (en) A kind of method for switching network of mobile terminal, device and mobile terminal
CN105338178A (en) Communication method and device based on dual-card dual-standby single-communication terminal
CN106714140B (en) Communication method and mobile terminal
US20080200169A1 (en) Method of scanning for a network using a preferred radio access technology
CN110313201B (en) Paging method and device
CN105101135A (en) Method and device for processing emergency call of communication terminal
US10609649B2 (en) Method and device for reducing power consumption of terminal, and smart card
CN105916131B (en) Access control method and device
CN110234176B (en) Method and device for dynamic association of double-card mobile terminal
CN110730484B (en) Double-card 4G multi-mode mobile terminal and implementation method thereof
CN112673659A (en) Method and electronic device for automatically switching between multiple profiles in an ESIM
EP3244667B1 (en) Call supplementary service configuration synchronization method, apparatus and system
CN104135556A (en) Call method and call device based on mobile terminal
CN106028368B (en) Based on mostly to the station information response method and system of single-pass terminal
CN103581889A (en) Method and system for automatically updating network configuration parameters
EP2685780B1 (en) Mobile phone and data processing method therefor
CN110972125A (en) Calling method, device, storage medium and terminal
CN101299846A (en) Automatic IP dialing method
CN105282293A (en) Dialing method, dialing device and dialing terminal
CN103702316A (en) Method and system for sharing behavior state information and location information of user
CN104219373A (en) Dual-mode cell phone, and system and method for controlling communication of dual-mode cell phone
CN104639752A (en) Incoming call and outgoing call processing and communication method, terminal equipment and communication system
CN114666782B (en) Card number switching method and device, electronic equipment and positioning system
CN105979552B (en) Method and system for using manual PLMN selection mode
CN107396435A (en) Radio circuit control method, mobile terminal and computer-readable recording medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant