[go: up one dir, main page]

CN103167476A - A method and device for dynamically switching between multiple SIM cards in a mobile terminal - Google Patents

A method and device for dynamically switching between multiple SIM cards in a mobile terminal Download PDF

Info

Publication number
CN103167476A
CN103167476A CN2013100788922A CN201310078892A CN103167476A CN 103167476 A CN103167476 A CN 103167476A CN 2013100788922 A CN2013100788922 A CN 2013100788922A CN 201310078892 A CN201310078892 A CN 201310078892A CN 103167476 A CN103167476 A CN 103167476A
Authority
CN
China
Prior art keywords
sim card
mobile terminal
multiple sim
location information
current
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.)
Pending
Application number
CN2013100788922A
Other languages
Chinese (zh)
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN2013100788922A priority Critical patent/CN103167476A/en
Publication of CN103167476A publication Critical patent/CN103167476A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本发明公开了一种移动终端多张SIM卡之间动态切换的方法及装置。所述方法包括:设置与所述多张SIM卡中的每一张SIM卡相对应的地理区域;获取所述移动终端的当前位置信息;根据所述移动终端的当前位置信息,确定所述移动终端所处的当前地理区域,并判断当前地理区域是否与当前使用的SIM卡相对应;如果所述判断为是,不进行SIM卡的切换,如果所述判断为否,将所述多张SIM卡中的一张与所述当前地理区域相对应的SIM卡设为当前使用的SIM卡。本发明实现了移动终端通过判断位置信息动态切换默认SIM卡,避免了用户手动切换默认SIM卡的不便,改善了用户体验,同时节省了用户来不及手动切换默认SIM卡而产生的漫游费用。

Figure 201310078892

The present invention discloses a method and device for dynamically switching between multiple SIM cards of a mobile terminal. The method comprises: setting a geographical area corresponding to each of the multiple SIM cards; obtaining the current location information of the mobile terminal; determining the current geographical area where the mobile terminal is located according to the current location information of the mobile terminal, and judging whether the current geographical area corresponds to the currently used SIM card; if the judgment is yes, no SIM card switching is performed, and if the judgment is no, one of the multiple SIM cards corresponding to the current geographical area is set as the currently used SIM card. The present invention enables the mobile terminal to dynamically switch the default SIM card by judging the location information, avoiding the inconvenience of the user manually switching the default SIM card, improving the user experience, and saving the roaming charges generated by the user not having time to manually switch the default SIM card.

Figure 201310078892

Description

一种在移动终端多张SIM卡之间动态切换的方法及装置A method and device for dynamically switching between multiple SIM cards in a mobile terminal

技术领域technical field

本发明涉及移动通信技术领域,尤其涉及一种在移动终端多张SIM卡之间动态切换的方法及装置。The invention relates to the technical field of mobile communication, in particular to a method and a device for dynamically switching among multiple SIM cards of a mobile terminal.

背景技术Background technique

SIM卡是用户识别(Subscriber Identification Module Card)卡的简称,用户通过将SIM卡插入移动终端后,得以成为网络的注册使用者,而享受网络提供的各种服务。目前市面上的移动电话大部分为单一SIM卡,但有很多用户拥有一个以上的SIM卡,往往需要换卡才可以使用,相当不便。SIM card is the abbreviation of Subscriber Identification Module Card. After inserting the SIM card into the mobile terminal, the user can become a registered user of the network and enjoy various services provided by the network. Most of the mobile phones currently on the market have a single SIM card, but many users have more than one SIM card, and often need to change the SIM card before they can be used, which is quite inconvenient.

随着无线移动通信产业的迅速发展,移动通讯产品已经成为人们日常工作、生活的必备品。移动电话用户数不断增加,普及率也越来越高,一个用户同时拥有两张以上SIM卡的情形也越来越多。但是频繁的更换SIM卡或携带两部手机都非常麻烦,于是商家开发出了双卡双待的手机。目前支持双卡双待的手机,用户需要在设置里面设置一个默认SIM卡,用以默认执行电话、短信和数据网络等主动操作,但是,日常使用中手动切换默认SIM卡往往不能满足用户的需求。例如:用户在深圳上班但家在东莞,拥有2张SIM卡(一张东莞一张深圳的),此时用户希望在东莞的时候优先使用东莞的卡进行电话、短信以及数据网络等操作,反之在深圳的时候优先使用深圳的卡进行相关操作。但是,日常使用中手动切换给用户造成不便,或者没有及时更改将增加用户使用手机的费用,不能满足用户的需求。With the rapid development of the wireless mobile communication industry, mobile communication products have become a must for people's daily work and life. The number of mobile phone users continues to increase, and the penetration rate is also getting higher and higher, and there are more and more situations where a user has more than two SIM cards at the same time. However, frequent replacement of SIM cards or carrying two mobile phones is very troublesome, so merchants have developed dual-card dual-standby mobile phones. Currently, for mobile phones that support dual-card dual-standby, users need to set a default SIM card in the settings to perform active operations such as calls, text messages, and data networks by default. However, manual switching of the default SIM card in daily use often cannot meet the needs of users . For example: the user works in Shenzhen but lives in Dongguan and has two SIM cards (one in Dongguan and one in Shenzhen). At this time, the user wants to use the Dongguan card first for phone calls, SMS and data network operations when in Dongguan, and vice versa. When you are in Shenzhen, you should give priority to using the Shenzhen card for related operations. However, manual switching in daily use will cause inconvenience to the user, or if it is not changed in time, it will increase the cost of using the mobile phone for the user, which cannot meet the needs of the user.

发明内容Contents of the invention

本发明的目的在于通过一种在移动终端多张SIM卡之间动态切换的方法及装置,通过对位置信息的判断而动态地切换默认SIM卡,来解决以上背景技术部分提到的问题。The purpose of the present invention is to solve the problems mentioned in the background technology section above through a method and device for dynamically switching between multiple SIM cards in a mobile terminal, and dynamically switch the default SIM card by judging the location information.

为达此目的,本发明采用以下技术方案:For reaching this purpose, the present invention adopts following technical scheme:

一种在移动终端多张SIM卡之间动态切换的方法,其特征在于,所述方法包括:A method for dynamically switching between multiple SIM cards in a mobile terminal, characterized in that the method comprises:

设置与所述多张SIM卡中的每一张SIM卡相对应的地理区域;setting a geographical area corresponding to each SIM card in the plurality of SIM cards;

获取所述移动终端的当前位置信息;Obtaining the current location information of the mobile terminal;

根据所述移动终端的当前位置信息,确定所述移动终端所处的当前地理区域,并判断当前地理区域是否与当前使用的SIM卡相对应;According to the current location information of the mobile terminal, determine the current geographical area where the mobile terminal is located, and determine whether the current geographical area corresponds to the currently used SIM card;

如果所述判断为是,不进行SIM卡的切换,如果所述判断为否,将所述多张SIM卡中与所述当前地理区域相对应的SIM卡设为当前使用的SIM卡。If the judgment is yes, the SIM card is not switched; if the judgment is no, the SIM card corresponding to the current geographical area among the plurality of SIM cards is set as the currently used SIM card.

进一步地,所述多张SIM卡中SIM卡的数目为2。Further, the number of SIM cards in the plurality of SIM cards is 2.

进一步地,所述与所述多张SIM卡中的每一张SIM卡相对应的地理区域由一组经纬度坐标来限定,并将所述经纬度坐标存储至数据库中。Further, the geographical area corresponding to each of the multiple SIM cards is defined by a set of latitude and longitude coordinates, and the latitude and longitude coordinates are stored in a database.

进一步地,所述获取移动终端的当前位置信息包括:所述移动终端在工作状态下每30秒更新一次位置信息。Further, the acquiring the current location information of the mobile terminal includes: updating the location information of the mobile terminal every 30 seconds in the working state.

进一步地,所述获取移动终端的当前位置信息还包括:所述移动终端在待机状态下每3-5分钟更新一次位置信息。Further, the acquiring the current location information of the mobile terminal further includes: updating the location information of the mobile terminal every 3-5 minutes in the standby state.

进一步地,所述获取移动终端的当前位置信息还包括:所述移动终端在待机状态下不更新位置信息。Further, the acquiring the current location information of the mobile terminal further includes: the mobile terminal does not update the location information in the standby state.

对应地,本发明还提出了一种在移动终端多张SIM卡之间动态切换的装置,所述装置包括:Correspondingly, the present invention also proposes a device for dynamically switching among multiple SIM cards of a mobile terminal, the device comprising:

设置模块,设置与所述多张SIM卡中的每一张SIM卡相对应的地理区域;A setting module is configured to set a geographical area corresponding to each SIM card in the plurality of SIM cards;

位置监控模块,用于获取移动终端的当前位置信息;The location monitoring module is used to obtain the current location information of the mobile terminal;

判断模块,用于根据所述移动终端的当前位置信息,确定所述移动终端所处的当前地理区域,并判断当前地理区域是否与当前使用的SIM卡相对应;A judging module, configured to determine the current geographical area where the mobile terminal is located according to the current location information of the mobile terminal, and determine whether the current geographical area corresponds to the currently used SIM card;

SIM卡切换模块,用于将所述多张SIM卡中与所述当前地理区域相对应的SIM卡设为当前使用的SIM卡。The SIM card switching module is configured to set the SIM card corresponding to the current geographical area among the plurality of SIM cards as the currently used SIM card.

进一步地,所述多张SIM卡中SIM卡的数目为2。Further, the number of SIM cards in the plurality of SIM cards is 2.

进一步地,所述设置模块设置的与所述每一张SIM卡相对应的地理区域由一组经纬度坐标来限定,并将所述经纬度坐标存储至数据库中。Further, the geographical area corresponding to each SIM card set by the setting module is defined by a set of latitude and longitude coordinates, and the latitude and longitude coordinates are stored in the database.

进一步地,所述位置监控模块包括:所述移动终端在工作状态下每30秒更新一次位置信息。Further, the location monitoring module includes: the mobile terminal updates the location information every 30 seconds in the working state.

进一步地,所述位置监控模块还包括:所述移动终端在待机状态下每3-5分钟更新一次位置信息。Further, the location monitoring module further includes: the mobile terminal updates the location information every 3-5 minutes in the standby state.

进一步地,所述位置监控模块还包括:所述移动终端在待机状态下不更新位置信息。Further, the location monitoring module further includes: the mobile terminal does not update location information in a standby state.

本发明提出的在移动终端多张SIM卡之间动态切换的方法及装置具有如下特点:通过定位技术获取移动终端的当前位置信息实现SIM卡根据地理区域的改变而动态地切换,节省了用户进入或离开所述地理区域时来不及手动切换SIM卡所产生的漫游费用,并改善了用户体验。The method and device for dynamically switching between multiple SIM cards of a mobile terminal proposed by the present invention have the following characteristics: the current location information of the mobile terminal is acquired through positioning technology to realize the dynamic switching of the SIM cards according to the change of the geographical area, saving the user from entering Or when leaving the geographical area, it is too late to manually switch the roaming charges generated by the SIM card, and the user experience is improved.

附图说明Description of drawings

图1是根据本发明第一实施例的在移动终端多张SIM卡之间动态切换的方法的流程图;Fig. 1 is a flow chart of a method for dynamically switching among multiple SIM cards of a mobile terminal according to a first embodiment of the present invention;

图2是根据本发明第二实施例的在移动终端多张SIM卡之间动态切换的装置的示意图。Fig. 2 is a schematic diagram of an apparatus for dynamically switching among multiple SIM cards of a mobile terminal according to a second embodiment of the present invention.

具体实施方式Detailed ways

下面结合附图和实施例对本发明作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释本发明,而非对本发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本发明相关的部分而非全部内容。The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, but not to limit the present invention. In addition, it should be noted that, for the convenience of description, only parts related to the present invention are shown in the drawings but not all content.

在图1中示出了本发明的第一实施例。A first embodiment of the invention is shown in FIG. 1 .

图1为根据本发明第一实施例的在移动终端多张SIM卡之间动态切换的方法的实现流程100,该实现流程100详述如下:Fig. 1 is the implementation flow 100 of the method for dynamically switching between multiple SIM cards of a mobile terminal according to the first embodiment of the present invention, and the implementation flow 100 is described in detail as follows:

在步骤101中,设置与所述多张SIM卡中的每一张SIM卡相对应的地理区域。In step 101, a geographical area corresponding to each SIM card among the plurality of SIM cards is set.

在第一实施例中,所述与多张SIM卡中的每一张SIM卡相对应的地理区域的设置有三种方法:In the first embodiment, there are three methods for setting the geographical area corresponding to each SIM card in the plurality of SIM cards:

第一种方法是利用第三方的地图位置服务。移动终端提供接口与第三方的地图位置服务连接,用户在地图上选定与每一张SIM卡相对应的地理区域的范围,即用户打开地图,在所述地图上选择相应地理区域的中心和半径,确定与每一张SIM卡相对应的地理区域,完成与每一张SIM卡对应的地理区域的设置。这种方法需要第三方地图位置服务的合作支持。The first method is to utilize a third-party map location service. The mobile terminal provides an interface to connect with a third-party map location service, and the user selects the range of the geographical area corresponding to each SIM card on the map, that is, the user opens the map, selects the center and the corresponding geographic area on the map. Radius, determine the geographical area corresponding to each SIM card, and complete the setting of the geographical area corresponding to each SIM card. This approach requires cooperative support from third-party map location services.

所述地图位置服务又称定位服务或基于位置的服务,融合了GPS定位、移动通信、导航等多种技术,提供了与空间位置相关的综合应用服务。如百度的地图服务、Google的地图服务等。The map location service, also known as location service or location-based service, integrates multiple technologies such as GPS positioning, mobile communication, and navigation, and provides comprehensive application services related to spatial location. Such as Baidu's map service, Google's map service, etc.

例如:在Android平台上,用户可以利用百度地图的Android SDK,向用户展示一个地图,用户可以在所述地图上选择一个与SIM卡相对应的地理区域的中心及半径,确定与该SIM卡对应的地理区域,也可以直接通过省份和城市相结合的方式选择与SIM卡相对应的地理区域。For example: on the Android platform, the user can use the Android SDK of Baidu Maps to display a map to the user, and the user can select the center and radius of a geographical area corresponding to the SIM card on the map, and determine the location corresponding to the SIM card. You can also directly select the geographical area corresponding to the SIM card through the combination of provinces and cities.

第二种方法是在移动终端内内置一份地图,由用户在地图上设置与每一张SIM卡相对应的地理区域的中心及半径,完成与每一张SIM卡相对应的地理区域的设置。由于该地图的使用范围有限,内置地图精度不高。The second method is to build a map in the mobile terminal, and the user sets the center and radius of the geographical area corresponding to each SIM card on the map to complete the setting of the geographical area corresponding to each SIM card . Due to the limited range of use of this map, the built-in map is not very accurate.

第三种方法是以移动终端所处当前位置为中心,设置一个半径,以该中心和半径确定的圆的范围即为确定的地理区域,所述地理区域与当前位置所对应的SIM卡相对应。这种方法存在一定的局限性,只能是移动终端用户处于该地理区域时才可以设置。The third method is to set a radius with the current location of the mobile terminal as the center, and the range of the circle determined by the center and the radius is the determined geographical area, and the geographical area corresponds to the SIM card corresponding to the current position . This method has certain limitations, and it can only be set when the mobile terminal user is in the geographical area.

当然,本领域的普通技术人员容易知道,还可以采用其他手段来设置与所述多张SIM卡中的每一张SIM卡相对应的地理区域。Of course, those skilled in the art will easily know that other means can also be used to set the geographic area corresponding to each of the multiple SIM cards.

在步骤102中,获取所述移动终端的当前位置信息。In step 102, the current location information of the mobile terminal is obtained.

在第一实施例中,所述获取移动终端的当前位置信息是通过定位技术得到移动终端的当前位置的经纬度坐标,所述定位技术包括以下中的一种或多种:GPS定位、基站定位、wifi定位、IP定位、RFID/二维码等标签识别定位、蓝牙定位、声波定位、场景识别定位等。用户可以根据需要选择合适的定位方式(例如GPS是常用的定位方式,但是GPS不适用于室内定位,因此在室内情况下需要选择其他定位方式),得到所述移动终端的当前位置的经纬度坐标。In the first embodiment, the acquisition of the current location information of the mobile terminal is to obtain the latitude and longitude coordinates of the current location of the mobile terminal through positioning technology, and the positioning technology includes one or more of the following: GPS positioning, base station positioning, WiFi positioning, IP positioning, RFID/QR code and other label identification positioning, Bluetooth positioning, sound wave positioning, scene recognition positioning, etc. The user can select an appropriate positioning method according to needs (for example, GPS is a commonly used positioning method, but GPS is not suitable for indoor positioning, so other positioning methods need to be selected indoors), to obtain the latitude and longitude coordinates of the current location of the mobile terminal.

在步骤103中,根据所述移动终端的当前位置信息,确定所述移动终端所处的当前地理区域,并判断当前地理区域是否与当前使用的SIM卡相对应。In step 103, according to the current location information of the mobile terminal, determine the current geographical area where the mobile terminal is located, and judge whether the current geographical area corresponds to the currently used SIM card.

在第一实施例中,通过定位技术得到了移动终端的当前位置的经纬度坐标,将所述当前位置的经纬度坐标与每一张SIM卡所对应的地理区域的经纬度坐标进行对比,判断得出所述当前位置在与哪一张SIM卡相对应的地理区域内。例如:用户具有两张SIM卡,一张东莞的一张深圳的,而用户当前使用的SIM卡是归属地为东莞的SIM卡,当用户进入深圳所在的地理区域时,通过将所述当前位置与各个所述地理区域进行比较可以得到当前位置在归属地为深圳的SIM卡对应的地理区域内,同时可以得到当前地理区域与当前使用的SIM卡是不对应的。In the first embodiment, the latitude and longitude coordinates of the current location of the mobile terminal are obtained through positioning technology, and the latitude and longitude coordinates of the current location are compared with the latitude and longitude coordinates of the geographical area corresponding to each SIM card, and it is judged that the The current location is within the geographical area corresponding to which SIM card. For example: the user has two SIM cards, one in Dongguan and one in Shenzhen, and the SIM card currently used by the user is the SIM card belonging to Dongguan. When the user enters the geographic area where Shenzhen is located, the current location will be Comparing with each of the geographical areas, it can be obtained that the current location is in the geographical area corresponding to the SIM card whose place is Shenzhen, and at the same time, it can be obtained that the current geographical area does not correspond to the currently used SIM card.

在步骤104中,如果所述判断为否,将所述多张SIM卡中与所述当前地理区域相对应的SIM卡设为当前使用的SIM卡。In step 104, if the determination is negative, set the SIM card corresponding to the current geographical area among the plurality of SIM cards as the currently used SIM card.

在第一实施例中,为了节省移动终端的耗电量,经步骤103判断得出当前地理区域与当前使用的SIM卡对应时,不需要进行SIM卡的切换。经步骤103判断得出当前地理区域与当前使用的SIM卡不一致时,发出用于切换SIM卡的指令,将与当前地理区域相对应的SIM卡切换为当前使用的SIM卡。例如:还是上面的例子,即用户有两张SIM卡,一张东莞的一张深圳的,而用户当前使用的SIM卡是归属地为东莞的SIM卡,当用户进入深圳所在的地理区域时,通过比较判断可以得出当前地理区域在归属地为深圳的SIM卡对应的地理区域内,即当前地理区域与当前使用的SIM卡不一致,这是发出用于切换SIM卡的指令,将归属地为深圳的SIM卡切换为当前使用的SIM卡,用户在深圳首次使用时便是用的归属地为深圳的SIM卡。In the first embodiment, in order to save power consumption of the mobile terminal, when it is judged in step 103 that the current geographical area corresponds to the currently used SIM card, there is no need to switch the SIM card. When it is judged in step 103 that the current geographic area is inconsistent with the currently used SIM card, an instruction for switching SIM cards is issued, and the SIM card corresponding to the current geographic area is switched to the currently used SIM card. For example: still the above example, that is, the user has two SIM cards, one in Dongguan and one in Shenzhen, and the SIM card currently used by the user is the SIM card belonging to Dongguan. When the user enters the geographical area where Shenzhen is located, Through comparison and judgment, it can be concluded that the current geographic area is within the geographic area corresponding to the SIM card whose attribution is Shenzhen, that is, the current geographic area is inconsistent with the currently used SIM card. This is an instruction for switching SIM cards, and the attribution is The Shenzhen SIM card is switched to the currently used SIM card. When the user uses it for the first time in Shenzhen, he uses the Shenzhen SIM card.

在本实施例的一个优选实施方式中,所述多张SIM卡中SIM卡的数目为2。目前,双卡双待的移动终端比较普遍,当SIM卡数目为2时,在移动终端多张SIM卡之间动态切换的方法适用于双卡双待的移动终端,而且很多人是工作生活于两地之间,为了节省漫游资费,这些人多是拥有两地的SIM卡各一张。In a preferred implementation manner of this embodiment, the number of SIM cards in the plurality of SIM cards is 2. At present, dual-card dual-standby mobile terminals are relatively common. When the number of SIM cards is 2, the method of dynamically switching between multiple SIM cards in a mobile terminal is suitable for dual-card dual-standby mobile terminals, and many people work and live in Between the two places, in order to save roaming charges, most of these people have a SIM card for each of the two places.

在本实施例的一个优选实施方式中,所述与多张SIM卡中的每一张SIM卡相对应的地理区域由一组经纬度坐标来限定,并将所述经纬度坐标存储至数据库中。用户在地图上选定一个地理区域后会返回该地理区域的经纬度坐标,将所述经纬度坐标存储至数据库中,以便后续对当前位置的判断。In a preferred implementation of this embodiment, the geographic area corresponding to each of the multiple SIM cards is defined by a set of latitude and longitude coordinates, and the latitude and longitude coordinates are stored in a database. After the user selects a geographic area on the map, the latitude and longitude coordinates of the geographic area will be returned, and the latitude and longitude coordinates will be stored in the database for subsequent judgment on the current location.

在本实施例的一个优选实施方式中,为了避免增加太多的移动终端的耗电量,当所述移动终端在工作状态下每30秒更新一次位置信息,在待机状态下每3-5分钟更新一次位置信息,或者不更新位置信息而当系统工作时获取位置信息。当然,本领域技术人员容易知道,更新位置信息的时间间隔可以设置,只要符合实际意义即可。In a preferred implementation of this embodiment, in order to avoid increasing too much power consumption of the mobile terminal, the location information is updated every 30 seconds when the mobile terminal is in the working state, and every 3-5 minutes in the standby state. Update the location information once, or obtain the location information when the system is working without updating the location information. Of course, those skilled in the art will easily know that the time interval for updating location information can be set, as long as it meets the actual meaning.

本发明的第一实施例提供的方法可以让用户根据需要设置与每一张SIM卡对应的地理区域,利用定位技术获取当前的位置信息,并与所述地理区域对比确定当前的地理区域,进行SIM卡的动态切换,节省了用户来不及手动切换SIM卡而产生的漫游资费,改善了用户体验。The method provided by the first embodiment of the present invention allows the user to set the geographical area corresponding to each SIM card according to the needs, use the positioning technology to obtain the current location information, and compare it with the geographical area to determine the current geographical area. The dynamic switching of the SIM card saves the roaming charges caused by the user not having time to manually switch the SIM card, and improves the user experience.

图2示出了本发明的第二实施例。Figure 2 shows a second embodiment of the invention.

图2为根据本发明第二实施例的一种在移动终端多张SIM卡之间动态切换的装置的结构示意图。如图2所示,本实施例所述的移动终端多张SIM卡之间动态切换的装置200包括:设置模块201,位置监控模块202,判断模块203,SIM卡切换模块204。Fig. 2 is a schematic structural diagram of an apparatus for dynamically switching among multiple SIM cards of a mobile terminal according to a second embodiment of the present invention. As shown in FIG. 2 , the device 200 for dynamically switching between multiple SIM cards of a mobile terminal described in this embodiment includes: a setting module 201 , a location monitoring module 202 , a judging module 203 , and a SIM card switching module 204 .

其中,设置模块201用于设置与所述多张SIM卡中的每一张SIM卡相对应的地理区域,所述与每一张SIM卡相对应的地理区域表示每一张SIM卡的归属地所属的地理区域,并将所述地理区域的经纬度坐标存储至数据库中。Wherein, the setting module 201 is used to set the geographical area corresponding to each SIM card in the plurality of SIM cards, and the geographical area corresponding to each SIM card indicates the attribution of each SIM card The geographical area to which it belongs, and store the latitude and longitude coordinates of the geographical area into the database.

位置监控模块202用于获取移动终端的当前位置信息,通过定位技术获取移动终端的当前位置的经纬度坐标,所述定位技术包括以下中的一种或多种:GPS定位、基站定位、wifi定位、IP定位、RFID/二维码等标签识别定位、蓝牙定位、声波定位、场景识别定位等。用户可以根据需要选择合适的定位方式(例如GPS是常用的定位方式,但是GPS不适用于室内定位,因此在室内情况下需要选择其他定位方式),得出所述移动终端的当前位置的经纬度坐标。The position monitoring module 202 is used to obtain the current position information of the mobile terminal, and obtains the latitude and longitude coordinates of the current position of the mobile terminal through a positioning technology, and the positioning technology includes one or more of the following: GPS positioning, base station positioning, wifi positioning, IP positioning, RFID/QR code and other label identification and positioning, Bluetooth positioning, sound wave positioning, scene recognition and positioning, etc. The user can select an appropriate positioning method according to needs (for example, GPS is a commonly used positioning method, but GPS is not suitable for indoor positioning, so other positioning methods need to be selected in indoor situations), and obtain the latitude and longitude coordinates of the current location of the mobile terminal .

判断模块203,用于根据所述移动终端的当前位置信息,确定所述移动终端所处的当前地理区域,并判断当前地理区域是否与当前使用的SIM卡相对应。通过将当前位置的经纬度坐标与各个所述地理区域经纬度坐标进行对比,得出当前位置所属的地理区域就是当前地理区域,并判断得到与当前地理区域相对应的SIM卡,判断当前地理区域是否与当前使用的SIM卡相对应。The judging module 203 is configured to determine the current geographical area where the mobile terminal is located according to the current location information of the mobile terminal, and judge whether the current geographical area corresponds to the currently used SIM card. By comparing the latitude and longitude coordinates of the current location with the latitude and longitude coordinates of each of the geographical areas, it can be concluded that the geographical area to which the current position belongs is the current geographical area, and it is judged that the SIM card corresponding to the current geographical area is obtained to determine whether the current geographical area is compatible with the current geographical area. Corresponds to the currently used SIM card.

SIM卡切换模块204,用于将所述多张SIM卡中与所述当前地理区域相对应的SIM卡设为当前使用的SIM卡。为了节省移动终端的耗电量,如果判断模块203中所述判断为是,则不进行SIM卡的切换,如果所述判断为否,发出用于切换SIM卡的指令,将与当前地理区域相对应的SIM卡切换为当前使用的SIM卡。The SIM card switching module 204 is configured to set the SIM card corresponding to the current geographical area among the plurality of SIM cards as the currently used SIM card. In order to save the power consumption of the mobile terminal, if the judgment in the judging module 203 is yes, then the switching of the SIM card will not be performed; The corresponding SIM card is switched to the currently used SIM card.

在本实施例的一个优选实施方式中,所述多张SIM卡中SIM卡的数目为2。目前,双卡双待的移动终端比较普遍,当SIM卡数目为2时,在移动终端多张SIM卡之间动态切换的方法适用于双卡双待的移动终端,而且很多人是工作生活于两地之间,为了节省漫游资费,这些人多是拥有两地的SIM卡各一张。In a preferred implementation manner of this embodiment, the number of SIM cards in the plurality of SIM cards is 2. At present, dual-card dual-standby mobile terminals are relatively common. When the number of SIM cards is 2, the method of dynamically switching between multiple SIM cards in a mobile terminal is suitable for dual-card dual-standby mobile terminals, and many people work and live in Between the two places, in order to save roaming charges, most of these people have a SIM card for each of the two places.

在本实施例的一个优选实施方式中,所述与多张SIM卡中的每一张SIM卡相对应的地理区域由一组经纬度坐标来限定,并将所述经纬度坐标存储至数据库中。用户在地图上选定一个地理区域后会返回该地理区域的经纬度坐标,将所述经纬度坐标存储至数据库中,以便后续对当前位置的判断。In a preferred implementation of this embodiment, the geographic area corresponding to each of the multiple SIM cards is defined by a set of latitude and longitude coordinates, and the latitude and longitude coordinates are stored in a database. After the user selects a geographic area on the map, the latitude and longitude coordinates of the geographic area will be returned, and the latitude and longitude coordinates will be stored in the database for subsequent judgment on the current location.

在本实施例的一个优选实施方式中,为了避免增加太多的移动终端的耗电量,当所述移动终端在工作状态下每30秒更新一次位置信息,在待机状态下每3-5分钟更新一次位置信息,或者不更新位置信息而当系统工作时获取位置信息。当然,本领域技术人员容易知道,更新位置信息的时间间隔可以设置,只要符合实际意义即可。In a preferred implementation of this embodiment, in order to avoid increasing too much power consumption of the mobile terminal, the location information is updated every 30 seconds when the mobile terminal is in the working state, and every 3-5 minutes in the standby state. Update the location information once, or obtain the location information when the system is working without updating the location information. Of course, those skilled in the art will easily know that the time interval for updating location information can be set, as long as it meets the actual meaning.

本发明所述的技术方案能够通过定位技术获取移动终端的当前位置信息,实现SIM卡根据地理区域的改变而动态地切换,节省了用户进入或离开所述地理区域时来不及手动切换SIM卡所产生的漫游费用,改善了用户体验。The technical solution of the present invention can obtain the current location information of the mobile terminal through the positioning technology, realize the dynamic switching of the SIM card according to the change of the geographical area, and save the time when the user enters or leaves the geographical area and does not have time to manually switch the SIM card. roaming charges, improving user experience.

注意,上述仅为本发明的较佳实施例及所运用技术原理。本领域技术人员会理解,本发明不限于这里所述的特定实施例,对本领域技术人员来说能够进行各种明显的变化、重新调整和替代而不会脱离本发明的保护范围。因此,虽然通过以上实施例对本发明进行了较为详细的说明,但是本发明不仅仅限于以上实施例,在不脱离本发明构思的情况下,还可以包括更多其他等效实施例,而本发明的范围由所附的权利要求范围决定。Note that the above are only preferred embodiments of the present invention and applied technical principles. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the protection scope of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments, and can also include more other equivalent embodiments without departing from the concept of the present invention, and the present invention The scope is determined by the scope of the appended claims.

Claims (12)

1. a method of dynamically switching between the mobile terminal multiple SIM card, is characterized in that, described method comprises:
The geographic area corresponding with each SIM card in described multiple SIM card is set;
Obtain the current location information of described mobile terminal;
According to the current location information of described mobile terminal, determine described mobile terminal residing current geographic area, and judge whether current geographic area is corresponding with the SIM card of current use;
If described being judged as YES do not carried out the switching of SIM card, if described being judged as NO is made as SIM card corresponding with described current geographic area in described multiple SIM card the SIM card of current use.
2. the method for dynamically switching between the mobile terminal multiple SIM card according to claim 1, is characterized in that, in described multiple SIM card, the number of SIM card is 2.
3. the method for dynamically switching between the mobile terminal multiple SIM card according to claim 1, it is characterized in that, the corresponding geographic area of each SIM card in described and described multiple SIM card is limited by one group of latitude and longitude coordinates, and described latitude and longitude coordinates is stored in database.
4. the method for dynamically switching between the mobile terminal multiple SIM card according to claim 1, is characterized in that, the described current location information that obtains described mobile terminal comprises: described mobile terminal upgraded a positional information in working order in lower every 30 seconds.
5. the method for dynamically switching between the mobile terminal multiple SIM card according to claim 1, it is characterized in that, the described current location information that obtains described mobile terminal also comprises: described mobile terminal is positional information of renewal in every 3-5 minute under holding state.
6. the method for dynamically switching between the mobile terminal multiple SIM card according to claim 1, is characterized in that, the described current location information that obtains described mobile terminal also comprises: described mobile terminal does not upgrade positional information under holding state.
7. a device that dynamically switches between the mobile terminal multiple SIM card, is characterized in that, described device comprises:
Module is set, is used for arranging the geographic area corresponding with each SIM card of described multiple SIM card;
The monitoring position module is for the current location information that obtains mobile terminal;
Judge module is used for the current location information according to described mobile terminal, determines described mobile terminal residing current geographic area, and judges whether current geographic area is corresponding with the SIM card of current use;
The SIM card handover module is for one of the described multiple SIM card SIM card corresponding with described current geographic area being made as the SIM card of current use.
8. the device that dynamically switches between the mobile terminal multiple SIM card according to claim 7, is characterized in that, in described multiple SIM card, the number of SIM card is 2.
9. the device that dynamically switches between the mobile terminal multiple SIM card according to claim 7, it is characterized in that, the described geographic area corresponding with described each SIM card that the module setting is set limited by one group of latitude and longitude coordinates, and described latitude and longitude coordinates is stored in database.
10. the device that dynamically switches between the mobile terminal multiple SIM card according to claim 7, is characterized in that, described monitoring position module comprises: described mobile terminal upgraded a positional information in working order in lower every 30 seconds.
11. the device that dynamically switches between the mobile terminal multiple SIM card according to claim 7 is characterized in that, described monitoring position module also comprises: described mobile terminal is positional information of renewal in every 3-5 minute under holding state.
12. the device that dynamically switches between the mobile terminal multiple SIM card according to claim 7 is characterized in that described monitoring position module also comprises: described mobile terminal does not upgrade positional information under holding state.
CN2013100788922A 2013-03-12 2013-03-12 A method and device for dynamically switching between multiple SIM cards in a mobile terminal Pending CN103167476A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2013100788922A CN103167476A (en) 2013-03-12 2013-03-12 A method and device for dynamically switching between multiple SIM cards in a mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2013100788922A CN103167476A (en) 2013-03-12 2013-03-12 A method and device for dynamically switching between multiple SIM cards in a mobile terminal

Publications (1)

Publication Number Publication Date
CN103167476A true CN103167476A (en) 2013-06-19

Family

ID=48590134

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2013100788922A Pending CN103167476A (en) 2013-03-12 2013-03-12 A method and device for dynamically switching between multiple SIM cards in a mobile terminal

