WO2013082974A1 - Method and apparatus for selecting server - Google Patents

Method and apparatus for selecting server Download PDF

Info

Publication number
WO2013082974A1
WO2013082974A1 PCT/CN2012/082474 CN2012082474W WO2013082974A1 WO 2013082974 A1 WO2013082974 A1 WO 2013082974A1 CN 2012082474 W CN2012082474 W CN 2012082474W WO 2013082974 A1 WO2013082974 A1 WO 2013082974A1
Authority
WO
WIPO (PCT)
Prior art keywords
sim card
card used
subscriber identity
mobile subscriber
belongs
Prior art date
Application number
PCT/CN2012/082474
Other languages
French (fr)
Chinese (zh)
Inventor
马玲
Original Assignee
惠州Tcl移动通信有限公司
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 惠州Tcl移动通信有限公司 filed Critical 惠州Tcl移动通信有限公司
Publication of WO2013082974A1 publication Critical patent/WO2013082974A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data

Definitions

  • the present invention relates to the field of mobile communications, and in particular, to a method and apparatus for selecting a server.
  • the OperaMini browser is a small browser developed for mobile devices.
  • the OperaMini browser is used by the client (Client) and the server (Server) to complete the function of browsing the webpage. That is, the server side completes the parsing of the webpage, and then compresses the encoding and sends it to the client side of the OperaMini browser for display.
  • the OperaMini browser also selects different servers depending on the region, so as to speed up browsing.
  • the newer version of the OperaMini browser enables the automatic selection of the server, which automatically selects whether to use the domestic or foreign server according to the language, region and SIM card, thus fulfilling different needs.
  • the OperaMini browser can automatically select Server, there is still a defect when the user first uses the SIM of the Chinese operator.
  • the OperaMini configuration file records the information of the server, and then switches to the foreign carrier's SIM card, and can no longer switch to the foreign server, so the website that the foreign operator allowed to access is blocked by the Chinese server.
  • you restore the factory settings of your phone use the SIM of the foreign carrier. Card can be used normally.
  • it is very inconvenient for the user because all user information will be lost after the factory reset. This has caused problems for some users who travel frequently at home and abroad.
  • the technical problem to be solved by the present invention is to provide a method and apparatus for selecting a server, which can automatically select a suitable server without restoring the factory settings, and can avoid unnecessary Internet access restrictions.
  • a technical solution adopted by the present invention is to provide a method for selecting a server, the method comprising: determining an international mobile subscriber identity of a SIM card used by the mobile terminal and a SIM card used in the previous time. Whether the international mobile subscriber identity is the same; if the result of the above determination is different, it is determined whether the SIM card used in the previous time belongs to a SIM card used by a non-Chinese communication carrier, and whether the SIM card used this time belongs to mainland China The SIM card used by the communication carrier; if the above judgment results belong to all, the configuration file including the @OperaMini folder of the browser in the mobile terminal is cleared; and the international mobile subscriber identification code of the SIM card used this time is saved.
  • determining whether the SIM card used by the mobile terminal before is a SIM card used by a non-Chinese communication carrier, and whether the SIM card used in this time belongs to a SIM card used by a Chinese communication carrier includes: if any of the above If the item or the above judgment is negative, the international mobile subscriber identity code of the SIM card used this time is saved.
  • the information of the SIM card used in the current time is saved in a non-volatile manner. Random access memory.
  • another technical solution adopted by the present invention is to provide a method for selecting a server, the method comprising: determining an international mobile subscriber identity of a SIM card used by the mobile terminal and a SIM card used last time. Whether the international mobile subscriber identity is the same; if the result of the above judgment is different, it is determined whether the SIM card used in the previous time belongs to the first country or region, and whether the SIM card used in this time belongs to the second country or region; If the result of the judgment belongs to all, the configuration file of the browser in the mobile terminal is cleared, so that the browser performs the server switching; and the international mobile subscriber identification code of the SIM card used this time is saved.
  • determining whether the previously used SIM card belongs to the first country or region, and whether the SIM card used in this time belongs to the second country or region includes: determining whether the previously used SIM card belongs to a non-Chinese communication carrier Whether the SIM card used in this time or the SIM card used in this time belongs to the SIM card used by the Chinese communication carrier.
  • the step of clearing the configuration file of the browser in the mobile terminal to enable the browser to perform the server switching includes: clearing the configuration file of the browser in the mobile terminal including the @OperaMini folder.
  • determining whether the previously used SIM card belongs to the first country or region, and whether the SIM card used in this time belongs to the second country or region includes: if any one of the above or above is negative, the current time is saved. The international mobile subscriber identity of the SIM card used.
  • the information of the SIM card used this time is stored in the non-volatile random access memory in the step of storing the international mobile subscriber identity code of the SIM card used in this time so that the browser performs the server switching.
  • a device for selecting a server comprising: a first determining module, configured to determine an international mobile subscriber identity of the SIM card used by the mobile terminal. Whether the international mobile subscriber identity code of the previously used SIM card is the same; the second judging module is configured to determine whether the SIM card used last time belongs to the first country or region when the judgment result of the first judging module is different Whether the SIM card used in this time belongs to the second country or region; the clearing module is configured to clear the configuration file of the browser in the mobile terminal when the judgment result of the second determining module belongs to the browser, so that the browser performs the server Switching; the first saving module is used to save the international mobile subscriber identity of the SIM card used this time.
  • the second determining module is specifically configured to determine whether the SIM card used in the previous time belongs to a SIM card used by a non-Chinese communication carrier, and whether the SIM card used in this time belongs to a SIM card used by a Chinese communication carrier.
  • the clearing module is specifically configured to clear a configuration file including a @OperaMini folder of the browser in the mobile terminal.
  • the device includes a second save module, and the second save module is configured to save the international mobile subscriber identity of the used SIM card when any one or more of the determination results of the second determination module is negative. .
  • the first saving module is specifically configured to save the information of the SIM card used this time in the non-volatile random access memory.
  • the invention has the beneficial effects that the prior art mobile terminal needs to restore the factory settings when the cross-border use is used to eliminate the limitation of accessing the Internet.
  • the present invention first determines the international mobile subscriber identity of the SIM card used by the mobile terminal. Whether the code is the same as the international mobile subscriber identity code of the SIM card used last time. If it is different, it means that the mobile terminal is used for the first time after cross-border, and there may be a situation in which access to the Internet is restricted due to cross-border use. Continue to judge whether the SIM card used in the previous time belongs to the first country or region, and whether the SIM card used this time belongs to the second country or region, and determine whether there is a case where the access to the Internet is restricted, and if so, only clear the browsing in the mobile terminal.
  • the configuration file of the device replaces the means of restoring the factory settings, so that the server can also be switched normally to access the Internet, and the international mobile subscriber identity of the SIM card used this time is saved.
  • the mobile terminal can automatically select an appropriate server without restoring the factory settings, and can avoid unnecessary Internet access restrictions.
  • FIG. 1 is a schematic flow chart of an embodiment of a method for selecting a server according to the present invention
  • FIG. 2 is a schematic flow chart of another embodiment of a method for selecting a server according to the present invention.
  • FIG. 3 is a schematic structural diagram of an apparatus for selecting a server according to the present invention.
  • FIG. 1 is a schematic flowchart of a method for selecting a server according to an embodiment of the present invention, and the specific implementation steps are as follows:
  • Step 101 Determine whether the international mobile subscriber identity of the SIM card used by the mobile terminal is the same as the international mobile subscriber identity of the SIM card used previously;
  • the information of the SIM card is recorded, so that when the SIM card is replaced, the mobile terminal reads the last recorded SIM. Card information and the information of this SIM card, and compare the two.
  • the information of the SIM card described here refers to the international mobile subscriber identity of the SIM card (international mobile Subscriber identity, IMSI). IMSI is the number assigned internationally to uniquely identify a mobile subscriber.
  • IMSIs There are 15 IMSIs, and their structure is as follows:
  • MCC Mobile Country Code, mobile country code, a total of 3, China is 460;
  • MNC Mobile Network Code, mobile network code, a total of 2 digits, such as: China Unicom CDMA system uses 03, a typical IMSI number is 46300301121121001;
  • MSIN Mobile Subscriber Identification Number, mobile user ID, has a total of 10 digits, and its structure is as follows:
  • MDN Mobile Directory Number
  • HLR Home Location Register
  • IMSI is the ID of each user inside the system and is stored in the user identification module (User Identity). Module, UIM).
  • UIM User Identity
  • the IMSI adds the MCC before the MSIN number, which can distinguish the country from which each user is from, so international roaming can be achieved. In the same country, if there are multiple operators, the difference can be made through MNC.
  • Step 102 If the result of the foregoing determination is different, it is determined whether the SIM card used in the previous time belongs to the first country or region, and whether the SIM card used in this time belongs to the second country or region;
  • the mobile terminal When it is determined that the international mobile subscriber identity of the SIM card used by the mobile terminal is not the same as the international mobile subscriber identity of the previously used SIM card, it is necessary to continue to determine whether the SIM card used in the previous time belongs to the first country or region. Whether the SIM card used this time belongs to the second country or region.
  • the first country or region referred to here refers to mainland China, and the second country or region refers to any foreign country.
  • the specific need to judge is whether the previous use is the SIM of the Chinese communication carrier. Card, whether this use is the SIM card of the foreign communication carrier, we can judge whether to change the SIM card of the Chinese communication carrier to the SIM of the foreign communication carrier according to the first three digits of the IMSI. Card.
  • the mobile terminal also needs to judge whether the SIM card used in the previous time belongs to the SIM card used by the non-Chinese communication operator, and whether the SIM card used this time belongs to the SIM card used by the Chinese communication operator.
  • the first country or region refers to a country or region where access to the Internet is restricted
  • the second country or region refers to a country or region where access to the Internet is not restricted.
  • the access of the browser is from the access to the Internet-restricted country or region to the unrestricted country or region, and is within the scope of the present invention.
  • Step 103 If the result of the foregoing determination belongs to all, clear the configuration file of the browser in the mobile terminal, so that the browser performs the server switching;
  • the information of the configuration file refers to the traces that the user browses using Opera, including the information of the Opera server, user settings, and browsing information. Information about all configuration files is saved in the @OperaMini folder.
  • the configuration file of the OperaMini browser When the user first uses the SIM of the Chinese mainland operator After the card, the configuration file of the OperaMini browser will record the information of the server, so if it is replaced by the SIM of the foreign communication carrier. Card, OperaMini browser can not be switched to a foreign server, so that the websites that foreign communication operators are allowed to access are blocked by the mainland China server. Therefore, you need to delete the configuration file information so that the OperaMini browser can switch to a foreign server. By deleting all the configuration information of the OperaMini browser, the user simply loses the user information of the browser without losing all the user information in the mobile terminal.
  • Step 104 Save the international mobile subscriber identity of the SIM card used this time.
  • Non-Volatile Random Access Memory
  • NVRAM Non-Volatile Random Access Memory
  • the present invention is directed to people who travel frequently in China and abroad, that is, as long as they cut into a server in China, they can no longer switch to a foreign server.
  • the present invention first determines the international mobile subscriber identity of the SIM card used by the mobile terminal and the previously used SIM. Whether the international mobile subscriber identity of the card is the same. If it is different, it means that the mobile terminal is used for the first time after cross-border. There may be a situation where access to the Internet is restricted due to cross-border use. Therefore, the SIM that was used last time is continuously judged.
  • the card belongs to the first country or region, and whether the SIM card used this time belongs to the second country or region, and judge whether there is a case where the access to the Internet is restricted, and if so, only the configuration file of the browser in the mobile terminal is cleared instead of the recovery.
  • the factory setting means that the server can also be switched normally to access the Internet, and the international mobile subscriber identity of the SIM card used this time is saved. In the above manner, it is apparent that the mobile terminal can automatically select an appropriate server without restoring the factory settings, and can avoid unnecessary Internet access restrictions.
  • FIG. 2 is a schematic flowchart of another embodiment of a method for selecting a server according to the present invention, and the specific implementation steps are as follows:
  • Step 201 Reading the international mobile subscriber identity of the SIM card used by the mobile terminal and the international mobile subscriber identity of the SIM card used this time;
  • the mobile terminal uses the SIM card
  • the information of the SIM card is recorded, and the information of the SIM card is saved in the non-volatile random access memory, so that when the SIM card is replaced, the mobile terminal reads the last recorded SIM.
  • Card information and information about this SIM card refers to the international mobile subscriber identity of the SIM card.
  • Step 202 Determine whether the international mobile subscriber identity of the SIM card used by the mobile terminal is the same as the international mobile subscriber identity of the SIM card used previously;
  • Step 203 the international mobile subscriber identity code of the SIM card used by the mobile terminal is the same as the international mobile subscriber identity code of the SIM card used last time, then go to step 208;
  • the operation of selecting the server is ended.
  • Step 204 If the result of the foregoing determination is different, determine whether the SIM card used in the previous time belongs to the first country or region, and whether the SIM card used in this time belongs to the second country or region;
  • the international mobile subscriber identity of the SIM card used by the mobile terminal is not the same as the international mobile subscriber identity of the previously used SIM card, it is necessary to continue to determine whether the SIM card used in the previous time belongs to the first country or region. Whether the SIM card used this time belongs to the second country or region.
  • the first country or region referred to here refers to mainland China, and the second country or region refers to any foreign country.
  • the judgment of the country or region is mainly judged by the mobile country code of the IMSI.
  • the specific need to judge whether the previous use is the SIM card of the Chinese communication carrier, whether this use is the SIM of the foreign communication carrier Card we can judge whether to change the SIM card of the Chinese communication carrier to the SIM of the foreign communication carrier according to the first three digits of the IMSI. Card.
  • the mobile terminal also needs to judge whether the SIM card used in the previous time belongs to the SIM card used by the non-Chinese communication operator, and whether the SIM card used this time belongs to the SIM card used by the Chinese communication operator.
  • Step 205 If the result of the foregoing determination belongs to, the configuration file of the browser in the mobile terminal is cleared, so that the browser performs the server switching.
  • the information of the configuration file refers to the traces that the user browses using Opera, including the information of the Opera server, user settings, and browsing information. Information about all configuration files is saved in the @OperaMini folder.
  • the configuration file of the OperaMini browser When the user first uses the SIM of the Chinese mainland operator After the card, the configuration file of the OperaMini browser will record the information of the server, so if it is replaced by the SIM of the foreign communication carrier. Card, OperaMini browser can not be switched to a foreign server, so that the websites that foreign communication operators are allowed to access are blocked by the mainland China server. Therefore, you need to delete the configuration file information so that the OperaMini browser can switch to a foreign server. By deleting all the configuration information of the OperaMini browser, the user simply loses the user information of the browser without losing the user information used in the mobile terminal.
  • Step 206 if any of the above or above is negative, then go to step 207;
  • the SIM card used in the previous time does not belong to the first country or region, and the SIM card used in this time belongs to the second country or region; the SIM card used in the previous time belongs to the first country. Or the region, the SIM card used this time does not belong to the second country or region; the SIM card used in the previous time does not belong to the first country or region, and the SIM card used this time does not belong to the second country or region.
  • Step 207 saving an international mobile subscriber identity code of the SIM card used this time;
  • step 204 it is determined whether the SIM card used in the previous time belongs to the first country or region, and whether the SIM card used in this time belongs to the judgment result of the second country or region, regardless of whether the judgment result is all belonged, or any one of the judgment results If the item or the above does not belong, it is necessary to save the international mobile subscriber identity code of the SIM card used this time in the non-volatile random access memory.
  • Step 208 ending the operation of selecting the server.
  • the embodiment first determines the international mobile subscriber identity of the SIM card used by the mobile terminal and the previous use. Is the international mobile subscriber identity of the SIM card the same? If it is different, it means that the mobile terminal is used for the first time after cross-border. There may be a situation where access to the Internet is restricted due to cross-border use, so continue to judge the previous use. Whether the SIM card belongs to the first country or region, and whether the SIM card used in this time belongs to the second country or region, and judges whether there is a case where the access to the Internet is restricted, and if so, only the configuration file of the browser in the mobile terminal is cleared instead.
  • the means of restoring the factory settings so that the server can also be switched normally to access the Internet, and the international mobile subscriber identity of the SIM card used this time is saved.
  • the mobile terminal can automatically select an appropriate server without restoring the factory settings, and can avoid unnecessary Internet access restrictions.
  • FIG. 3 is a schematic structural diagram of an apparatus for selecting a server according to the present invention. As shown in the figure, the apparatus includes: a first determining module 31, a second determining module 32, a clearing module 33, a first saving module 34, and a second saving. Module 35.
  • the first determining module 31 is configured to determine whether the international mobile subscriber identity of the SIM card used by the mobile terminal is the same as the international mobile subscriber identity of the previously used SIM card; the second determining module 32 is configured to use the first If the result of the determination of 31 is different, it is determined whether the SIM card used in the previous time belongs to the first country or region, and whether the SIM card used this time belongs to the second country or region; the clearing module 33 is used in the second determining module 32.
  • the configuration file of the browser in the mobile terminal is cleared, so that the browser performs the server switching;
  • the first saving module 34 is configured to save the international mobile subscriber identification code of the SIM card used this time;
  • the module 35 is specifically configured to save the international mobile subscriber identity code of the SIM card used this time when any one or more of the determination results of the second determination module 32 is negative.
  • the second judging module 32 is specifically configured to determine whether the SIM card used in the previous time belongs to a SIM card used by a non-Chinese communication carrier, and whether the SIM card used in this time belongs to a SIM card used by a Chinese telecommunications carrier.
  • the clearing module 33 is specifically configured to clear a configuration file including a @OperaMini folder of the browser in the mobile terminal.
  • the first saving module 34 is specifically configured to save the information of the SIM card used this time in the non-volatile random access memory.
  • the mobile terminal first reads the international mobile subscriber identity code of the last recorded SIM card and the current SIM. The international mobile subscriber identity of the card is determined. Then, the first determining module 31 determines whether the international mobile subscriber identity of the SIM card used by the mobile terminal is the same as the international mobile subscriber identity of the previously used SIM card. When the determination result of the module 31 is different, the second determining module 32 continues to determine whether the SIM card used in the previous time belongs to the first country or region, and whether the SIM card used this time belongs to the second country or region.
  • the first country or region referred to here refers to mainland China, and the second country or region refers to any foreign country. In this embodiment, the judgment of the country or region is mainly judged by the mobile country code of the IMSI.
  • the clearing module 33 clears the configuration file of the browser in the mobile terminal, so that the browser performs the switching of the server. Take the OperaMini browser as an example. You need to delete the configuration file of the OperaMini browser, that is, the @OperaMini folder.
  • the information of the configuration file refers to the traces that the user browses using Opera, including the information of the Opera server, user settings, and browsing information. Information about all configuration files is saved in the @OperaMini folder.
  • the function of the second judging module 32 is to determine whether the SIM card used in the previous time belongs to the first country or region, and whether the SIM card used in this time belongs to the second country or region, regardless of whether the judgment result of the second judging module 32 belongs to all, If any one or more of the judgment results do not belong, the first save module 34 or the second save module 35 needs to save the international mobile subscriber identity code of the SIM card used this time in the non-volatile random access memory. When the international mobile subscriber identity code of the SIM card used this time and the browser switching server are saved, the operation of selecting the server is ended.
  • the embodiment first determines the international mobile subscriber identity of the SIM card used by the mobile terminal and the previous use. Is the international mobile subscriber identity of the SIM card the same? If it is different, it means that the mobile terminal is used for the first time after cross-border. There may be a situation where access to the Internet is restricted due to cross-border use, so continue to judge the previous use. Whether the SIM card belongs to the first country or region, and whether the SIM card used in this time belongs to the second country or region, and judges whether there is a case where the access to the Internet is restricted, and if so, only the configuration file of the browser in the mobile terminal is cleared instead.
  • the means of restoring the factory settings so that the server can also be switched normally to access the Internet, and the international mobile subscriber identity of the SIM card used this time is saved.
  • the mobile terminal can automatically select an appropriate server without restoring the factory settings, and can avoid unnecessary Internet access restrictions.

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)
  • Telephone Function (AREA)

Abstract

Disclosed is a method for selecting a server. The method comprises: judging whether an international mobile subscriber identification number of a SIM card used by a mobile terminal currently is the same as an international mobile subscriber identification number of a SIM card used by the mobile terminal last time; if not, judging whether the SIM card used last time belongs to a first country or district and whether the SIM card used currently belongs to a second country or district; if yes, clearing configuration files of a browser in the mobile terminal; and saving the international mobile subscriber identification number of the SIM card used currently. According to the abovementioned manner, the mobile terminal can automatically select a proper server without restoring factory settings.

Description

一种选择服务器的方法及装置Method and device for selecting server
【技术领域】[Technical Field]
本发明涉及移动通信领域,特别是涉及一种选择服务器的方法及装置。  The present invention relates to the field of mobile communications, and in particular, to a method and apparatus for selecting a server.
【背景技术】 【Background technique】
OperaMini浏览器是为移动设备而开发的一种小巧的浏览器。为了节省移动设备端的资源消耗,OperaMini浏览器由客户端(Client)和服务器端(Server)共同来完成浏览网页的功能。即由Server端来完成网页的解析,然后压缩编码后发送给OperaMini浏览器的Client端来显示。而OperaMini浏览器根据地区的不同,Client端也会选择不同的Server,从而达到加速浏览的目的。The OperaMini browser is a small browser developed for mobile devices. In order to save resources on the mobile device side, the OperaMini browser is used by the client (Client) and the server (Server) to complete the function of browsing the webpage. That is, the server side completes the parsing of the webpage, and then compresses the encoding and sends it to the client side of the OperaMini browser for display. The OperaMini browser also selects different servers depending on the region, so as to speed up browsing.
但是,由于中国的Server对一些网页的访问有所限制,造成了中国国内Server和国外Server的处理能力有所差别。例如,国外的运营商要求手机浏览器必须可以登录facebook,tweeter等社交网站。但是根据中国的规定,这些网站是禁止访问的。所以OperaMini浏览器如果使用中国运营商的SIM 卡,这些网站是禁止访问的,如果使用国外运营商的SIM 卡,facebook、tweeter等网站是可以访问的。However, due to the limitations of China's Server access to some web pages, the processing power of Chinese domestic servers and foreign servers is different. For example, foreign operators require mobile browsers to log in to social networking sites such as facebook and tweeter. However, according to Chinese regulations, these websites are forbidden to visit. So if the OperaMini browser uses the SIM of the Chinese carrier Cards, these websites are forbidden to visit. If you use the SIM card of a foreign carrier, websites such as facebook and tweeter are accessible.
OperaMini浏览器较新的版本,实现了Server的自动选择,即根据语言、地区和SIM卡等信息自动选择使用中国国内还是国外的Server,从而完成不同的需求。The newer version of the OperaMini browser enables the automatic selection of the server, which automatically selects whether to use the domestic or foreign server according to the language, region and SIM card, thus fulfilling different needs.
目前,OperaMini浏览器虽然可以自动选择Server,但是,还存在一个缺陷,就是当用户第一次使用中国运营商的SIM 卡时,OperaMini的配置文件记录了Server的信息后,再换为国外运营商的SIM卡后,不能再切换为国外的Server了,这样本来国外运营商允许访问的网站被中国Server屏蔽掉了。除非恢复手机的出厂设置,再使用国外运营商的SIM 卡,才能正常使用。但是对用户十分不方便,因为恢复出厂设置后,所有的用户信息都会丢失。这样对某些国内外经常出差的用户造成了困扰。At present, although the OperaMini browser can automatically select Server, there is still a defect when the user first uses the SIM of the Chinese operator. When the card is used, the OperaMini configuration file records the information of the server, and then switches to the foreign carrier's SIM card, and can no longer switch to the foreign server, so the website that the foreign operator allowed to access is blocked by the Chinese server. Unless you restore the factory settings of your phone, use the SIM of the foreign carrier. Card can be used normally. However, it is very inconvenient for the user, because all user information will be lost after the factory reset. This has caused problems for some users who travel frequently at home and abroad.
【发明内容】 [Summary of the Invention]
本发明主要解决的技术问题是提供一种选择服务器的方法及装置,能够在不恢复出厂设置的情况下,移动终端能够自动选择合适的服务器,并且能够避免不必要的互联网访问限制。The technical problem to be solved by the present invention is to provide a method and apparatus for selecting a server, which can automatically select a suitable server without restoring the factory settings, and can avoid unnecessary Internet access restrictions.
为解决上述技术问题,本发明采用的一个技术方案是:提供一种选择服务器的方法,该方法包括:判断移动终端本次使用的SIM卡的国际移动用户识别码与前一次使用的SIM卡的国际移动用户识别码是否相同;若上述判断的结果为不相同,则判断所述前一次使用的SIM卡是否属于非中国大陆通信运营商所使用SIM卡、本次使用的SIM卡是否属于中国大陆通信运营商所使用SIM卡;若上述判断结果均为属于,则清除移动终端中浏览器的包括@OperaMini文件夹在内的配置文件;保存本次使用的SIM卡的国际移动用户识别码。In order to solve the above technical problem, a technical solution adopted by the present invention is to provide a method for selecting a server, the method comprising: determining an international mobile subscriber identity of a SIM card used by the mobile terminal and a SIM card used in the previous time. Whether the international mobile subscriber identity is the same; if the result of the above determination is different, it is determined whether the SIM card used in the previous time belongs to a SIM card used by a non-Chinese communication carrier, and whether the SIM card used this time belongs to mainland China The SIM card used by the communication carrier; if the above judgment results belong to all, the configuration file including the @OperaMini folder of the browser in the mobile terminal is cleared; and the international mobile subscriber identification code of the SIM card used this time is saved.
其中,判断移动终端前一次使用的SIM卡是否属于非中国大陆通信运营商所使用SIM卡、本次使用的SIM卡是否属于中国大陆通信运营商所使用SIM卡的步骤之后包括:若上述任何一项或以上判断为否,则保存所述本次使用的SIM卡的国际移动用户识别码。Wherein, determining whether the SIM card used by the mobile terminal before is a SIM card used by a non-Chinese communication carrier, and whether the SIM card used in this time belongs to a SIM card used by a Chinese communication carrier includes: if any of the above If the item or the above judgment is negative, the international mobile subscriber identity code of the SIM card used this time is saved.
其中,在保存所述本次使用的SIM卡的国际移动用户识别码,以使所述浏览器进行所述服务器的切换的步骤中,所述本次使用的SIM卡的信息保存在非易失性随机访问存储器中。Wherein, in the step of saving the international mobile subscriber identity code of the SIM card used in the current use, so that the browser performs the handover of the server, the information of the SIM card used in the current time is saved in a non-volatile manner. Random access memory.
为解决上述技术问题,本发明采用的另一个技术方案是:提供一种选择服务器的方法,该方法包括:判断移动终端本次使用的SIM卡的国际移动用户识别码与前一次使用的SIM卡的国际移动用户识别码是否相同;若上述判断的结果为不相同,则判断前一次使用的SIM卡是否属于第一国家或地区,本次使用的SIM卡是否属于第二国家或地区;若上述判断的结果均为属于,则清除移动终端中浏览器的配置文件,以使浏览器进行服务器的切换;保存本次使用的SIM卡的国际移动用户识别码。In order to solve the above technical problem, another technical solution adopted by the present invention is to provide a method for selecting a server, the method comprising: determining an international mobile subscriber identity of a SIM card used by the mobile terminal and a SIM card used last time. Whether the international mobile subscriber identity is the same; if the result of the above judgment is different, it is determined whether the SIM card used in the previous time belongs to the first country or region, and whether the SIM card used in this time belongs to the second country or region; If the result of the judgment belongs to all, the configuration file of the browser in the mobile terminal is cleared, so that the browser performs the server switching; and the international mobile subscriber identification code of the SIM card used this time is saved.
其中,判断前一次使用的SIM卡是否属于第一国家或地区,本次使用的SIM卡是否属于第二国家或地区的步骤包括:判断前一次使用的SIM卡是否属于非中国大陆通信运营商所使用SIM卡、本次使用的SIM卡是否属于中国大陆通信运营商所使用SIM卡。Wherein, determining whether the previously used SIM card belongs to the first country or region, and whether the SIM card used in this time belongs to the second country or region includes: determining whether the previously used SIM card belongs to a non-Chinese communication carrier Whether the SIM card used in this time or the SIM card used in this time belongs to the SIM card used by the Chinese communication carrier.
其中,清除移动终端中浏览器的配置文件,以使浏览器进行服务器的切换的步骤包括:清除移动终端中浏览器的包括@OperaMini文件夹在内的配置文件。The step of clearing the configuration file of the browser in the mobile terminal to enable the browser to perform the server switching includes: clearing the configuration file of the browser in the mobile terminal including the @OperaMini folder.
其中,判断前一次使用的SIM卡是否属于第一国家或地区、本次使用的SIM卡是否属于第二国家或地区的步骤之后包括:若上述任何一项或以上判断为否,则保存本次使用的SIM卡的国际移动用户识别码。Wherein, determining whether the previously used SIM card belongs to the first country or region, and whether the SIM card used in this time belongs to the second country or region includes: if any one of the above or above is negative, the current time is saved. The international mobile subscriber identity of the SIM card used.
其中,在保存本次使用的SIM卡的国际移动用户识别码,以使浏览器进行服务器的切换的步骤中,本次使用的SIM卡的信息保存在非易失性随机访问存储器中。The information of the SIM card used this time is stored in the non-volatile random access memory in the step of storing the international mobile subscriber identity code of the SIM card used in this time so that the browser performs the server switching.
为解决上述技术问题,本发明采用的又一个技术方案是:提供一种选择服务器的装置,该装置包括:第一判断模块,用于判断移动终端本次使用的SIM卡的国际移动用户识别码与前一次使用的SIM卡的国际移动用户识别码是否相同;第二判断模块,用于在第一判断模块的判断结果为不相同时,判断前一次使用的SIM卡是否属于第一国家或地区,本次使用的SIM卡是否属于第二国家或地区;清除模块,用于在第二判断模块的判断结果均为属于时,清除移动终端中浏览器的配置文件,以使浏览器进行服务器的切换;第一保存模块,用于保存本次使用的SIM卡的国际移动用户识别码。In order to solve the above technical problem, another technical solution adopted by the present invention is to provide a device for selecting a server, the device comprising: a first determining module, configured to determine an international mobile subscriber identity of the SIM card used by the mobile terminal. Whether the international mobile subscriber identity code of the previously used SIM card is the same; the second judging module is configured to determine whether the SIM card used last time belongs to the first country or region when the judgment result of the first judging module is different Whether the SIM card used in this time belongs to the second country or region; the clearing module is configured to clear the configuration file of the browser in the mobile terminal when the judgment result of the second determining module belongs to the browser, so that the browser performs the server Switching; the first saving module is used to save the international mobile subscriber identity of the SIM card used this time.
其中,第二判断模块具体用于判断前一次使用的SIM卡是否属于非中国大陆通信运营商所使用SIM卡、本次使用的SIM卡是否属于中国大陆通信运营商所使用SIM卡。The second determining module is specifically configured to determine whether the SIM card used in the previous time belongs to a SIM card used by a non-Chinese communication carrier, and whether the SIM card used in this time belongs to a SIM card used by a Chinese communication carrier.
其中,清除模块具体用于清除移动终端中浏览器的包括@OperaMini文件夹在内的配置文件。The clearing module is specifically configured to clear a configuration file including a @OperaMini folder of the browser in the mobile terminal.
其中,该装置包括第二保存模块,第二保存模块具体用于在第二判断模块的判断结果中的任何一项或以上判断为否时,保存本次使用的SIM卡的国际移动用户识别码。The device includes a second save module, and the second save module is configured to save the international mobile subscriber identity of the used SIM card when any one or more of the determination results of the second determination module is negative. .
其中,第一保存模块具体用于将本次使用的SIM卡的信息保存在非易失性随机访问存储器中。The first saving module is specifically configured to save the information of the SIM card used this time in the non-volatile random access memory.
本发明的有益效果是:区别于现有技术移动终端在跨境使用时为消除访问互联网的限制而需恢复出厂设置的情况,本发明首先判断移动终端本次使用的SIM卡的国际移动用户识别码与前一次使用的SIM卡的国际移动用户识别码是否相同,如果不同则说明是在跨境后第一次使用移动终端,有可能存在因跨境使用而导致访问互联网受限的情况,因而继续判断前一次使用的SIM卡是否属于第一国家或地区,而本次使用的SIM卡是否属于第二国家或地区,判断是否确实存在访问互联网受限的情况,若是则仅清除移动终端中浏览器的配置文件以代替恢复出厂设置的手段,这样也同样可以正常地进行服务器的切换以访问互联网,同时保存本次使用的SIM卡的国际移动用户识别码。通过上述方式,显然能够在不恢复出厂设置的情况下,移动终端能够自动选择合适的服务器,并且能够避免不必要的互联网访问限制。The invention has the beneficial effects that the prior art mobile terminal needs to restore the factory settings when the cross-border use is used to eliminate the limitation of accessing the Internet. The present invention first determines the international mobile subscriber identity of the SIM card used by the mobile terminal. Whether the code is the same as the international mobile subscriber identity code of the SIM card used last time. If it is different, it means that the mobile terminal is used for the first time after cross-border, and there may be a situation in which access to the Internet is restricted due to cross-border use. Continue to judge whether the SIM card used in the previous time belongs to the first country or region, and whether the SIM card used this time belongs to the second country or region, and determine whether there is a case where the access to the Internet is restricted, and if so, only clear the browsing in the mobile terminal. The configuration file of the device replaces the means of restoring the factory settings, so that the server can also be switched normally to access the Internet, and the international mobile subscriber identity of the SIM card used this time is saved. In the above manner, it is apparent that the mobile terminal can automatically select an appropriate server without restoring the factory settings, and can avoid unnecessary Internet access restrictions.
【附图说明】 [Description of the Drawings]
图1是 本发明选择服务器的方法一实施例的流程示意图;1 is a schematic flow chart of an embodiment of a method for selecting a server according to the present invention;
图2是 本发明选择服务器的方法另一实施例的流程示意图;2 is a schematic flow chart of another embodiment of a method for selecting a server according to the present invention;
图3是 本发明选择服务器的装置一实施例的结构示意图。FIG. 3 is a schematic structural diagram of an apparatus for selecting a server according to the present invention.
【具体实施方式】 【detailed description】
下面结合附图和实施例对本发明进行详细说明。The invention will now be described in detail in conjunction with the drawings and embodiments.
图1是本发明选择服务器的方法一实施例的流程示意图,具体实施步骤如下:FIG. 1 is a schematic flowchart of a method for selecting a server according to an embodiment of the present invention, and the specific implementation steps are as follows:
步骤101,判断移动终端本次使用的SIM卡的国际移动用户识别码与前一次使用的SIM卡的国际移动用户识别码是否相同;Step 101: Determine whether the international mobile subscriber identity of the SIM card used by the mobile terminal is the same as the international mobile subscriber identity of the SIM card used previously;
首先移动终端在使用SIM卡时,会记录SIM卡的信息,这样,再更换SIM卡时,移动终端会读取上次记录的SIM 卡信息与本次SIM 卡的信息,并将二者进行比较。这里所述的SIM卡的信息是指SIM卡的国际移动用户识别码(international mobile subscriber identity,IMSI)。IMSI是国际上为唯一识别一个移动用户所分配的号码。First, when the mobile terminal uses the SIM card, the information of the SIM card is recorded, so that when the SIM card is replaced, the mobile terminal reads the last recorded SIM. Card information and the information of this SIM card, and compare the two. The information of the SIM card described here refers to the international mobile subscriber identity of the SIM card (international mobile Subscriber identity, IMSI). IMSI is the number assigned internationally to uniquely identify a mobile subscriber.
IMSI共有15位,其结构如下: There are 15 IMSIs, and their structure is as follows:
MCC+MNC+MSIN MCC+MNC+MSIN
MCC:Mobile Country Code,移动国家码,共3位,中国为460;MCC: Mobile Country Code, mobile country code, a total of 3, China is 460;
MNC:Mobile Network Code,移动网络码,共2位,如:联通CDMA系统使用03,一个典型的IMSI号码为460030912121001;MNC: Mobile Network Code, mobile network code, a total of 2 digits, such as: China Unicom CDMA system uses 03, a typical IMSI number is 46300301121121001;
MSIN:Mobile Subscriber Identification Number,移动用户识别码,共有10位,其结构如下: MSIN: Mobile Subscriber Identification Number, mobile user ID, has a total of 10 digits, and its structure is as follows:
09+M0M1M2M3+ABCD09+M0M1M2M3+ABCD
其中,M0M1M2M3和MDN号码中的H0H1H2H3可存在对应关系,ABCD四位为自由分配。IMSI和 MDN是存储在不同的网络实体中。MDN (Mobile Directory Number) 是每个用户的个人号码,如中国联通MDN是以133打头的,并存储在归属位置寄存器(Home Location Register,HLR)中。 IMSI是系统内部对每个用户的标识,存储在用户识别模块(User Identity Module,UIM)中。用户购买了一张UIM卡,并选择了一个号码,就建立了IMSI和MDN的对应关系,这个对应关系存储在HLR中。Among them, there is a corresponding relationship between M0M1M2M3 and H0H1H2H3 in the MDN number, and the four bits of ABCD are freely allocated. IMSI and The MDN is stored in different network entities. MDN (Mobile Directory Number) It is the personal number of each user. For example, China Unicom MDN starts with 133 and is stored in the Home Location Register (HLR). IMSI is the ID of each user inside the system and is stored in the user identification module (User Identity). Module, UIM). When the user purchases a UIM card and selects a number, the correspondence between the IMSI and the MDN is established, and the correspondence is stored in the HLR.
可以看出IMSI在MSIN号码前加了MCC,可以区别出每个用户的来自的国家,因此可以实现国际漫游。在同一个国家内,如果有多个运营商,可以通过MNC来进行区别。It can be seen that the IMSI adds the MCC before the MSIN number, which can distinguish the country from which each user is from, so international roaming can be achieved. In the same country, if there are multiple operators, the difference can be made through MNC.
步骤102,若上述判断的结果为不相同,则判断前一次使用的SIM卡是否属于第一国家或地区,本次使用的SIM卡是否属于第二国家或地区;Step 102: If the result of the foregoing determination is different, it is determined whether the SIM card used in the previous time belongs to the first country or region, and whether the SIM card used in this time belongs to the second country or region;
当判断出移动终端本次使用的SIM卡的国际移动用户识别码与前一次使用的SIM卡的国际移动用户识别码不相同时,需要继续判断前一次使用的SIM卡是否属于第一国家或地区,本次使用的SIM卡是否属于第二国家或地区。这里所说的第一国家或地区是指中国大陆,第二国家或地区是指国外的任何一个国家。具体需要判断的是,前一次使用是否为中国大陆通信运营商的SIM 卡,本次使用是否为国外通信运营商的SIM 卡,我们可以根据IMSI的前三位来判断是否为中国大陆通信运营商的SIM 卡更换为国外通信运营商的SIM 卡。同时移动终端还需要判断前一次使用的SIM卡是否属于非中国大陆通信运营商所使用SIM卡、本次使用的SIM卡是否属于中国大陆通信运营商所使用SIM卡。When it is determined that the international mobile subscriber identity of the SIM card used by the mobile terminal is not the same as the international mobile subscriber identity of the previously used SIM card, it is necessary to continue to determine whether the SIM card used in the previous time belongs to the first country or region. Whether the SIM card used this time belongs to the second country or region. The first country or region referred to here refers to mainland China, and the second country or region refers to any foreign country. The specific need to judge is whether the previous use is the SIM of the Chinese communication carrier. Card, whether this use is the SIM card of the foreign communication carrier, we can judge whether to change the SIM card of the Chinese communication carrier to the SIM of the foreign communication carrier according to the first three digits of the IMSI. Card. At the same time, the mobile terminal also needs to judge whether the SIM card used in the previous time belongs to the SIM card used by the non-Chinese communication operator, and whether the SIM card used this time belongs to the SIM card used by the Chinese communication operator.
当判断出移动终端本次使用的SIM卡的国际移动用户识别码与前一次使用的SIM卡的国际移动用户识别码相同时,不进行任何操作。When it is judged that the international mobile subscriber identity code of the SIM card used by the mobile terminal this time is the same as the international mobile subscriber identity code of the SIM card used last time, no operation is performed.
在其它实施例中,上述第一国家或地区是指访问互联网受限的国家或地区,第二国家或地区是指访问互联网不受限制的国家或地区。移动终端的SIM卡的切换过程中,浏览器的访问凡是从访问互联网受限的国家或地区到不受限制的国家或地区的情况,均在本发明保护范围之内。In other embodiments, the first country or region refers to a country or region where access to the Internet is restricted, and the second country or region refers to a country or region where access to the Internet is not restricted. In the process of switching the SIM card of the mobile terminal, the access of the browser is from the access to the Internet-restricted country or region to the unrestricted country or region, and is within the scope of the present invention.
步骤103,若上述判断的结果均为属于,则清除移动终端中浏览器的配置文件,以使浏览器进行服务器的切换;Step 103: If the result of the foregoing determination belongs to all, clear the configuration file of the browser in the mobile terminal, so that the browser performs the server switching;
当判断结果为中国大陆通信运营商的SIM 卡更换为国外通信运营商的SIM 卡时,删除浏览器的配置文件。When the judgment result is that the SIM card of the Chinese communication carrier is replaced with the SIM card of the foreign communication carrier, the configuration file of the browser is deleted.
以OperaMini浏览器为例,需要删除OperaMini浏览器的配置文件,即@OperaMini文件夹。配置文件的信息是指用户使用Opera浏览的痕迹,包括Opera服务器的信息、用户设置以及浏览信息等。所有配置文件的信息保存在@OperaMini文件夹中。Take the OperaMini browser as an example. You need to delete the configuration file of the OperaMini browser, that is, the @OperaMini folder. The information of the configuration file refers to the traces that the user browses using Opera, including the information of the Opera server, user settings, and browsing information. Information about all configuration files is saved in the @OperaMini folder.
当用户第一次使用中国大陆运营商的SIM 卡后,OperaMini浏览器的配置文件会记录Server的信息,这样,如果再换为国外通信运营商的SIM 卡,OperaMini浏览器就不能切换为国外的Server,使得本来国外通信运营商允许访问的网站被中国大陆的Server屏蔽掉。所以需要删除配置文件的信息,以使OperaMini浏览器可以切换到国外的Server。删除OperaMini浏览器的所有配置信息,用户只是丢失了浏览器的用户信息,而不会使移动终端中所有的用户信息都丢失。避免了现有技术中中国大陆运营商的SIM 卡更换为国外通信运营商的SIM 卡时,需恢复移动终端的出厂设置,才能切换到国外Server的弊端,即恢复出厂设置后,所有用户信息都丢失的困扰。本发明可以最小程度上减少用户信息的丢失,给用户带来了方便,并且为有此类问题的C/S方式的手机应用程序,提供了一个解决方案。When the user first uses the SIM of the Chinese mainland operator After the card, the configuration file of the OperaMini browser will record the information of the server, so if it is replaced by the SIM of the foreign communication carrier. Card, OperaMini browser can not be switched to a foreign server, so that the websites that foreign communication operators are allowed to access are blocked by the mainland China server. Therefore, you need to delete the configuration file information so that the OperaMini browser can switch to a foreign server. By deleting all the configuration information of the OperaMini browser, the user simply loses the user information of the browser without losing all the user information in the mobile terminal. Avoiding the SIM of the Chinese mainland operators in the prior art Replace the card with the SIM of the foreign communication carrier When the card is used, it is necessary to restore the factory settings of the mobile terminal, in order to switch to the disadvantages of the foreign server, that is, all the user information is lost after the factory setting is restored. The invention can minimize the loss of user information, brings convenience to the user, and provides a solution for the C/S mode mobile phone application having such problems.
步骤104,保存本次使用的SIM卡的国际移动用户识别码。Step 104: Save the international mobile subscriber identity of the SIM card used this time.
本次使用的SIM卡的信息保存在非易失性随机访问存储器(Non-Volatile Random Access Memory,NVRAM)中。当判断出移动终端本次使用的SIM卡的国际移动用户识别码与前一次使用的SIM卡的国际移动用户识别码不相同时,需要保存本次使用的SIM卡的信息。The information of the SIM card used this time is stored in a non-volatile random access memory (Non-Volatile Random Access). Memory, NVRAM). When it is determined that the international mobile subscriber identity code of the SIM card used by the mobile terminal is not the same as the international mobile subscriber identity code of the SIM card used last time, it is necessary to save the information of the SIM card used this time.
其中,如果使用国外的SIM卡在中国漫游,没有切换服务器的问题,因为在中国漫游还是使用国外运营商的网络,所以不会有限制网站浏览的问题。本发明是针对中国国内和外国经常出差的人来说,即只要切到中国的服务器,就再也切换不到国外的服务器了。Among them, if you use a foreign SIM card to roam in China, there is no problem of switching servers. Because roaming in China or using the network of foreign operators, there is no problem of restricting website browsing. The present invention is directed to people who travel frequently in China and abroad, that is, as long as they cut into a server in China, they can no longer switch to a foreign server.
区别于现有技术移动终端在跨境使用时为消除访问互联网的限制而需恢复出厂设置的情况,本发明首先判断移动终端本次使用的SIM卡的国际移动用户识别码与前一次使用的SIM卡的国际移动用户识别码是否相同,如果不同则说明是在跨境后第一次使用移动终端,有可能存在因跨境使用而导致访问互联网受限的情况,因而继续判断前一次使用的SIM卡是否属于第一国家或地区,而本次使用的SIM卡是否属于第二国家或地区,判断是否确实存在访问互联网受限的情况,若是则仅清除移动终端中浏览器的配置文件以代替恢复出厂设置的手段,这样也同样可以正常地进行服务器的切换以访问互联网,同时保存本次使用的SIM卡的国际移动用户识别码。通过上述方式,显然能够在不恢复出厂设置的情况下,移动终端能够自动选择合适的服务器,并且能够避免不必要的互联网访问限制。Different from the prior art, when the mobile terminal needs to restore the factory settings to eliminate the limitation of accessing the Internet during cross-border use, the present invention first determines the international mobile subscriber identity of the SIM card used by the mobile terminal and the previously used SIM. Whether the international mobile subscriber identity of the card is the same. If it is different, it means that the mobile terminal is used for the first time after cross-border. There may be a situation where access to the Internet is restricted due to cross-border use. Therefore, the SIM that was used last time is continuously judged. Whether the card belongs to the first country or region, and whether the SIM card used this time belongs to the second country or region, and judge whether there is a case where the access to the Internet is restricted, and if so, only the configuration file of the browser in the mobile terminal is cleared instead of the recovery. The factory setting means that the server can also be switched normally to access the Internet, and the international mobile subscriber identity of the SIM card used this time is saved. In the above manner, it is apparent that the mobile terminal can automatically select an appropriate server without restoring the factory settings, and can avoid unnecessary Internet access restrictions.
图2是本发明选择服务器的方法另一实施例的流程示意图,具体实施步骤如下:2 is a schematic flowchart of another embodiment of a method for selecting a server according to the present invention, and the specific implementation steps are as follows:
步骤201, 读取移动终端前一次使用的SIM卡的国际移动用户识别码以及本次使用的SIM卡的国际移动用户识别码; Step 201, Reading the international mobile subscriber identity of the SIM card used by the mobile terminal and the international mobile subscriber identity of the SIM card used this time;
移动终端在使用SIM卡时,会记录SIM卡的信息,并将SIM卡的信息保存在非易失性随机访问存储器中,这样,再更换SIM卡时,移动终端会读取上次记录的SIM 卡信息与本次SIM 卡的信息。这里所述的SIM卡的信息是指SIM卡的国际移动用户识别码。When the mobile terminal uses the SIM card, the information of the SIM card is recorded, and the information of the SIM card is saved in the non-volatile random access memory, so that when the SIM card is replaced, the mobile terminal reads the last recorded SIM. Card information and information about this SIM card. The information of the SIM card described herein refers to the international mobile subscriber identity of the SIM card.
步骤202,判断移动终端本次使用的SIM卡的国际移动用户识别码与前一次使用的SIM卡的国际移动用户识别码是否相同;Step 202: Determine whether the international mobile subscriber identity of the SIM card used by the mobile terminal is the same as the international mobile subscriber identity of the SIM card used previously;
具体需要判断移动终端本次使用的SIM卡的IMSI与前一次使用的SIM卡的IMSI是否相同。Specifically, it is necessary to determine whether the IMSI of the SIM card used by the mobile terminal is the same as the IMSI of the SIM card used last time.
步骤203,移动终端本次使用的SIM卡的国际移动用户识别码与前一次使用的SIM卡的国际移动用户识别码相同,则转至步骤208; Step 203, the international mobile subscriber identity code of the SIM card used by the mobile terminal is the same as the international mobile subscriber identity code of the SIM card used last time, then go to step 208;
当判断出移动终端本次使用的SIM卡的国际移动用户识别码与前一次使用的SIM卡的国际移动用户识别码相同时,结束选择服务器的操作。When it is determined that the international mobile subscriber identity of the SIM card used by the mobile terminal is the same as the international mobile subscriber identity of the previously used SIM card, the operation of selecting the server is ended.
步骤204,若上述判断的结果为不相同,则判断前一次使用的SIM卡是否属于第一国家或地区,本次使用的SIM卡是否属于第二国家或地区;Step 204: If the result of the foregoing determination is different, determine whether the SIM card used in the previous time belongs to the first country or region, and whether the SIM card used in this time belongs to the second country or region;
当判断出移动终端本次使用的SIM卡的国际移动用户识别码与前一次使用的SIM卡的国际移动用户识别码不相同时,需要继续判断前一次使用的SIM卡是否属于第一国家或地区,本次使用的SIM卡是否属于第二国家或地区。这里所说的第一国家或地区是指中国大陆,第二国家或地区是指国外的任何一个国家。本实施例中,国家或地区的判断主要是通过IMSI的移动国家码来判断。When it is determined that the international mobile subscriber identity of the SIM card used by the mobile terminal is not the same as the international mobile subscriber identity of the previously used SIM card, it is necessary to continue to determine whether the SIM card used in the previous time belongs to the first country or region. Whether the SIM card used this time belongs to the second country or region. The first country or region referred to here refers to mainland China, and the second country or region refers to any foreign country. In this embodiment, the judgment of the country or region is mainly judged by the mobile country code of the IMSI.
具体需要判断的是,前一次使用是否为中国大陆通信运营商的SIM 卡,本次使用是否为国外通信运营商的SIM 卡,我们可以根据IMSI的前三位来判断是否为中国大陆通信运营商的SIM 卡更换为国外通信运营商的SIM 卡。同时移动终端还需要判断前一次使用的SIM卡是否属于非中国大陆通信运营商所使用SIM卡、本次使用的SIM卡是否属于中国大陆通信运营商所使用SIM卡。The specific need to judge whether the previous use is the SIM card of the Chinese communication carrier, whether this use is the SIM of the foreign communication carrier Card, we can judge whether to change the SIM card of the Chinese communication carrier to the SIM of the foreign communication carrier according to the first three digits of the IMSI. Card. At the same time, the mobile terminal also needs to judge whether the SIM card used in the previous time belongs to the SIM card used by the non-Chinese communication operator, and whether the SIM card used this time belongs to the SIM card used by the Chinese communication operator.
步骤205,若上述判断的结果均为属于,则清除移动终端中浏览器的配置文件,以使浏览器进行服务器的切换;Step 205: If the result of the foregoing determination belongs to, the configuration file of the browser in the mobile terminal is cleared, so that the browser performs the server switching.
当判断结果为中国大陆通信运营商的SIM 卡更换为国外通信运营商的SIM 卡时,删除浏览器的配置文件。When the judgment result is that the SIM card of the Chinese communication carrier is replaced with the SIM card of the foreign communication carrier, the configuration file of the browser is deleted.
以OperaMini浏览器为例,需要删除OperaMini浏览器的配置文件,即@OperaMini文件夹。配置文件的信息是指用户使用Opera浏览的痕迹,包括Opera服务器的信息、用户设置以及浏览信息等。所有配置文件的信息保存在@OperaMini文件夹中。Take the OperaMini browser as an example. You need to delete the configuration file of the OperaMini browser, that is, the @OperaMini folder. The information of the configuration file refers to the traces that the user browses using Opera, including the information of the Opera server, user settings, and browsing information. Information about all configuration files is saved in the @OperaMini folder.
当用户第一次使用中国大陆运营商的SIM 卡后,OperaMini浏览器的配置文件会记录Server的信息,这样,如果再换为国外通信运营商的SIM 卡,OperaMini浏览器就不能切换为国外的Server,使得本来国外通信运营商允许访问的网站被中国大陆的Server屏蔽掉。所以需要删除配置文件的信息,以使OperaMini浏览器可以切换到国外的Server。删除OperaMini浏览器的所有配置信息,用户只是丢失了浏览器的用户信息,而不会使移动终端中所用的用户信息都丢失。避免了现有技术中中国大陆运营商的SIM 卡更换为国外通信运营商的SIM 卡时,需恢复移动终端的出厂设置,才能切换到国外Server的弊端,即恢复出厂设置后,所有用户信息都丢失的困扰。本发明可以最小程度上减少用户信息的丢失,给用户带来了方便,并且为有此类问题的C/S方式的手机应用程序,提供了一个解决方案。When the user first uses the SIM of the Chinese mainland operator After the card, the configuration file of the OperaMini browser will record the information of the server, so if it is replaced by the SIM of the foreign communication carrier. Card, OperaMini browser can not be switched to a foreign server, so that the websites that foreign communication operators are allowed to access are blocked by the mainland China server. Therefore, you need to delete the configuration file information so that the OperaMini browser can switch to a foreign server. By deleting all the configuration information of the OperaMini browser, the user simply loses the user information of the browser without losing the user information used in the mobile terminal. Avoiding the SIM of the Chinese mainland operators in the prior art Replace the card with the SIM of the foreign communication carrier When the card is used, it is necessary to restore the factory settings of the mobile terminal, in order to switch to the disadvantages of the foreign server, that is, all the user information is lost after the factory setting is restored. The invention can minimize the loss of user information, brings convenience to the user, and provides a solution for the C/S mode mobile phone application having such problems.
步骤206,若上述任何一项或以上判断为否,则转至步骤207;Step 206, if any of the above or above is negative, then go to step 207;
上述任何一项或以上判断为否的情况包括:前一次使用的SIM卡不属于第一国家或地区,本次使用的SIM卡属于第二国家或地区;前一次使用的SIM卡属于第一国家或地区,本次使用的SIM卡不属于第二国家或地区;前一次使用的SIM卡不属于第一国家或地区,本次使用的SIM卡不属于第二国家或地区。If the above judgment is negative or not, the SIM card used in the previous time does not belong to the first country or region, and the SIM card used in this time belongs to the second country or region; the SIM card used in the previous time belongs to the first country. Or the region, the SIM card used this time does not belong to the second country or region; the SIM card used in the previous time does not belong to the first country or region, and the SIM card used this time does not belong to the second country or region.
步骤207,保存本次使用的SIM卡的国际移动用户识别码; Step 207, saving an international mobile subscriber identity code of the SIM card used this time;
在步骤204判断前一次使用的SIM卡是否属于第一国家或地区,本次使用的SIM卡是否属于第二国家或地区的判断结果中,不论判断结果是全部属于,还是判断结果中有任何一项或以上不属于,都需要将本次使用的SIM卡的国际移动用户识别码保存在非易失性随机访问存储器中。In step 204, it is determined whether the SIM card used in the previous time belongs to the first country or region, and whether the SIM card used in this time belongs to the judgment result of the second country or region, regardless of whether the judgment result is all belonged, or any one of the judgment results If the item or the above does not belong, it is necessary to save the international mobile subscriber identity code of the SIM card used this time in the non-volatile random access memory.
步骤208,结束选择服务器的操作。 Step 208, ending the operation of selecting the server.
区别于现有技术移动终端在跨境使用时为消除访问互联网的限制而需恢复出厂设置的情况,本实施例首先判断移动终端本次使用的SIM卡的国际移动用户识别码与前一次使用的SIM卡的国际移动用户识别码是否相同,如果不同则说明是在跨境后第一次使用移动终端,有可能存在因跨境使用而导致访问互联网受限的情况,因而继续判断前一次使用的SIM卡是否属于第一国家或地区,而本次使用的SIM卡是否属于第二国家或地区,判断是否确实存在访问互联网受限的情况,若是则仅清除移动终端中浏览器的配置文件以代替恢复出厂设置的手段,这样也同样可以正常地进行服务器的切换以访问互联网,同时保存本次使用的SIM卡的国际移动用户识别码。通过上述方式,显然能够在不恢复出厂设置的情况下,移动终端能够自动选择合适的服务器,并且能够避免不必要的互联网访问限制。Different from the prior art, when the mobile terminal needs to restore the factory settings to eliminate the limitation of accessing the Internet during the cross-border use, the embodiment first determines the international mobile subscriber identity of the SIM card used by the mobile terminal and the previous use. Is the international mobile subscriber identity of the SIM card the same? If it is different, it means that the mobile terminal is used for the first time after cross-border. There may be a situation where access to the Internet is restricted due to cross-border use, so continue to judge the previous use. Whether the SIM card belongs to the first country or region, and whether the SIM card used in this time belongs to the second country or region, and judges whether there is a case where the access to the Internet is restricted, and if so, only the configuration file of the browser in the mobile terminal is cleared instead. The means of restoring the factory settings, so that the server can also be switched normally to access the Internet, and the international mobile subscriber identity of the SIM card used this time is saved. In the above manner, it is apparent that the mobile terminal can automatically select an appropriate server without restoring the factory settings, and can avoid unnecessary Internet access restrictions.
图3是本发明选择服务器的装置一实施例的结构示意图,如图所示,该装置包括:第一判断模块31、第二判断模块32、清除模块33、第一保存模块34以及第二保存模块35。3 is a schematic structural diagram of an apparatus for selecting a server according to the present invention. As shown in the figure, the apparatus includes: a first determining module 31, a second determining module 32, a clearing module 33, a first saving module 34, and a second saving. Module 35.
第一判断模块31用于判断移动终端本次使用的SIM卡的国际移动用户识别码与前一次使用的SIM卡的国际移动用户识别码是否相同;第二判断模块32用于在第一判断模块31的判断结果为不相同时,判断前一次使用的SIM卡是否属于第一国家或地区,本次使用的SIM卡是否属于第二国家或地区;清除模块33用于在第二判断模块32的判断结果均为属于时,清除移动终端中浏览器的配置文件,以使浏览器进行服务器的切换;第一保存模块34用于保存本次使用的SIM卡的国际移动用户识别码;第二保存模块35具体用于在第二判断模块32的判断结果中的任何一项或以上判断为否时,保存本次使用的SIM卡的国际移动用户识别码。The first determining module 31 is configured to determine whether the international mobile subscriber identity of the SIM card used by the mobile terminal is the same as the international mobile subscriber identity of the previously used SIM card; the second determining module 32 is configured to use the first If the result of the determination of 31 is different, it is determined whether the SIM card used in the previous time belongs to the first country or region, and whether the SIM card used this time belongs to the second country or region; the clearing module 33 is used in the second determining module 32. When the judgment result is all the same, the configuration file of the browser in the mobile terminal is cleared, so that the browser performs the server switching; the first saving module 34 is configured to save the international mobile subscriber identification code of the SIM card used this time; The module 35 is specifically configured to save the international mobile subscriber identity code of the SIM card used this time when any one or more of the determination results of the second determination module 32 is negative.
其中,第二判断模块32具体用于判断前一次使用的SIM卡是否属于非中国大陆通信运营商所使用SIM卡、本次使用的SIM卡是否属于中国大陆通信运营商所使用SIM卡。清除模块33具体用于清除移动终端中浏览器的包括@OperaMini文件夹在内的配置文件。第一保存模块34具体用于将本次使用的SIM卡的信息保存在非易失性随机访问存储器中。The second judging module 32 is specifically configured to determine whether the SIM card used in the previous time belongs to a SIM card used by a non-Chinese communication carrier, and whether the SIM card used in this time belongs to a SIM card used by a Chinese telecommunications carrier. The clearing module 33 is specifically configured to clear a configuration file including a @OperaMini folder of the browser in the mobile terminal. The first saving module 34 is specifically configured to save the information of the SIM card used this time in the non-volatile random access memory.
在本实施例中,首先移动终端读取上次记录的SIM 卡的国际移动用户识别码与本次SIM 卡的国际移动用户识别码,然后,第一判断模块31判断移动终端本次使用的SIM卡的国际移动用户识别码与前一次使用的SIM卡的国际移动用户识别码是否相同,当第一判断模块31的判断结果为不相同时,第二判断模块32继续判断前一次使用的SIM卡是否属于第一国家或地区,本次使用的SIM卡是否属于第二国家或地区。这里所说的第一国家或地区是指中国大陆,第二国家或地区是指国外的任何一个国家。本实施例中,国家或地区的判断主要是通过IMSI的移动国家码来判断。In this embodiment, the mobile terminal first reads the international mobile subscriber identity code of the last recorded SIM card and the current SIM. The international mobile subscriber identity of the card is determined. Then, the first determining module 31 determines whether the international mobile subscriber identity of the SIM card used by the mobile terminal is the same as the international mobile subscriber identity of the previously used SIM card. When the determination result of the module 31 is different, the second determining module 32 continues to determine whether the SIM card used in the previous time belongs to the first country or region, and whether the SIM card used this time belongs to the second country or region. The first country or region referred to here refers to mainland China, and the second country or region refers to any foreign country. In this embodiment, the judgment of the country or region is mainly judged by the mobile country code of the IMSI.
当第二判断模块32判断出移动终端前一次使用为中国大陆通信运营商的SIM 卡,本次使用为国外通信运营商的SIM 卡时,清除模块33清除移动终端中浏览器的配置文件,以使浏览器进行服务器的切换。以OperaMini浏览器为例,需要删除OperaMini浏览器的配置文件,即@OperaMini文件夹。配置文件的信息是指用户使用Opera浏览的痕迹,包括Opera服务器的信息、用户设置以及浏览信息等。所有配置文件的信息保存在@OperaMini文件夹中。When the second judging module 32 judges that the mobile terminal used the SIM card of the Chinese communication carrier the previous time, the SIM used as the foreign communication carrier is used this time. When the card is in use, the clearing module 33 clears the configuration file of the browser in the mobile terminal, so that the browser performs the switching of the server. Take the OperaMini browser as an example. You need to delete the configuration file of the OperaMini browser, that is, the @OperaMini folder. The information of the configuration file refers to the traces that the user browses using Opera, including the information of the Opera server, user settings, and browsing information. Information about all configuration files is saved in the @OperaMini folder.
第二判断模块32的作用是判断前一次使用的SIM卡是否属于第一国家或地区,本次使用的SIM卡是否属于第二国家或地区,不论第二判断模块32的判断结果是全部属于,还是判断结果中有任何一项或以上不属于,第一保存模块34或第二保存模块35都需要将本次使用的SIM卡的国际移动用户识别码保存在非易失性随机访问存储器中。当保存本次使用的SIM卡的国际移动用户识别码以及浏览器切换服务器后,结束选择服务器的操作。The function of the second judging module 32 is to determine whether the SIM card used in the previous time belongs to the first country or region, and whether the SIM card used in this time belongs to the second country or region, regardless of whether the judgment result of the second judging module 32 belongs to all, If any one or more of the judgment results do not belong, the first save module 34 or the second save module 35 needs to save the international mobile subscriber identity code of the SIM card used this time in the non-volatile random access memory. When the international mobile subscriber identity code of the SIM card used this time and the browser switching server are saved, the operation of selecting the server is ended.
区别于现有技术移动终端在跨境使用时为消除访问互联网的限制而需恢复出厂设置的情况,本实施例首先判断移动终端本次使用的SIM卡的国际移动用户识别码与前一次使用的SIM卡的国际移动用户识别码是否相同,如果不同则说明是在跨境后第一次使用移动终端,有可能存在因跨境使用而导致访问互联网受限的情况,因而继续判断前一次使用的SIM卡是否属于第一国家或地区,而本次使用的SIM卡是否属于第二国家或地区,判断是否确实存在访问互联网受限的情况,若是则仅清除移动终端中浏览器的配置文件以代替恢复出厂设置的手段,这样也同样可以正常地进行服务器的切换以访问互联网,同时保存本次使用的SIM卡的国际移动用户识别码。通过上述方式,显然能够在不恢复出厂设置的情况下,移动终端能够自动选择合适的服务器,并且能够避免不必要的互联网访问限制。Different from the prior art, when the mobile terminal needs to restore the factory settings to eliminate the limitation of accessing the Internet during the cross-border use, the embodiment first determines the international mobile subscriber identity of the SIM card used by the mobile terminal and the previous use. Is the international mobile subscriber identity of the SIM card the same? If it is different, it means that the mobile terminal is used for the first time after cross-border. There may be a situation where access to the Internet is restricted due to cross-border use, so continue to judge the previous use. Whether the SIM card belongs to the first country or region, and whether the SIM card used in this time belongs to the second country or region, and judges whether there is a case where the access to the Internet is restricted, and if so, only the configuration file of the browser in the mobile terminal is cleared instead. The means of restoring the factory settings, so that the server can also be switched normally to access the Internet, and the international mobile subscriber identity of the SIM card used this time is saved. In the above manner, it is apparent that the mobile terminal can automatically select an appropriate server without restoring the factory settings, and can avoid unnecessary Internet access restrictions.
以上所述仅为本发明的实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above is only the embodiment of the present invention, and is not intended to limit the scope of the invention, and the equivalent structure or equivalent process transformation of the present invention and the contents of the drawings may be directly or indirectly applied to other related technologies. The fields are all included in the scope of patent protection of the present invention.

