IP Library Granted Patent US 10,064,044
Granted Patent B2
US 10,064,044 · App. 15/512,352 · Granted Aug 28, 2018

Method and apparatus for determining roaming status of terminal, terminal, and server

Inventor: Tao Zhu (Nanjing, CN)
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
H04W8/02H04W8/183
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,064,044
App. No.
15/512,352
Granted
Aug 28, 2018
Kind
B2
Abstract

A method and an apparatus for determining a roaming status of a terminal, a terminal, and a server, which relate to the roaming communications field, and can improve accuracy in determining the roaming status of the terminal. The method includes obtaining, by a terminal, a mobile country code (MCC) and a mobile network code (MNC) that are corresponding to a subscriber identity module (SIM) card in the terminal, and an MCC and an MNC that are corresponding to a terminal network currently accessed by the terminal; determining, by the terminal, a roaming status of the terminal according to the MCC and the MNC that are corresponding to the SIM card, the MCC and the MNC that are corresponding to the terminal network, and a correspondence between a country code, an MCC, an MNC, and an operator.

Claims (81)

1. A method for determining a roaming status of a terminal, comprising:

obtaining, by the terminal, a mobile country code (MCC) and a mobile network code (MNC) that are corresponding to a subscriber identity module (SIM) card in the terminal, and an MCC and an MNC that are corresponding to a terminal network currently accessed by the terminal; and

determining by the terminal, a roaming status of the terminal according to the MCC and the MNC that are corresponding to the SIM card, the MCC and the MNC that are corresponding to the terminal network, and a correspondence between a country code, an MCC, an MNC, and an operator,

wherein the operator comprises a communications operator of the terminal network,

wherein the correspondence between the county code, the MCC, the MNC, and the operator comprises a correspondence between the country code, the MCC, the MNC, and a name of the operator, and

wherein determining, by the terminal, the roaming status of the terminal according to the MCC and the MNC that are corresponding to the SIM card, the MCC and the MNC that are corresponding to the terminal network, and the correspondence between the country code, the MCC, the MNC, and the operator comprises:

sending, by the terminal, terminal roaming status request information to a server in a mode in which a roaming status of the terminal is computed in a cloud, wherein the terminal roaming status request information carries the MCC and the MNC that are corresponding to the SIM card, and the MCC and the MNC that are corresponding to the terminal network, and wherein the terminal roaming status request information requests the server to determine the roaming status of the terminal according to the correspondence between the country code, the MCC, the MNC, and the operator; and

receiving, by the terminal, terminal roaming status response information from the server, wherein the terminal roaming status response information carries the roaming status of the terminal, and wherein the terminal roaming status response information is a response, of the server, to the terminal roaming status request information from the terminal.

2. A method for determining a roaming status of a terminal, comprising:

obtaining, by the terminal, a mobile country code (MCC) and a mobile network code (MNC) that are corresponding to a subscriber identity module (SIM) card in the terminal, and an MCC and an MNC that are corresponding to a terminal network currently accessed by the terminal; and

determining, by the terminal, a roaming status of the terminal according to the MCC and the MNC that are corresponding to the SIM card, the MCC and the MNC that are corresponding to the terminal network, and a correspondence between a country code, an MCC, an MNC, and an operator,

wherein the operator comprises a communications operator of the terminal network,

wherein the correspondence between the county code, the MCC, the MNC, and the operator comprises a correspondence between the country code, the MCC, the MNC, and a name of the operator,

wherein determining, by the terminal, the roaming status of the terminal according to the MCC and the MNC that are corresponding to the SIM card, the MCC and the MNC that are corresponding to the terminal network, and the correspondence between the country code, the MCC, the MNC, and the operator comprises determining, by the terminal, the roaming status of the terminal in a mode in which a roaming status of the terminal is computed locally according to the correspondence between the country code, the MCC, the MNC, and the operator, the MCC and the MNC that are corresponding to the SIM card, and the MCC and the MNC that are corresponding to the terminal network, and

wherein determining, by the terminal, the roaming status of the terminal according to the correspondence between the country code, the MCC, the MNC, and the operator, the MCC and the MNC that are corresponding to the SIM card, and the MCC and the MNC that are corresponding to the terminal network comprises:

determining, by the terminal, a home country code corresponding to the SIM card;

determining an MCC set corresponding to the home country code according to the correspondence between the country code, the MCC, the MNC, and the operator, and the MCC corresponding to the SIM card;

determining, by the terminal, that the terminal is in an international roaming state when the MCC corresponding to the terminal network does not belong to the MCC set corresponding to the home country code;

determining, by the terminal, a home operator to which the SIM card belongs;

determining an MNC set corresponding to the home operator according to the correspondence between the country code, the MCC, the MNC, and the operator, and the MNC corresponding to the SIM card;

determining, by the terminal, that the terminal is in an inter-operator roaming state when the MCC corresponding to the terminal network belongs to the MCC set corresponding to the home country code, and the MNC corresponding to the terminal network does not belong to the MNC set corresponding to the home operator; and

determining, by the terminal, that the terminal is in an intra-operator roaming state when the MCC corresponding to the terminal network belongs to the MCC set corresponding to the home country code, and the MNC corresponding to the terminal network belongs to the MNC set corresponding to the home operator.

3. A method for determining a roaming status of a terminal, comprising:

obtaining, by the terminal, a mobile country code (MCC) and a mobile network code (MNC) that are corresponding to a subscriber identity module (SIM) card in the terminal, and an MCC and an MNC that are corresponding to a terminal network currently accessed by the terminal; and

determining, by the terminal, a roaming status of the terminal according to the MCC and the MNC that are corresponding to the SIM card, the MCC and the MNC that are corresponding to the terminal network, and a correspondence between a country code, an MCC, an MNC, and an operator,

wherein the operator comprises a communications operator of the terminal network,

wherein the correspondence between the county code, the MCC, the MNC, and the operator comprises a correspondence between the country code, the MCC, the MNC, and a name of the operator,

wherein determining, by the terminal, the roaming status of the terminal according to the MCC and the MNC that are corresponding to the SIM card, the MCC and the MNC that are corresponding to the terminal network, and the correspondence between the country code, the MCC, the MNC, and the operator comprises determining, by the terminal, the roaming status of the terminal in a mode in which a roaming status of the terminal is computed locally according to the correspondence between the country code, the MCC, the MNC, and the operator, the MCC and the MNC that are corresponding to the SIM card, and the MCC and the MNC that are corresponding to the terminal network, and

wherein the method further comprises:

receiving, by the terminal, a data update instruction from the server using a push server when the correspondence, stored in a server, between the country code, the MCC, the MNC, and the operator changes, wherein the data update instruction is a trigger instruction that triggers the terminal to update the correspondence, stored in the terminal, between the country code, the MCC, the MNC, and the operator;

sending, by the terminal, a data request instruction to the server according to the data update instruction;

receiving, by the terminal, the changed correspondence from the server according to the data request instruction; and

updating the correspondence stored in the terminal.

4. A terminal, comprising:

a memory comprising instructions; and

a processor coupled to memory, wherein the instructions cause the processor to be configured to:

obtain a mobile country code (MCC) and a mobile network code (MNC) that are corresponding to a subscriber identity module (SIM) card in the terminal, and an MCC and an MNC that are corresponding to a terminal network currently accessed by the terminal; and

determine a roaming status of the terminal according to the obtained MCC and MNC that are corresponding to the SIM card, the obtained MCC and MNC that are corresponding to the terminal network, and a correspondence between a country code, an MCC, an MNC, and an operator, wherein the operator comprises a communications operator of the terminal network, wherein the correspondence between the county code, the MCC, the MNC, and the operator comprises a correspondence between the country code, the MCC, the MNC, and a name of the operator, and wherein a mode in Which a roaming status of the terminal is computed in a cloud;

a transmitter coupled to the processor and configured to send terminal roaming status request information to a server, wherein the terminal roaming status request information carries the MCC and the MNC that are corresponding to the SIM card and that are obtained by the processor and the MCC and the MNC that are corresponding to the terminal network and that are obtained by the processor, and wherein the terminal roaming status request information requests the server to determine the roaming status of the terminal according to the correspondence between a country code, an MCC, an MNC, and an operator; and

a receiver coupled to the processor and configured to receive terminal roaming status response information from the server, wherein the terminal roaming status response information carries the roaming status of the terminal, and wherein the terminal roaming status response information is a response, of the server, to the terminal roaming status request information from the terminal.

5. A terminal, comprising:

a memory comprising instructions; and

a processor coupled to memory, wherein the instructions cause the processor to be configured to:

obtain a mobile country code (MCC) and a mobile network code (MNC) that are corresponding to a subscriber identity module (SIM) card in the terminal, and an MCC and an MNC that are corresponding to a terminal network currently accessed by the terminal; and

determine a roaming status of the terminal according to the obtained MCC and MNC that are corresponding to the SIM card, the obtained MCC and MNC that are corresponding to the terminal network, and a correspondence between a country code, an MCC, an MNC, and an operator, wherein the operator comprises a communications operator of the terminal network, wherein the correspondence between the county code, the MCC, the MNC, and the operator comprises a correspondence between the country code, the MCC, the MNC, and a name of the operator, and wherein a mode in which a roaming status of the terminal is computed locally, the instructions further cause the processor to be configured to determine the roaming status of the terminal according to the correspondence between a country code of the terminal, an MCC, an MNC, and an operator, the MCC and the MNC that are corresponding to the SIM card, and the MCC and the MNC that are corresponding to the terminal network;

determine a home country code corresponding to the SIM card;

determine an MCC set corresponding to the home country code according to the correspondence between a country code of the terminal, an MCC, an MNC, and an operator, and the MCC corresponding to the SIM card;

determine that the terminal is in an international roaming state when the MCC corresponding to the terminal network does not belong to the MCC set corresponding to the home country code;

determine a home operator to which the SIM card belongs;

determine an MNC set corresponding to the home operator according to the correspondence between a country code of the terminal, an MCC, an MNC, and an operator, and the MNC corresponding to the SIM card;

determine that the terminal is in an inter-operator roaming state when the MCC corresponding to the terminal network belongs to the MCC set corresponding to the home country code, and the MNC corresponding to the terminal network does not belong to the MNC set corresponding to the home operator; and

determine that the terminal is in an intra-operator roaming state when the MCC corresponding to the terminal network belongs to the MCC set corresponding to the home country code, and the MNC corresponding to the terminal network belongs to the MNC set corresponding to the home operator.

6. A terminal, comprising:

a memory comprising instructions; and

a processor coupled to memory, wherein the instructions cause the processor to be configured to:

obtain a mobile country code (MCC) and a mobile network code (MNC) that are corresponding to a subscriber identity module (SIM) card in the terminal, and an MCC and an MNC that are corresponding to a terminal network currently accessed by the terminal; and

determine a roaming status of the terminal according to the obtained MCC and MNC that are corresponding to the SIM card, the obtained MCC and MNC that are corresponding to the terminal network, and a correspondence between a country code, an MCC, an MNC, and an operator, wherein the operator comprises a communications operator of the terminal network, wherein the correspondence between the county code, the MCC, the MNC, and the operator comprises a correspondence between the country code, the MCC, the MNC, and a name of the operator, and wherein a mode in which a roaming status of the terminal is computed locally, the instructions further cause the processor to be configured to determine the roaming status of the terminal according to the correspondence between a country code of the terminal, an MCC, an MNC, and an operator, the MCC and the MNC that are corresponding to the SIM card, and the MCC and the MNC that are corresponding to the terminal network;

a receiver coupled to the processor and configured to receive a data update instruction from the server using a push server when the correspondence, stored in a server, between a country code, an MCC, an MNC, and an operator changes, wherein the data update instruction is a trigger instruction that triggers the terminal to update the correspondence, stored in the terminal, between a country code, an MCC, an MNC, and an operator; and

a transmitter coupled to the processor and configured to send a data request instruction to the server according to the data update instruction,

wherein the receiver is further configured to receive the changed correspondence from the server according to the data request instruction, and

wherein the instructions further cause the processor to be configured to update the correspondence stored in the terminal.

7. A method for determining a roaming status of a terminal, comprising:

receiving, by a server, terminal roaming status request information from the terminal, wherein the terminal roaming status request information carries a mobile country code (MCC) and a mobile network code (MNC) that are corresponding to a subscriber identity module (SIM) card in the terminal, and an MCC and an MNC that are corresponding to a terminal network currently accessed by the terminal;

determining, by the server, a roaming status of the terminal according to a correspondence between a country code, an MCC, an MNC, and an operator, and the terminal roaming status request information, wherein the operator comprises a communications operator of the terminal network, and wherein the correspondence between the county code, the MCC, the MNC, and the operator comprises a correspondence between the country code, the MCC, the MNC, and a name of the operator; and

sending, to the terminal by the server, terminal roaming status response information that carries the roaming status of the terminal, wherein the terminal roaming status response information is a response, of the server, to the terminal roaming status request information from the terminal, and

wherein determining, by the server, the roaming status of the terminal according to the correspondence between the country code, the MCC, the MNC, and the operator, and the terminal roaming status request information comprises:

determining, by the server, a home country code corresponding to the SIM card;

determining an MCC set corresponding to the home country code according to the correspondence between a country code, an MCC, an MNC, and an operator, and the MCC that is corresponding to the SIM card and that is carried in the terminal roaming status request information;

determining, by the server, that the terminal is in an international roaming state when the MCC corresponding to the terminal network does not belong to the MCC set corresponding to the home country code;

determining, by the server, a home operator to which the SIM card belongs;

determining an MNC set corresponding to the home operator according to the correspondence between a country code, an MCC, an MNC, and an operator, and the MNC corresponding to the SIM card;

determining, by the server, that the terminal is in an inter-operator roaming state when the MCC corresponding to the terminal network belongs to the MCC set corresponding to the home country code, and the MNC corresponding to the terminal network does not belong to the MNC set corresponding to the home operator; and

determining, by the server, that the terminal is in an intra-operator roaming state when the MCC corresponding to the terminal network belongs to the MCC set corresponding to the home country code, and the MNC corresponding to the terminal network belongs to the MNC set corresponding to the home operator.

8. A method for determining a roaming status of a terminal, comprising:

receiving, by a server, terminal roaming status request information from the terminal, wherein the terminal roaming status request information carries a mobile country code (MCC) and a mobile network code (MNC) that are corresponding to a subscriber identity module (SIM) card in the terminal, and an MCC and an MNC that are corresponding to a terminal network currently accessed by the terminal;

determining, by the server, a roaming status of the terminal according to a correspondence between a country code, an MCC, an MNC, and an operator, and the terminal roaming status request information, wherein the operator comprises a communications operator of the terminal network, and wherein the correspondence between the county code, the MCC, the MNC, and the operator comprises a correspondence between the country code, the MCC, the MNC, and a name of the operator; and

sending, to the terminal by the server, terminal roaming status response information that carries the roaming status of the terminal, wherein the terminal roaming status response information is a response, of the server, to the terminal roaming status request information from the terminal, and

wherein when the terminal is in a mode in which a roaming status of the terminal is computed locally, the method further comprises:

sending, by the server, a data update instruction to the terminal using a push server when the correspondence, stored in the server, between a country code, an MCC, an MNC, and an operator changes, wherein the data update instruction is a trigger instruction that triggers the terminal to update the correspondence, stored in the terminal, between a country code, an MCC, an MNC, and an operator;

receiving, by the server, a data request instruction from the terminal according to the data update instruction; and

sending, by the server, the changed correspondence to the terminal according to the data request instruction such that the terminal updates the correspondence stored in the terminal.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 25, 2017
From: ZHU, TAO
To: HUAWEI TECHNOLOGIES CO., LTD.
Reel/Frame 043093/0088 →
Continuity (1)
Related Publication 20170280313A1 · Sep 28, 2017
Cited By (3)
US 12,408,017 US 12,452,640 US 12,501,251