Country Status (1)

Country Link
CN (1) CN103167476A (en)

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104168387A (en) * 2014-08-25 2014-11-26 深圳市中兴移动通信有限公司 Mobile terminal user identity recognition card switching method and system
WO2015177602A1 (en) * 2014-05-21 2015-11-26 Pismo Labs Technology Limited Using a plurality of sim cards at a wireless communication device
CN105704671A (en) * 2016-04-01 2016-06-22 宇龙计算机通信科技(深圳)有限公司 Embedded user identity recognition module switching method and device
CN106101996A (en) * 2016-05-24 2016-11-09 珠海市魅族科技有限公司 A kind of data capture method and terminal
JP2016537837A (en) * 2013-09-30 2016-12-01 クアルコム,インコーポレイテッド Simultaneous voice and data for dual SIM dual standby (DSDS) wireless devices
WO2016198001A1 (en) * 2015-10-15 2016-12-15 中兴通讯股份有限公司 Service processing method and apparatus
CN106507396A (en) * 2016-11-29 2017-03-15 珠海格力电器股份有限公司 Method and system for setting application mode and mobile device
CN106535291A (en) * 2016-11-28 2017-03-22 北京小米移动软件有限公司 SIM card selection method and device
CN106878977A (en) * 2017-01-20 2017-06-20 维沃移动通信有限公司 The method of calling and mobile terminal of a kind of telephone number
CN107124709A (en) * 2017-05-15 2017-09-01 上海与德科技有限公司 A kind of automatic switching method and device
CN107172310A (en) * 2017-07-28 2017-09-15 惠州Tcl移动通信有限公司 A kind of means of communication of mobile terminal, storage medium and mobile terminal
CN107426673A (en) * 2017-06-22 2017-12-01 三星半导体(中国)研究开发有限公司 Method and apparatus for adaptively switching SWP SIM cards in the terminal
CN107548114A (en) * 2017-08-28 2018-01-05 新华三技术有限公司 A kind of switching method and apparatus of SIM card
CN107567013A (en) * 2017-08-31 2018-01-09 努比亚技术有限公司 A kind of signal switching method, terminal and computer-readable recording medium
CN107912083A (en) * 2015-06-25 2018-04-13 华为技术有限公司 Working mode switching method, device and mobile terminal
CN108200569A (en) * 2017-12-29 2018-06-22 惠州Tcl移动通信有限公司 A kind of communication means of virtual SIM card, electronic equipment and device
CN109286897A (en) * 2018-12-12 2019-01-29 南京友众力信息技术有限公司 A method of SIM cards of mobile phones function is carried out automatically controlling based on location information
CN110913346A (en) * 2019-11-21 2020-03-24 Oppo(重庆)智能科技有限公司 SIM card configuration method, terminal and storage medium
CN110972128A (en) * 2018-09-28 2020-04-07 奇酷互联网络科技(深圳)有限公司 Multi-card management method, intelligent terminal and device with storage function
CN113965644A (en) * 2021-10-20 2022-01-21 维沃移动通信有限公司 Data card switching method and device and electronic equipment
US11864101B2 (en) 2016-01-05 2024-01-02 Malikie Innovations Limited Method and apparatus for multi-SIM selection
US11943838B2 (en) 2014-05-21 2024-03-26 Pismo Labs Technology Limited Using a plurality of SIM cards at an electronic device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101198127A (en) * 2007-12-29 2008-06-11 宇龙计算机通信科技(深圳)有限公司 Method for automatic selecting main card by double-card double-standby mobile terminal equipment
CN102075630A (en) * 2011-01-21 2011-05-25 惠州Tcl移动通信有限公司 Mobile terminal capable of automatically switching standby mode of SIM card and method thereof
EP2384061A2 (en) * 2010-04-30 2011-11-02 Samsung Electronics Co., Ltd. Apparatus and method for automatic SIM card selection according to network environment in dual mode terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101198127A (en) * 2007-12-29 2008-06-11 宇龙计算机通信科技(深圳)有限公司 Method for automatic selecting main card by double-card double-standby mobile terminal equipment
EP2384061A2 (en) * 2010-04-30 2011-11-02 Samsung Electronics Co., Ltd. Apparatus and method for automatic SIM card selection according to network environment in dual mode terminal
CN102075630A (en) * 2011-01-21 2011-05-25 惠州Tcl移动通信有限公司 Mobile terminal capable of automatically switching standby mode of SIM card and method thereof

Cited By (38)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016537837A (en) * 2013-09-30 2016-12-01 クアルコム,インコーポレイテッド Simultaneous voice and data for dual SIM dual standby (DSDS) wireless devices
US10791457B2 (en) 2014-05-21 2020-09-29 Pismo Labs Technology Limited Using a plurality of sim cards at an electronic device
US12342422B2 (en) 2014-05-21 2025-06-24 Pismo Labs Technology Limited Using a plurality of SIM cards at an electronic device
CN110177367B (en) * 2014-05-21 2021-12-07 柏思科技有限公司 Use of multiple SIM cards at a wireless communication device
CN108924801A (en) * 2014-05-21 2018-11-30 柏思智能系统有限公司 Use of multiple SIM cards at an electronic device
WO2015177602A1 (en) * 2014-05-21 2015-11-26 Pismo Labs Technology Limited Using a plurality of sim cards at a wireless communication device
US10244382B2 (en) 2014-05-21 2019-03-26 Pismo Labs Technology Limited Using a plurality of SIM cards at an electronic device
GB2533194B (en) * 2014-05-21 2020-09-16 Pismo Labs Technology Ltd Using a plurality of sim cards at a wireless communication device
US9635541B2 (en) 2014-05-21 2017-04-25 Pismo Labs Technology Limited Using a plurality of SIM cards at a wireless communication device
US11943838B2 (en) 2014-05-21 2024-03-26 Pismo Labs Technology Limited Using a plurality of SIM cards at an electronic device
US11375360B2 (en) 2014-05-21 2022-06-28 Pismo Labs Technology Limited Using a plurality of SIM cards at an electronic device
CN110177367A (en) * 2014-05-21 2019-08-27 柏思科技有限公司 The use of multiple SIM cards at wireless communication device
GB2533194A (en) * 2014-05-21 2016-06-15 Pismo Labs Technology Ltd Using a plurality of sim cards at a wireless communication device
CN104168387A (en) * 2014-08-25 2014-11-26 深圳市中兴移动通信有限公司 Mobile terminal user identity recognition card switching method and system
CN107912083B (en) * 2015-06-25 2020-01-31 华为技术有限公司 Working mode switching method and device and mobile terminal
CN107912083A (en) * 2015-06-25 2018-04-13 华为技术有限公司 Working mode switching method, device and mobile terminal
CN106604261A (en) * 2015-10-15 2017-04-26 中兴通讯股份有限公司 Service processing method and device
WO2016198001A1 (en) * 2015-10-15 2016-12-15 中兴通讯股份有限公司 Service processing method and apparatus
US12335856B2 (en) 2016-01-05 2025-06-17 Malikie Innovations Limited Method and apparatus for multi-SIM selection
US11864101B2 (en) 2016-01-05 2024-01-02 Malikie Innovations Limited Method and apparatus for multi-SIM selection
CN105704671A (en) * 2016-04-01 2016-06-22 宇龙计算机通信科技(深圳)有限公司 Embedded user identity recognition module switching method and device
CN106101996A (en) * 2016-05-24 2016-11-09 珠海市魅族科技有限公司 A kind of data capture method and terminal
CN106535291A (en) * 2016-11-28 2017-03-22 北京小米移动软件有限公司 SIM card selection method and device
CN106507396A (en) * 2016-11-29 2017-03-15 珠海格力电器股份有限公司 Method and system for setting application mode and mobile device
CN106878977A (en) * 2017-01-20 2017-06-20 维沃移动通信有限公司 The method of calling and mobile terminal of a kind of telephone number
CN107124709A (en) * 2017-05-15 2017-09-01 上海与德科技有限公司 A kind of automatic switching method and device
CN107426673A (en) * 2017-06-22 2017-12-01 三星半导体(中国)研究开发有限公司 Method and apparatus for adaptively switching SWP SIM cards in the terminal
CN107172310A (en) * 2017-07-28 2017-09-15 惠州Tcl移动通信有限公司 A kind of means of communication of mobile terminal, storage medium and mobile terminal
CN107548114A (en) * 2017-08-28 2018-01-05 新华三技术有限公司 A kind of switching method and apparatus of SIM card
CN107548114B (en) * 2017-08-28 2020-10-27 新华三技术有限公司 SIM card switching method and device
CN107567013A (en) * 2017-08-31 2018-01-09 努比亚技术有限公司 A kind of signal switching method, terminal and computer-readable recording medium
CN108200569B (en) * 2017-12-29 2020-11-13 惠州Tcl移动通信有限公司 Communication method of virtual SIM card, electronic equipment and device
CN108200569A (en) * 2017-12-29 2018-06-22 惠州Tcl移动通信有限公司 A kind of communication means of virtual SIM card, electronic equipment and device
CN110972128A (en) * 2018-09-28 2020-04-07 奇酷互联网络科技(深圳)有限公司 Multi-card management method, intelligent terminal and device with storage function
CN109286897A (en) * 2018-12-12 2019-01-29 南京友众力信息技术有限公司 A method of SIM cards of mobile phones function is carried out automatically controlling based on location information
CN110913346B (en) * 2019-11-21 2022-01-11 Oppo(重庆)智能科技有限公司 SIM card configuration method, terminal and storage medium
CN110913346A (en) * 2019-11-21 2020-03-24 Oppo(重庆)智能科技有限公司 SIM card configuration method, terminal and storage medium
CN113965644A (en) * 2021-10-20 2022-01-21 维沃移动通信有限公司 Data card switching method and device and electronic equipment

Similar Documents

Publication Publication Date Title
CN103167476A (en) A method and device for dynamically switching between multiple SIM cards in a mobile terminal
CN103235684B (en) A kind of screen locking pattern to mobile terminal carries out the method and device of switching at runtime
CN101884212B (en) Method and system for displaying user-related information on a user's mobile phone
CN104717610B (en) A kind of radio data network automatic switching method and mobile terminal based on LBS
CN102254385B (en) Control method and system of doorbell response
CN103024672B (en) Method for prompting user according to mobile phone signal strength
CN101198127A (en) Method for automatic selecting main card by double-card double-standby mobile terminal equipment
CN103648148A (en) Method for multimode terminal to register in network and terminal
CN103533635A (en) Mobile terminal positioning method and mobile terminal
CN103179279B (en) A kind of method and system of the mobile terminal scene mode that automatically switches
KR20100031467A (en) Method and apparatus for power management
CN105359562A (en) Control device, control method, communication system and program
CN104144492A (en) Terminal position obtaining method and system and mobile terminal
CN105430618A (en) Method and device for network registration
CN104469779A (en) Wireless local area network channel adapting method and device and terminal
US9693221B2 (en) Method of managing at least one wireless communications interface of a terminal, and a terminal
CN107343270B (en) Emergency call method and terminal
CN103179501B (en) A kind of handheld device border roaming reminding method and system
CN106488435A (en) A kind of client identification module approaches to IM and mobile terminal
CN103796159B (en) The localization method and system of a kind of functional mobile phone
JP2013070203A (en) Mobile phone, communication connection control method, and program
CN104093137B (en) A kind of terminal mutual discovery method and device
CN103781172A (en) Wireless local area network (WLAN) coverage prompting method and system
CN201118865Y (en) System for providing location value-added services
CN106211054B (en) Method, system, server and user terminal for searching contact

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20130619