Nothing Special   »   [go: up one dir, main page]

CN101043757A - Method for realizing terminal card-locking - Google Patents

Method for realizing terminal card-locking Download PDF

Info

Publication number
CN101043757A
CN101043757A CNA200710098882XA CN200710098882A CN101043757A CN 101043757 A CN101043757 A CN 101043757A CN A200710098882X A CNA200710098882X A CN A200710098882XA CN 200710098882 A CN200710098882 A CN 200710098882A CN 101043757 A CN101043757 A CN 101043757A
Authority
CN
China
Prior art keywords
sim cards
terminal
network
card
sim
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CNA200710098882XA
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.)
China Mobile Communications Group Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CNA200710098882XA priority Critical patent/CN101043757A/en
Publication of CN101043757A publication Critical patent/CN101043757A/en
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

本发明涉及一种实现双卡双待终端锁卡的方法,包括以下步骤:获取终端中两个SIM卡的状态信息;根据所述状态信息,判断所述终端中两个SIM卡是否属于同一个运营商或者注册到同一个网络,如果是,则结束;否则,所述两个SIM卡被锁。本发明结合SIM卡的IMSI号码和所注册网络的网络标识以及漫游标识综合来判断用户的SIM卡是否合法。因此,本发明实现了在双卡双待业务中对双卡合法性的验证,可以保证双卡双待终端只能使用同一运营商的网络。

Figure 200710098882

The invention relates to a method for realizing card locking of a dual-card dual-standby terminal, comprising the following steps: acquiring status information of two SIM cards in a terminal; judging whether the two SIM cards in the terminal belong to the same SIM card according to the status information The operator is either registered to the same network, if so, then end; otherwise, the two SIM cards are locked. The invention combines the IMSI number of the SIM card with the network identifier of the registered network and the roaming identifier to judge whether the user's SIM card is legal. Therefore, the present invention realizes the verification of the validity of the dual card in the dual card dual standby service, and can ensure that the dual card dual standby terminal can only use the network of the same operator.

Figure 200710098882

Description

一种实现终端锁卡的方法A method for realizing terminal card lock

技术领域technical field

本发明涉及一种双卡双待业务中实现终端锁卡的方法,属于移动通信技术领域。The invention relates to a method for realizing terminal card locking in a dual-card dual-standby service, and belongs to the technical field of mobile communication.

背景技术Background technique

双卡双待业务是指一台通信终端可同时插入两张不同卡号的用户识别模块(Subscriber Identity Module,以下简称:SIM)卡,并使之同时处于开机状态,即支持两个卡号同时在线。用户可根据需要为每张SIM卡选择相应的业务套餐,并可任意拨打、接听和收发短信。此外,用户还可预设接听和拨打电话的顺序,满足用户的各自需要。一般情况下,双卡双待业务中的双卡属于同一种移动通信制式,如同为GSM(Global System for Mobile Communications,简称GSM)制式。Dual-card dual-standby service means that a communication terminal can simultaneously insert two Subscriber Identity Module (Subscriber Identity Module, hereinafter referred to as: SIM) cards with different card numbers, and make them in the power-on state at the same time, that is, support two card numbers to be online at the same time. Users can choose the corresponding service package for each SIM card according to their needs, and can make, receive and send and receive text messages arbitrarily. In addition, users can also preset the order of receiving and making calls to meet their individual needs. Generally, the dual cards in the dual card dual standby service belong to the same mobile communication standard, just like the GSM (Global System for Mobile Communications, GSM for short) standard.

目前终端所开放的双卡双待业务中,并没有对两个SIM卡的合法性进行验证,以致某一运营商的用户可以借助另一个运营商的网络来实现其通信的目的,从而损害了另一个运营商的利益。At present, in the dual-card dual-standby service opened by the terminal, the legitimacy of the two SIM cards is not verified, so that users of one operator can use another operator's network to achieve their communication purposes, thus damaging the another operator's benefit.

发明内容Contents of the invention

本发明的目的是为了解决在双卡双待业务中对双卡的合法性进行验证的问题,提供了一种实现双卡双待终端锁卡的方法,对终端使用的SIM卡进行合法性验证,保证双卡只能使用同一运营商的网络。The purpose of the present invention is to solve the problem of verifying the legitimacy of the dual card in the dual card dual standby service, and provide a method for realizing the dual card dual standby terminal card lock, and verify the legitimacy of the SIM card used by the terminal , to ensure that the dual cards can only use the network of the same operator.

为实现上述目的,本发明提供了一种实现终端锁卡的方法,该方法包括以下步骤:In order to achieve the above object, the present invention provides a method for realizing terminal card lock, the method includes the following steps:

获取终端中两个SIM卡的状态信息;根据所述状态信息,判断所述终端中两个SIM卡是否属于同一个运营商或者注册到同一个网络,如果是,则结束;否则,所述两个SIM卡被锁。Acquiring the state information of the two SIM cards in the terminal; according to the state information, judging whether the two SIM cards in the terminal belong to the same operator or registered to the same network, if so, then end; otherwise, the two SIM cards in the terminal A SIM card is locked.

