CN111373777B - Soft SIM card network access control method and equipment - Google Patents

Soft SIM card network access control method and equipment Download PDF

Info

Publication number
CN111373777B
CN111373777B CN201880058771.2A CN201880058771A CN111373777B CN 111373777 B CN111373777 B CN 111373777B CN 201880058771 A CN201880058771 A CN 201880058771A CN 111373777 B CN111373777 B CN 111373777B
Authority
CN
China
Prior art keywords
area
terminal
sim card
identifier
soft 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.)
Active
Application number
CN201880058771.2A
Other languages
Chinese (zh)
Other versions
CN111373777A (en
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN111373777A publication Critical patent/CN111373777A/en
Application granted granted Critical
Publication of CN111373777B publication Critical patent/CN111373777B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/02Processing of mobility data, e.g. registration information at HLR [Home Location Register] or VLR [Visitor Location Register]; Transfer of mobility data, e.g. between HLR, VLR or external networks

Landscapes

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

Abstract

The embodiment of the application discloses a soft SIM card network access control method and equipment, relates to the technical field of terminals, and solves the oscillation problem that a soft SIM card in a border area is repeatedly activated and deactivated and the problem that the power consumption of the terminal is increased. The specific scheme is as follows: the terminal detects that the area identification of the network-residing area is switched from a first area identification to a second area identification, and obtains the position information of the terminal, wherein the first area identification is the area identification of the non-service area of the soft SIM card, and the second area identification is the area identification of the service area of the soft SIM card; and the terminal does not activate the soft SIM card when determining that the terminal is in the oscillation area corresponding to the second area identifier according to the position information.

Description

Soft SIM card network access control method and equipment
The present application claims priority of chinese patent application entitled "a method and apparatus for suppressing network oscillation" filed by the chinese patent office on 09.10/2017, application No. 201710931163.5, the entire contents of which are incorporated herein by reference.
Technical Field
The embodiment of the application relates to the technical field of terminals, in particular to a soft SIM card network access control method and equipment.
Background
With the continuous development of science and technology, terminals such as mobile phones and the like have become the first choice tools for communication in daily life and work of people. And with the increase of the number of outbound tourism and workers year by year, the outbound mobile data service becomes a basic outbound appeal. In order to ensure that domestic users can conveniently and cheaply enjoy mobile data services abroad, many mobile phone manufacturers or third-party providers provide outbound mobile data services implemented by using a Subscriber Identity Module (SIM) card. As shown in fig. 1, after the user is outbound, the card data can be downloaded from the card management platform (e.g., the overseas local operator SIM card resource server shown in fig. 1) to the soft SIM card of the handset through the secure channel. After the soft SIM card is activated, the mobile phone can access to the overseas local operator network by using the card data in the soft SIM card, so that the user can enjoy the overseas local mobile data service.
In the prior art, in order to allow the user to enjoy a seamless data service experience, the soft SIM card may be set to activate automatically. Specifically, an application may be built in the Mobile phone, and the application may monitor whether a Mobile Country Code (MCC) of the Mobile phone on the network changes. When the user moves from home to abroad, the application can monitor that the MCC of the mobile phone in the network is switched from the MCC in the non-service area of the soft SIM card to the MCC in the service area. In the case where the soft SIM card is set to auto-activate, the application instructs the Modem (Modem) to activate the soft SIM card. After the soft SIM card is activated, the handset can automatically connect to the foreign local carrier network using the card data in the soft SIM card, so that the user can enjoy foreign local mobile data services. When the user moves from abroad to China, the application can monitor that the MCC of the mobile phone network is switched from the MCC of the soft SIM card service area to the MCC of the non-service area, and at the moment, the application indicates the Modem to deactivate the soft SIM card.
However, as shown in fig. 2, in many border areas, there may be an overlap of the service area and the non-service area. In the area where the service area and the non-service area overlap, the network residence of the mobile phone may be repeatedly switched, that is, it is possible that the current time is switched from the non-service area to the service area, and the next time is switched from the service area to the non-service area. Thus, when the soft SIM card is set to be automatically activated, the soft SIM card is repeatedly activated and deactivated, and the power consumption of the mobile phone is greatly increased due to the repeated activation and deactivation of the soft SIM card.
Disclosure of Invention
The embodiment of the application provides a network access control method and equipment for a soft SIM card, and solves the oscillation problem that the soft SIM card is repeatedly activated and deactivated in a border area and the problem that the power consumption of a terminal is increased.
In order to achieve the above purpose, the embodiment of the present application adopts the following technical solutions:
in a first aspect of the embodiments of the present application, a soft SIM card network access control method is provided, where the method is applied to a terminal, and the soft SIM card network access control method may include:
when the terminal detects that the area identification of the network-residing area is changed from a first area identification to a second area identification, the terminal acquires the position information of the terminal, wherein the first area identification is the area identification of the non-service area of the soft SIM card, and the second area identification is the area identification of the service area of the soft SIM card; and the terminal does not activate the soft SIM card when determining that the terminal is in the oscillation area corresponding to the second area identifier according to the acquired position information of the terminal. The oscillation area refers to an area where the resident network of the terminal oscillates.
According to the soft SIM card network access control method provided by the embodiment of the application, when the terminal detects that the area identifier of the network-resident area is switched from the area identifier of the non-service area of the soft SIM card to the area identifier of the service area of the soft SIM card, the position information of the terminal is obtained, whether the terminal is in the oscillation area or not is judged according to the obtained position information, and when the terminal is in the oscillation area, the soft SIM card is not activated temporarily. Therefore, when the terminal is in the oscillation area, the soft SIM card is not activated temporarily, so that the oscillation problem that the soft SIM card is repeatedly activated and deactivated is avoided, the user experience is improved, and the condition that the power consumption of the terminal is greatly increased due to the fact that the soft SIM card is repeatedly activated and deactivated is also avoided. In addition, the problem of poor user internet experience caused by poor signal quality in border areas can be solved by temporarily not activating the soft SIM card when the user is in the oscillation area.
With reference to the first aspect, in a possible implementation manner, the acquiring the location information of the terminal specifically may include: acquiring a cell identifier where the terminal currently resides in an area corresponding to the second area identifier; the determining, by the terminal according to the location information, that the terminal is located in the oscillation area corresponding to the second area identifier may specifically include: the terminal determines that the cell identifier of the current residence is contained in a blacklist corresponding to the second area identifier; and the blacklist comprises the cell identification which has oscillation in the area corresponding to the second area identification. In this way, whether the terminal is in the oscillation area can be determined by adopting the positioning technology based on the cell identification.
With reference to the first aspect or the foregoing possible implementation manners, in another possible implementation manner, the method for controlling network access of a soft SIM card may further include: and the terminal determines that the cell identifier currently resided is not contained in the blacklist corresponding to the second area identifier, and activates the soft SIM card. In this way, when the terminal is not in the oscillation area, the soft SIM card is activated so that the user can enjoy the mobile data service locally at the roaming place.
With reference to the first aspect or the foregoing possible implementation manner, in another possible implementation manner, before the obtaining the location information of the terminal, the soft SIM card network access control method may further include: the terminal acquires a cell identifier where the terminal currently resides in an area corresponding to the second area identifier; the acquiring of the location information of the terminal may specifically include: when the terminal determines that the cell identifier of the current residence is contained in the blacklist corresponding to the second area identifier, starting a positioning function to acquire the geographical position of the terminal at the current moment; the determining, by the terminal according to the location information, that the terminal is located in the oscillation area corresponding to the second area identifier may specifically include: the terminal determines that the geographic position of the terminal at the current moment is in a geographic fence area indicated by geographic fence information corresponding to the cell identifier of the current residence; the geo-fence information includes a plurality of geo-location information, the geo-fence area indicated by the geo-fence information is a polygonal area with the plurality of geo-location information as vertices, and the polygonal area is an area where there is a shock in the currently camped cell. Therefore, the power consumption problem caused by the fact that whether the geo-fence identification terminal is in the oscillation area or not is solved by firstly adopting the low-power-consumption positioning technology based on the cell identification for positioning and initially selecting and then adopting the high-precision positioning technology based on the GPS for accurate positioning.
With reference to the first aspect or the foregoing possible implementation manners, in another possible implementation manner, the method for controlling network access of a soft SIM card may further include: and the terminal determines that the geographic position of the terminal at the current moment is not in the geographic fence area indicated by the geographic fence information corresponding to the cell identifier of the current residence, and activates the soft SIM card. In this way, when the terminal is not in the oscillation area, the soft SIM card is activated so that the user can enjoy the mobile data service locally at the roaming place.
With reference to the first aspect or the foregoing possible implementation manner, in another possible implementation manner, the acquiring the location information of the terminal specifically may include: starting a positioning function, and acquiring the geographical position of the terminal at the current moment; the determining, by the terminal according to the location information, that the terminal is located in the oscillation area corresponding to the second area identifier may specifically include: the terminal determines that the geographic position of the terminal at the current moment is in the geographic fence area indicated by the geographic fence information corresponding to the second area identifier; the geo-fence information includes a plurality of geo-location information, the geo-fence area indicated by the geo-fence information is a polygonal area with the plurality of geo-location information as vertices, and the polygonal area is an area where there is oscillation in the area corresponding to the second area identifier.
With reference to the first aspect or the foregoing possible implementation manners, in another possible implementation manner, the method for controlling network access of a soft SIM card may further include: and the terminal determines that the geographic position of the terminal at the current moment is not in the geographic fence area indicated by the geographic fence information corresponding to the second area identifier, and activates the soft SIM card. In this way, when the terminal is not in the oscillation area, the soft SIM card is activated so that the user can enjoy the mobile data service locally at the roaming place.
With reference to the first aspect or the foregoing possible implementation manners, in another possible implementation manner, the area identifier is an MCC or a public land mobile network PLMN.
In a second aspect of the embodiments of the present application, a method for deactivating a soft SIM card is provided, where the method is applied to a terminal, where the terminal includes a first SIM card and a second SIM card, the first SIM card provides SIM card authentication and authorization information for the terminal to communicate with a base station in a first area, the second SIM card provides SIM card authentication and authorization information for the terminal to communicate with a base station in a second area, and the second SIM card is a soft SIM card, and the method for deactivating a soft SIM card may include:
when the terminal detects that the network residence of the first SIM card is switched from the first area to the second area, activating the second SIM card, setting the state of the terminal as a non-stable state of a service area, and starting a first timer; if the network residence of the first SIM card is switched from the second area to the first area during the timing period of the first timer, setting the state of the terminal as a non-service area unstable state, and starting a second timer; and if the network residence of the first SIM card is not switched during the timing period of the second timer, deactivating the soft SIM card.
According to the method for deactivating the soft SIM card, when a first SIM card of a terminal is switched from a non-service area of the soft SIM card to a service area of the soft SIM card in a network, the soft SIM card is activated, the state of the terminal is set to be a non-stable state of the service area, and a first timer is started. And if the network residence of the first SIM card is switched from the second area to the first area during the timing period of the first timer, setting the state of the terminal as the non-stable state of the non-service area, and starting the second timer. And if the network residence of the first SIM card is not switched during the timing period of the second timer, deactivating the soft SIM card. Therefore, by setting the unstable state, the soft SIM card is deactivated when the terminal is switched back to the service area from the non-service area after the soft SIM card is activated, so that the oscillation problem that the soft SIM card is repeatedly activated and deactivated is avoided, the user experience is improved, and the condition that the power consumption of the terminal is greatly increased due to the fact that the soft SIM card is repeatedly activated and deactivated is also avoided.
With reference to the second aspect, in a possible implementation manner, if the network residence of the first SIM card is not switched during the timing of the first timer, the state of the terminal is set to be a stable state; and when the state of the terminal is a stable state, when the network residence of the first SIM card is switched from the second area to the first area, the soft SIM card is deactivated.
With reference to the second aspect or the foregoing possible implementation manner, in another possible implementation manner, if the network residence of the first SIM card is switched from the first area to the second area during the time period of the second timer, the state of the terminal is set as a service area unstable state, and the first timer is restarted.
In a third aspect of the embodiments of the present application, a terminal is provided, including:
and the processing unit is used for detecting that the area identifier of the network-residing area is changed from a first area identifier to a second area identifier, acquiring the position information of the terminal, wherein the first area identifier is the area identifier of the non-service area of the soft subscriber identity module SIM card, the second area identifier is the area identifier of the service area of the soft SIM card, and determining that the terminal is located in the oscillation area corresponding to the second area identifier according to the position information without activating the soft SIM card. The oscillation area refers to an area where the network of the terminal is in oscillation.
With reference to the third aspect, in a possible implementation manner, the processing unit is specifically configured to: acquiring a cell identifier of a terminal currently residing in an area corresponding to the second area identifier, and determining that the cell identifier of the current residing is contained in a blacklist corresponding to the second area identifier; and the blacklist comprises the cell identification with oscillation in the area corresponding to the second area identification.
With reference to the third aspect or the foregoing possible implementation manner, in another possible implementation manner, the processing unit is further configured to determine that the currently camped cell identifier is not included in the blacklist corresponding to the second area identifier, and activate the soft SIM card.
With reference to the third aspect or the foregoing possible implementation manner, in another possible implementation manner, the processing unit is further configured to obtain a cell identifier where the terminal currently resides in an area corresponding to the second area identifier; a processing unit, specifically configured to: when the current resident cell identifier is determined to be included in the blacklist corresponding to the second area identifier, starting a positioning function, acquiring the geographic position of the terminal at the current time, and determining that the geographic position of the terminal at the current time is in the geographic fence area indicated by the geographic fence information corresponding to the current resident cell identifier; the geo-fence information includes a plurality of geo-location information, the geo-fence area indicated by the geo-fence information is a polygonal area with the plurality of geo-location information as vertices, and the polygonal area is an area where there is a shock in the currently camped cell.
With reference to the third aspect or the foregoing possible implementation manner, in another possible implementation manner, the processing unit is further configured to determine that the geographic location where the terminal is located at the current time is not in the geo-fence area indicated by the geo-fence information corresponding to the currently camped cell identifier, and activate the soft SIM card.
With reference to the third aspect or the foregoing possible implementation manner, in another possible implementation manner, the processing unit is specifically configured to: starting a positioning function, acquiring the geographic position of the terminal at the current moment, and determining that the geographic position of the terminal at the current moment is in a geographic fence area indicated by the geographic fence information corresponding to the second area identifier; the geo-fence information includes a plurality of geo-location information, the geo-fence area indicated by the geo-fence information is a polygonal area with the plurality of geo-location information as vertices, and the polygonal area is an area where there is a shock in the area corresponding to the second area identifier.
With reference to the third aspect or the foregoing possible implementation manner, in another possible implementation manner, the processing unit is further configured to determine that the geographic location where the terminal is located at the current time is not located in the geo-fenced area indicated by the geo-fenced information corresponding to the second area identifier, and activate the soft SIM card.
With reference to the third aspect or the foregoing possible implementation manners, in another possible implementation manner, the area identifier is a mobile country code MCC or a public land mobile network PLMN.
In a fourth aspect of the embodiments of the present application, a terminal is provided, where the terminal includes a first SIM card and a second SIM card, the first SIM card provides SIM card authentication information for communication between the terminal and a base station in a first area, the second SIM card provides SIM card authentication information for communication between the terminal and a base station in a second area, and the second SIM card is a soft SIM card, and the terminal includes:
the processing unit is used for activating the second SIM card when detecting that the network residence of the first SIM card is switched from the first area to the second area, setting the state of the terminal as a service area unstable state, and starting a first timer; if the network residence of the first SIM card is switched from the second area to the first area during the timing period of the first timer, setting the state of the terminal as a non-service area unstable state, and starting a second timer; and if the network residence of the first SIM card is not switched during the timing period of the second timer, deactivating the soft SIM card.
With reference to the fourth aspect, in a possible implementation manner, the processing unit is further configured to set the state of the terminal to be a stable state if the network residence of the first SIM card is not switched during the time period of the first timer; and when the state of the terminal is a stable state, when the network residence of the first SIM card is switched from the second area to the first area, the soft SIM card is deactivated.
With reference to the fourth aspect or the foregoing possible implementation manner, in another possible implementation manner, the processing unit is further configured to set the state of the terminal as a service area unstable state and restart the first timer if the network residence of the first SIM card is switched from the first area to the second area during the time period of the second timer.
In a fifth aspect of the embodiments of the present application, a terminal is provided, including: one or more processors and memory; the memory coupled with the one or more processors is configured to store computer program code comprising computer instructions which, when executed by the one or more processors, cause the terminal to perform the soft SIM card network access control method as set forth in the first aspect or any of its possible implementations.
In a sixth aspect of the embodiments of the present application, a terminal is provided, including: one or more processors and memory; the memory is coupled to the one or more processors and is configured to store computer program code comprising computer instructions which, when executed by the one or more processors, cause the terminal to perform the method of deactivating a soft SIM card as set forth in the second aspect or any of its possible implementations.
A seventh aspect of the embodiments of the present application provides a computer storage medium, which includes computer instructions, and when the computer instructions are run on a terminal, the terminal is caused to execute the soft SIM card network access control method according to the first aspect or any one of the possible implementation manners of the first aspect.
In an eighth aspect of the embodiments of the present application, a computer storage medium is provided, which includes computer instructions, and when the computer instructions are executed on a terminal, the terminal is caused to execute the method for deactivating a soft SIM card according to the second aspect or any of the possible implementation manners of the second aspect.
A ninth aspect of the embodiments of the present application provides a computer program product, which when run on a computer, causes the computer to execute the soft SIM card network access control method according to the first aspect or any one of the possible implementation manners of the first aspect.
A tenth aspect of the embodiments of the present application provides a computer program product, which when run on a computer, causes the computer to execute the method for deactivating a soft SIM card according to the second aspect or any of the possible implementations of the second aspect.
It is to be understood that the terminal according to the third aspect, the fourth aspect, the fifth aspect and the sixth aspect, the computer storage medium according to the seventh aspect and the eighth aspect, and the computer program product according to the ninth aspect and the tenth aspect are all configured to perform the corresponding method provided above, and therefore, the beneficial effects achieved by the computer program product according to the ninth aspect and the tenth aspect can refer to the beneficial effects in the corresponding method provided above, and are not described herein again.
Drawings
Fig. 1 is a schematic view of an application scenario of a soft SIM card according to an embodiment of the present application;
fig. 2 is a schematic view of a region distribution provided in an embodiment of the present application;
FIG. 3 is a schematic diagram of a system according to an embodiment of the present disclosure;
fig. 4 is a schematic composition diagram of a mobile phone according to an embodiment of the present application;
FIG. 5 is a schematic illustration of another area distribution provided by an embodiment of the present application;
fig. 6 is a first schematic view of a display interface provided in an embodiment of the present application;
fig. 7 is a schematic diagram of a display interface provided in the embodiment of the present application;
fig. 8 is a schematic flowchart of a method for controlling network access of a soft SIM card according to an embodiment of the present application;
fig. 9 is a schematic flowchart of another soft SIM card network access control method according to an embodiment of the present application;
fig. 10 is a schematic flowchart of another soft SIM card network access control method according to an embodiment of the present application;
fig. 11 is a schematic diagram of a display interface provided in the embodiment of the present application;
fig. 12 is a fourth schematic view of a display interface provided in the embodiment of the present application;
fig. 13 is a schematic diagram of a display interface provided in the embodiment of the present application;
fig. 14 is a sixth schematic view of a display interface provided in an embodiment of the present application;
fig. 15 is a schematic flowchart of a method for deactivating a soft SIM card according to an embodiment of the present application;
fig. 16 is a schematic diagram of a terminal state transition provided in an embodiment of the present application;
fig. 17 is a schematic composition diagram of a terminal according to an embodiment of the present application.
Detailed Description
The terms "first" and "second", and the like in the description and in the claims of the present application, are used for distinguishing between different objects and not for defining a particular order.
In the embodiments of the present application, words such as "exemplary" or "for example" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "e.g.," is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
To facilitate a clear understanding of the following embodiments, a brief description of the related art is first given:
SIM card: the SIM card may be referred to as a subscriber identity module card, and may also be referred to as a subscriber identity module card, a smart card, or the like. The SIM card is an important part of terminal identification, and can be used to store SIM card authentication information such as a unique number and an encryption key, so as to identify the identity of a user when the user performs network communication.
Hard SIM card: the hard SIM card refers to a SIM card which is arranged in the terminal and contains a chip.
Soft SIM card: the soft SIM card is a SIM card different from the hard SIM card, and is a virtual entity, which can be stored in a secure storage area in an Operating System (OS) of the mobile phone. In the embodiment of the application, when the user terminal roams among different areas, in order to save roaming cost and avoid frequent replacement of the hard SIM card, the soft SIM card can be used for storing the SIM card authentication information of the roaming operator, so that the terminal can access the home operator network of the roaming place to enjoy the local mobile data service of the roaming place.
Service area: the service area refers to an area capable of providing a service for the soft SIM card.
A non-service area: the non-service area refers to an area that cannot provide service for the soft SIM card.
An oscillation area: the oscillation area refers to an area in which the terminal in the service area has oscillation.
The network residence of the terminal may be repeatedly switched in many border areas. Under the scene that the soft SIM card is set to be automatically activated, after a user arrives at a border area, the soft SIM card is repeatedly activated and deactivated due to repeated switching of the terminal in a network, and meanwhile, the power consumption of the terminal is also greatly increased due to repeated activation and deactivation of the soft SIM card. In order to solve the oscillation problem that the soft SIM card is repeatedly activated and deactivated in the border area and the problem that the power consumption of the terminal is increased, the embodiment of the present application provides a network access control method for the soft SIM card, and the basic principle is as follows: and when the terminal detects that the area identifier of the network-residing area is switched from the area identifier of the non-service area of the soft SIM card to the area identifier of the service area of the soft SIM card, acquiring the position information of the terminal. The terminal judges whether the terminal is in a vibration area corresponding to the area identifier of the service area or not according to the acquired position information, when the terminal is in the vibration area corresponding to the area identifier of the service area, the soft SIM card is not activated temporarily, and when the terminal is not in the vibration area corresponding to the area identifier of the service area, the soft SIM card is activated. Therefore, when the terminal is in the oscillation area, the soft SIM card is not activated temporarily, so that the oscillation problem that the soft SIM card is activated and deactivated repeatedly is avoided, and the condition that the power consumption of the terminal is greatly increased due to the repeated activation and deactivation of the soft SIM card is also avoided.
Embodiments of the present application will be described in detail below with reference to the accompanying drawings.
Fig. 3 is a schematic diagram of a system according to an embodiment of the present application. As shown in fig. 3, the system may include: a server 31, a card management platform 32, a terminal 33 and a base station 34.
The server 31 is mainly responsible for generating the geo-fence data by using the geo-fence technology, and provides an interface for acquiring the geo-fence data for the terminal 33. In an embodiment of the present application, the area indicated by the geofence data generated using the geofence technique is an oscillation area.
The card management platform 32 is mainly responsible for managing soft SIM card resources. As an example, the card management platform 32 may be a home carrier SIM card resource server of a roaming location.
And the terminal 33 indicates a terminal for opening the soft SIM card service. When the user arrives at the roaming place, the user can enjoy the local mobile data service of the roaming place by using the soft SIM card. In some embodiments, the terminal 33 may be a mobile phone, a tablet Computer, a desktop Computer, a laptop Computer, a notebook Computer, an Ultra-mobile Personal Computer (UMPC), a handheld Computer, a netbook, a Personal Digital Assistant (PDA), a wearable electronic device, or a smart watch, and the embodiment of the present application does not particularly limit the specific form of the terminal. For example, in the embodiment of the present application, the terminal 33 is exemplified as a mobile phone.
In the embodiment of the present application, the terminal 33 is mainly responsible for periodically acquiring the geofence data through an interface provided by the server 31. The terminal 33 is also responsible for downloading card data from the card management platform 32 into the soft SIM card after the user arrives at the roaming site. The card data comprises SIM card authentication information of the roaming place. The terminal 33 is also responsible for monitoring whether the network residence of the terminal 33 is switched, when it is monitored that the network residence of the terminal 33 is switched from the non-service area of the soft SIM card to the service area of the soft SIM card, whether the terminal 33 is in the oscillation area is determined according to the location information of the terminal 33 and the acquired geo-fence data, when the terminal 33 is in the oscillation area, the soft SIM card is not activated for the moment, and when the terminal 33 is not in the oscillation area, the soft SIM card is activated. After the soft SIM card is activated, the terminal 33 can access the base station 34 using the card data in the soft SIM card so that the user can enjoy the mobile data service locally at the roaming place.
The base station 34 is a device deployed in a radio access network for providing a terminal 33 with a radio communication function. In the embodiment of the present application, the base station 34 specifically refers to a device for providing a local mobile data service of a roaming location for the terminal 33 after the user arrives at the roaming location. In some embodiments, the Base Station 34 may be a Base Station (BS) or a Base Station controller (bsc) for wireless communication, or the like. Also referred to as wireless access points, transceiver stations, relay stations, cells, Transmit and Receive Ports (TRPs), and so on. The base stations 34 may include various forms of cellular base stations, home base stations, cells, wireless transmission points, macro base stations, micro base stations, relay stations, wireless access points, and so forth. In systems using different radio Access technologies, names of devices having base station functions may be different, for example, in a Long Term Evolution (LTE) network, the devices are called evolved Node bs (enbs) or enodebs (enodebs), in a 3 rd Generation mobile communication technology (3G) system, the devices are called base stations (Node bs), in a next Generation radio communication system, the devices are called gnbs (gnbs), and in a wireless local Access system, the devices are called Access points (Access points). This name may change as communication technology evolves. Further, the base station 34 may be other devices that provide wireless communication functions for the terminal 33, where possible. For convenience of description, in the embodiment of the present application, a device that provides a wireless communication function for the terminal 33 is referred to as a base station.
Taking a terminal as an example, fig. 4 is a schematic composition diagram of a mobile phone provided in the embodiment of the present application. The following describes the components of the mobile phone in detail with reference to the accompanying drawings:
as shown in fig. 4, the mobile phone may include: the display 401, the input unit 402, the processor 403, the memory 404, the power supply 405, the Radio Frequency (RF) circuit 406, the sensor 407, the audio circuit 408, the speaker 409, the microphone 410, the Wireless Fidelity (WiFi) module 411, and other components may be connected by a bus or may be connected directly. Those skilled in the art will appreciate that the handset configuration shown in fig. 4 is not intended to be limiting and may include more components than those shown, or some components may be combined, or a different arrangement of components.
The display 401 may be used to display information input by the user or information provided to the user, and various menus of the mobile phone, and may also accept input operations by the user. Specifically, the display 401 may include a display panel 401-1 and a touch panel 401-2.
The Display panel 401-1 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The touch panel 401-2, which may also be referred to as a touch screen, a touch-sensitive screen, a touch screen, etc., may collect contact or non-contact operations (e.g., operations performed by a user on or near the touch panel 401-2 using any suitable object or accessory such as a finger, a stylus, etc., and may also include somatosensory operations; including operation types such as single-point control operations, multi-point control operations, etc.) on or near the touch panel 401-2, and drive the corresponding connection device according to a preset program. Alternatively, the touch panel 401-2 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction and gesture of a user, detects signals brought by touch operation and transmits the signals to the touch controller; the touch controller receives a touch signal from the touch detection device, converts the received touch signal into information that can be processed by the processor 403, sends the information to the processor 403, and can receive and execute a command sent by the processor 403. In addition, the touch panel 401-2 may be implemented by various types such as a resistive type, a capacitive type, an infrared ray, a surface acoustic wave, and the like, and the touch panel 401-2 may also be implemented by any technology developed in the future, which is not limited in this embodiment of the application.
Further, the touch panel 401-2 may cover the display panel 401-1, and a user may operate on or near the touch panel 401-2 covered on the display panel 401-1 according to the content displayed on the display panel 401-1 (the displayed content may include any one or more of a soft keyboard, a virtual mouse, virtual keys, icons, and the like). After the touch panel 401-2 detects an operation thereon or nearby, it is transmitted to the processor 403 through the input/output subsystem to determine a user input, and then the processor 403 provides a corresponding visual output on the display panel 401-1 through the input/output subsystem according to the user input. Although in FIG. 4, the touch panel 401-2 and the display panel 401-1 are shown as two separate components to implement the input and output functions of the cell phone, in some embodiments, the touch panel 401-2 and the display panel 401-1 may be integrated to implement the input and output functions of the cell phone.
The input unit 402 may be the touch panel 401-2, or may be another input device. The other input devices may be used to receive input numeric or character information and to generate key signal inputs relating to user settings and function controls of the handset. In particular, the other input devices may include any one or a combination of: a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, a light mouse (a light mouse is a touch-sensitive surface that does not display visual output, or is an extension of a touch-sensitive surface formed by a touch screen), and the like. The other input devices are connected to other input device controllers of the input/output subsystem, and interact with the processor 403 under the control of the other input device controllers.
The processor 403 is a control center of the mobile phone, connects various parts of the whole mobile phone by using various interfaces and lines, and executes various functions of the mobile phone and processes data by operating or executing software programs and/or modules stored in the memory 404 and calling data stored in the memory 404, thereby performing overall monitoring of the mobile phone. Alternatively, processor 403 may include one or more processing units; processor 403 may integrate an application processor and a modem. The application processor mainly processes an operating system, a user interface, application programs and the like, and the modem mainly processes wireless communication. It will be appreciated that the modem may also be provided separately from the application processor.
The memory 404 may be used to store data, software programs and modules, and the processor 403 executes the data, software programs and modules stored in the memory 404 to perform various functional applications and data processing of the mobile phone, for example, to execute the soft SIM card network access control method provided in the embodiments of the present application. The memory 404 may mainly include a program storage area and a data storage area. Wherein, the storage program area can store an operating system, application programs (such as a sound playing function, an image playing function, etc.) required by at least one function, and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the Memory 404 may be a Volatile Memory (Volatile Memory), such as a Random-Access Memory (RAM), a high-speed Random Access Memory; or a Non-Volatile Memory (Non-Volatile Memory) such as a magnetic Disk storage device, a Flash Memory device, a Read-Only Memory (ROM), a Flash Memory (Flash Memory), a Hard Disk Drive (HDD), or a Solid-State Drive (SSD); or a combination of the above types of memories.
The power source 405, which may be a battery, is logically connected to the processor 403 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
RF circuit 406 may be used for receiving and transmitting signals during a message transmission or call, and in particular, for providing the received downlink information of the base station to processor 403 for processing; in addition, the data for designing uplink is transmitted to the base station. In general, RF circuitry 406 includes, but is not limited to, an antenna, at least one Amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, RF circuitry 406 may also communicate with networks and other devices via wireless communications. The wireless communication may use any one of a variety of communication standards or protocols, including combinations of one or more of the following: global System of Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Message Service (SMS), and the like.
The handset may also include at least one sensor 407, such as a light sensor, a speed sensor, a Global Positioning System (GPS) sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that adjusts the brightness of the display panel 401-1 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 401-1 and/or the backlight when the mobile phone is moved to the ear. As one of the speed sensors, the accelerometer sensor can detect the acceleration of the mobile phone in each direction (generally three axes), detect the gravity and direction when the mobile phone is stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like. As for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, and a pressure sensor, which can be configured on the mobile phone, further description is omitted here.
Audio circuitry 408, speaker 409, microphone 410 may provide an audio interface between the user and the handset. The audio circuit 408 may transmit the electrical signal converted from the received audio data to the speaker 409, and the electrical signal is converted into a sound signal by the speaker 409 and output; on the other hand, the microphone 410 converts the collected sound signals into electrical signals, which are received by the audio circuit 408 and converted into audio data, which are output to the RF circuit 406 for transmission to, for example, another cell phone, or to the processor 403 for further processing.
The WiFi module 411 may be a module including a WiFi chip and a driver of the WiFi chip, and the WiFi chip has a capability of running a wireless internet standard protocol.
In addition, an operating system runs on the above components. A running application may be installed on the operating system. And, although not shown, the mobile phone may further include a bluetooth module, a camera, and the like. The bluetooth module is a Printed Circuit Board Assembly (PCBA) integrated with bluetooth function, and is used for short-distance wireless communication.
The embodiments of the present application will be described in detail below with reference to the accompanying drawings.
When a user holds a terminal to roam among different areas, in order to enjoy local mobile data services of a roaming place in the roaming place and avoid frequent replacement of a hard SIM card, the user can open a soft SIM card service in advance before going to the roaming place and purchase a mobile data service package of the roaming place.
It is understood that there may be one or more regions adjacent to one region. Take two areas adjacent to the area as an example. For example, as shown in fig. 5, the area adjacent to the area a includes: region B and region C. Assuming that the user is about to hold the terminal roaming from the area a to the area B, the user may purchase a mobile data service package local to the area B in the terminal-installed application providing the roaming-place internet service. As shown in FIG. 6, the user selects to purchase the mobile data services package "zone B for fresh-7 days unlimited traffic" in the premium package.
After the purchase is successful, the application enters a details setting interface 701 for the package purchased by the user, as shown in FIG. 7. In the details settings interface 701, the user may turn on a "smart-on" button 702 so that after the user arrives at zone B, the soft SIM card may be automatically activated, thereby facilitating the user to enjoy mobile data services local to zone B.
In the embodiment of the application, in order to avoid oscillation problem that the soft SIM card is repeatedly activated and deactivated in the border area under the condition that the soft SIM card is set to be automatically activated, after a user arrives at a service area of the soft SIM card, that is, the area B, if the terminal determines that the terminal is in the oscillation area, the soft SIM card may not be activated temporarily, and when the terminal is determined not to be in the oscillation area, the soft SIM card may be activated.
In which, a positioning technique may be employed to determine whether the terminal is in a vibration area. Two types of positioning techniques are common at present: one is a GPS-based positioning technique, and the other is a Cell identification (Cell ID) -based positioning technique. In the embodiment of the application, the positioning technology used for determining whether the terminal is in the oscillation area may be a positioning technology based on a GPS, a positioning technology based on a Cell ID, or a combination of the two positioning technologies. In order to facilitate understanding of those skilled in the art, in the embodiments of the present application, the soft SIM card network access control methods provided in the embodiments of the present application are respectively introduced according to different positioning technologies used for determining whether a terminal is in a vibration area.
Fig. 8 is a flowchart illustrating a soft SIM card network access control method according to an embodiment of the present application. The embodiment shown in fig. 8 is described by taking two positioning technologies, namely GPS-based positioning technology and Cell ID-based positioning technology, as examples of the positioning technology used for determining whether the terminal is in the oscillation area.
In connection with fig. 5-7, the above example was described as the user roaming a terminal from area a to area B. After the user arrives at the area B, the user can download the SIM card authentication information of the area B from the card management platform to the soft SIM card through the application. As shown in fig. 8, the soft SIM card network access control method may include:
s801, the terminal detects that the area identification of the network-residing area is changed from the first area identification to the second area identification.
The first area identification is the area identification of the non-service area of the soft SIM card, and the second area identification is the area identification of the service area of the soft SIM card.
The terminal detects that the area identification of the network-residing area is changed from the first area identification to the second area identification, which indicates that the terminal is switched from the non-service area of the soft SIM card to the service area. That is to say, in the embodiment of the present application, it may be determined whether the terminal is switched from the non-service area of the soft SIM card to the service area by detecting a change in the area identifier of the network-camping area.
In some embodiments, in a scenario where the soft SIM card is capable of providing services to the user in all regions of a country, MCCs may be used to identify different regions, for example, the non-service area and the service area are identified by different MCCs. In some countries, where the Network coverage area of some operators is part of the country, the soft SIM card cannot provide services to the user in all areas of the country, and a Public Land Mobile Network (PLMN) may be used to identify different areas, for example, the non-service area and the service area are identified by different PLMNs.
Take the region id as MCC as an example. For example, assume that the region identifier of region a is MCC 1 and the region identifier of region B is MCC 2. And because the soft SIM card of the terminal comprises the SIM card authentication information of the area B, the area B is a service area of the soft SIM card, and the area A is a non-service area of the soft SIM card. After the user terminal roams from area a to area B, the terminal can detect that the area identifier of the camping area is changed from MCC 1 to MCC 2. When the terminal detects that the area identifier of the network-residing area is changed from MCC 1 to MCC 2, the terminal may determine that the network-residing area of the terminal is switched from area a to area B, that is, the terminal determines that the network-residing area of the terminal is switched from the non-service area of the soft SIM card to the service area.
S802, the terminal acquires a Cell identifier (Cell ID) where the terminal currently resides in an area corresponding to the second area identifier.
For example, the area B includes a plurality of cells, and after the terminal is reached by the user, the terminal selects a cell satisfying the camping condition from the plurality of cells to camp on. For example, a SIM card, which may be a hard SIM card or a soft SIM card, is installed in the terminal. After the user terminal roams from the area A to the area B, the terminal can use the SIM card to reside in a cell which meets the residence condition in the area B.
S803, the terminal judges whether the cell identifier of the current residence is contained in the blacklist corresponding to the second area identifier.
If the currently camped Cell ID is not included in the blacklist corresponding to the second area identifier, S804 is executed, and if the currently camped Cell ID is included in the blacklist corresponding to the second area identifier, S805 is executed.
And the blacklist comprises Cell IDs with oscillation in the area corresponding to the second area identification.
In some embodiments of the present application, the terminal may obtain, from the server side in advance, a blacklist corresponding to an area identifier of at least one area, where the area identifier of the at least one area includes a second area identifier.
For example, as shown in fig. 5, different users or the same user may roam from area a to area B or from area a to area C at different times. Moreover, the overlapping area between the area a and different roaming places, such as the area B and the area C, is different, so that the cells with oscillation in different roaming places are different, i.e. the corresponding blacklists of different roaming places are different. For example, assuming that the area identifier of the area B is MCC 2, and the area identifier of the area C is MCC 3, a blacklist corresponding to the area identifier of at least one area acquired by the terminal may be as shown in table 1.
TABLE 1
Figure GPA0000285872990000141
As can be seen from table 1, the black list corresponding to MCC 2 includes: cell ID 86001 and Cell ID 86002, that is, the cells in zone B with oscillations are: cell with Cell IDs of 86001 and 86002. Included in the blacklist corresponding to MCC 3 are: cell ID 65001 and Cell ID 65002, that is, the cells in region C with oscillations are: cell IDs of 65001 and 65002.
After the terminal acquires the Cell ID currently residing, it may be determined whether the Cell ID currently residing is included in the blacklist corresponding to the second area identifier, in combination with table 1.
And S804, activating the soft SIM card by the terminal.
For example, assuming that the Cell ID of the current residence acquired by the terminal is 86003, the terminal may determine that the Cell ID is not included in the blacklist corresponding to the second area identifier, with reference to table 1. And when the terminal determines that the Cell ID currently residing in is not contained in the blacklist corresponding to the second area identifier, indicating that the terminal is not currently in the oscillation area. When the terminal is not in the oscillation area, the terminal can activate the soft SIM card. After the soft SIM card is activated, the terminal may access to the operator network local to the area B by using the SIM card authentication information of the area B in the soft SIM card, so that the user may enjoy the mobile data service local to the area B.
And S805, the terminal starts a positioning function to acquire the geographic position of the terminal at the current moment.
For example, assuming that the Cell ID of the current residence acquired by the terminal is 86001, the terminal may determine that the Cell ID is included in the blacklist corresponding to the second area identifier, with reference to table 1. When the terminal determines that the Cell ID currently residing in is included in the blacklist corresponding to the second area identifier, the terminal may start a positioning function to obtain the geographic location of the terminal at the current time.
S806, the terminal judges whether the geographic position of the terminal at the current moment is in the geographic fence area indicated by the geographic fence information corresponding to the cell identifier where the terminal resides currently.
If the geographic location of the terminal at the current time is in the geo-fence area indicated by the geo-fence information corresponding to the currently camped cell identifier, S807 is executed. If the geographic location of the terminal at the current moment is not in the geo-fence area indicated by the geo-fence information corresponding to the currently-residing cell identifier, S804 is executed, that is, the soft SIM card is activated.
The geo-fence information includes a plurality of latitudes and longitudes, the geo-fence area indicated by the geo-fence information is a polygonal area with the plurality of latitudes and longitudes contained therein as vertexes, and the polygonal area is an area with oscillation in a corresponding cell.
Generally speaking, when the terminal determines that the Cell ID currently camped on is included in the blacklist corresponding to the second area identifier, it may be determined that the Cell where the terminal currently camped on is a Cell with oscillation, and the terminal may be considered to be in the oscillation area. In this case, when it is determined that the terminal is in the oscillation area inaccurately only according to the fact that the cell where the terminal currently resides is the oscillation-existing cell, the terminal may be located in the oscillation-free area of the currently residing cell. In order to determine whether the terminal is really in the oscillation area more accurately, after the terminal determines that the Cell ID currently residing in is included in the blacklist corresponding to the second area identifier, the terminal may obtain the geographic location of the terminal at the current time, so as to determine whether the terminal is really in the oscillation area by determining whether the geographic location of the terminal at the current time is in the in-ground fence area.
In some embodiments of the present application, a terminal may obtain, in advance, geofence information corresponding to at least one cell identifier from a server side, where the at least one cell identifier includes a cell identifier where the terminal currently resides.
For example, in conjunction with table 1, the geofence information corresponding to at least one cell identifier may be as shown in table 2.
TABLE 2
Figure GPA0000285872990000151
As can be seen from table 2, the longitude and latitude included in the geofence information corresponding to Cell ID 86001 are: { 'lang': '22.2121', 'lat', '114.0112' }, { 'lang': '22.2135', 'lat', '114.0154' }, { 'lang': '22.2018', 'lat', '114.0136' }, { 'lang': '22.2219', 'lat', '114.0231' }, the geo-fence area indicated by the geo-fence information is a { 'lang': '22.2121', 'lat', '114.0112' }, { 'lang': '22.2135', 'lat', '114.0154' }, { 'lang': '22.2018', 'lat', '114.0136' }, { 'lang': '22.2219', 'lat', '114.0231' } are polygonal areas of vertices.
The geo-fence information corresponding to Cell ID 86002 includes latitude and longitude as: { 'lang': '22.2031', 'lat', '114.1412' }, { 'lang': '22.2543', 'lat', '114.2134' }, { 'lang': '22.1456', 'lat', '114.6136' }, { 'lang': '22.2243', 'lat', '114.0212' }, the geo-fence area indicated by the geo-fence information is a { 'lang': '22.2031', 'lat', '114.1412' }, { 'lang': '22.2543', 'lat', '114.2134' }, { 'lang': '22.1456', 'lat', '114.6136' }, { 'lang': '22.2243', 'lat', '114.0212' } are polygonal areas of vertices.
The geo-fence information corresponding to the Cell ID 65001 includes the latitude and longitude as follows: { 'lang': '22.2011', 'lat', '113.5441' }, { 'lang': '22.3135', 'lat', '113.5541' }, { 'lang': '22.2014', 'lat', '113.5636' }, { 'lang': '22.2212', 'lat', '113.0221' }, the geo-fence area indicated by the geo-fence information is a { 'lang': '22.2011', 'lat', '113.5441' }, { 'lang': '22.3135', 'lat', '113.5541' }, { 'lang': '22.2014', 'lat', '113.5636' }, { 'lang': '22.2212', 'lat', '113.0221' } are polygonal areas of vertices.
The geo-fence information corresponding to Cell ID 65002 includes the latitude and longitude as: { 'lang': '22.2111', 'lat', '113.5141' }, { 'lang': '22.2135', 'lat', '113.5241' }, { 'lang': '22.2114', 'lat', '113.5036' }, { 'lang': '22.2212', 'lat', '113.0321' }, the geo-fence area indicated by the geo-fence information is a { 'lang': '22.2111', 'lat', '113.5141' }, { 'lang': '22.2135', 'lat', '113.5241' }, { 'lang': '22.2114', 'lat', '113.5036' }, { 'lang': '22.2212', 'lat', '113.0321' } are polygonal areas of vertices.
For example, assuming that the Cell ID of the current residence acquired by the terminal is 86001, the terminal may determine that the Cell ID is included in the blacklist corresponding to the second area identifier, with reference to table 1. When the terminal determines that the Cell ID currently residing in the terminal is included in the blacklist corresponding to the second area identifier, the terminal may start a positioning function, such as turning on a GPS sensor of the terminal, to obtain the geographic location of the terminal at the current time. With reference to table 2, the terminal may determine whether the obtained geographic location of the terminal at the current time is in a geo-fence area indicated by the geo-fence information corresponding to the Cell ID 86001. When the geographic position of the terminal at the current moment is in the geo-fence area indicated by the geo-fence information corresponding to the Cell ID 86001, the fact that the terminal is currently in the oscillation area is indicated. When the terminal is in the oscillation area, S807 may be performed. When the geographic position of the terminal at the current moment is not in the geo-fence area indicated by the geo-fence information corresponding to the Cell ID 86001, it indicates that the terminal is not in the oscillation area currently, but is in an area where no oscillation exists in the Cell with the Cell ID 86001. When the terminal is not in the oscillation area, S804 may be executed, that is, the soft SIM card is activated.
And S807, the terminal does not activate the soft SIM card.
When the terminal is determined to be currently in the oscillation area, the terminal may temporarily deactivate the soft SIM card.
Further, in order to activate the soft SIM card in time after the terminal leaves the oscillation area, after the terminal determines that the terminal is currently in the oscillation area and does not activate the soft SIM card, the method for controlling network access to the soft SIM card provided in the embodiment of the present application may further include: S808-S810.
And S808, the terminal starts a timer.
The timing time of the timer can be set according to the requirements of the actual application scenario, and the timing time of the timer is not specifically limited in the embodiment of the present application.
And S809, when the timer is overtime, the terminal acquires the geographical position of the terminal again.
S810, the terminal judges whether the obtained geographic position is in the geographic fence area indicated by the geographic fence information corresponding to the current resident cell identification.
When the timer times out, the terminal can reacquire the geographical position of the terminal, and the geographical position reacquired is combined with the table 2, so that whether the terminal leaves the oscillation area or not is determined according to the reacquired geographical position. When the reacquired geographic position is in the geo-fence area indicated by the geo-fence information corresponding to the currently residing Cell ID, it indicates that the terminal is still in the oscillation area. When it is determined that the terminal is still in the oscillation area, S808 may be performed again, that is, the terminal restarts the timer. When the reacquired geographic location is not in the geo-fence area indicated by the geo-fence information corresponding to the currently camped Cell ID, indicating that the terminal has left the oscillation area, the terminal may perform S804, i.e., activate the soft SIM card.
In some embodiments, in order to save power consumption of the terminal, the terminal may also turn off the positioning function when it is determined that the terminal leaves the oscillation area.
It should be noted that, in this embodiment of the present application, the blacklist is determined by the server according to the network-residing data reported by the terminal.
In the prior art, when a user terminal roams between different areas, a network-residing area of the terminal is switched once, network-residing data in the switched area is recorded, and the network-residing data is reported to a server. After the terminal sends the network-residing data in the switching area to the server, the server can receive and record the network-residing data reported by the terminal.
In the embodiment of the application, the server may generate the blacklist by using a large amount of network-residing data reported by the terminal.
As can be understood in conjunction with fig. 5, cells with oscillations in different areas are different, i.e., different areas correspond to different black lists. Therefore, for different areas, the server can generate a blacklist corresponding to each area by using a large amount of network-residing data reported by the terminal.
In some embodiments, the server may generate a blacklist corresponding to each region according to the characteristics of the oscillation. For example, the server may determine whether the terminal has a shaking behavior in some cells in a certain area by determining whether the number of times of switching the area identifier of the area where the terminal resides in the network exceeds a preset number of times within a certain time period after the user arrives at the certain area, so as to generate the blacklist. For another example, the server may determine whether the terminal has a shaking behavior in some cells in a certain area by determining whether the average number of times of network drop of a large number of terminals exceeds a preset number of times in a unit time, so as to generate a blacklist.
The network-residing data reported by the terminal comprises: the area identifier of the switched area, the Cell ID of the terminal camping on the switched area, and the network camping timestamp are described as examples. For example, in connection with fig. 5, assume that user 1 roams from area a to area B and user 2 roams from area a to area C for terminal 2. Taking the region id as MCC as an example, it is assumed that the region id of region a is MCC 1, the region id of region B is MCC 2, and the region id of region C is MCC 3.
After the user 1 roams from the area A to the area B with the terminal 1, the terminal 1 reports the network-residing data to the server once the network-residing area of the terminal 1 is switched. After the user 2 roams from the area a to the area C with the terminal 2, the terminal 2 reports the network-residing data to the server once every time the network-residing area of the terminal 2 is switched. For example, the server receives the web hosting data as shown in table 3.
TABLE 3
IMEI MCC Cell ID Network residence time stamp
862941030079430 MCC 2 86001 1501817006
862941030079430 MCC 1 32001 1501817086
862941030079430 MCC 2 86002 1501817126
862941030079430 MCC 1 32001 1501817426
862941030079430 MCC 2 86002 1501817626
... ... ... ...
862941030078521 MCC 3 65001 1502210009
862941030078521 MCC 1 42001 1502210089
862941030078521 MCC 3 65002 1502210129
862941030078521 MCC 1 42001 1502210429
862941030078521 MCC 3 65001 1502210629
For convenience of description, a terminal having an International Mobile Equipment Identity (IMEI) of 862941030079430 is referred to as terminal 1, and a terminal having an IMEI of 862941030078521 is referred to as terminal 2.
After subscriber 1 has roamed from region a identified by MCC 1 to region B identified by MCC 2, as can be seen from the first row of data in table 3: terminal 1 switches from area a identified by MCC 1 to area B identified by MCC 2, and the camping timestamp of the switching to area B is 1501817006, and resides in a Cell with Cell ID 86001 of area B. From the second row of data of table 3, it can be seen that: terminal 1 switches from area B identified by MCC 2 to area a identified by MCC 1, and switches to area a with a camping timestamp of 1501817086 and camps in a Cell with a Cell ID of 32001. From the third row of data in table 3, it can be seen that: terminal 1 switches from area a identified by MCC 1 to area B identified by MCC 2, and the network camping timestamp of the switch to area B is 1501817126, and resides in a Cell with Cell ID 86002 of area B. From the fourth row of data of table 3, it can be seen that: terminal 1 switches from area B identified by MCC 2 to area a identified by MCC 1, and switches to area a with a camping timestamp of 1501817426 and camps in a Cell with a Cell ID of 32001. From the fifth row data of table 3, it can be seen that: terminal 1 switches from area a identified by MCC 1 to area B identified by MCC 2, and the network camping timestamp of the switch to area B is 1501817626, and resides in a Cell with Cell ID 86002 of area B.
The server determines whether the terminal has a shaking behavior in some cells in a certain area by judging whether the switching frequency of the area identifier of the network-resident area of the terminal exceeds a preset frequency by 3 times within 1 hour after the user arrives at the certain area, so as to determine the blacklist. As can be seen from table 3, after the user 1 roams the area a identified by MCC 1 to the area B identified by MCC 2 while holding the terminal 1, the number of times of switching between MCC 1 and MCC 2 has reached 4 within 620 seconds from the camping timestamp 1501817006 to the camping timestamp 1501817626, which exceeds 3 times, that is, the terminal 1 has performed the concussion behavior after roaming to the area B, and since the terminal 1 has performed the concussion behavior in the cells with Cell IDs 86001 and 86002 of the area B, that is, in the cells with Cell IDs 86001 and 86002 of the area B, the terminal may perform the concussion behavior. Thus, it is obtained that the black list of the area B includes: cell ID 86001 and Cell ID 86002.
After the user 2 roams from area a identified by MCC 1 to area C identified by MCC 3 with terminal 2, the seventh row of data in table 3 shows: terminal 2 switches from area a identified by MCC 1 to area C identified by MCC 3, and the camping timestamp of the switch to area C is 1502210009, and resides in the Cell whose Cell ID is 65001 of area C. From the eighth row of data in table 3: terminal 2 switches from area C identified by MCC 3 to area a identified by MCC 1, and switches to area a with a camping timestamp of 1502210089 and camps in the Cell of area a with a Cell ID of 42001. From the ninth row of data of table 3, it can be seen that: terminal 2 switches from area a identified by MCC 1 to area C identified by MCC 3, and the network camping timestamp of the switch to area C is 1502210129, and resides in the Cell with Cell ID 65002 of area C. From the tenth row of data of table 3, it can be seen that: terminal 2 switches from area C identified by MCC 3 to area a identified by MCC 1, and switches to area a with a camping timestamp of 1502210429 and camps in the Cell of area a with a Cell ID of 42001. As can be seen from the eleventh row of data of table 3: terminal 2 switches from area a identified by MCC 1 to area C identified by MCC 3, and the network camping timestamp of the switch to area C is 1502210629, and resides in the Cell with Cell ID 65001 of area C.
As can be seen from table 3, after the user 2 roams the area a identified by MCC 1 to the area C identified by MCC 3 while holding the terminal 2, the area of the camping area of the terminal 2 identifies that the number of handovers between MCC 1 and MCC 3 is 4 times, exceeding 3 times, within 620 seconds from the camping timestamp 1501817006 to the camping timestamp 1501817626, that is, the terminal 2 has performed a concussion behavior after roaming to the area C, and since the terminal 2 has performed a concussion behavior while camping on the Cell of the area C with Cell IDs 65001 and 65002, that is, the terminal has performed a concussion behavior within the cells of the area C with Cell IDs 65001 and 65002. Thus, it is found that the black list of area C includes: cell ID 65001 and Cell ID 65002.
In summary, the server can determine the blacklist shown in table 1 according to the network-residing data shown in table 3.
In this embodiment, the geo-fence information is determined by the server according to the geographical location reported by the terminal.
After the terminal performs the above S805 to acquire the geographic location of the terminal, the terminal may report the currently-resident cell identifier and the acquired geographic location of the terminal to the server. The server may determine the geo-fence information corresponding to the Cell ID by combining the geographic locations reported by a large number of terminals and the Cell ID corresponding to the geographic locations, that is, determine the geo-fence information shown in table 2 above.
It should be noted that, since the geo-fence information is determined according to the geographical location reported by the terminal in the process of using the soft SIM card network access control method, the terminal can only obtain the blacklist from the server side at the initial stage of data establishment, and cannot obtain the geo-fence information. In this case, when the terminal uses the soft SIM card network access control method, it may determine whether the terminal is in the oscillation area only by using the blacklist as a reference, and after acquiring the geo-fence information in a later period, determine whether the terminal is in the oscillation area by combining the blacklist and the geo-fence information.
In some embodiments, the server may update the blacklist and geofence information described above in real-time. The terminal can synchronize the blacklist and the geofence information from the server periodically to obtain updated blacklist and geofence information.
According to the soft SIM card network access control method provided by the embodiment of the application, when the terminal detects that the area identification of the network-resident area is switched from the area identification of the non-service area of the soft SIM card to the area identification of the service area of the soft SIM card, the position information of the terminal is obtained, whether the terminal is in the oscillation area or not is judged according to the obtained position information, when the terminal is in the oscillation area, the soft SIM card is not activated temporarily, and when the terminal is not in the oscillation area, the soft SIM card is activated. Therefore, when the terminal is in the oscillation area, the soft SIM card is not activated temporarily, so that the oscillation problem that the soft SIM card is repeatedly activated and deactivated is avoided, the user experience is improved, and the condition that the power consumption of the terminal is greatly increased due to the fact that the soft SIM card is repeatedly activated and deactivated is also avoided.
In addition, the problem of poor user internet experience caused by poor signal quality in border areas can be solved by temporarily not activating the soft SIM card when the user is in the oscillation area. The Cell ID-based low-power-consumption positioning technology is firstly adopted for positioning primary selection, and then the GPS-based high-precision positioning technology is adopted for accurate positioning, so that the power consumption problem caused by the fact that whether the geo-fence identification terminal is in a vibration area is solved.
Fig. 9 is a flowchart illustrating another soft SIM card network access control method according to an embodiment of the present application. The embodiment shown in fig. 9 is described by taking a positioning technique used for determining whether the terminal is in the oscillation area as a GPS-based positioning technique as an example.
In connection with fig. 5-7, the above example was described as the user roaming a terminal from area a to area B. After the user arrives at the area B, the user can download the SIM card authentication information of the area B from the card management platform to the soft SIM card through the application. As shown in fig. 9, the soft SIM card network access control method may include:
s901, the area identification of the network-residing area detected by the terminal is changed from the first area identification to the second area identification.
The first area identification is the area identification of the non-service area of the soft SIM card, and the second area identification is the area identification of the service area of the soft SIM card.
The terminal detects that the area identification of the network-residing area is changed from the first area identification to the second area identification, which indicates that the terminal is switched from the non-service area of the soft SIM card to the service area. That is to say, in the embodiment of the present application, it may be determined whether the terminal is switched from the non-service area of the soft SIM card to the service area by detecting a change in the area identifier of the network-camping area.
And S902, the terminal starts a positioning function to acquire the current geographic position of the terminal.
When detecting that the terminal is switched from the non-service area of the soft SIM card to the service area, the terminal can start a positioning function, for example, a GPS sensor of the terminal is turned on to acquire the current geographic position of the terminal.
S903, the terminal judges whether the geographic position where the terminal is located at the current moment is in the geographic fence area indicated by the geographic fence information corresponding to the second area identifier.
If the geographic location of the terminal at the current time is not in the geo-fence area indicated by the geo-fence information corresponding to the second area identifier, S904 is executed. If the geographic position of the terminal at the current moment is in the geo-fence area indicated by the geo-fence information corresponding to the second area identifier, S905 is executed.
The geofence information includes a plurality of latitudes and longitudes, the geofence area indicated by the geofence information is a polygonal area with the plurality of latitudes and longitudes contained therein as vertices, and the polygonal area is an area where oscillation exists in the area corresponding to the second area identifier.
After the terminal acquires the geographic position of the terminal at the current time, whether the geographic position of the terminal at the current time is in the geographic fence area indicated by the geographic fence information corresponding to the second area identifier can be judged.
In some embodiments of the present application, the terminal may obtain, from the server side in advance, the geo-fenced area information corresponding to the area identifier of at least one area, where the area identifier of the at least one area includes the second area identifier.
Illustratively, as can be understood in conjunction with fig. 5, for an area, the area overlapping with different roaming places, such as area B and area C, is different, and therefore, the geo-fence area where there is a concussion in the different roaming places is different, i.e., the corresponding geo-fence information of the different roaming places is different. In addition, there may be a plurality of areas overlapping with a roaming place, and therefore there may be a plurality of geofence information corresponding to an area. Taking one example of the geo-fence information corresponding to one area, assuming that the area identifier of the area B is MCC 2 and the area identifier of the area C is MCC 3, for example, the geo-fence information corresponding to the area identifier of at least one area acquired by the terminal may be as shown in table 4.
TABLE 4
Figure GPA0000285872990000201
As can be seen from table 4, there is one geofence information corresponding to MCC 2, and the geofence information includes: { 'lang': '22.2121', 'lat', '114.0112' }, { 'lang': '22.2135', 'lat', '114.0154' }, { 'lang': '22.2018', 'lat', '114.0136' }, { 'lang': '22.2219', 'lat', '114.0231' }, { 'lang': '22.1234', 'lat', '114.0156' }, the geo-fence area indicated by the geo-fence information is a { 'lang': '22.2121', 'lat', '114.0112' }, { 'lang': '22.2135', 'lat', '114.0154' }, { 'lang': '22.2018', 'lat', '114.0136' }, { 'lang': '22.2219', 'lat', '114.0231' }, { 'lang': '22.1234', 'lat', '114.0156' } are polygonal areas of vertices.
There is one geofence information corresponding to MCC 3, and the geofence information includes: { 'lang': '22.2111', 'lat', '113.5141' }, { 'lang': '22.2114', 'lat', '113.5148' }, { 'lang': '22.2135', 'lat', '113.5241' }, { 'lang': '22.2215', 'lat', '113.5301' }, { 'lang': '22.2011', 'lat', '113.5443' }, the geo-fence area indicated by the geo-fence information is a { 'lang': '22.2111', 'lat', '113.5141' }, { 'lang': '22.2114', 'lat', '113.5148' }, { 'lang': '22.2135', 'lat', '113.5241' }, { 'lang': '22.2215', 'lat', '113.5301' }, { 'lang': '22.2011', 'lat', '113.5443' } are polygonal areas of vertices.
And the terminal can determine whether the terminal is in the oscillation area currently or not by combining the table 4 according to the acquired geographic position of the terminal at the current moment.
And S904, activating the soft SIM card by the terminal.
And when the terminal determines that the geographic position where the terminal is located at the current moment is not in the geographic fence area indicated by the geographic fence information corresponding to the second area identifier, indicating that the terminal is not in the oscillation area currently. When the terminal is not in the oscillation area, the terminal can activate the soft SIM card. After the soft SIM card is activated, the terminal can access to the local operator network of the area B by using the SIM card authentication information of the area B in the soft SIM card, so that the user can enjoy the local mobile data service of the area B.
And S905, the terminal does not activate the soft SIM card.
And when the terminal determines that the geographic position where the terminal is located at the current moment is in the geographic fence area indicated by the geographic fence information corresponding to the second area identifier, the terminal is indicated to be in the oscillation area currently. When the terminal is in the oscillation area, the terminal may temporarily deactivate the soft SIM card.
Further, in order to activate the soft SIM card in time after the terminal leaves the oscillation area, after the terminal determines that the terminal is currently in the oscillation area and does not activate the soft SIM card, the method for controlling network access to the soft SIM card provided in the embodiment of the present application may further include: S906-S908.
And S906, the terminal starts a timer.
And S907, when the timer is overtime, the terminal acquires the geographical position of the terminal again.
S908, the terminal determines whether the obtained geo-location is in the geo-fence area indicated by the geo-fence information corresponding to the second area identifier.
When the timer times out, the terminal can reacquire the geographical position of the terminal, and the table 4 is combined so as to determine whether the terminal leaves the oscillation area according to the reacquired geographical position. And when the obtained geographic position is in the geographic fence area indicated by the geographic fence information corresponding to the second area identification, the terminal is still in the oscillation area. Upon determining that the terminal is still in the oscillation area, S906 may be re-executed, i.e., the terminal restarts the timer. When the reacquired geographic location is not in the geo-fenced area indicated by the geo-fenced information corresponding to the second area identifier, indicating that the terminal has left the oscillation area, the terminal may perform S904, i.e., activate the soft SIM card. In some embodiments, in order to save power consumption of the terminal, the terminal may also turn off the positioning function when it is determined that the terminal leaves the oscillation area.
It should be noted that, in the embodiment of the present application, the geofence information is determined by the server according to the network-hosting data reported by the terminal.
In the prior art, when a user terminal roams among different areas, each time the area where the terminal resides in the network is switched, the terminal records network residence data when the area is switched, and reports the network residence data to a server. After the terminal sends the network-residing data in the switching area to the server, the server can receive and record the network-residing data reported by the terminal.
In this embodiment, the server may generate the geofence information by using a large amount of network-residing data reported by the terminal.
As can be understood in conjunction with fig. 5, the areas where there is a shock in different areas are different, i.e., different areas correspond to different geofence information. Therefore, for different areas, the server can generate the geofence information corresponding to each area by using the network-residing data reported by a large number of terminals.
In some embodiments, the server may generate geofence information corresponding to each area according to characteristics of the oscillation. For example, the server may determine whether the terminal has a shaking behavior in some geographic locations of a certain area by determining whether the number of times of switching the area identifier of the area where the terminal resides in the network exceeds a preset number of times within a certain time period after the user arrives at the certain area, so as to generate the geo-fence information. For another example, the server may determine whether the terminal has a shaking behavior in some geographic locations of a certain area by determining whether the average network drop times of a large number of terminals exceeds a preset time in a unit time, so as to generate the geo-fence information.
The network-residing data reported by the terminal comprises: the area identifier of the switched area, the geographical location of the terminal, and the network residence time stamp are used as examples for explanation. For example, in connection with fig. 5, assume that user 1 roams from area a to area B and user 2 roams from area a to area C for terminal 2. Taking the region id as MCC and the geographic location as latitude and longitude as an example, it is assumed that the region id of the region a is MCC 1, the region id of the region B is MCC 2, and the region id of the region C is MCC 3.
After the user 1 roams from the area A to the area B with the terminal 1, the terminal 1 reports the network-residing data to the server once the network-residing area of the terminal 1 is switched. After the user 2 roams from the area a to the area C with the terminal 2, the terminal 2 reports the network-residing data to the server once every time the network-residing area of the terminal 2 is switched. For example, the server receives the web hosting data as shown in table 5.
TABLE 5
IMEI MCC Longitude (G) Latitude Network residence time stamp
862941030079430 MCC 2 22.2121 114.0112 1501817006
862941030079430 MCC 1 22.2135 114.0154 1501817086
862941030079430 MCC 2 22.2018 114.0136 1501817126
862941030079430 MCC 1 22.2219 114.0231 1501817426
862941030079430 MCC 2 22.1234 114.0156 1501817626
... ... ... ... ...
862941030078521 MCC 3 22.2111 113.5141 1502210009
862941030078521 MCC 1 22.2114 113.5148 1502210089
862941030078521 MCC 3 22.2135 113.5241 1502210129
862941030078521 MCC 1 22.2215 113.5301 1502210429
862941030078521 MCC 3 22.2011 113.5443 1502210629
For convenience of description, a terminal having an IMEI of 862941030079430 is referred to as terminal 1, and a terminal having an IMEI of 862941030078521 is referred to as terminal 2.
After subscriber 1 has roamed from region a identified by MCC 1 to region B identified by MCC 2, as can be seen from the first row of data in table 5: terminal 1 switches from area a identified by MCC 1 to area B identified by MCC 2, and switches to area B with a camping timestamp of 1501817006 and at a latitude and longitude of { 'lang': the position of '22.2121', 'lat', '114.0112'. From the second row of data of table 5 it follows: terminal 1 switches from area B identified by MCC 2 to area a identified by MCC 1, and switches to area a with a camping timestamp of 1501817086 and at a latitude and longitude of { 'lang': the position of '22.2135', 'lat', '114.0154'. From the third row of data in table 5, it can be seen that: terminal 1 switches from region a identified by MCC 1 to region B identified by MCC 2, and switches to region B with a camping timestamp of 1501817126 and at a latitude and longitude of { 'lang': the position of '22.2018', 'lat', '114.0136'. From the fourth row of data of table 5, it can be seen that: terminal 1 switches from region B identified by MCC 2 to region a identified by MCC 1, and switches to region a with a camping timestamp of 1501817426 and at a latitude and longitude of { 'lang': the position of '22.2219', 'lat', '114.0231'. From the fifth row data of table 5, it can be seen that: terminal 1 switches from region a identified by MCC 1 to region B identified by MCC 2, and switches to region B with a camping timestamp of 1501817626 and at a latitude and longitude of { 'lang': the position of '22.1234', 'lat', '114.0156'.
The server determines whether the terminal has a shaking behavior in some geographic positions in a certain area to generate the geo-fence information by judging whether the switching times of the area identifier of the area where the terminal resides in the network within 1 hour exceeds the preset times for 3 times or not. As can be seen from table 5, after the user 1 roams the area a identified by MCC 1 to the area B identified by MCC 2 while holding the terminal 1, the area of the camping area of the terminal 1 identifies that the number of handovers between MCC 1 and MCC 2 has reached 4 times within 620 seconds from the camping timestamp 1501817006 to the camping timestamp 1501817626, which exceeds 3 times, that is, the terminal 1 has performed the shaking behavior after roaming to the area B, and since the terminal 1 is located at the geographical location of { 'lang': '22.2121', 'lat', '114.0112' }, { 'lang': '22.2135', 'lat', '114.0154' }, { 'lang': '22.2018', 'lat', '114.0136' }, { 'lang': '22.2219', 'lat', '114.0231' } and { 'lang': '22.1234', 'lat', '114.0156', i.e. at the geographical location { 'lang': '22.2121', 'lat', '114.0112' }, { 'lang': '22.2135', 'lat', '114.0154' }, { 'lang': '22.2018', 'lat', '114.0136' }, { 'lang': '22.2219', 'lat', '114.0231' } and { 'lang': at '22.1234', 'lat', '114.0156', the terminal will oscillate. Thus, it can be seen that the geofence information for area B includes: { 'lang': '22.2121', 'lat', '114.0112' }, { 'lang': '22.2135', 'lat', '114.0154' }, { 'lang': '22.2018', 'lat', '114.0136' }, { 'lang': '22.2219', 'lat', '114.0231' } and { 'lang': '22.1234', 'lat', '114.0156'.
After the user 2 roams from the area a identified by MCC 1 to the area C identified by MCC 3 while holding the terminal 2, the seventh row of data in table 5 shows: terminal 2 switches from area a identified by MCC 1 to area C identified by MCC 3, and switches to area C with a camping timestamp of 1502210009 and at a latitude and longitude of { 'lang': the position of '22.2111', 'lat', '113.5141'. From the eighth row of data of table 5, it can be seen that: terminal 2 switches from area C identified by MCC 3 to area a identified by MCC 1, and switches to area a with a camping timestamp of 1502210089 and at a latitude and longitude of { 'lang': the position of '22.2114', 'lat', '113.5148'. From the ninth row of data of table 5: terminal 2 switches from region a identified by MCC 1 to region C identified by MCC 3, and switches to region C with a camping timestamp of 1502210129 and at a latitude and longitude of { 'lang': the position of '22.2135', 'lat', '113.5241'. From the tenth row of data of table 5 it follows: terminal 2 switches from region C identified by MCC 3 to region a identified by MCC 1, and switches to region a with a camping timestamp of 1502210429 and at a latitude and longitude of { 'lang': the position of '22.2215', 'lat', '113.5301'. As can be seen from the eleventh row of data of table 5: terminal 2 switches from region a identified by MCC 1 to region C identified by MCC 3, and switches to region C with a camping timestamp of 1502210629 and at a latitude and longitude of { 'lang': the position of '22.2011', 'lat', '113.5443'.
As can be seen from table 5, after the user 2 roams the area a identified by MCC 1 to the area C identified by MCC 3 while holding the terminal 2, the area of the camping area of the terminal 2 identifies 4 times of switching between MCC 1 and MCC 3 within 620 seconds from the camping timestamp 1502210009 to the camping timestamp 1502210629, which exceeds 3 times of the preset times, that is, the terminal 2 has performed the shaking behavior after roaming to the area C, and since the terminal 2 is located at the geographical location of { 'lang' when the shaking behavior occurs: '22.2111', 'lat', '113.5141' }, { 'lang': '22.2114', 'lat', '113.5148' }, { 'lang': '22.2135', 'lat', '113.5241' }, { 'lang': '22.2215', 'lat', '113.5301' } and { 'lang': '22.2011', 'lat', '113.5443', i.e. at the geographical location { 'lang': '22.2111', 'lat', '113.5141' }, { 'lang': '22.2114', 'lat', '113.5148' }, { 'lang': '22.2135', 'lat', '113.5241' }, { 'lang': '22.2215', 'lat', '113.5301' } and { 'lang': at '22.2011', 'lat', '113.5443', the terminal will oscillate. Thus, it can be seen that the geofence information for area C includes: { 'lang': '22.2111', 'lat', '113.5141' }, { 'lang': '22.2114', 'lat', '113.5148' }, { 'lang': '22.2135', 'lat', '113.5241' }, { 'lang': '22.2215', 'lat', '113.5301' } and { 'lang': '22.2011', 'lat', '113.5443'.
In summary, the server can determine the geo-fence information shown in table 4 according to the web-hosting data shown in table 5.
In some embodiments, after the terminal performs the above S902 to acquire the geographic location of the terminal, the terminal may report the acquired geographic location of the terminal to the server. And the server can update the geo-fence information in real time by utilizing the geographical position reported by the terminal. The terminal may obtain updated geofence information by periodically synchronizing the geofence information from the server.
It should be noted that, for specific descriptions of S901 to S908 in the embodiment of the present application, reference may be made to specific descriptions of corresponding contents in S801 to S810 in another embodiment of the present application, and details of the embodiment of the present application are not repeated here.
According to the soft SIM card network access control method provided by the embodiment of the application, when the terminal detects that the area identification of the network-resident area is switched from the area identification of the non-service area of the soft SIM card to the area identification of the service area of the soft SIM card, the position information of the terminal is obtained, whether the terminal is in the oscillation area or not is judged according to the obtained position information, when the terminal is in the oscillation area, the soft SIM card is not activated temporarily, and when the terminal is not in the oscillation area, the soft SIM card is activated. Therefore, when the terminal is in the oscillation area, the soft SIM card is not activated temporarily, so that the oscillation problem that the soft SIM card is repeatedly activated and deactivated is avoided, the user experience is improved, and the condition that the power consumption of the terminal is greatly increased due to the fact that the soft SIM card is repeatedly activated and deactivated is also avoided.
In addition, the problem of poor user internet experience caused by poor signal quality in border areas can be solved by temporarily not activating the soft SIM card when the user is in the oscillation area.
Fig. 10 is a flowchart illustrating another soft SIM card network access control method according to an embodiment of the present application. The embodiment shown in fig. 10 is described by taking a positioning technique used for determining whether the terminal is in the oscillation area as a Cell ID-based positioning technique as an example.
In connection with fig. 5-7, the above example was described as the user roaming a terminal from area a to area B. After the user arrives at the area B, the user can download the SIM card authentication information of the area B from the card management platform to the soft SIM card through the application. As shown in fig. 10, the soft SIM card network access control method may include:
s1001, the terminal detects that the area identification of the network-residing area is changed from the first area identification to the second area identification.
The first area identification is the area identification of the non-service area of the soft SIM card, and the second area identification is the area identification of the service area of the soft SIM card.
The terminal detects that the area identification of the network-residing area is changed from the first area identification to the second area identification, which indicates that the terminal is switched from the non-service area of the soft SIM card to the service area. That is to say, in the embodiment of the present application, it may be determined whether the terminal is switched from the non-service area of the soft SIM card to the service area by detecting a change in the area identifier of the network-camping area.
S1002, the terminal acquires a cell identifier where the terminal currently resides in an area corresponding to the second area identifier.
When detecting that the terminal is switched from the non-service area of the soft SIM card to the service area, the terminal may obtain the Cell ID currently residing in the area corresponding to the second area identifier.
S1003, the terminal judges whether the cell identifier of the current residence is contained in a blacklist corresponding to the second area identifier.
If the currently camped Cell ID is not included in the blacklist corresponding to the second area identifier, S1004 is executed, and if the currently camped Cell ID is included in the blacklist corresponding to the second area identifier, S1005 is executed.
The blacklist includes Cell IDs where there is a shock in an area corresponding to the second area identifier. After the terminal acquires the currently camped Cell ID, it may be determined whether the currently camped Cell ID is included in the blacklist corresponding to the second area identifier.
It should be noted that the black list described in the embodiment of the present application is similar to the black list described in S803 in another embodiment of the present application, and specific description thereof may refer to specific description of the black list in S803, and details of the embodiment of the present application are not repeated herein. For example, the terminal may determine whether the terminal is currently in the oscillation area according to the acquired currently camped cell identifier and by combining table 1.
And S1004, activating the soft SIM card by the terminal.
And when the terminal determines that the currently residing Cell ID is not contained in the blacklist corresponding to the second area identifier, indicating that the terminal is not currently in the oscillation area. When the terminal is not in the oscillation area, the terminal can activate the soft SIM card.
And S1005, the terminal does not activate the soft SIM card.
And when the terminal determines that the Cell ID currently resided is contained in the blacklist, indicating that the terminal is currently in the oscillation area. When the terminal is in the oscillation area, the terminal may temporarily deactivate the soft SIM card.
Further, in order to activate the soft SIM card in time after the terminal leaves the oscillation area, after the terminal determines that the terminal is currently in the oscillation area and does not activate the soft SIM card, the method for controlling network access to the soft SIM card provided in the embodiment of the present application may further include: S1006-S1008.
And S1006, the terminal starts a timer.
And S1007, when the timer is overtime, the terminal acquires the cell identifier where the terminal currently resides again.
S1008, the terminal judges whether the cell identification obtained again is contained in a blacklist corresponding to the second area identification.
When the timer is over, the terminal can reacquire the Cell ID where the terminal currently resides, and determine whether the terminal leaves the oscillation area according to the reacquired Cell ID. And when the Cell ID obtained again is contained in the blacklist corresponding to the second area identification, indicating that the terminal is still in the oscillation area. Upon determining that the terminal is still in the oscillation area, S1006 may be performed again, that is, the terminal restarts the timer. When the Cell ID obtained again is not included in the blacklist corresponding to the second area identifier, indicating that the terminal has left the oscillation area, the terminal may perform S1004, that is, activate the soft SIM card.
It should be noted that, for specific descriptions of S1001 to S1008 in the embodiment of the present application, reference may be made to specific descriptions of corresponding contents in S801 to S810 in another embodiment of the present application, and details of the embodiment of the present application are not repeated here.
According to the soft SIM card network access control method provided by the embodiment of the application, when the terminal detects that the area identification of the network-resident area is switched from the area identification of the non-service area of the soft SIM card to the area identification of the service area of the soft SIM card, the position information of the terminal is obtained, whether the terminal is in the oscillation area or not is judged according to the obtained position information, when the terminal is in the oscillation area, the soft SIM card is not activated temporarily, and when the terminal is not in the oscillation area, the soft SIM card is activated. Therefore, when the terminal is in the oscillation area, the soft SIM card is not activated temporarily, so that the oscillation problem that the soft SIM card is repeatedly activated and deactivated is avoided, the user experience is improved, and the condition that the power consumption of the terminal is greatly increased due to the fact that the soft SIM card is repeatedly activated and deactivated is also avoided.
In addition, the problem of poor user internet experience caused by poor signal quality in border areas can be solved by temporarily not activating the soft SIM card when the user is in the oscillation area.
In addition, in combination with the method embodiments shown in fig. 8-10, in some embodiments, when it is determined that the terminal is in the oscillation area, as shown in fig. 11, the terminal may display a prompt interface 1101 to ask whether the user agrees to suspend activating the soft SIM card. When the user agrees to suspend activation of the soft SIM card, the terminal may temporarily deactivate the soft SIM card, and if the user disagrees with suspending activation of the soft SIM card, the terminal may activate the soft SIM card according to the user's selection.
In some embodiments, when it is determined that the terminal is in the oscillation area, the terminal may temporarily deactivate the soft SIM card, and display a prompt interface 1201 shown in fig. 12 to remind the user that the soft SIM card will be activated temporarily because the terminal is currently in the oscillation area, and the soft SIM card will be activated after the terminal leaves the oscillation area. In addition, in conjunction with fig. 7, as shown in fig. 13, a "reminder settings" button 1301 may also be included in the detail setting interface 701. Under the condition that the "reminder setting" button 1301 is turned on, when it is determined that the terminal is in the oscillation area, the terminal may display a prompt interface 1201 shown in fig. 12. Under the condition that the user does not start the "reminder setting" button 1301, when the terminal is in the oscillation area, the terminal does not display the prompt interface 1201 shown in fig. 12. In some embodiments, the "reminder setting" button 1301 may also be included in other display interfaces, and the embodiments of the present application are not limited in this respect.
In some embodiments, after the terminal is not in the oscillation area or leaves the oscillation area, as shown in fig. 14, the terminal may display a prompt interface 1401 to remind the user that the soft SIM card is activated and can enjoy the mobile data service locally at the roaming location.
Fig. 15 is a method for deactivating a soft SIM card according to an embodiment of the present application. The method is applied to a terminal, and the terminal can comprise a first SIM card and a second SIM card. The first SIM card provides SIM card authentication information of the terminal and the base station of the first area, the second SIM card provides SIM card authentication information of the terminal and the base station of the second area, and the second SIM card is a soft SIM card. As shown in fig. 15, the method may include:
s1501, detecting that the network residence of the first SIM card is switched from the first area to the second area, and activating the second SIM card.
The user opens the soft SIM card service in advance and sets the soft SIM card to be automatically activated. When the user-held terminal moves from the first area to the second area, the terminal can detect that the network residence of the first SIM card is switched from the first area to the second area. And when the network residence of the first SIM card is switched from the first area to the second area, the terminal activates the second SIM card.
And after the terminal activates the second SIM card, the terminal sets the state of the terminal to be an unstable state. And during the unstable state, simulating the repeated activation and deactivation of the second SIM card by judging whether the network residence of the first SIM card is switched back and forth. The non-stable state can be specifically divided into a service area non-stable state and a non-service area non-stable state, and the state of the terminal is switched between the two non-stable states along with the switching back and forth of the second SIM card in the network. With reference to the schematic terminal state transition diagram shown in fig. 16, the specific process of suppressing the repeated activation and deactivation of the second SIM card includes the following steps:
s1502, setting the state of the terminal to be a service area unstable state, and starting a first timer.
And after the terminal activates the second SIM card, setting the state of the terminal as a non-stable state of a service area, and starting a first timer.
And S1503, if the network residence of the first SIM card is not switched during the timing of the first timer, setting the state of the terminal to be a stable state, and when the network residence of the first SIM card is switched from the second area to the first area when the state of the terminal is the stable state, deactivating the soft SIM card.
If the network residence of the first SIM card is not switched during the first timer, it indicates that the network residence of the terminal is stable and there is no oscillation, in this case, the state of the terminal may be set to be a stable state. Under the condition that the state of the terminal is a stable state, if the network residence of the first SIM card is switched from the second area to the first area, the soft SIM card can be deactivated at the moment.
S1504, if the network residence of the first SIM card is switched from the second area to the first area during the time period of the first timer, setting the state of the terminal as the non-service area unstable state, and starting the second timer.
And if the network residence of the first SIM card is switched from the second area to the first area during the timing period of the first timer, the oscillation of the network residence of the terminal is indicated, in this case, the second SIM card is not deactivated temporarily, the state of the terminal is set to be the non-stable state of the non-service area, the second timer is started, and the first timer is cleared.
S1505, if the network residence of the first SIM card is not switched during the second timer, deactivating the soft SIM card.
If the network residence of the first SIM card is not switched during the second timer, it indicates that the network residence of the terminal is stable and there is no oscillation, in which case the soft SIM card may be deactivated.
And step S1506, if the network residence of the first SIM card is switched from the first area to the second area during the second timer, setting the state of the terminal as the unstable state of the service area, and restarting the first timer.
According to the method for deactivating the soft SIM card, when a first SIM card of a terminal is switched from a non-service area of the soft SIM card to a service area of the soft SIM card in a network, the soft SIM card is activated, the state of the terminal is set to be a non-stable state of the service area, and a first timer is started. And if the network residence of the first SIM card is switched from the second area to the first area during the timing period of the first timer, setting the state of the terminal as the non-stable state of the non-service area, and starting the second timer. And if the network residence of the first SIM card is not switched during the timing period of the second timer, deactivating the soft SIM card. Therefore, by setting the unstable state, the soft SIM card is deactivated when the terminal is switched back to the service area from the non-service area after the soft SIM card is activated, so that the oscillation problem that the soft SIM card is repeatedly activated and deactivated is avoided, the user experience is improved, and the condition that the power consumption of the terminal is greatly increased due to the fact that the soft SIM card is repeatedly activated and deactivated is also avoided.
It is understood that the above terminal includes hardware structures and/or software modules for performing the respective functions in order to realize the above functions. Those of skill in the art will readily appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the embodiments of the present application.
In the embodiment of the present application, the terminal may be divided into the functional modules according to the method example, for example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. It should be noted that, in the embodiment of the present application, the division of the module is schematic, and is only one logic function division, and there may be another division manner in actual implementation.
In the case of an integrated unit, fig. 17 shows a schematic diagram of a possible structure of the terminal 1700 involved in the above embodiment, where the terminal 1700 includes: a processing unit 1701.
In some embodiments of the present application, when detecting that an area identifier of a network-residing area is changed from a first area identifier to a second area identifier, the processing unit 1701 obtains location information of the terminal 1700, where the first area identifier is an area identifier of a non-service area of a soft subscriber identity module SIM card, and the second area identifier is an area identifier of a service area of the soft SIM card, and determines, according to the location information, that the terminal 1700 is in a vibration area corresponding to the second area identifier, and does not activate the soft SIM card.
Further, the processing unit 1701 is specifically configured to: acquiring a cell identifier of the terminal 1700 currently camped in an area corresponding to the second area identifier, and determining that the currently camped cell identifier is included in a blacklist corresponding to the second area identifier; and the blacklist comprises the cell identifiers with oscillation in the area corresponding to the second area identifier.
Further, the processing unit 1701 is further configured to determine that the cell identifier currently camped on is not included in the blacklist corresponding to the second area identifier, and activate the soft SIM card.
Further, the processing unit 1701 is further configured to obtain a cell identifier where the terminal 1700 currently resides in an area corresponding to the second area identifier.
The processing unit 1701 is specifically configured to: when determining that the currently-resident cell identifier is included in the blacklist corresponding to the second area identifier, starting a positioning function, obtaining the geographic position of the terminal 1700 at the current time, and determining that the geographic position of the terminal 1700 at the current time is in a geo-fence area indicated by the geo-fence information corresponding to the currently-resident cell identifier; the geo-fence information includes a plurality of geo-location information, the geo-fence area indicated by the geo-fence information is a polygonal area with the plurality of geo-location information as vertices, and the polygonal area is an area where there is oscillation in the currently camped cell.
Further, the processing unit 1701 is further configured to determine that the geographic location where the terminal 1700 is located at the current time is not in the geo-fence area indicated by the geo-fence information corresponding to the currently camped cell identifier, and activate the soft SIM card.
Further, the processing unit 1701 is specifically configured to: starting a positioning function, acquiring the geographic position of the terminal 1700 at the current moment, and determining that the geographic position of the terminal 1700 at the current moment is in a geo-fence area indicated by the geo-fence information corresponding to the second area identifier; the geofence information includes a plurality of pieces of geographic location information, the geofence area indicated by the geofence information is a polygonal area with the plurality of pieces of geographic location information as vertices, and the polygonal area is an area where there is a shock in the area corresponding to the second area identifier.
Further, the processing unit 1701 is further configured to determine that the current time is not located in the geo-fenced area indicated by the geo-fenced information corresponding to the second area identifier, and activate the soft SIM card.
Further, the area identifier is MCC or PLMN.
Of course, terminal 1700 includes, but is not limited to, the above listed unit modules, for example, as shown in fig. 17, terminal 1700 may further include a storage unit 1702, where storage unit 1702 is configured to store program codes and related data of terminal 1700, such as blacklist and/or geofence information, etc. Terminal 1700 may further include a communication unit 1703, where communication unit 1703 may include a transmitting unit for transmitting data or signals to other devices, a receiving unit for receiving data or signals transmitted by other devices, and so on. Moreover, the functions that can be specifically implemented by the functional units also include, but are not limited to, the functions corresponding to the method steps described in the foregoing examples, and the detailed description of the corresponding method steps may be referred to for the detailed description of other units of the terminal 1700, which is not described herein again in this embodiment of the present application.
The Processing Unit 1701 may be a Processor or a controller, such as a Central Processing Unit (CPU), a general purpose Processor, a Digital Signal Processor (DSP), an Application-Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a transistor logic device, a hardware component, or any combination thereof. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. The processor may also be a combination of computing functions, e.g., comprising one or more microprocessors, DSPs, and microprocessors, among others. The storage unit may be a memory. The communication unit may be a transceiver, an RF circuit or a communication interface, etc.
When the processing unit 1701 is a processor, the communication unit 1703 is an RF circuit, and the storage unit 1702 is a memory, the terminal 1700 provided by the embodiments of the present application may be a mobile phone as shown in fig. 4. The communication unit 1703 may further include a WiFi module and a bluetooth module.
All relevant contents of each scene related to the method embodiment may be referred to the functional description of the corresponding functional module, and are not described herein again.
An embodiment of the present application further provides a computer storage medium, where a computer program code is stored in the computer storage medium, and when the processor executes the computer program code, the mobile terminal executes the relevant method steps to implement the soft SIM card network access control method in the foregoing embodiment and/or implement the soft SIM card deactivation method in the foregoing embodiment.
Embodiments of the present application further provide a computer program product, which when running on a computer, causes the computer to execute the above related method steps to implement the soft SIM card network access control method in the above embodiments and/or implement the soft SIM card deactivation method in the above embodiments.
In addition, the terminal, the computer storage medium, or the computer program product provided in the embodiments of the present application are all configured to execute the corresponding method provided above, so that the beneficial effects achieved by the terminal, the computer storage medium, or the computer program product may refer to the beneficial effects in the corresponding method provided above, and are not described herein again.
Through the above description of the embodiments, it is clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the above described functions. For the specific working processes of the system, the apparatus and the unit described above, reference may be made to the corresponding processes in the foregoing method embodiments, and details are not described here again.
In the several embodiments provided in the embodiments of the present application, it should be understood that the disclosed system, apparatus, and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially implemented or make a contribution to the prior art, or all or part of the technical solutions may be implemented in the form of a software product stored in a storage medium and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) or a processor to execute all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: flash memory, removable hard drive, read only memory, random access memory, magnetic or optical disk, and the like.
The above description is only a specific implementation of the embodiments of the present application, but the scope of the embodiments of the present application is not limited thereto, and any changes or substitutions within the technical scope disclosed in the embodiments of the present application should be covered by the scope of the embodiments of the present application. Therefore, the protection scope of the embodiments of the present application shall be subject to the protection scope of the claims.

Claims (26)

1. A network access control method of a soft Subscriber Identity Module (SIM) card is characterized in that the method is applied to a terminal and comprises the following steps:
the terminal detects that the area identification of the network-residing area is changed from a first area identification to a second area identification, and position information of the terminal is obtained, wherein the first area identification is the area identification of a non-service area of the soft SIM card, and the second area identification is the area identification of a service area of the soft SIM card;
and under the condition that the terminal is determined to be in the oscillation area corresponding to the second area identifier according to the position information, the terminal does not activate the soft SIM card, and the oscillation area refers to the area where the network of the terminal is in oscillation.
2. The method of claim 1,
the acquiring the position information of the terminal includes: acquiring a cell identifier where the terminal currently resides in an area corresponding to the second area identifier;
the terminal determines that the terminal is located in a vibration area corresponding to the second area identifier according to the position information, and the method includes: the terminal determines that the cell identifier of the current residence is contained in a blacklist corresponding to the second area identifier;
and the blacklist comprises the cell identifiers with oscillation in the area corresponding to the second area identifier.
3. The method of claim 2, further comprising:
the terminal determines that the cell identifier of the current residence is not included in the blacklist corresponding to the second area identifier;
and the terminal activates the soft SIM card.
4. The method of claim 1,
before the obtaining of the location information of the terminal, the method further includes: the terminal acquires a cell identifier where the terminal currently resides in an area corresponding to the second area identifier;
the acquiring the position information of the terminal includes: when the terminal determines that the cell identifier of the current residence is contained in the blacklist corresponding to the second area identifier, starting a positioning function to acquire the geographical position of the terminal at the current moment;
the terminal determines that the terminal is located in a vibration area corresponding to the second area identifier according to the position information, and the method includes: the terminal determines that the geographic position of the terminal at the current moment is in a geographic fence area indicated by the geographic fence information corresponding to the cell identifier where the terminal resides currently; the geo-fence information includes a plurality of geo-location information, the geo-fence area indicated by the geo-fence information is a polygonal area with the plurality of geo-location information as vertices, and the polygonal area is an area where there is oscillation in the currently camped cell.
5. The method of claim 4, further comprising:
the terminal determines that the geographic position where the terminal is located at the current moment is not located in the geographic fence area indicated by the geographic fence information corresponding to the cell identifier where the terminal is currently residing;
and the terminal activates the soft SIM card.
6. The method of claim 1,
the acquiring the position information of the terminal includes: starting a positioning function, and acquiring the geographic position of the terminal at the current moment;
the terminal determines that the terminal is located in a vibration area corresponding to the second area identifier according to the position information, and the method includes:
the terminal determines that the geographic position of the terminal at the current moment is in a geographic fence area indicated by the geographic fence information corresponding to the second area identifier; the geofence information includes a plurality of pieces of geographic location information, the geofence area indicated by the geofence information is a polygonal area with the plurality of pieces of geographic location information as vertices, and the polygonal area is an area where there is a shock in the area corresponding to the second area identifier.
7. The method of claim 6, further comprising:
the terminal determines that the geographic position of the terminal at the current moment is not located in the geographic fence area indicated by the geographic fence information corresponding to the second area identifier;
and the terminal activates the soft SIM card.
8. The method according to any one of claims 1 to 7,
the area identifier is a mobile country code MCC or a public land mobile network PLMN.
9. A method for deactivating a soft Subscriber Identity Module (SIM) card is applied to a terminal, the terminal comprises a first SIM card and a second SIM card, the first SIM card provides SIM card authentication and authorization information of the terminal for communicating with a base station of a first area, the second SIM card provides SIM card authentication and authorization information of the terminal for communicating with a base station of a second area, and the second SIM card is a soft SIM card, and the method comprises the following steps:
when the network residence of the first SIM card is detected to be switched from the first area to the second area, activating the second SIM card;
setting the state of the terminal as a service area unstable state, and starting a first timer;
if the network residence of the first SIM card is switched from the second area to the first area during the timing period of the first timer, setting the state of the terminal as a non-service area unstable state, and starting a second timer;
and if the network residence of the first SIM card is not switched during the timing period of the second timer, deactivating the soft SIM card.
10. The method of claim 9,
if the network residence of the first SIM card is not switched during the timing of the first timer, setting the state of the terminal as a stable state;
and when the state of the terminal is a stable state, when the network residence of the first SIM card is switched from the second area to the first area, deactivating the soft SIM card.
11. The method according to claim 9 or 10,
if the network residence of the first SIM card is switched from the first area to the second area during the timing of the second timer, setting the state of the terminal as the unstable state of the service area, and restarting the first timer.
12. A terminal, comprising:
the processing unit is configured to detect that an area identifier of a network-residing area is changed from a first area identifier to a second area identifier, acquire position information of the terminal, where the first area identifier is an area identifier of a non-service area of a soft subscriber identity module SIM card, and the second area identifier is an area identifier of a service area of the soft SIM card, determine, according to the position information, that the terminal is located in a vibration area corresponding to the second area identifier, and not activate the soft SIM card, where the vibration area refers to an area where the network-residing area of the terminal has vibration.
13. The terminal of claim 12,
the processing unit is specifically configured to: acquiring a cell identifier of the terminal currently residing in an area corresponding to the second area identifier, and determining that the cell identifier of the current residing is contained in a blacklist corresponding to the second area identifier;
and the blacklist comprises the cell identifiers with oscillation in the area corresponding to the second area identifier.
14. The terminal of claim 13,
the processing unit is further configured to determine that the currently camped cell identifier is not included in a blacklist corresponding to the second area identifier, and activate the soft SIM card.
15. The terminal of claim 12,
the processing unit is further configured to acquire a cell identifier where the terminal currently resides in an area corresponding to the second area identifier;
the processing unit is specifically configured to: when the current resident cell identifier is determined to be included in the blacklist corresponding to the second area identifier, starting a positioning function, acquiring the geographic position of the terminal at the current moment, and determining that the geographic position of the terminal at the current moment is in a geographic fence area indicated by the geographic fence information corresponding to the current resident cell identifier; the geo-fence information includes a plurality of geo-location information, the geo-fence area indicated by the geo-fence information is a polygonal area with the plurality of geo-location information as vertices, and the polygonal area is an area where there is oscillation in the currently camped cell.
16. The terminal of claim 15,
the processing unit is further configured to determine that the geographic location where the terminal is located at the current time is not located in the geo-fence area indicated by the geo-fence information corresponding to the currently camped cell identifier, and activate the soft SIM card.
17. The terminal of claim 12,
the processing unit is specifically configured to: starting a positioning function, acquiring the geographic position of the terminal at the current moment, and determining that the geographic position of the terminal at the current moment is in a geographic fence area indicated by the geographic fence information corresponding to the second area identifier; the geofence information includes a plurality of pieces of geographic location information, the geofence area indicated by the geofence information is a polygonal area with the plurality of pieces of geographic location information as vertices, and the polygonal area is an area where there is a shock in the area corresponding to the second area identifier.
18. The terminal of claim 17,
the processing unit is further configured to determine that the geographic location where the terminal is located at the current time is not located in the geo-fence area indicated by the geo-fence information corresponding to the second area identifier, and activate the soft SIM card.
19. The terminal according to any of claims 12-18,
the area identifier is a mobile country code MCC or a public land mobile network PLMN.
20. A terminal, wherein the terminal includes a first subscriber identity module, SIM, card and a second SIM card, the first SIM card providing SIM card authentication information for the terminal to communicate with a base station in a first area, the second SIM card providing SIM card authentication information for the terminal to communicate with a base station in a second area, the second SIM card being a soft SIM card, the terminal comprising:
the processing unit is used for activating the second SIM card when the network residence of the first SIM card is detected to be switched from the first area to the second area, setting the state of the terminal as a service area unstable state, and starting a first timer; if the network residence of the first SIM card is switched from the second area to the first area during the timing period of the first timer, setting the state of the terminal as a non-service area unstable state, and starting a second timer; and if the network residence of the first SIM card is not switched during the timing period of the second timer, deactivating the soft SIM card.
21. The terminal of claim 20,
the processing unit is further configured to set the state of the terminal to be a stable state if the network residence of the first SIM card is not switched during the timing of the first timer; and when the state of the terminal is a stable state, when the network residence of the first SIM card is switched from the second area to the first area, deactivating the soft SIM card.
22. The terminal according to claim 20 or 21,
the processing unit is further configured to set the state of the terminal as the unstable state of the service area and restart the first timer if the network residence of the first SIM card is switched from the first area to the second area during the time period of the second timer.
23. A terminal, comprising: one or more processors and memory;
the memory coupled with the one or more processors, the memory for storing computer program code, the computer program code comprising computer instructions, which when executed by the one or more processors, cause the terminal to perform the soft subscriber identity module, SIM, network access control method of any one of claims 1-8.
24. A terminal, comprising: one or more processors and memory;
the memory coupled with the one or more processors for storing computer program code comprising computer instructions which, when executed by the one or more processors, cause the terminal to perform the method of deactivating a soft subscriber identity module, SIM, card of any of claims 9-11.
25. A computer storage medium comprising computer instructions which, when run on a terminal, cause the terminal to perform the soft subscriber identity module, SIM, card network access control method of any one of claims 1-8.
26. A computer storage medium, characterized in that it comprises computer instructions which, when run on a terminal, cause the terminal to perform the method of deactivating a soft subscriber identity module, SIM, card of any of claims 9-11.
CN201880058771.2A 2017-10-09 2018-01-29 Soft SIM card network access control method and equipment Active CN111373777B (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN201710931163 2017-10-09
CN2017109311635 2017-10-09
PCT/CN2018/074484 WO2019071880A1 (en) 2017-10-09 2018-01-29 Soft sim card network access control method and device

Publications (2)

Publication Number Publication Date
CN111373777A CN111373777A (en) 2020-07-03
CN111373777B true CN111373777B (en) 2021-12-28

Family

ID=66100373

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201880058771.2A Active CN111373777B (en) 2017-10-09 2018-01-29 Soft SIM card network access control method and equipment

Country Status (2)

Country Link
CN (1) CN111373777B (en)
WO (1) WO2019071880A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112134744B (en) * 2020-10-23 2023-04-18 上海途鸽数据科技有限公司 Management method of nodes in distributed management system

Family Cites Families (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100366487B1 (en) * 2000-11-16 2003-01-09 주식회사 케이티프리텔 A roaming service system for gsm service subscribers in a cdma service area, a location registration method, and a receiing/sending method
EP1463366B1 (en) * 2003-03-24 2007-12-05 Star Home GmbH Preferred network selection
US9009475B2 (en) * 2011-04-05 2015-04-14 Apple Inc. Apparatus and methods for storing electronic access clients
CN103379560A (en) * 2012-04-26 2013-10-30 深圳富泰宏精密工业有限公司 Automatic roaming number switching system and method
CN104144402B (en) * 2013-05-08 2019-01-18 华为技术有限公司 Realize the method and relevant apparatus of mobile terminal localized roaming
CN104394522A (en) * 2014-10-30 2015-03-04 北京神州泰岳软件股份有限公司 Establishment method and establishment device of communication links
US9940141B2 (en) * 2015-02-23 2018-04-10 Apple Inc. Method and apparatus for selecting bootstrap ESIMs
CN104796957B (en) * 2015-05-13 2018-08-21 展讯通信(上海)有限公司 Multi-card multi-standby mobile terminal and its Subscriber Identity Module switching method and apparatus
CN106304037B (en) * 2015-05-19 2020-06-30 努比亚技术有限公司 Virtual SIM card management method and device
US9794418B2 (en) * 2015-05-29 2017-10-17 Blackberry Limited Method and system for dynamic cellular networking activation for virtual SIM service
CN105611524A (en) * 2015-06-30 2016-05-25 宇龙计算机通信科技(深圳)有限公司 Method, device, terminal and system for sharing virtual SIM (Subscriber Identity Module) card parameters
CN105101153A (en) * 2015-07-28 2015-11-25 集怡嘉数码科技(深圳)有限公司 Data roaming method, device and system
CN105050075B (en) * 2015-08-31 2019-03-22 宇龙计算机通信科技(深圳)有限公司 Call handling method, device and wearable device based on virtual SIM card
CN106559770B (en) * 2015-09-25 2020-09-11 联芯科技有限公司 Network selection method and system of foreign roaming boundary
CN105682077B (en) * 2015-12-31 2019-08-02 宇龙计算机通信科技(深圳)有限公司 A kind of virtual SIM card switching method and device
US9877275B2 (en) * 2016-01-05 2018-01-23 Blackberry Limited Method and apparatus for multi-SIM selection
CN105916149A (en) * 2016-05-27 2016-08-31 努比亚技术有限公司 Operator network switching method and communication terminal
CN106102034A (en) * 2016-08-26 2016-11-09 刘华英 The transmission method of radio roaming data and device
CN106686671B (en) * 2016-11-29 2020-06-23 上海苗鑫食品科技有限公司 Network connection processing method and terminal
CN106604258A (en) * 2016-12-20 2017-04-26 深圳市优克联新技术有限公司 User identity identification card switching method and apparatus
CN106973404A (en) * 2017-05-24 2017-07-21 深圳天珑无线科技有限公司 The method and device that a kind of network is reconnected

Also Published As

Publication number Publication date
CN111373777A (en) 2020-07-03
WO2019071880A1 (en) 2019-04-18

Similar Documents

Publication Publication Date Title
JP7213885B2 (en) METHOD AND COMMUNICATION DEVICE FOR RETURNING LOW-LEVEL NETWORK TO HIGH-LEVEL NETWORK
US9648492B2 (en) Location-based update of subscriber identity information in a wireless device
JP7346574B2 (en) Positioning method and terminal
CN103475996A (en) Network connecting method, network sharing method and devices
CN103458409A (en) Network connection method and network sharing method and device
US8804680B2 (en) System and method for managing wireless connections and radio resources
CN111316673B (en) Electronic fence updating method and communication device
CN103458408A (en) Network connection method and network sharing method and device
CN107094311B (en) High-standard network reselection method and device and mobile terminal
CN103501482A (en) Network access method, network access device and terminal
CN104035951B (en) Show the method for map, device and terminal
CN106961676B (en) Network searching method, device and medium
CN104618854A (en) Method, terminal and server for sharing location information
CN106028289A (en) Network searching method and equipment after roaming ends
CN108112028B (en) Network searching method and equipment for international roaming
WO2019233218A1 (en) Cell measurement report processing method and apparatus, and mobile terminal
US20200077232A1 (en) Information Processing Method, Positioning Chip, And Mobile Terminal
CN112888018A (en) Network injection method and terminal equipment
CN108476441B (en) Cell switching method and terminal equipment
CN112469109A (en) Method for preferentially selecting ENDC cell, terminal device and storage medium
CN113316176B (en) Method for updating measurement result, terminal device and storage medium
CN111373777B (en) Soft SIM card network access control method and equipment
CN105744600A (en) Communication network access method and user equipment
JPWO2020140725A5 (en)
EP2654354B1 (en) Providing a current position while reducing an overall power consumption

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant