CN114666782A - 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 PDFInfo
- Publication number
- CN114666782A CN114666782A CN202011409388.2A CN202011409388A CN114666782A CN 114666782 A CN114666782 A CN 114666782A CN 202011409388 A CN202011409388 A CN 202011409388A CN 114666782 A CN114666782 A CN 114666782A
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 35
- 238000004590 computer program Methods 0.000 claims description 5
- 238000004891 communication Methods 0.000 description 9
- 238000010586 diagram Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 5
- 230000002159 abnormal effect Effects 0.000 description 3
- 238000010295 mobile communication Methods 0.000 description 3
- 101100494773 Caenorhabditis elegans ctl-2 gene Proteins 0.000 description 2
- 101100112369 Fasciola hepatica Cat-1 gene Proteins 0.000 description 2
- 101100005271 Neurospora crassa (strain ATCC 24698 / 74-OR23-1A / CBS 708.71 / DSM 1257 / FGSC 987) cat-1 gene Proteins 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- RWSOTUBLDIXVET-UHFFFAOYSA-N Dihydrogen sulfide Chemical compound S RWSOTUBLDIXVET-UHFFFAOYSA-N 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/06—Authentication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/18—Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
- H04W8/20—Transfer of user or subscriber data
- H04W8/205—Transfer 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 card number switching device, electronic equipment and a positioning system, wherein the method comprises the steps of obtaining first location area identification code LAI information of the position of the card number switching device; if the mobile country code MCC information is identified from the first LAI information, setting the card number of the SIM card working currently as the card number corresponding to the MCC information; if the mobile country code MCC information can not be identified from the first LAI information, 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 embodiment of the application, the first LAI information is acquired, the MCC information of the mobile country code is identified from the first LAI information, the card number is automatically switched according to the MCC information, and the SIM card does not need to be manually replaced when a user goes out of/enters the border, so that the problem that the SIM card is inconvenient to replace when the user goes out of/enters the border in the prior art is solved.
Description
Technical Field
The present application relates to the field of mobile communications, and in particular, to a method and a system for automatically switching an SIM card.
Background
The Global System for Mobile Communications (GSM), 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, the investors were adopted by more than 100 countries worldwide. The ubiquity of the GSM standard makes international roaming of users commonplace after signing a "roaming agreement" between mobile phone operators. The signed roaming agreement makes the user use one mobile phone to go around the world, but has the problem of higher communication cost. Therefore, the user still adopts the scheme of replacing the SIM card when the user leaves/enters the house, and the operation is inconvenient, that is, in the prior art, the user has the problem that the SIM card is inconvenient to replace when the user leaves/enters the house.
Disclosure of Invention
The embodiment of the application provides an automatic SIM card switching method and system, and solves the problem that in the prior art, a user has high communication cost when using different numbers in different places.
In order to achieve the above object, 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 configured 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 mobile country code MCC information is identified from the first LAI information, setting the card number of the SIM card currently working 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 of the at least two card numbers.
Optionally, the method further includes:
receiving an instruction input by a user;
and switching the card number of the SIM card which works currently under the condition that the input instruction is matched with a preset instruction rule.
Optionally, if the mobile country code MCC information is identified from the first LAI information, setting the card number of the SIM card currently operating as the card number corresponding to the MCC information, including:
under the condition that the currently working card number of the SIM card is a second target card number, if MCC information is identified from the first LAI information and the MCC information is detected to be MCC information corresponding to a third target card number within a first preset time length, switching the currently 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 ones of the at least two card numbers.
Optionally, the obtaining the first location area identity LAI information of the location of the card number switching device 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 card number of the SIM card currently working 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:
and if the mobile country code MCC information cannot be identified from the acquired first LAI information within a second preset time length, switching the card number of the SIM card currently working 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 apparatus, where the card number switching apparatus includes a subscriber identity module SIM card, where the SIM card is provided with at least two card numbers, and the apparatus includes:
the acquisition module is used for acquiring the LAI information of the first position area identification code of the position of the card number switching device;
a first setting module, configured to set a card number of the SIM card currently operating as a card number corresponding to MCC information if mobile country code MCC information is identified from the first LAI information;
the second setting module is configured to, when the currently operating card number of the SIM card is a first target card number, switch the currently operating 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 if the mobile country code MCC information cannot be identified from the first LAI information, where the first target card number is any one of the at least two card numbers.
Optionally, the apparatus further comprises:
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 SIM card currently working 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, when the currently operating card number of the SIM card is a second target card number, switch the currently operating card number of the SIM card from the second target card number to a third target card number if MCC information is identified from the first LAI information and it is detected that the MCC information in a first preset duration is MCC information corresponding to the third target card number;
wherein the second target card number and the third target card number are different ones of the at least two card numbers.
Optionally, the obtaining module includes:
the first obtaining unit is used for obtaining first LAI information of the position of the card number switching device according to a preset time interval;
the second setting module includes:
a fifth setting unit, configured to switch a card number in which the SIM card currently operates from the first target card number to a card number other than the first target card number of the at least two card numbers if the mobile country code MCC information cannot be identified from the obtained first LAI information within a second preset time duration.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a computer program stored in the memory and executable on the processor, and when executed by the processor, the computer program implements 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 in 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 LAI information of the first location area identification code of the location of the card number switching device is obtained, the MCC information of the mobile country code is identified from the first LAI information, the card number of the current work of the SIM card is set to be the card number corresponding to the MCC information, if the MCC information of the mobile country code cannot be identified, the card number of the current work of the SIM card is switched to another card number which does not work, the card number is automatically switched according to the MCC information, a user does not need to manually replace the SIM card when the user leaves/enters the border, and the problem that the user is inconvenient to replace the SIM card when the user leaves/enters the border in the prior art is solved.
Drawings
For a clear explanation of the technical solutions in the embodiments of the present application, the drawings of the specification are described below, it is obvious that the following drawings are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the listed drawings without any inventive effort.
Fig. 1 is a flow chart of a card number switching method according to an embodiment of the present disclosure;
fig. 2 is a schematic structural diagram of a card number switching device according to an embodiment of the present disclosure;
fig. 3 is a second schematic structural diagram of a card number switching device according to an embodiment of the present application;
fig. 4 is a third schematic structural diagram of a card number switching device according to an embodiment of the present application;
fig. 5 is a fourth schematic structural 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 provided in 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 technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. On the basis of the embodiments in the present application, all other embodiments obtained by a person of ordinary skill in the art without any creative effort belong to the protection scope of the present 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, where the SIM card is provided with at least two card numbers, as shown in fig. 1, and the method includes:
It should be understood that the resources of the Mobile Country Code (MCC) are uniformly allocated and managed by the International Telecommunications Union (ITU), and uniquely identify the Country to which the Mobile subscriber belongs, which is 3 digits, for example, the MCC information of china is 460. The SIM card is provided with at least two card numbers, and the SIM card can be a one-card double-number SIM card or a one-card multi-number SIM card. 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 shared bicycles.
Specifically, if the MCC information is identified from the first LAI information, the MCC information is compared with MCC information in an MCC information table to determine a country to which the card number switching device is located, and the currently-operating card number of the SIM card is set 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 to which the card number switching device is located.
The first target card number can be a card number of China or a card number of other countries. Identifying the case where the MCC information is not available from the first LAI information includes: the first LAI information of the position of the card number switching device is not acquired successfully; the first LAI information of the position of the card number switching device is successfully acquired, but the MCC information cannot be identified.
As will be described in further detail below with reference to step 103, by way of example, when the range of the SIM card user activity is british and french, a "one-card-two-number" SIM card may be handled, where one card number is attributed to british and the other card number is france, and in a case where the card number currently operated by the SIM card is a first target card number, for example, a british card number, if the MCC information of the mobile country code cannot be identified from the first LAI information, the british card number is switched to a card number other than the first target card number, that is, a france card number. Step 103 can avoid the situation that the mobile phone loses signals without switching numbers under an abnormal condition.
In the embodiment of the application, the LAI information of the first location area identification code of the location of the card number switching device is obtained, the MCC information of the mobile country code is identified from the first LAI information, the card number of the current work of the SIM card is set to be the card number corresponding to the MCC information, if the MCC information of the mobile country code cannot be identified, the card number of the current work of the SIM card is switched to another card number which does not work, the card number is automatically switched according to the MCC information, a user does not need to manually replace the SIM card when the user leaves/enters the border, and the problem that the user is inconvenient to replace the SIM card when the user leaves/enters the border in the prior art is solved.
In addition, some working people who need to go out of two countries frequently transact one door number in each country, and use different door numbers in different countries to save international roaming cost. The method provided by the embodiment of the application can be applied to the SIM card with one card and two numbers. The one-card-two-number service is that two digital mobile phone numbers are opened on one SIM card, and a user can select any one of the numbers to carry out conversation by switching through the menu operation of the mobile phone, so that the communication requirements of the user for using different numbers at different time 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, the number of the user using one card with two or more numbers is automatically switched according to the geographical position, so that the user can use the mobile phone more conveniently, and the communication charge is saved.
Optionally, the method further includes:
receiving an instruction input by a user;
and switching the card number of the SIM card which works currently under the condition that the input instruction is matched with a preset instruction rule.
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 operating to another card number. By additionally arranging the function of switching the working card number of the SIM card through an instruction, the situation that the SIM card is not switched to cause user communication interruption and cannot normally use the SIM card under the abnormal condition can be avoided. The specific implementation mode can be as follows: the card number switching device comprises a Long Term Evolution (LTE) module, and instructions are integrated in the LTE module: 00a4000C02DF20, 00a4000C02EFFC, 00D600000101, the user manually switches the card number by pressing a button.
Optionally, if the mobile country code MCC information is identified from the first LAI information, setting the card number of the SIM card currently operating as the card number corresponding to the MCC information, including:
under the condition that the currently working card number of the SIM card is a second target card number, if MCC information is identified from the first LAI information and the MCC information corresponding to the third target card number is detected within a first preset time length, switching the currently 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 ones of the at least two card numbers.
It should be understood that the second target card number may be a card number of China, or a card number of another country, and the third target card number may be a card number of China, or a card number of another country, where the second target card number is different from the third target card number. The first preset time period may be set according to actual needs, for example, the first preset time period may be 5 minutes.
The following further describes the embodiments of the present application by way of example. When the user activity range of the SIM card is both China and French, the SIM card with one card and two numbers can be handled, wherein the attribution of one card number is China and the attribution of the other card number is France. And under the condition that the currently 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 the MCC information corresponding to a third target card number, such as France, is detected within a first preset time period, switching the currently working card number of the SIM card from the card number with the country of attachment being China to the card number with the country of attachment being France. By additionally arranging the limit of the first preset time length, the situation that the signal of the user is not good due to frequent switching of the card number when the user moves in the border of China and the French can be avoided. The specific implementation mode can be as follows: the card number switching device also comprises an SIM module, the SIM module is connected with the LTE module, and a time parameter is added in the switching logic of the SIM module. And when the MCC information acquired 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 length, the currently working card number of the SIM card is the third target card number, otherwise, the SIM card is not switched, and the currently working card number of the SIM card is still the second target card number.
Optionally, the obtaining the first location area identity LAI information of the location of the card number switching device 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 card number of the SIM card currently working 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:
and if the mobile country code MCC information cannot be identified from the acquired first LAI information within a second preset time length, switching the card number of the SIM card currently working 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 can be set according to actual needs, and can be set to 5s, and the second preset time period can also be set according to actual needs, such as 3 s. 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 currently working on the SIM card is switched from the first target card number to a card number other than the first target card number of the at least two card numbers. And if the mobile country code MCC information can not be identified after switching, switching the card number of the SIM card which works currently into the card number except for the currently working card number of the at least two card numbers. By additionally arranging 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 switched to the number and the user loses signals and cannot use the SIM card due to the fact that MCC information cannot be identified under the abnormal condition can be avoided.
In a second aspect, as shown in fig. 2, an embodiment of the present application provides a card number switching apparatus 200, where the card number switching apparatus 200 includes a subscriber identity module SIM card, where the SIM card is configured with at least two card numbers, and the apparatus 200 includes:
an obtaining module 201, configured to obtain first location area identity LAI information of a location where the card number switching device is located;
a first setting module 202, configured to set a card number of the SIM card currently operating as a card number corresponding to MCC information if mobile country code MCC information is identified from the first LAI information;
a second setting module 203, configured to, if the currently operating card number of the SIM card is the first target card number, switch the currently operating 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 if the mobile country code MCC information cannot be identified from the first LAI information, 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;
a third setting module 205, configured to switch the card number of the SIM card currently operating when the input instruction matches a preset instruction rule.
Optionally, as shown in fig. 4, the second setting module 203 includes:
a fourth setting unit 2031, configured to, if MCC information is identified from the first LAI information and it is detected that the MCC information corresponds to the third target card number within a first preset duration, switch the card number of the SIM card currently operating from the second target card number to the third target card number when the card number of the SIM card currently operating is the second target card number;
wherein the second target card number and the third target card number are different ones of the at least two card numbers.
Optionally, as shown in fig. 5, the obtaining module 201 includes:
a first obtaining unit 2011, configured to obtain 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 the mobile country code MCC information cannot be identified from the obtained first LAI information within a second preset time duration, the card number currently operating on 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.
The card number switching device 200 provided in this embodiment of the present application can implement each process that can be implemented in the card number switching method embodiment described in the first aspect of the present application, so as to achieve the same beneficial effects, and for avoiding repetition, details are not described here again.
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 will be appreciated that the bus system 303 is used to enable communications among the components.
The processor 301 is configured to obtain first Location Area Identity (LAI) information of a location of the card number switching device;
if mobile country code MCC information is identified from the first LAI information, setting the card number of the SIM card currently working 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 of the at least two card numbers.
Further, the processor 301 is further configured to receive an instruction input by a user;
and switching the card number of the SIM card which works currently under the condition that the input instruction is matched with a preset instruction rule.
Further, the processor 301 is further configured to, when the card number of the SIM card currently operating is a second target card number, switch the card number of the SIM card currently operating from the second target card number to a third target card number if MCC information is identified from the first LAI information and it is detected that the MCC information in a first preset duration is MCC information corresponding to the third target card number;
wherein the second target card number and the third target card number are different ones of the at least two card numbers.
Further, the processor 301 is further configured to obtain first LAI information of a location where the card number switching device is located according to a preset time interval;
and if the mobile country code MCC information cannot be identified from the acquired first LAI information within a second preset time length, switching the card number of the SIM card currently working 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 this embodiment of the present application can implement each process that can be implemented in the card number switching method embodiment described in the first aspect of the present application, so as to achieve the same beneficial effects, and details are not repeated here.
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 according to the third aspect, and 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 GPS module, and the power supply module is connected to power supply terminals of the SIM module, the LTE module, and the GPS module, respectively, to provide 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, longitude and latitude 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 GPS module to be periodically turned on and off according to a preset rule, so as to periodically acquire the location information of the electronic device 300. The output end of the GPS module is connected with the LTE input end, and the GPS module sends the acquired position information of the electronic device 300 to the LTE module. The SIM module is connected with a SIM pin 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 position information and sends the position information to the display terminal 402, and the display terminal 402 receives and displays the position 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 available time of the communication network is longer, and the LTE cat1 module supports an OpenCPU mode and can realize the function of a controller. Compared with other LTE modules, the power consumption is lower.
The card in the SIM module in the embodiment of the application can adopt a patch card with a card body of 2mmX2mm, 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 an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.
Claims (10)
1. A card number switching method is executed by a card number switching device, the card number switching device comprises a Subscriber Identity Module (SIM) card, the SIM card is provided with at least two card numbers, and the method comprises the following steps:
acquiring first location area identification code LAI information of the location of the card number switching device;
if mobile country code MCC information is identified from the first LAI information, setting the card number of the SIM card currently working 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 of the at least two card numbers.
2. The card number switching method according to claim 1, characterized in that the method further comprises:
receiving an instruction input by a user;
and switching the card number of the SIM card which works currently under the condition that the input instruction is matched with a preset instruction rule.
3. The method of claim 1, wherein if MCC information of a mobile country code is identified from the first LAI information, setting a card number of a current operation of the SIM card as a card number corresponding to the MCC information comprises:
under the condition that the currently working card number of the SIM card is a second target card number, if MCC information is identified from the first LAI information and the MCC information corresponding to the third target card number is detected within a first preset time length, switching the currently 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 ones of the at least two card numbers.
4. The card number switching method according to claim 1, wherein the acquiring the LAI information of the first location area identifier of the location of the card number switching device comprises:
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 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, including:
and if the mobile country code MCC information cannot be identified from the acquired first LAI information within a second preset time length, switching the card number of the SIM card currently working from the first target card number to a card number other than the first target card number in the at least two card numbers.
5. The utility model provides a card number auto-change over device, its characterized in that, card number auto-change over device includes subscriber identification card SIM card, the SIM card is provided with two at least card numbers, the device includes:
the acquisition module is used for acquiring the LAI information of the first position area identification code of the position of the card number switching device;
a first setting module, configured to set a card number of the SIM card currently operating as a card number corresponding to MCC information if mobile country code MCC information is identified from the first LAI information;
the second setting module is configured to, if the currently operating card number of the SIM card is the first target card number, switch the currently operating 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 if the mobile country code MCC information cannot be identified from the first LAI information, where the first target card number is any one of the at least two card numbers.
6. The card number switching device of claim 5, wherein the device further comprises:
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 SIM card currently working under the condition that the input instruction is matched with a preset instruction rule.
7. The automatic SIM card switching apparatus according to claim 5, wherein the second setting module comprises:
a fourth setting unit, configured to, when the currently operating card number of the SIM card is a second target card number, switch the currently operating card number of the SIM card from the second target card number to a third target card number if MCC information is identified from the first LAI information and it is detected that the MCC information in a first preset duration is MCC information corresponding to the third target card number;
wherein the second target card number and the third target card number are different ones of the at least two card numbers.
8. The card number switching device of claim 5, wherein the acquiring module comprises:
the first obtaining unit is used for obtaining first LAI information of the position of the card number switching device according to a preset time interval;
the second setting module includes:
a fifth setting unit, configured to switch, if the mobile country code MCC information cannot be identified from the obtained first LAI information within a second preset time duration, the 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.
9. An electronic device comprising a processor, a memory, a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps in the card number switching method according to any one of claims 1 to 4.
10. A positioning system is characterized by comprising electronic equipment, a server and a display terminal;
the electronic device is the electronic device of claim 9, 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.
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 true CN114666782A (en) | 2022-06-24 |
CN114666782B 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 (12)
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) |
US20130102306A1 (en) * | 2010-06-25 | 2013-04-25 | Gemalto Sa | Auto imsi switch for international roaming |
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 |
-
2020
- 2020-12-03 CN CN202011409388.2A patent/CN114666782B/en active Active
Patent Citations (12)
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 |
US20130102306A1 (en) * | 2010-06-25 | 2013-04-25 | Gemalto Sa | Auto imsi switch for international roaming |
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)
Title |
---|
R ADITYAN;ET AL: "3G Intra circle roaming implementation techniques", 《2014 IEEE INTERNATIONAL CONFERENCE ON COMPUTATIONAL INTELLIGENCE AND COMPUTING RESEARCH》 * |
刘楠: "SIM技术体系和业务研究", 《中国优秀硕士学位论文辑》 * |
Also Published As
Publication number | Publication date |
---|---|
CN114666782B (en) | 2023-12-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9253813B2 (en) | Mobile communication device and communication management method thereof | |
CN105338178A (en) | Communication method and device based on dual-card dual-standby single-communication terminal | |
CN102938895B (en) | Radio communication device and method | |
CN106714140B (en) | Communication method and mobile terminal | |
CN105916131B (en) | Access control method and device | |
CN110401943A (en) | A kind of mobile terminal stays network method, device, server and storage medium | |
CN103945500A (en) | Selection access method and apparatus based on multi-standard networks | |
CN110602764A (en) | Network searching method, device, storage medium and terminal | |
CN105101135A (en) | Method and device for processing emergency call of communication terminal | |
CN106888495B (en) | Network access method and terminal | |
CN110234176B (en) | Method and device for dynamic association of double-card mobile terminal | |
CN104135556A (en) | Call method and call device based on mobile terminal | |
CN108616869A (en) | Multi-card multi-standby system, method, apparatus, computer installation and computer readable storage medium | |
CN102892101A (en) | Method and system for realizing intelligent roaming services | |
EP2685780B1 (en) | Mobile phone and data processing method therefor | |
CN108605223B (en) | Method and terminal for acquiring time and time zone | |
CN105657663A (en) | Network switching method and device | |
CN107396435B (en) | Radio circuit control method, mobile terminal and computer readable storage medium | |
CN104349426A (en) | Method and device for establishing conversation connection | |
CN110677842A (en) | Network searching method, device, terminal equipment and storage medium | |
CN107708108B (en) | Information processing method, information processing device, computer-readable storage medium and computer equipment | |
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 | |
CN102014457A (en) | Mobile communication system, and automatic network-selecting method for mobile terminal | |
CN114666782A (en) | Card number switching method and device, electronic equipment and positioning system |
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 |