所述状态信息可以为所述两个SIM卡的国际移动用户识别码(International Mobile Subscriber Identity,以下简称:IMSI),该方法具体为:从所述终端中两个SIM卡中获取所述两个SIM卡的IMSI号码;The state information may be the International Mobile Subscriber Identity (IMSI) of the two SIM cards, and the method is specifically: obtaining the two SIM cards from the two SIM cards in the terminal. The IMSI number of the SIM card;

所述状态信息还可以为所述两个SIM卡的漫游标识,该方法具体为:从归属位置寄存器中获取所述终端中两个SIM卡的漫游标识;The state information may also be roaming identities of the two SIM cards, and the method specifically includes: obtaining the roaming identities of the two SIM cards in the terminal from the home location register;

所述状态信息也可以为所述两个SIM卡所注册到网络的网络标识,该方法具体为:从网络中获取所述终端中两个SIM卡的网络标识;The state information may also be the network identifiers registered to the network by the two SIM cards, and the method specifically includes: acquiring the network identifiers of the two SIM cards in the terminal from the network;

在判断所述两个SIM卡的是否属于同一个运营商或者注册到同一个网络时,还包括:显示将所述SIM卡选择注册到相应网络的注册方式的提示信息,并根据用户输入的命令执行将所述SIM卡注册到网络上的操作。When judging whether the two SIM cards belong to the same operator or are registered to the same network, it also includes: displaying the prompt information for selecting the registration method for the SIM card to be registered to the corresponding network, and according to the command input by the user Execute the operation of registering the SIM card on the network.

所述两个SIM卡被锁具体为:显示无法进行正常操作的信息,所述终端启动所述两个SIM卡的锁卡程序。The locking of the two SIM cards specifically includes: displaying information that normal operations cannot be performed, and the terminal starts a card locking program for the two SIM cards.

由以上技术方案可知,本发明结合SIM卡的IMSI号码、所注册网络的网络标识以及漫游标识来综合判断用户的SIM卡是否合法。若合法,则终端允许SIM卡正常使用;若不合法,则终端不允许SIM卡使用,实现锁卡。因此,本发明实现了在双卡双待业务中对双卡合法性的验证,可以保证双卡只能使用同一运营商的网络。It can be seen from the above technical solutions that the present invention comprehensively judges whether the user's SIM card is legal by combining the IMSI number of the SIM card, the network identifier of the registered network, and the roaming identifier. If it is legal, the terminal allows the SIM card to be used normally; if it is not legal, the terminal does not allow the SIM card to be used, and the card is locked. Therefore, the present invention realizes the verification of the legality of the dual cards in the dual card dual standby service, and can ensure that the dual cards can only use the network of the same operator.

附图说明Description of drawings

下面结合附图对本发明的具体实施方式作进一步详细的说明。The specific implementation manners of the present invention will be further described in detail below in conjunction with the accompanying drawings.

图1为本发明实施例1的流程图;Fig. 1 is the flowchart of embodiment 1 of the present invention;

图2为本发明实施例2的流程图;Fig. 2 is the flowchart of embodiment 2 of the present invention;

图3为本发明实施例3的流程图。Fig. 3 is a flow chart of Embodiment 3 of the present invention.

具体实施方式Detailed ways

本发明对终端中两个SIM卡合法性的验证,主要是通过判断两个SIM卡是否属于同一个运营商,或者判断两个SIM卡是否处于同一个网络的方法来实现的。上述两种判断方法可以相互结合使用,同时还可以借助于其它手段对两个SIM卡的合法性进行判断,例如判断两个SIM卡是否处于漫游状态等。因此,本发明的具体实施方式可以有很多种,下面详细说明其中的三个具体实施例的流程。The verification of the legality of the two SIM cards in the terminal is mainly realized by judging whether the two SIM cards belong to the same operator, or judging whether the two SIM cards are in the same network. The above two judging methods can be used in combination with each other, and at the same time, other means can also be used to judge the legitimacy of the two SIM cards, for example, judging whether the two SIM cards are in a roaming state or not. Therefore, there may be many specific implementations of the present invention, and the processes of three specific embodiments will be described in detail below.

实施例1:Example 1:

如图1所示,本实施例是采用先判断两个SIM卡是否属于同一个运营商,再结合两个SIM卡的漫游状态判断两个SIM卡是否处于同一个网络的方法对终端中两个SIM卡的合法性进行判断的。其流程包括以下步骤:启动终端中两个SIM卡的待机终端;As shown in Figure 1, this embodiment is to use the method of first judging whether the two SIM cards belong to the same operator, and then combining the roaming status of the two SIM cards to judge whether the two SIM cards are in the same network. The legality of the SIM card is judged. Its process comprises the following steps: start the standby terminal of two SIM cards in the terminal;

步骤101、从所述两个SIM卡中获取两个SIM卡的IMSI号码;Step 101, obtaining the IMSI numbers of the two SIM cards from the two SIM cards;

步骤102、比对所述两个SIM卡的IMSI号码;Step 102, comparing the IMSI numbers of the two SIM cards;