Claims (13)

  1. 一种选择服务器的方法,其中,包括:A method of selecting a server, including:
    判断移动终端本次使用的SIM卡的国际移动用户识别码与前一次使用的SIM卡的国际移动用户识别码是否相同;Determining whether the international mobile subscriber identity of the SIM card used by the mobile terminal is the same as the international mobile subscriber identity of the previously used SIM card;
    若上述判断的结果为不相同,则判断所述前一次使用的SIM卡是否属于非中国大陆通信运营商所使用SIM卡、本次使用的SIM卡是否属于中国大陆通信运营商所使用SIM卡;If the result of the above determination is different, it is determined whether the previously used SIM card belongs to a SIM card used by a non-Chinese communication carrier, and whether the SIM card used this time belongs to a SIM card used by a Chinese communication carrier;
    若上述判断结果均为属于,则清除所述移动终端中浏览器的包括@OperaMini文件夹在内的配置文件;If the foregoing determination results are all belong to, the configuration file including the @OperaMini folder of the browser in the mobile terminal is cleared;
    保存所述本次使用的SIM卡的国际移动用户识别码。The international mobile subscriber identity of the SIM card used this time is saved.
  2. 根据权利要求1所述的方法,其中,The method of claim 1 wherein
    所述判断前一次使用的SIM卡是否属于非中国大陆通信运营商所使用SIM卡、本次使用的SIM卡是否属于中国大陆通信运营商所使用SIM卡的步骤之后包括:The step of determining whether the previously used SIM card belongs to a SIM card used by a non-Chinese communication carrier, and whether the SIM card used in this time belongs to a SIM card used by a Chinese communication carrier includes:
    若上述任何一项或以上判断为否,则保存所述本次使用的SIM卡的国际移动用户识别码。If any of the above or the above is negative, the international mobile subscriber identity of the SIM card used in the current use is saved.
  3. 根据权利要求1所述的方法,其中,The method of claim 1 wherein
    在保存所述本次使用的SIM卡的国际移动用户识别码,以使所述浏览器进行所述服务器的切换的步骤中,所述本次使用的SIM卡的信息保存在非易失性随机访问存储器中。 In the step of saving the international mobile subscriber identity code of the SIM card used in this time, so that the browser performs the handover of the server, the information of the SIM card used this time is stored in a non-volatile random Access to memory.
  4. 一种选择服务器的方法,其中,包括:A method of selecting a server, including:
    判断移动终端本次使用的SIM卡的国际移动用户识别码与前一次使用的SIM卡的国际移动用户识别码是否相同;Determining whether the international mobile subscriber identity of the SIM card used by the mobile terminal is the same as the international mobile subscriber identity of the previously used SIM card;
    若上述判断的结果为不相同,则判断所述前一次使用的SIM卡是否属于第一国家或地区,所述本次使用的SIM卡是否属于第二国家或地区;If the result of the above determination is different, it is determined whether the SIM card used in the previous time belongs to the first country or region, and whether the SIM card used in the current time belongs to the second country or region;
    若上述判断的结果均为属于,则清除所述移动终端中浏览器的配置文件,以使所述浏览器进行所述服务器的切换;If the result of the foregoing determination belongs to, the configuration file of the browser in the mobile terminal is cleared, so that the browser performs the switching of the server;
    保存所述本次使用的SIM卡的国际移动用户识别码。The international mobile subscriber identity of the SIM card used this time is saved.
  5. 根据权利要求4所述的方法,其中,The method of claim 4, wherein
    所述判断所述前一次使用的SIM卡是否属于第一国家或地区,本次使用的SIM卡是否属于第二国家或地区的步骤包括:The determining whether the previously used SIM card belongs to the first country or region, and whether the SIM card used in this time belongs to the second country or region includes:
    判断所述前一次使用的SIM卡是否属于非中国大陆通信运营商所使用SIM卡、本次使用的SIM卡是否属于中国大陆通信运营商所使用SIM卡。It is judged whether the SIM card used in the previous time belongs to the SIM card used by the non-Chinese communication operator, and whether the SIM card used this time belongs to the SIM card used by the Chinese communication operator.
  6. 根据权利要求4所述的方法,其中, The method of claim 4, wherein
    所述清除移动终端中浏览器的配置文件,以使所述浏览器进行所述服务器的切换的步骤包括:The step of clearing a configuration file of a browser in the mobile terminal, so that the browser performs the switching of the server, includes:
    清除所述移动终端中浏览器的包括@OperaMini文件夹在内的配置文件。Clearing the configuration file of the browser in the mobile terminal, including the @OperaMini folder.
  7. 根据权利要求4所述的方法,其中,The method of claim 4, wherein
    所述判断前一次使用的SIM卡是否属于第一国家或地区、本次使用的SIM卡是否属于第二国家或地区的步骤之后包括:The step of determining whether the previously used SIM card belongs to the first country or region, and whether the SIM card used this time belongs to the second country or region includes:
    若上述任何一项或以上判断为否,则保存所述本次使用的SIM卡的国际移动用户识别码。If any of the above or the above is negative, the international mobile subscriber identity of the SIM card used in the current use is saved.
  8. 根据权利要求4所述的方法,其中,The method of claim 4, wherein
    在保存所述本次使用的SIM卡的国际移动用户识别码,以使所述浏览器进行所述服务器的切换的步骤中,所述本次使用的SIM卡的信息保存在非易失性随机访问存储器中。In the step of saving the international mobile subscriber identity code of the SIM card used in this time, so that the browser performs the handover of the server, the information of the SIM card used this time is stored in a non-volatile random Access to memory.
  9. 一种选择服务器的装置,其中,所述装置包括:A device for selecting a server, wherein the device comprises:
    第一判断模块,用于判断移动终端本次使用的SIM卡的国际移动用户识别码与前一次使用的SIM卡的国际移动用户识别码是否相同;a first determining module, configured to determine whether an international mobile subscriber identity of the SIM card used by the mobile terminal is the same as an international mobile subscriber identity of the SIM card used previously;
    第二判断模块,用于在所述第一判断模块的判断结果为不相同时,判断所述前一次使用的SIM卡是否属于第一国家或地区,所述本次使用的SIM卡是否属于第二国家或地区;a second judging module, configured to determine, when the judgment result of the first judging module is different, whether the SIM card used in the previous time belongs to the first country or region, and whether the SIM card used in the current time belongs to the first Two countries or regions;
    清除模块,用于在所述第二判断模块的判断结果均为属于时,清除所述移动终端中浏览器的配置文件,以使所述浏览器进行所述服务器的切换;a clearing module, configured to: when the determination result of the second determining module belongs to, clear a configuration file of the browser in the mobile terminal, so that the browser performs the switching of the server;
    第一保存模块,用于保存所述本次使用的SIM卡的国际移动用户识别码。The first saving module is configured to save an international mobile subscriber identity of the SIM card used this time.
  10. 根据权利要求9所述装置,其中,The device according to claim 9, wherein
    所述第二判断模块具体用于判断所述前一次使用的SIM卡是否属于非中国大陆通信运营商所使用SIM卡、本次使用的SIM卡是否属于中国大陆通信运营商所使用SIM卡。The second determining module is specifically configured to determine whether the previously used SIM card belongs to a SIM card used by a non-Chinese communication operator, and whether the SIM card used in this time belongs to a SIM card used by a Chinese communication carrier.
  11. 根据权利要求9所述的装置,其中,The apparatus according to claim 9, wherein
    所述清除模块具体用于清除所述移动终端中浏览器的包括@OperaMini文件夹在内的配置文件。The clearing module is specifically configured to clear a configuration file of the browser in the mobile terminal, including the @OperaMini folder.
  12. 根据权利要求9所述的装置,其中,所述装置包括:The device of claim 9 wherein said device comprises:
    第二保存模块具体用于在所述第二判断模块的判断结果中的任何一项或以上判断为否时,保存所述本次使用的SIM卡的国际移动用户识别码。The second saving module is configured to save the international mobile subscriber identity code of the SIM card used this time when any one or more of the determination results of the second determining module is negative.
  13. 根据权利要求9所述的装置,其中,The apparatus according to claim 9, wherein
    所述第一保存模块具体用于将所述本次使用的SIM卡的信息保存在非易失性随机访问存储器中。The first saving module is specifically configured to save the information of the SIM card used this time in a non-volatile random access memory.