步骤103、判断所述两个SIM卡是否属于同一个运营商,如果所述两个SIM卡属于同一个运营商,则结束;如果所述两个SIM卡不属于同一个运营商,则执行步骤104;Step 103, judging whether the two SIM cards belong to the same operator, if the two SIM cards belong to the same operator, then end; if the two SIM cards do not belong to the same operator, then perform step 104;

步骤104、所述两个SIM卡均向相应的网络发起注册请求;Step 104, the two SIM cards both initiate a registration request to the corresponding network;

步骤105、所述两个SIM卡注册到相应的网络;Step 105, the two SIM cards are registered to the corresponding network;

步骤106、从归属位置寄存器中获取所述两个SIM卡的漫游标识;Step 106, obtaining the roaming identities of the two SIM cards from the home location register;

步骤107、比对所述两个SIM卡的漫游标识;Step 107, comparing the roaming identifications of the two SIM cards;

步骤108、判断所述两个SIM卡是否均处于非漫游状态,如果两个SIM卡均处于非漫游状态,则执行步骤109;如果所述两个SIM卡中不是都处于非漫游状态,则执行步骤112;Step 108, judging whether the two SIM cards are in the non-roaming state, if the two SIM cards are in the non-roaming state, then perform step 109; if the two SIM cards are not all in the non-roaming state, then perform Step 112;

步骤109、从网络中获取所述两个SIM卡所注册网络的网络标识;Step 109, obtaining the network identifiers of the networks where the two SIM cards are registered from the network;

步骤110、比对所述两个SIM卡的网络标识;Step 110, comparing the network identifications of the two SIM cards;

步骤111、判断所述两个SIM卡是否注册到同一个网络,如果所述两个SIM卡注册到的是同一个网络,则结束;如果所述两个SIM卡注册到的不是同一个网络,则执行步骤123;Step 111, judging whether the two SIM cards are registered to the same network, if the two SIM cards are registered to the same network, then end; if the two SIM cards are not registered to the same network, Then execute step 123;

步骤112、判断所述两个SIM卡是否均处于漫游状态,如果所述两个SIM卡均处于漫游状态,则执行步骤113;如果所述两个SIM卡中只有一个SIM卡处于漫游状态,则执行步骤118;Step 112, judging whether the two SIM cards are in the roaming state, if the two SIM cards are in the roaming state, then perform step 113; if only one of the two SIM cards is in the roaming state, then Execute step 118;

步骤113、从网络中获取所述两个SIM卡所注册网络的网络标识;Step 113, obtaining the network identifiers of the networks registered with the two SIM cards from the network;

步骤114、比对所述两个SIM卡的网络标识;Step 114, comparing the network identifications of the two SIM cards;

步骤115、判断所述两个SIM卡是否注册到同一个网络,如果所述两个SIM卡注册到的是同一个网络,则结束;如果所述两个SIM卡注册到的不是同一个网络,则执行步骤116;Step 115, judging whether the two SIM cards are registered to the same network, if the two SIM cards are registered to the same network, then end; if the two SIM cards are not registered to the same network, Then execute step 116;

步骤116、弹出用户交互界面,向用户显示将所述两个漫游SIM卡选择注册到相应网络的注册方式的提示信息,等待用户输入选择命令,用户输入选择手动注册方式的命令,根据所述命令执行将所述两个漫游SIM卡注册到网络上的操作;Step 116, the user interaction interface is popped up, and the user is shown the prompt information that the two roaming SIM cards are selected to be registered to the registration mode of the corresponding network, waiting for the user to input a selection command, and the user inputs the command to select the manual registration mode, according to the command performing the operation of registering the two roaming SIM cards on the network;

步骤117、判断手动注册的次数是否超过三次,如果手动注册超过三次,则执行步骤123;如果手动注册没有超过三次,则循环执行步骤113;Step 117, determine whether the number of times of manual registration exceeds three times, if the manual registration exceeds three times, then execute step 123; if the manual registration does not exceed three times, then execute step 113 in a loop;

步骤118、从网络中获取所述两个SIM卡所注册网络的网络标识;Step 118, obtaining the network identifiers of the networks where the two SIM cards are registered from the network;

步骤119、比对所述两个SIM卡的网络标识;Step 119, comparing the network identifications of the two SIM cards;

步骤120、判断所述两个SIM卡是否注册到同一个网络,如果所述两个SIM卡注册到的是同一个网络,则结束;如果所述两个SIM卡注册到的不是同一个网络,则执行步骤121;Step 120, judging whether the two SIM cards are registered to the same network, if the two SIM cards are registered to the same network, then end; if the two SIM cards are not registered to the same network, Then execute step 121;

步骤121、弹出用户交互界面,向用户显示将所述漫游SIM卡选择注册到相应网络的注册方式的提示信息,等待用户输入选择命令,用户输入选择手动注册方式的命令,根据所述命令执行将所述漫游SIM卡注册到网络上的操作;Step 121, a user interaction interface pops up, and displays to the user a prompt message to select a registration method for registering the roaming SIM card to the corresponding network, waits for the user to input a selection command, the user inputs a command for selecting a manual registration method, and executes the The operation of registering the roaming SIM card on the network;

步骤122、判断手动注册的次数是否超过三次,如果手动注册超过三次,则执行步骤123;如果手动注册没有超过三次,则循环执行步骤118;Step 122, judging whether the number of times of manual registration exceeds three times, if the manual registration exceeds three times, then execute step 123; if the manual registration does not exceed three times, then execute step 118 in a loop;

步骤123、弹出用户交互界面,显示无法进行正常操作的信息,所述终端启动所述两个SIM卡的锁卡程序。Step 123, popping up a user interaction interface, displaying information that normal operations cannot be performed, and the terminal starts a card locking program for the two SIM cards.

实施例2:Example 2:

如图2所示,本实施例是采用先结合两个SIM卡的漫游状态判断两个SIM卡是否处于同一个网络,再判断两个SIM卡是否属于同一个运营商网络的方法对终端中两个SIM卡的合法性进行判断的。其流程包括以下步骤:启动终端中两个SIM卡的待机终端;所述两个SIM卡均向相应的网络发起注册请求,所述两个SIM卡注册到相应的网络;As shown in Figure 2, this embodiment uses the roaming status of the two SIM cards to determine whether the two SIM cards are in the same network, and then determines whether the two SIM cards belong to the same operator network. The legitimacy of a SIM card is judged. Its process includes the following steps: start the standby terminal of the two SIM cards in the terminal; the two SIM cards all initiate a registration request to the corresponding network, and the two SIM cards are registered to the corresponding network;

步骤201、从归属位置寄存器中获取所述两个SIM卡的漫游标识;Step 201, obtaining the roaming identities of the two SIM cards from the home location register;

步骤202、比对所述两个SIM卡的漫游标识;Step 202, comparing the roaming identifiers of the two SIM cards;

步骤203、判断所述两个SIM卡是否均处于非漫游状态,如果两个SIM卡均处于非漫游状态,则执行步骤204;如果所述两个SIM卡不是都处于非漫游状态,则执行步骤210;Step 203, judging whether the two SIM cards are in the non-roaming state, if the two SIM cards are in the non-roaming state, then perform step 204; if the two SIM cards are not in the non-roaming state, then perform the step 210;

步骤204、从所述两个SIM卡中获取两个SIM卡的IMSI号码;Step 204, obtaining the IMSI numbers of the two SIM cards from the two SIM cards;

步骤205、比对所述两个SIM卡的IMSI号码;Step 205, comparing the IMSI numbers of the two SIM cards;

步骤206、判断所述两个SIM卡是否属于同一个运营商,如果所述两个SIM卡属于同一个运营商,则结束;如果所述两个SIM卡不属于同一个运营商,则执行步骤207;Step 206, judging whether the two SIM cards belong to the same operator, if the two SIM cards belong to the same operator, then end; if the two SIM cards do not belong to the same operator, then perform the step 207;

步骤207、从网络中获取所述两个SIM卡所注册网络的网络标识;Step 207, obtaining the network identifiers of the networks registered with the two SIM cards from the network;

步骤208、比对所述两个SIM卡的网络标识;Step 208, comparing the network identifications of the two SIM cards;

步骤209、判断所述两个SIM卡是否注册到同一个网络,如果所述两个SIM卡注册到的是同一个网络,则结束;如果所述两个SIM卡注册到的不是同一个网络,则执行步骤224;Step 209, judging whether the two SIM cards are registered to the same network, if the two SIM cards are registered to the same network, then end; if the two SIM cards are not registered to the same network, Then execute step 224;

步骤210、从所述两个SIM卡中获取两个SIM卡的IMSI号码;Step 210, obtaining the IMSI numbers of the two SIM cards from the two SIM cards;

步骤211、比对所述两个SIM卡的IMSI号码;Step 211, comparing the IMSI numbers of the two SIM cards;

步骤212、判断所述两个SIM卡是否属于同一个运营商,如果所述两个SIM卡属于同一个运营商,则结束;如果所述两个SIM卡不属于同一个运营商,则执行步骤213;Step 212, judging whether the two SIM cards belong to the same operator, if the two SIM cards belong to the same operator, then end; if the two SIM cards do not belong to the same operator, then perform the step 213;

步骤213、判断所述两个SIM卡是否均处于漫游状态,如果所述两个SIM卡均处于漫游状态,则执行步骤214;如果所述两个SIM卡中只有一个SIM卡处于漫游状态,则执行步骤219;Step 213, judging whether the two SIM cards are in the roaming state, if the two SIM cards are in the roaming state, then perform step 214; if only one of the two SIM cards is in the roaming state, then Execute step 219;

步骤214、从网络中获取所述两个SIM卡所注册网络的网络标识;Step 214, obtaining the network identifiers of the networks registered with the two SIM cards from the network;

步骤215、比对所述两个SIM卡的网络标识;Step 215, comparing the network identifications of the two SIM cards;

步骤216、判断所述两个SIM卡是否注册到同一个网络,如果所述两个SIM卡注册到的是同一个网络,则结束;如果所述两个SIM卡注册到的不是同一个网络,则执行步骤217;Step 216, judging whether the two SIM cards are registered to the same network, if the two SIM cards are registered to the same network, then end; if the two SIM cards are not registered to the same network, Then execute step 217;

步骤217、弹出用户交互界面,向用户显示将所述两个漫游SIM卡选择注册到相应网络的注册方式的提示信息,等待用户输入选择命令,用户输入选择手动注册方式的命令,根据所述命令执行将所述两个漫游SIM卡注册到网络上的操作;Step 217, the user interaction interface is popped up, and the user is shown the prompt information of selecting the registration mode of registering the two roaming SIM cards to the corresponding network, waiting for the user to input a selection command, and the user inputs the command to select the manual registration mode, according to the command performing the operation of registering the two roaming SIM cards on the network;

步骤218、判断手动注册的次数是否超过三次,如果手动注册超过三次,则执行步骤224;如果手动注册没有超过三次,则循环执行步骤214;Step 218, judging whether the number of manual registrations exceeds three times, if the number of manual registrations exceeds three times, then execute step 224; if the manual registration does not exceed three times, then execute step 214 in a loop;

步骤219、从网络中获取所述两个SIM卡所注册网络的网络标识;Step 219, obtaining the network identifiers of the networks registered with the two SIM cards from the network;

步骤220、比对所述两个SIM卡的网络标识;Step 220, comparing the network identifications of the two SIM cards;

步骤221、判断所述两个SIM卡是否注册到同一个网络,如果所述两个SIM卡注册到的是同一个网络,则结束;如果所述两个SIM卡注册到的不是同一个网络,则执行步骤222;Step 221, judging whether the two SIM cards are registered to the same network, if the two SIM cards are registered to the same network, then end; if the two SIM cards are not registered to the same network, Then execute step 222;

步骤222、弹出用户交互界面,向用户显示将所述漫游SIM卡选择注册到相应网络的注册方式的提示信息,等待用户输入选择命令,用户输入选择手动注册方式的命令,根据所述命令执行将所述漫游SIM卡注册到网络上的操作;Step 222, a user interaction interface pops up, and displays to the user a prompt message for selecting a registration method for registering the roaming SIM card to the corresponding network, waits for the user to input a selection command, the user inputs a command for selecting a manual registration method, and executes according to the command. The operation of registering the roaming SIM card on the network;

步骤223、判断手动注册的次数是否超过三次,如果手动注册超过三次,则执行步骤224;如果手动注册没有超过三次,则循环执行步骤219;Step 223, determine whether the number of manual registrations exceeds three times, if the number of manual registrations exceeds three times, then execute step 224; if the manual registration does not exceed three times, then execute step 219 in a loop;

步骤224、弹出用户交互界面,显示无法进行正常操作的信息,所述终端启动所述两个SIM卡的锁卡程序。Step 224, popping up a user interaction interface, displaying information that normal operations cannot be performed, and the terminal starts a card locking program for the two SIM cards.

实施例3:Example 3:

如图3所示,本实施例是采用先判断两个SIM卡是否属于同一个运营商,再结合两个SIM卡的漫游状态判断两个SIM卡是否处于同一个网络的方法对终端中两个SIM卡的合法性进行判断的。其流程包括以下步骤:启动终端中两个SIM卡的待机终端;As shown in Fig. 3, this embodiment adopts the method of first judging whether the two SIM cards belong to the same operator, and then combining the roaming status of the two SIM cards to judge whether the two SIM cards are in the same network. The legality of the SIM card is judged. Its process comprises the following steps: start the standby terminal of two SIM cards in the terminal;

步骤301、从所述两个SIM卡中获取两个SIM卡的IMSI号码;Step 301, obtaining the IMSI numbers of the two SIM cards from the two SIM cards;

步骤302、比对所述两个SIM卡的IMSI号码;Step 302, comparing the IMSI numbers of the two SIM cards;

步骤303、判断所述两个SIM卡是否属于同一个运营商,如果所述两个SIM卡属于同一个运营商,则结束;如果所述两个SIM卡不属于同一个运营商,则执行步骤304;Step 303, judging whether the two SIM cards belong to the same operator, if the two SIM cards belong to the same operator, then end; if the two SIM cards do not belong to the same operator, then perform the step 304;

步骤304、所述两个SIM卡均向相应的网络发起注册请求,所述两个SIM卡注册到相应的网络,从网络中获取所述两个SIM卡所注册网络的网络标识;Step 304, the two SIM cards both initiate a registration request to the corresponding network, the two SIM cards are registered to the corresponding network, and the network identification of the network registered by the two SIM cards is obtained from the network;

步骤305、比对所述两个SIM卡的网络标识;Step 305, comparing the network identifiers of the two SIM cards;

步骤306、判断所述两个SIM卡是否注册到同一个网络,如果所述两个SIM卡注册到的是同一个网络,则结束;如果所述两个SIM卡注册到的不是同一个网络,则执行步骤307;Step 306, judging whether the two SIM cards are registered to the same network, if the two SIM cards are registered to the same network, then end; if the two SIM cards are not registered to the same network, Then execute step 307;

步骤307、从归属位置寄存器中获取所述两个SIM卡的漫游标识;Step 307, obtaining the roaming identities of the two SIM cards from the home location register;