PCT/CN2012/082474 2011-12-09 2012-09-29 Method and apparatus for selecting server WO2013082974A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110409932.8A CN102547660B (en) 2011-12-09 2011-12-09 Method and device for selecting server
CN201110409932.8 2011-12-09

Publications (1)

Publication Number Publication Date
WO2013082974A1 true WO2013082974A1 (en) 2013-06-13

Family

ID=46353370

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/082474 WO2013082974A1 (en) 2011-12-09 2012-09-29 Method and apparatus for selecting server

Country Status (2)

Country Link
CN (1) CN102547660B (en)
WO (1) WO2013082974A1 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102547660B (en) * 2011-12-09 2014-07-02 惠州Tcl移动通信有限公司 Method and device for selecting server
GB2532571B (en) * 2014-05-21 2021-07-14 Pismo Labs Technology Ltd Methods and systems for configuring radio frequency module
CN107113074B (en) 2014-09-16 2019-12-13 艾奈美索芙特股份有限公司 System, method, and non-transitory computer-usable medium for managing communication endpoints
CN106162603A (en) * 2015-04-24 2016-11-23 中兴通讯股份有限公司 A kind of method and apparatus realizing card selection
CN105120470B (en) * 2015-08-06 2019-03-12 青岛海信移动通信技术股份有限公司 A kind of method and apparatus of network access capacity detection
US9801045B2 (en) * 2016-02-04 2017-10-24 Taisys Technologies Co. Ltd. System for providing multiple services over mobile network using multiple IMSIs
CN107105427B (en) * 2017-04-28 2020-03-06 天津泰岳小漫科技有限公司 Communication method and device based on channel SIM card

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1819703A (en) * 2005-02-07 2006-08-16 三星电子株式会社 Private wireless communication system and method for controlling mobile station using the same
WO2009137944A1 (en) * 2008-05-14 2009-11-19 Research In Motion Limited Methods and apparatus for producing and submitting an http request with a selected country code parameter from a mobile device
CN102014149A (en) * 2009-09-07 2011-04-13 Lg电子株式会社 Mobile terminal and method for controlling operation of the same
CN102025770A (en) * 2009-09-13 2011-04-20 三星电子株式会社 Method for accessing to external site for each country and mobile communication terminal using the same
CN102547660A (en) * 2011-12-09 2012-07-04 惠州Tcl移动通信有限公司 Method and device for selecting server

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1819703A (en) * 2005-02-07 2006-08-16 三星电子株式会社 Private wireless communication system and method for controlling mobile station using the same
WO2009137944A1 (en) * 2008-05-14 2009-11-19 Research In Motion Limited Methods and apparatus for producing and submitting an http request with a selected country code parameter from a mobile device
CN102014149A (en) * 2009-09-07 2011-04-13 Lg电子株式会社 Mobile terminal and method for controlling operation of the same
CN102025770A (en) * 2009-09-13 2011-04-20 三星电子株式会社 Method for accessing to external site for each country and mobile communication terminal using the same
CN102547660A (en) * 2011-12-09 2012-07-04 惠州Tcl移动通信有限公司 Method and device for selecting server

Also Published As

Publication number Publication date
CN102547660B (en) 2014-07-02
CN102547660A (en) 2012-07-04

Similar Documents

Publication Publication Date Title
WO2013082974A1 (en) Method and apparatus for selecting server
WO2014092385A1 (en) Method for selecting mobile communication network provider using provisioning profile, and apparatus using same
US8868074B2 (en) Method, device and mobile terminal for switching network connection automatically
WO2016186397A1 (en) Ue monitoring configuration method and apparatus
WO2012016473A1 (en) Wireless fidelity access method, access point and wireless fidelity access system
WO2018149368A1 (en) Vowifi call processing method of mobile terminal, system, and mobile terminal
US7505786B2 (en) Method and mobile telecommunication network for detection of device information
EP2378798A1 (en) Method and apparatus for updating subscription configuration of access point name
CN1832615A (en) Double-mode derminal network selecting log-on method
WO2013139283A1 (en) Method and terminal for loading configuration information of mobile network operator
KR20100068457A (en) Accessing gateway selecting method, system and gateway selecting implementing node of mobile group domain
WO2017054598A1 (en) Network registration method and mobile terminal
JP2014168237A (en) Method for performing measurement related to power saving of drive test, and relevant communication device
WO2016177106A1 (en) Dedicated core network selection method and device
WO2021029661A1 (en) Method and apparatus for recovering from steering of roaming related failures
US11716667B2 (en) Handover method, device, and system
CN105992245A (en) Data acquiring method, data acquiring device and data acquiring system
WO2012119470A1 (en) Mobile phone and data processing method therefor
EP3997915A1 (en) Method and system for managing closed access group feature for user equipment and network
WO2018014796A1 (en) Method, apparatus and system for implementing virtual sim card, and mobile terminal
CN104717600B (en) M2M terminal/terminal peripheral accessibility management method and equipment
EP2802116A1 (en) Mobile device security
EP2914027B1 (en) Mobility management method and system in m2m network
WO2011140885A1 (en) Method and device for identifying group-based machine-type communication (mtc) device
WO2014038874A2 (en) Subscriber identity module using provisioning profile and method for accessing network using same

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 12855820

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 12855820

Country of ref document: EP

Kind code of ref document: A1