步骤308、比对所述两个SIM卡的漫游标识;Step 308, comparing the roaming identifications of the two SIM cards;

步骤309、判断所述两个SIM卡是否均处于非漫游状态,如果两个SIM卡均处于非漫游状态,则执行步骤321;如果所述两个SIM卡中不是都处于非漫游状态,则执行步骤310;Step 309, judging whether the two SIM cards are both in the non-roaming state, if both the SIM cards are in the non-roaming state, then perform step 321; if not all of the two SIM cards are in the non-roaming state, then perform Step 310;

步骤310、判断所述两个SIM卡是否均处于漫游状态,如果所述两个SIM卡均处于漫游状态,则执行步骤311;如果所述两个SIM卡中只有一个SIM卡处于漫游状态,则执行步骤316;Step 310, judging whether the two SIM cards are in the roaming state, if the two SIM cards are in the roaming state, then perform step 311; if only one of the two SIM cards is in the roaming state, then Execute step 316;

步骤311、弹出用户交互界面,向用户显示将所述两个漫游SIM卡选择注册到相应网络的注册方式的提示信息,等待用户输入选择命令,用户输入选择手动注册方式的命令,根据所述命令执行将所述两个漫游SIM卡注册到网络上的操作;Step 311, a user interaction interface pops up to display to the user a prompt message to select a registration method for registering the two roaming SIM cards to the corresponding network, wait for the user to input a selection command, and the user inputs a command to select a manual registration method, according to the command performing the operation of registering the two roaming SIM cards on the network;

步骤312、从网络中获取所述两个SIM卡所注册网络的网络标识;Step 312, obtaining the network identifiers of the networks registered with the two SIM cards from the network;

步骤313、比对所述两个SIM卡的网络标识;Step 313, comparing the network identifiers of the two SIM cards;

步骤314、判断所述两个SIM卡是否注册到同一个网络,如果所述两个SIM卡注册到的是同一个网络,则结束;如果所述两个SIM卡注册到的不是同一个网络,则执行步骤315;Step 314, judging whether the two SIM cards are registered to the same network, if the two SIM cards are registered to the same network, then end; if the two SIM cards are not registered to the same network, Then execute step 315;

步骤315、判断手动注册的次数是否超过三次,如果手动注册超过三次,则执行步骤321;如果手动注册没有超过三次,则循环执行步骤311;Step 315, determine whether the number of manual registrations exceeds three times, if the number of manual registrations exceeds three times, then execute step 321; if the manual registration does not exceed three times, then execute step 311 in a loop;

步骤316、弹出用户交互界面,向用户显示将所述漫游SIM卡选择注册到相应网络的注册方式的提示信息,等待用户输入选择命令,用户输入选择手动注册方式的命令,根据所述命令执行将所述漫游SIM卡注册到网络上的操作;Step 316, a user interaction interface pops up, and displays to the user a prompt message for selecting a registration method for registering the roaming SIM card to the corresponding network, waits for the user to input a selection command, the user inputs a command for selecting a manual registration method, and executes the The operation of registering the roaming SIM card on the network;

步骤317、从网络中获取所述两个SIM卡所注册网络的网络标识;Step 317, obtaining the network identifiers of the networks registered with the two SIM cards from the network;

步骤318、比对所述两个SIM卡的网络标识;Step 318, comparing the network identifications of the two SIM cards;

步骤319、判断所述两个SIM卡是否注册到同一个网络,如果所述两个SIM卡注册到的是同一个网络,则结束;如果所述两个SIM卡注册到的不是同一个网络,则执行步骤320;Step 319, judging whether the two SIM cards are registered to the same network, if the two SIM cards are registered to the same network, then end; if the two SIM cards are not registered to the same network, Then execute step 320;

步骤320、判断手动注册的次数是否超过三次,如果手动注册超过三次,则执行步骤321;如果手动注册没有超过三次,则循环执行步骤316;Step 320, judging whether the number of manual registrations exceeds three times, if the number of manual registrations exceeds three times, then execute step 321; if the manual registration does not exceed three times, then execute step 316 in a loop;

步骤321、弹出用户交互界面,显示无法进行正常操作的信息,所述终端启动所述两个SIM卡的锁卡程序。Step 321 , a user interaction interface pops up, displaying information that normal operations cannot be performed, and the terminal starts a card locking program for the two SIM cards.

在上述实施例中,用户还可以输入选择自动注册方式的命令,进行所述漫游SIM卡的自动注册,但是自动注册方式比较浪费电,系统默认提示用户选择手动注册方式。In the above embodiment, the user can also input a command to select the automatic registration method to perform automatic registration of the roaming SIM card, but the automatic registration method is relatively wasteful of electricity, and the system defaults to prompt the user to select the manual registration method.

本发明双卡双待业务中实现终端锁卡的方法,提供了有效的锁卡机制,使终端能够判断终端中两个SIM卡是否合法,这样能够保证双卡只能使用同一个运营商的网络。而且该方法简单易于实现,通过简单的判断即能保证终端中两个SIM卡只能在同一个运营商的网络中使用,具有很强的实际使用价值,能够实现收益超过投入支出。此外,本发明具体实施例中,通过将所述漫游SIM卡手动注册到网络的方法,还可以减少耗电量,实现了节能。The method for realizing terminal card locking in the dual-card dual-standby service of the present invention provides an effective card locking mechanism, enabling the terminal to judge whether the two SIM cards in the terminal are legal, thus ensuring that the dual cards can only use the network of the same operator . Moreover, the method is simple and easy to implement, and a simple judgment can ensure that the two SIM cards in the terminal can only be used in the same operator's network, has strong practical use value, and can realize revenue exceeding input expenditure. In addition, in the specific embodiment of the present invention, the method of manually registering the roaming SIM card to the network can also reduce power consumption and realize energy saving.

最后应说明的是:以上实施例仅用以说明本发明的技术方案而非限制,尽管参照较佳实施例对本发明进行了详细说明,本领域的普通技术人员应当理解,可以对本发明的技术方案进行修改或者等同替换,而不脱离本发明技术方案的精神和范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present invention without limitation, although the present invention has been described in detail with reference to the preferred embodiments, those of ordinary skill in the art should understand that the technical solutions of the present invention can be Modifications or equivalent replacements can be made without departing from the spirit and scope of the technical solutions of the present invention.

Claims (8)

1、一种实现终端锁卡的方法,其特征在于,包括:1. A method for realizing terminal card lock, characterized in that, comprising: 获取终端中两个SIM卡的状态信息;Obtain the status information of the two SIM cards in the terminal; 根据所述状态信息,判断所述终端中两个SIM卡是否属于同一个运营商或者注册到同一个网络,如果是,则结束;否则,所述两个SIM卡被锁。According to the state information, it is judged whether the two SIM cards in the terminal belong to the same operator or are registered to the same network, if yes, then end; otherwise, the two SIM cards are locked. 2、根据权利要求1所述的方法,其特征在于,在所述获取两个SIM卡的状态信息之前还包括:启动两个SIM卡的待机终端。2. The method according to claim 1, further comprising: starting the standby terminal of the two SIM cards before said obtaining the status information of the two SIM cards. 3、根据权利要求1所述的方法,其特征在于,所述获取终端中两个SIM卡的状态信息具体为:从所述终端中两个SIM卡中获取所述两个SIM卡的IMSI号码。3. The method according to claim 1, wherein the acquiring the state information of the two SIM cards in the terminal is specifically: acquiring the IMSI numbers of the two SIM cards in the terminal from the two SIM cards in the terminal . 4、根据权利要求1所述的方法,其特征在于,所述获取终端中两个SIM卡的状态信息具体为:从归属位置寄存器中获取所述终端中两个SIM卡的漫游标识。4. The method according to claim 1, wherein the acquiring the state information of the two SIM cards in the terminal specifically comprises: acquiring the roaming identities of the two SIM cards in the terminal from a home location register. 5、根据权利要求1所述的方法,其特征在于,所述获取终端中两个SIM卡的状态信息具体为:从网络中获取所述终端中两个SIM卡的网络标识。5. The method according to claim 1, wherein the acquiring the status information of the two SIM cards in the terminal specifically comprises: acquiring the network identifiers of the two SIM cards in the terminal from the network. 6、根据权利要求1-5所述的任一方法,其特征在于,在判断所述两个SIM卡的是否属于同一个运营商或者注册到同一个网络时,还包括:显示将所述SIM卡选择注册到相应网络的注册方式的提示信息,并根据用户输入的命令执行将所述SIM卡注册到网络上的操作。6. The method according to any one of claims 1-5, characterized in that, when judging whether the two SIM cards belong to the same operator or are registered to the same network, further comprising: displaying the The card selects the prompt information of the registration mode of registering to the corresponding network, and executes the operation of registering the SIM card on the network according to the command input by the user. 7、根据权利要求1所述的方法,其特征在于,所述两个SIM卡被锁具体为:显示无法进行正常操作的信息,所述终端启动所述两个SIM卡的锁卡程序。7. The method according to claim 1, wherein the locking of the two SIM cards specifically comprises: displaying information indicating that normal operations cannot be performed, and the terminal starts a card locking program for the two SIM cards. 8、一种实现终端锁卡的装置,其特征在于,包括:8. A device for realizing terminal card locking, characterized in that it includes: 获取单元,用于获取终端中两个SIM卡的状态信息;An acquisition unit, configured to acquire status information of two SIM cards in the terminal; 判断单元,用于根据所述状态信息,判断所述终端中两个SIM卡是否属于同一个运营商或者注册到同一个网络;A judging unit, configured to judge whether the two SIM cards in the terminal belong to the same operator or are registered to the same network according to the state information; 执行单元,用于根据所述判断单元的判断结果,执行结束或者将所述两个SIM卡锁住。The executing unit is configured to end the execution or lock the two SIM cards according to the judging result of the judging unit.
CNA200710098882XA 2007-04-28 2007-04-28 Method for realizing terminal card-locking Pending CN101043757A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA200710098882XA CN101043757A (en) 2007-04-28 2007-04-28 Method for realizing terminal card-locking

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA200710098882XA CN101043757A (en) 2007-04-28 2007-04-28 Method for realizing terminal card-locking

Publications (1)

Publication Number Publication Date
CN101043757A true CN101043757A (en) 2007-09-26

Family

ID=38808883

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA200710098882XA Pending CN101043757A (en) 2007-04-28 2007-04-28 Method for realizing terminal card-locking

Country Status (1)

Country Link
CN (1) CN101043757A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101247596B (en) * 2008-01-29 2010-12-08 展讯通信(上海)有限公司 Single-base band single-radio frequency dual-SIM dual-standby communication terminal and communication method thereof
CN101977263A (en) * 2010-10-12 2011-02-16 中兴通讯股份有限公司 Method and mobile terminal for encrypting double-card mobile terminal
CN102892104A (en) * 2012-09-20 2013-01-23 东莞宇龙通信科技有限公司 Method and system for binding multiple subscriber identity module cards
CN103780512A (en) * 2014-01-26 2014-05-07 宇龙计算机通信科技(深圳)有限公司 Manual network selection registration method and device
CN104270741A (en) * 2014-09-23 2015-01-07 广东欧珀移动通信有限公司 Terminal locking method and device
CN107332578A (en) * 2017-05-19 2017-11-07 上海优思通信科技有限公司 The method of plurality of SIM cards mobile terminal network-locking
CN110972134A (en) * 2019-12-12 2020-04-07 紫光展讯通信(惠州)有限公司 Control method and device

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101247596B (en) * 2008-01-29 2010-12-08 展讯通信(上海)有限公司 Single-base band single-radio frequency dual-SIM dual-standby communication terminal and communication method thereof
CN101977263A (en) * 2010-10-12 2011-02-16 中兴通讯股份有限公司 Method and mobile terminal for encrypting double-card mobile terminal
WO2012048489A1 (en) * 2010-10-12 2012-04-19 中兴通讯股份有限公司 Method and mobile terminal for encrypting a dual-card mobile terminal
CN101977263B (en) * 2010-10-12 2014-03-12 中兴通讯股份有限公司 Method and mobile terminal for encrypting double-card mobile terminal
CN102892104A (en) * 2012-09-20 2013-01-23 东莞宇龙通信科技有限公司 Method and system for binding multiple subscriber identity module cards
CN102892104B (en) * 2012-09-20 2015-12-16 东莞宇龙通信科技有限公司 The binding method of multiple Subscriber Identity Module and system
CN103780512A (en) * 2014-01-26 2014-05-07 宇龙计算机通信科技(深圳)有限公司 Manual network selection registration method and device
CN104270741A (en) * 2014-09-23 2015-01-07 广东欧珀移动通信有限公司 Terminal locking method and device
CN104270741B (en) * 2014-09-23 2018-04-06 广东欧珀移动通信有限公司 Terminal locking method and device
CN107332578A (en) * 2017-05-19 2017-11-07 上海优思通信科技有限公司 The method of plurality of SIM cards mobile terminal network-locking
CN110972134A (en) * 2019-12-12 2020-04-07 紫光展讯通信(惠州)有限公司 Control method and device
CN110972134B (en) * 2019-12-12 2022-08-26 紫光展讯通信(惠州)有限公司 Control method and device

Similar Documents

Publication Publication Date Title
CN101043757A (en) Method for realizing terminal card-locking
CN1929380A (en) Public key certificate state obtaining and verification method
CN1645960A (en) Interactive method for re-selecting operating network to wireless local network
CN101068383A (en) Student terminal configuration method and system based on terminal management business
CN1901449A (en) Method for connecting network
CN1929492A (en) System and method for realizing mobile terminal number real name system
CN101047950A (en) Method for allocating default load in 3GPP evolution network
CN1867186A (en) Method and apparatus for realizing user admittance control in wireless communication system
CN1819700A (en) Mobile terminal parameter presetting method and preset parameter verification thereof
CN101056443A (en) A method and device for binding and unbinding the terminal device with the user identification card
CN1809218A (en) Method of reporting and updating stored configuration parameter information by mobile terminal
CN101068413A (en) Double-mode mobile terminal personal identification number processing method
CN1867129A (en) Mobile terminal network-selecting method and mobile terminal
CN1863402A (en) Method for selecting core network operators
CN101051909A (en) Authorizing method for controling multiple device and commmunication device and server
CN1867141A (en) Parameter pre-configuration method for mobile terminal and method for checking pre-configuration parameter
CN1893716A (en) Method and corresponding device for realizing network service providing trader's discover
CN1158882C (en) Method for realizing telephone set/card separation on CDMA mobile communication net
CN101043440A (en) Method for supporting multi-service flow operation in WiMAX network
CN1859335A (en) Radio local network connecting gateway strategy loading method in radio local network
CN1750713A (en) How to automatically log in to business
CN1885770A (en) Authentication method
CN1570944A (en) A method for mobile medical record service and system thereof
CN101068423A (en) Staging software method, communication system, server for mobile station and mobile station
CN101064946A (en) Method and apparatus for realizing network exit in wireless communication network

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

Open date: 20070926