CN107306389A - The network registering method and terminal of virtual SIM card - Google Patents
The network registering method and terminal of virtual SIM card Download PDFInfo
- Publication number
- CN107306389A CN107306389A CN201610259517.1A CN201610259517A CN107306389A CN 107306389 A CN107306389 A CN 107306389A CN 201610259517 A CN201610259517 A CN 201610259517A CN 107306389 A CN107306389 A CN 107306389A
- Authority
- CN
- China
- Prior art keywords
- terminal
- sim card
- code
- virtual sim
- apn
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/18—Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/18—Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
- H04W8/183—Processing at user equipment or user record carrier
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W60/00—Affiliation to network, e.g. registration; Terminating affiliation with the network, e.g. de-registration
Abstract
The invention provides a kind of network registering method of virtual SIM card and terminal.Wherein method includes:When receiving the ready notice of virtual SIM card, according to the current national code of the terminal, the current national code corresponding at least one set of APN and Mobile Network Code are obtained from the terminal;And according at least one set of APN and Mobile Network Code of the acquisition, configure the APN of the terminal and be registered to the corresponding network of the Mobile Network Code.The present invention can lift Consumer's Experience.
Description
Technical field
The present invention relates to mobile communication technology field, more particularly to a kind of network registering method of virtual SIM card
And terminal.
Background technology
At present, intelligent terminal (such as smart mobile phone) is typically using entity SIM card (Subscriber Identity
Module, user identification module).And there is purchase cost height, waste SIM codes money in entity SIM card
The problems such as source.In view of this, virtual SIM card receives the attention of increasing operator and manufacturer terminal,
Especially receive the attention of virtual operator.So-called virtual SIM card can refer to using software mode come
SIM card is simulated, and subscription network is accessed using corresponding SIM card information according to terminal the country one belongs to, from
And realize the whole world without roaming data service.But virtual SIM card is in use, can also there are problems that.
For example, terminal generally requires before using virtual SIM card and is quickly confirmed to use according to location
Virtual SIM card information and the accessible network information, and these information need terminal to be obtained from server.
It is thus desirable in the special server of network-side arrangement, cause operation cost higher.Meanwhile, terminal is needed
Required information could be intactly got with server interaction repeatedly, and between terminal and server
Interaction can be limited by network linking situation and server itself response speed etc., if meeting network linking
Of poor quality or server responds slower situation, then terminal needs wait to be lot more time to get correlation
Information, getting could be networked based on the information of these acquisitions after information, that is, user needs wait
Long period could normally use network service, cause Consumer's Experience to be deteriorated, also, in terminal and server
Interaction in, if there is mistake, then terminal can be caused to get the connection of correlation at server
Net information so that terminal can not network, influences the use of user.
The content of the invention
In view of this, the invention provides a kind of network registering method of virtual SIM card and terminal, shorten
Terminal is looked for the time of net, registered network, lifts Consumer's Experience.
The invention provides a kind of network registering method of virtual SIM card, applied to terminal, including:
When receiving the ready notice of virtual SIM card, according to the current national code of the terminal, from institute
State and the current national code corresponding at least one set of APN and Mobile Network Code are obtained in terminal;And
According at least one set of APN and Mobile Network Code of the acquisition, the access of the terminal is configured
Put title and be registered to the corresponding network of the Mobile Network Code.
Wherein, it is described receive virtual SIM card ready notice the step of before, methods described is also wrapped
Include:
When the national code for detecting the terminal changes, the national code after change is obtained from the terminal
Corresponding virtual SIM card information, wherein the current national code is described becomes with the national code after changing;With
And
The corresponding virtual SIM card information of the national code after the change is initialized, the notice is then exported.
Wherein, before the step of the initialization, methods described also includes:
Judge whether the currently used virtual SIM card information of the terminal supports the shifting of the current country of the terminal
Dynamic network, and determine do not support when, the step of performing the initialization, and when determining support,
Directly export the notice;
Wherein, the national code before the currently used virtual SIM card information correspondence change of the terminal.
Wherein, whether the virtual SIM card information for judging that the terminal is currently used supports the terminal to work as
The step of preceding national mobile network, includes:
Compare the corresponding virtual SIM card information of the national code after the change and the currently used void of the terminal
Whether the international mobile subscriber identity and/or integrated circuit card identification code for intending SIM card information are identical, if not phase
Together, then it is assumed that the currently used virtual SIM card information of the terminal does not support the shifting of described terminal the country one belongs to
Dynamic network.
Wherein, the step of national code after the initialization change corresponding virtual SIM card information, includes::
When the corresponding virtual SIM card information of the national code after the change has a plurality of, a plurality of void is initialized
Intend each in SIM card information, and the notice exported after every virtual SIM card information is initialized,
Until having traveled through a plurality of virtual SIM card information or being successfully registered to the corresponding network of the Mobile Network Code
Untill.
Wherein, the step of obtaining the national code corresponding virtual SIM card information after change from the terminal
Including:
According to the national code after the change, the virtual SIM card information database of the terminal is inquired about, to obtain
Take the corresponding virtual SIM card information of the national code after the change;Or,
According to the national code after the change, the national code obtained from the terminal after the change is corresponding
Virtual SIM card is identified;And identified according to the virtual SIM card of the acquisition, inquire about virtual in the terminal
SIM card information database, to obtain the corresponding virtual SIM card information of the national code after the change.
Wherein, at least one set of APN and Mobile Network Code are:Multigroup APN and movement
Network code;
Wherein, according to the multigroup APN and Mobile Network Code of the acquisition, connecing for the terminal is configured
Access point title and include the step of be registered to the Mobile Network Code corresponding network:
One group of access point to configure the terminal is chosen from the multigroup APN and Mobile Network Code
Title and it is registered to the corresponding network of the Mobile Network Code;
Treat after preset time, whether active inquiry network registry succeeds;And
If the network registry is unsuccessful, under using instead in multigroup APN and Mobile Network Code
One group of APN to configure the terminal and the corresponding network of the Mobile Network Code is registered to, directly
To inquiring network registry success or traveled through multigroup APN and Mobile Network Code.
Wherein, at least one set of APN and Mobile Network Code are:Multigroup APN and movement
Network code;
Wherein, according to the multigroup APN and Mobile Network Code of the acquisition, connecing for the terminal is configured
Access point title and include the step of be registered to the Mobile Network Code corresponding network:
One group of access point to configure the terminal is chosen from the multigroup APN and Mobile Network Code
Title and it is registered to the corresponding network of the Mobile Network Code;
Whether the network registry that reception underlying protocol is reported successfully notifies;And
When receiving the notice of network registry failure, then multigroup APN and Mobile Network Code are used instead
In next group of APN to configure the terminal and be registered to the corresponding net of the Mobile Network Code
Network, until receiving network registry successfully notifies or traveled through multigroup APN and mobile network
Code.
The invention provides a kind of terminal, the network registry for realizing virtual SIM card, including:
APN module, for after the ready notice of virtual SIM card is received, according to the end
The current national code at end, obtains the corresponding at least one set of Access Point Name of the current national code from the terminal
Claim and Mobile Network Code;
Controller, at least one set of APN obtained according to described access point name module and movement
Network code, configures the APN of the terminal and is registered to the corresponding network of the Mobile Network Code.
Wherein, in addition to:
Protocol module, for detecting national code;
SIM card module, for when protocol module detection national code changes, being obtained from the terminal
Take change after the corresponding virtual SIM card information of national code, wherein the current national code be it is described change with
National code after change;And
For initializing the corresponding virtual SIM card information of the national code after the change, then export described logical
Know.
Wherein, in addition to:The sim module, is additionally operable to judge the virtual SIM that the terminal is currently used
Whether card information supports the mobile network of the current country of the terminal, and determine do not support when, perform institute
The operation of initialization is stated, and when determining support, directly exports the notice;
Wherein, the national code before the currently used virtual SIM card information correspondence change of the terminal.
Wherein, the sim module specifically for:Compare the corresponding virtual SIM of national code after the change
The international mobile subscriber identity of the card information virtual SIM card information currently used with the terminal and/or integrated
Whether circuit card identification code is identical, if differing, then it is assumed that the currently used virtual SIM card letter of the terminal
Breath does not support the mobile network of described terminal the country one belongs to.
Wherein, the sim module, specifically for:
When the corresponding virtual SIM card information of the national code after the change has a plurality of, a plurality of void is initialized
Intend each in SIM card information, and the notice exported after every virtual SIM card information is initialized,
Until having traveled through a plurality of virtual SIM card information or being successfully registered to the corresponding network of the Mobile Network Code
Untill.
Wherein, the sim module specifically for:, according to the national code after the change, inquire about the terminal
Virtual SIM card information database, to obtain the corresponding virtual SIM card information of the national code after the change;
Or, according to the national code after the change, the national code obtained from the terminal after the change is corresponding
Virtual SIM card is identified;And identified according to the virtual SIM card of the acquisition, inquire about virtual in the terminal
SIM card information database, to obtain the corresponding virtual SIM card information of the national code after the change.
Wherein, at least one set of APN and Mobile Network Code are:Multigroup APN and movement
Network code;
The controller specifically for:One group is chosen from the multigroup APN and Mobile Network Code to come
Configure the APN of the terminal and be registered to the corresponding network of the Mobile Network Code;
Whether the network registry that whether active inquiry network registry succeeds or reception underlying protocol is reported is successful
Notify;And
If the network registry is unsuccessful, under using instead in multigroup APN and Mobile Network Code
One group of APN to configure the terminal and the corresponding network of the Mobile Network Code is registered to, directly
Extremely the network registry is successful or has traveled through multigroup APN and Mobile Network Code.
The beneficial effects of the invention are as follows:
In terminal above and method, wherein the information such as APN and Mobile Network Code is directly from local (example
As in terminal) obtain, therefore the present invention, without the server interaction with network side, reduce terminal looks for net
Time, simplify flow before terminal networking, shorten networking time, so that terminal need not wait as long for i.e.
Network service can be used, so as to improve user experience.
Brief description of the drawings
Fig. 1~3 are the structural representations of the various embodiments for the database that the present invention is provided;
Fig. 4 is the structural representation for the terminal that the present invention is provided;
Fig. 5 is the schematic flow sheet of the specific embodiment of the network registering method of the virtual SIM card of the present invention;
Fig. 6 is the schematic flow sheet of the embodiment of the step 502 in Fig. 5, and wherein step 502 is indicated whether
The flow of switching virtual SIM card;
Fig. 7 and Fig. 8 are the schematic flow sheets of the not be the same as Example for the multiple networks of trial matching that the present invention is provided;
Fig. 9 is the schematic flow sheet of the network registering method for the virtual SIM card that the present invention is provided.
Embodiment
In order that technical problem solved by the invention, technical scheme and beneficial effect are more clearly understood, with
Lower combination drawings and Examples, the present invention will be described in further detail.It should be appreciated that described herein
Specific embodiment only to explain the present invention, be not intended to limit the present invention.
The present invention by subscription network information (such as mobile national Mobile Network Code), APN (Access Point Name,
APN) etc. information be stored directly in locally (such as terminal), realizing virtual SIM card
When, can directly from locally obtain these information without from the server of network side obtain.In addition, this
The virtual SIM card information of signing can also also be stored in terminal by invention.Because these information need not be from clothes
Business device is obtained, therefore terminal can be without carrying out data interaction with server.In this way, on the one hand can remove from
The arrangement of network side server, to save operation cost.On the other hand, by inquiry it is local without with the external world
Interaction just can confirm that the usable network information using signing, and the acquisition speed of these information will not be by
The influence of the factors such as the response speed of network linking quality and server between terminal and server so that use
Family just can rapidly realize networking without waiting for longer, so as to obtain preferably networking experience.For example, through
Test is crossed, under identical network environment, can be quickly found out and be registered to using the terminal of the present invention can
With network, the stand-by period before its networking is considerably less than the terminal using server scheme.
Specifically, above-mentioned virtual SIM card information can be stored using database, the network information is (as moved
Dynamic country's Mobile Network Code), the information such as APN (Access Point Name, APN).Citing and
Speech, can store the virtual SIM card information of virtual operator's support using virtual SIM card information database.
Wherein, the virtual SIM card information database is generally encrypting database.According to virtual SIM card information data
The difference of the form in storehouse, terminal can according only to its current country MCC (Mobile Country Code,
Mobile Country Code MCC either national code) come obtain virtual SIM card information or, terminal first can be worked as according to it
Preceding national MCC identifies (i.e. the ID of virtual SIM card) to obtain virtual SIM card, then according to virtual
SIM card identifies to obtain virtual SIM card information.The virtual SIM card information database for example having includes:
ICCID (Integrate Circuit Card Identity, integrated circuit card identification code) and IMSI (International
Mobile Subscriber Identity, international mobile subscriber identity) etc. information, and some virtual SIM cards
Database can include:RMCC (Registered MCC, the affiliated Mobile Country Code MCC of registered network), ICCID
With the information such as IMSI.Wherein, RMCC (Registered MCC, the affiliated Mobile Country Code MCC of registered network)
Namely the MCC of the current country of terminal.And MCC is distributed unitedly and managed by International Telecommunication Association (ITU), use
In the country belonging to unique identification mobile subscriber, such as China's Mainland is 460, and Hong-Kong is 445.Need
Illustrate, the above-mentioned MCC (national code) referred to, can also be area code sometimes.
Meanwhile, RMCC, MCCMNC (Mobile Country Code can be stored using another database
Mobile Network Code, mobile national Mobile Network Code), APN (Access Point Name, access
Point title) etc. information and the corresponding relation between them.Wherein, MCCMNC is that virtual operator exists
The MCCMNC of the network, the i.e. accessible network of virtual SIM card of countries and regions' signing shown in RMCC,
The number networks may have one, it is also possible to have multiple.In this way, when getting RMCC, can be according to RMCC
Corresponding relation between MCCMNC and APN, found out from database corresponding MCCMNC and
APN.Wherein, it is one-to-one between MCCMNC and APN, therefore they can be referred to as to one group
APN and MCCMNC.And a RMCC can correspond to multiple APN or MCCMNC, i.e., one
RMCC can correspond at least one set APN and MCCMNC.Illustrate to be used to store below with reference to Fig. 1~3
The structure of the database of the information such as RMCC, MCCMNC and APN.
As shown in figure 1, the database is by tri- fields of RMCC101, MCCMNC102 and APN103
Composition.Second column 106 therein represents data record, i.e., one RMCC correspondence, one MCCMNC
With an APN, i.e., one RMCC correspondence, one group of APN and MCCMNC.Third column 107 therein
Two datas record, i.e., one RMCC correspondence two MCCMNC and two are represented with the 4th column 108
APN, now RMCC is identical, and MCCMNC is different with APN, i.e., one two groups of RMCC correspondence
APN and MCCMNC.Fig. 2 and Fig. 1 difference is that Fig. 2 adds VSIM ID (Virtual SIM
Identifier, virtual SIM card mark, such as i.e. foregoing ICCID) field 104, as it was previously stated, working as
When virtual SIM card information database is encrypting database, it can use shown in Fig. 2 and be stored in database
VSIM ID;At this point it is possible to the database shown in Fig. 2 be searched using RMCC, to get VSIM
ID.Wherein, Fig. 3 and Fig. 2 difference is, Fig. 3 also add national name field 105, to support
Some need the application scenarios for showing national title.It is understood that to those skilled in the art,
Database shown in Fig. 1~3 is only exemplary rather than limitation, and those skilled in the art can be as needed to figure
Each field in 1~3 carries out additions and deletions or replacement.
On the basis of the above, the hardware structure for the terminal that the explanation present invention is provided is continued with, the terminal is for example
It can be the equipment such as mobile phone, tablet personal computer, personal digital assistant, and support virtual SIM card.Such as Fig. 4
Shown, the terminal 1 can include:Protocol module 11, SIM card module 12, controller 13 and APN moulds
Block 14.Wherein, above-mentioned each module can carry out information exchange to realize the network registry of terminal, and Fig. 4
Shown hardware structure be only the present invention a kind of example and it is unrestricted.For the ease of understanding the present invention, below
With reference to Fig. 5, illustrate how to realize virtual SIM card in terminal using above-mentioned each module.
As shown in figure 5, in step 501:Protocol module 11 is to detect the RMCC of terminal (i.e. national
Code) when changing, the notice that RMCC has changed is sent to SIM card module.For example, when terminal is by one
It is individual country enter another it is national when, its protocol module 11 can detect RMCC change.
In step 502:When SIM card module 12 receives the notice of RMCC changes, it can be determined that be
No switching virtual SIM card.It should be noted that when between virtual SIM card and MCC (or RMCC)
For one, i.e., different virtual SIM cards is used between each countries and regions, it is obstructed each other
With that is, one RMCC correspond to a virtual SIM card information, now without being judged, and can be straight
Connect and switch over.
Specifically, the handoff procedure may be referred to the shown of Fig. 6.In step 5021 in figure 6, SIM
Card module 12 first obtains virtual SIM card information according to RMCC from local, then compares the virtual SIM of acquisition
Whether the IMSI and/or ICCID in the card information SIM card information currently used with terminal are identical, are come with this
Judge whether SIM card information that present terminal is used supports the mobile network of present terminal the country one belongs to.
Wherein, if in the virtual SIM card information and the currently used virtual SIM card information of terminal that obtain
IMSI and/or ICCID are identical, then are considered as the currently used SIM card information of terminal and support terminal to be currently located
The mobile network of country, now SIM card module 12 is direct is ready for (SIM to the transmission of controller 13 SIM card
Ready notice (i.e. step 503)).For example, when a virtual SIM card can be on multiple country ground
Area may now determine acquisition in use, the corresponding virtual SIM cards of i.e. multiple RMCC are identicals
Virtual SIM card information is identical with the virtual SIM card information that terminal is currently used.
If the virtual SIM card information obtained the ISM card information currently used with terminal is differed, it is considered as current
The SIM card information used does not support terminal to be currently located the mobile network of country, then performs SIM card switching behaviour
Make, that is, be switched in the virtual SIM card information of acquisition, and carry out the initialization of virtual SIM card information (i.e.
Step 5022), then after the initialization is completed, sim module 12 sends SIM card to controller and is ready for
Good notice (i.e. step 503).
It should be noted that when the virtual SIM card information of acquisition has a plurality of, then this may be initialized many
Each in bar virtual SIM card information, and export above-mentioned after every virtual SIM card information is initialized
Notice, until having traveled through a plurality of virtual SIM card information or to be successfully registered to Mobile Network Code corresponding
Untill network;Wherein registered network and judge whether that the operation succeeded in registration can be subsequently described.For example,
When a countries and regions can use a plurality of virtual SIM of RMCC correspondences of multiple virtual SIM cards, i.e., one
Card information, may perform the operation of above-mentioned every virtual SIM card information of initialization.
It should be noted that those skilled in the art are it has become clear that the detail of initialization, will not be described here.
In addition, the mode for the acquisition virtual SIM card information being related in abovementioned steps 5021 includes:According to RMCC
To obtain the mode of virtual SIM card information;Or, according to RMCC, query graph 2 or the number shown in Fig. 3
According to storehouse, to obtain the corresponding VSIM ID of RMCC, virtual SIM card is then obtained according to VSIM ID
The mode of information.
Step 504:Controller 13 to APN modules 14 send inquiry notify, with inquire MCCMNC and
APN。
Step 505:APN modules 14 utilize RMCC from Fig. 1~3 in any shown database structure
Inquire APN and MCCMNC.
Step 506:The feedback query result of APN modules 14 is to controller 13.Wherein, APN modules 14 can
With the feedback query result by the way of list.From the description previously with regard to Fig. 1~3, Query Result can
To include one group of APN and MCCMNC or multigroup APN and MCCMNC.
Step 507 and 508:Controller according to the Query Result received, the APN information of configurating terminal with
And it is registered to the corresponding networks of the MCCMNC inquired.
Wherein, in step 507 and 508, when Query Result includes:During multigroup APN and MCCMNC,
Controller 13 can attempt each group APN and MCCMNC successively, until network registry is successful or has traveled through
All APN and MCCMNC.Two kinds of controllers 13 are introduced in conjunction with Fig. 7 and 8 attempt multiple nets below
The embodiment of network, it is for reference.
As shown in fig. 7, in step 701, controller 13 receives APN and MCCMNC list.
Then in a step 702, first group of APN and MCCMNC of the controller 13 in list is configured
The APN and progress network registry of terminal, then index value and add on the basis of initial value (0)
1, how many group APN and MCCMNC be used to count in the current list and is attempted for wherein index value.So
Afterwards in step 703, controller 13 judges the total group of number whether index value is less than in list, if being less than,
Meet and then perform step 704, otherwise terminate flow.In step 704, controller 13 opens a timer
(such as 15s timers), and after the time-out of timer, active inquiry network service state.In step 705
In, controller 13 is according to the network service state inquired, and whether judgement currently has network service, if having
Illustrate network registry success, flow can be terminated;If without network service, using next group instead to configure end
The APN information and progress network registry at end, and index value is added 1 (i.e. step 706), straight-forward network note
Volume success has traveled through all APN and MCCMNC.It should be noted that in Fig. 7 flow,
If currently used APN and MCCMNC is last group of APN and MCCMNC in list, control
Device 13 can also open a timer, and after a time out, network service state be inquired about, if net can not be inquired
Network service state, then point out user network registration failure.
Fig. 8 and Fig. 7 difference is that Fig. 8 can't actively go to inquire about network service state, but by controlling
Device processed waits underlying protocol active reporting network service state (as shown at 803), then controller according to
Network service state that underlying protocol is reported judges whether network succeeds in registration.Fig. 8 mode intersects at Fig. 7
For, without setting timer, therefore the trial time can be shortened, so as to improve registration efficiency.
By combine Fig. 4~8 description, to the present invention terminal structure and based on the structure how in
Realize that the scheme of virtual SIM card is described in detail in terminal.However, it is desirable to explanation, some
In the case of, each step in above example be not it is required, for example, in certain embodiments,
In Fig. 5, after SIM card module 12 receives the notice of RMCC changes, basis can be directly switch to
RMCC obtain virtual SIM card and initialization, without compare virtual SIM card information with it is currently used
Whether SIM card information is identical.In certain embodiments, in Fig. 5, when SIM card module is not being received
To RMCC change notice when, directly virtual SIM card information can also be initialized, and execution after
Afterflow journey.Certainly, those skilled in the art can also do other deformations to the present invention, and these are considered as
Within the scope of disclosed by the invention.
Embodiments of the invention are described mainly in combination with the concrete structure of terminal above, but can be managed
Modules in solution, above-mentioned terminal can integrate or be subdivided into other modules or by it
He replaces at module.And following concrete structures that will be disengaged from above-mentioned terminal and illustrate the present invention in terminal realize
The method of virtual SIM card, it is to be understood that many of following methods realizes details, before may be referred to
Shown in stating, it will not be described here.
Specifically, as shown in figure 9, a kind of network registering method of virtual SIM card of the present invention includes:
Step 901:SIM card initialization is carried out using from the virtual SIM card information locally obtained, this is virtual
SIM card information supports the mobile network of the current country of terminal.
Wherein, before step 901, the national code (or area code) of terminal the country one belongs to can be detected, and
When detecting national code change, step 901 is just performed.Or, when detecting national code change, continue
Judge whether the currently used SIM card information of terminal supports the mobile network of terminal the country one belongs to, and judging
To when not supporting, the step of initializing is performed.
Step 902:According to the national code of terminal the country one belongs to, the corresponding at least one set of national code is obtained from local
APN and Mobile Network Code.And
Step 903:According at least one set of APN and Mobile Network Code of acquisition, the access of configurating terminal
Point title and progress network registry.
Wherein, in step 902, after the completion of the initialization of step 901, usual step 901 can be sent
The notice that virtual SIM card is ready for, when step 902 receives the notice, then performs operation therein.
In addition, for some scenes without switching virtual SIM card, step 901 is without initialization of virtual SIM card
And directly send the notice that virtual SIM card is ready for.
Wherein, can be to every group of APN when getting multigroup APN and Mobile Network Code
Attempted, and reported using active inquiry network state or the passive underlying protocol that receives with Mobile Network Code
The mode such as network state, determine whether network registry succeeds.And in network registry success or traveled through institute
Terminate flow when some APN and Mobile Network Code.
In addition, when the subscription network of virtual operator is changed, version server can push version liter
Level instruction, with OTA (Over-the-Air Technology, over the air) mode upgraded version
Database file, the information of such end side is correspondingly updated.
One of ordinary skill in the art will appreciate that all or part of flow in above-described embodiment method is realized,
It can be by computer program to instruct the hardware of correlation to complete, described program can be stored in a calculating
In machine read/write memory medium, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.
Wherein, described storage medium can for magnetic disc, CD, read-only memory (Read-Only Memory,
) or random access memory (Random Access Memory, RAM) etc. ROM.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in this hair
Any modifications, equivalent substitutions and improvements made within bright spirit and principle etc., should be included in the present invention
Protection domain within.
Claims (15)
1. a kind of network registering method of virtual SIM card, applied to terminal, it is characterised in that including:
When receiving the ready notice of virtual SIM card, according to the current national code of the terminal, from institute
State and the current national code corresponding at least one set of APN and Mobile Network Code are obtained in terminal;And
According at least one set of APN and Mobile Network Code of the acquisition, the access of the terminal is configured
Put title and be registered to the corresponding network of the Mobile Network Code.
2. the method as described in claim 1, it is characterised in that prepare in the virtual SIM card that receives
Before the step of notice got well, methods described also includes:
When the national code for detecting the terminal changes, the national code after change is obtained from the terminal
Corresponding virtual SIM card information, wherein the current national code is described becomes with the national code after changing;With
And
The corresponding virtual SIM card information of the national code after the change is initialized, the notice is then exported.
3. method as claimed in claim 2, it is characterised in that before the step of the initialization, institute
Stating method also includes:
Judge whether the currently used virtual SIM card information of the terminal supports the shifting of the current country of the terminal
Dynamic network, and determine do not support when, the step of performing the initialization, and when determining support,
Directly export the notice;
Wherein, the national code before the currently used virtual SIM card information correspondence change of the terminal.
4. method as claimed in claim 3, it is characterised in that the judgement terminal is currently used
The step of whether virtual SIM card information supports the mobile network of the current country of the terminal includes:
Compare the corresponding virtual SIM card information of the national code after the change and the currently used void of the terminal
Whether the international mobile subscriber identity and/or integrated circuit card identification code for intending SIM card information are identical, if not phase
Together, then it is assumed that the currently used virtual SIM card information of the terminal does not support the shifting of described terminal the country one belongs to
Dynamic network.
5. method as claimed in claim 2, it is characterised in that the country after the initialization change
The step of code corresponding virtual SIM card information, includes:
When the corresponding virtual SIM card information of the national code after the change has a plurality of, a plurality of void is initialized
Intend each in SIM card information, and the notice exported after every virtual SIM card information is initialized,
Until having traveled through a plurality of virtual SIM card information or being successfully registered to the corresponding network of the Mobile Network Code
Untill.
6. method as claimed in claim 2, it is characterised in that obtain the country after change from the terminal
The step of code corresponding virtual SIM card information, includes:
According to the national code after the change, the virtual SIM card information database of the terminal is inquired about, to obtain
Take the corresponding virtual SIM card information of the national code after the change;Or,
According to the national code after the change, the national code obtained from the terminal after the change is corresponding
Virtual SIM card is identified;And identified according to the virtual SIM card of the acquisition, inquire about virtual in the terminal
SIM card information database, to obtain the corresponding virtual SIM card information of the national code after the change.
7. the method as described in claim 1, it is characterised in that at least one set of APN and shifting
Dynamic network code is:Multigroup APN and Mobile Network Code;
Wherein, according to the multigroup APN and Mobile Network Code of the acquisition, connecing for the terminal is configured
Access point title and include the step of be registered to the Mobile Network Code corresponding network:
One group of access point to configure the terminal is chosen from the multigroup APN and Mobile Network Code
Title and it is registered to the corresponding network of the Mobile Network Code;
Treat after preset time, whether active inquiry network registry succeeds;And
If the network registry is unsuccessful, under using instead in multigroup APN and Mobile Network Code
One group of APN to configure the terminal and the corresponding network of the Mobile Network Code is registered to, directly
To inquiring network registry success or traveled through multigroup APN and Mobile Network Code.
8. the method as described in claim 1, it is characterised in that at least one set of APN and shifting
Dynamic network code is:Multigroup APN and Mobile Network Code;
Wherein, according to the multigroup APN and Mobile Network Code of the acquisition, connecing for the terminal is configured
Access point title and include the step of be registered to the Mobile Network Code corresponding network:
One group of access point to configure the terminal is chosen from the multigroup APN and Mobile Network Code
Title and it is registered to the corresponding network of the Mobile Network Code;
Whether the network registry that reception underlying protocol is reported successfully notifies;And
When receiving the notice of network registry failure, then multigroup APN and Mobile Network Code are used instead
In next group of APN to configure the terminal and be registered to the corresponding net of the Mobile Network Code
Network, until receiving network registry successfully notifies or traveled through multigroup APN and mobile network
Code.
9. a kind of terminal, the network registry for realizing virtual SIM card, it is characterised in that including:
APN module, for after the ready notice of virtual SIM card is received, according to the end
The current national code at end, obtains the corresponding at least one set of Access Point Name of the current national code from the terminal
Claim and Mobile Network Code;
Controller, at least one set of APN obtained according to described access point name module and movement
Network code, configures the APN of the terminal and is registered to the corresponding network of the Mobile Network Code.
10. terminal as claimed in claim 9, it is characterised in that also include:
Protocol module, the national code for detecting the terminal;
SIM card module, when being changed for detecting the national code of the terminal when the protocol module,
The corresponding virtual SIM card information of national code after change is obtained from the terminal, wherein the current country
Code is the change with the national code after changing;And
For initializing the corresponding virtual SIM card information of the national code after the change, then export described logical
Know.
11. the terminal as described in right wants 10, it is characterised in that also include:
The sim module, is additionally operable to judge whether the currently used virtual SIM card information of the terminal is supported
The mobile network of the current country of the terminal, and determine do not support when, perform the operation of the initialization,
And when determining support, directly export the notice;
Wherein, the national code before the currently used virtual SIM card information correspondence change of the terminal.
12. terminal as claimed in claim 11, it is characterised in that the sim module specifically for:Than
The corresponding virtual SIM card information of national code and the currently used virtual SIM of the terminal after the change
Whether the international mobile subscriber identity and/or integrated circuit card identification code of card information are identical, if differing,
Think that the currently used virtual SIM card information of the terminal does not support the mobile network of described terminal the country one belongs to.
13. terminal as claimed in claim 10, it is characterised in that the sim module, specifically for:
When the corresponding virtual SIM card information of the national code after the change has a plurality of, a plurality of void is initialized
Intend each in SIM card information, and the notice exported after every virtual SIM card information is initialized,
Until having traveled through a plurality of virtual SIM card information or being successfully registered to the corresponding network of the Mobile Network Code
Untill.
14. terminal as claimed in claim 10, it is characterised in that the sim module specifically for:Root
According to the national code after the change, the virtual SIM card information database of the terminal is inquired about, it is described to obtain
The corresponding virtual SIM card information of national code after change;Or, according to the national code after the change, from institute
State and the corresponding virtual SIM card mark of the national code after the change is obtained in terminal;And according to the acquisition
Virtual SIM card is identified, the virtual SIM card information database inquired about in the terminal, to obtain the change
The corresponding virtual SIM card information of national code afterwards.
15. terminal as claimed in claim 9, it is characterised in that at least one set of APN and
Mobile Network Code is:Multigroup APN and Mobile Network Code;
The controller specifically for:One group is chosen from the multigroup APN and Mobile Network Code to come
Configure the APN of the terminal and be registered to the corresponding network of the Mobile Network Code;
Whether the network registry that whether active inquiry network registry succeeds or reception underlying protocol is reported is successful
Notify;And
If the network registry is unsuccessful, under using instead in multigroup APN and Mobile Network Code
One group of APN to configure the terminal and the corresponding network of the Mobile Network Code is registered to, directly
Extremely the network registry is successful or has traveled through multigroup APN and Mobile Network Code.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610259517.1A CN107306389A (en) | 2016-04-22 | 2016-04-22 | The network registering method and terminal of virtual SIM card |
PCT/CN2016/102033 WO2017181623A1 (en) | 2016-04-22 | 2016-10-13 | Network registration method for virtual sim card and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610259517.1A CN107306389A (en) | 2016-04-22 | 2016-04-22 | The network registering method and terminal of virtual SIM card |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107306389A true CN107306389A (en) | 2017-10-31 |
Family
ID=60115581
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610259517.1A Pending CN107306389A (en) | 2016-04-22 | 2016-04-22 | The network registering method and terminal of virtual SIM card |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107306389A (en) |
WO (1) | WO2017181623A1 (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108156600A (en) * | 2017-12-20 | 2018-06-12 | 中国移动通信集团江苏有限公司 | Method, apparatus, equipment and the medium that Internet of Things network interface card APN is automatically configured |
CN109379779A (en) * | 2018-09-06 | 2019-02-22 | 深圳市广和通无线股份有限公司 | Dialup networking method, apparatus, computer equipment and storage medium |
WO2019128870A1 (en) * | 2017-12-29 | 2019-07-04 | 捷开通讯(深圳)有限公司 | Communication method and apparatus for virtual sim card, and electronic device |
CN112423287A (en) * | 2020-10-27 | 2021-02-26 | 深圳市广和通无线股份有限公司 | Control method and device for registration network, computer equipment and storage medium |
CN112565012A (en) * | 2020-12-01 | 2021-03-26 | 重庆芯讯通无线科技有限公司 | Automatic test method, system, medium and equipment for module first network finding time |
CN113645609A (en) * | 2021-10-14 | 2021-11-12 | 荣耀终端有限公司 | Network registration method, device and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102075903A (en) * | 2010-11-25 | 2011-05-25 | 中兴通讯股份有限公司 | Self-adaptive configuration method and device for mobile phone terminal |
US20140105199A1 (en) * | 2011-07-13 | 2014-04-17 | Huawei Technologies Co., Ltd. | Method and apparatus for automatic dialing access points |
CN103796196A (en) * | 2011-07-13 | 2014-05-14 | 华为终端有限公司 | Method and device for access point autodial |
CN104754579A (en) * | 2015-03-16 | 2015-07-01 | 联想(北京)有限公司 | Information processing method and electronic device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB0619711D0 (en) * | 2006-10-05 | 2006-11-15 | Christie Tyrone M | Virtual subscriber identities for mobile communications networks |
-
2016
- 2016-04-22 CN CN201610259517.1A patent/CN107306389A/en active Pending
- 2016-10-13 WO PCT/CN2016/102033 patent/WO2017181623A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102075903A (en) * | 2010-11-25 | 2011-05-25 | 中兴通讯股份有限公司 | Self-adaptive configuration method and device for mobile phone terminal |
US20140105199A1 (en) * | 2011-07-13 | 2014-04-17 | Huawei Technologies Co., Ltd. | Method and apparatus for automatic dialing access points |
CN103796196A (en) * | 2011-07-13 | 2014-05-14 | 华为终端有限公司 | Method and device for access point autodial |
CN104754579A (en) * | 2015-03-16 | 2015-07-01 | 联想(北京)有限公司 | Information processing method and electronic device |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108156600A (en) * | 2017-12-20 | 2018-06-12 | 中国移动通信集团江苏有限公司 | Method, apparatus, equipment and the medium that Internet of Things network interface card APN is automatically configured |
CN108156600B (en) * | 2017-12-20 | 2021-11-23 | 中国移动通信集团江苏有限公司 | Method, device, equipment and medium for automatically configuring APN (access point name) of Internet of things card |
WO2019128870A1 (en) * | 2017-12-29 | 2019-07-04 | 捷开通讯(深圳)有限公司 | Communication method and apparatus for virtual sim card, and electronic device |
CN109379779A (en) * | 2018-09-06 | 2019-02-22 | 深圳市广和通无线股份有限公司 | Dialup networking method, apparatus, computer equipment and storage medium |
CN109379779B (en) * | 2018-09-06 | 2022-03-15 | 深圳市广和通无线股份有限公司 | Dialing networking method and device, computer equipment and storage medium |
CN112423287A (en) * | 2020-10-27 | 2021-02-26 | 深圳市广和通无线股份有限公司 | Control method and device for registration network, computer equipment and storage medium |
CN112565012A (en) * | 2020-12-01 | 2021-03-26 | 重庆芯讯通无线科技有限公司 | Automatic test method, system, medium and equipment for module first network finding time |
CN113645609A (en) * | 2021-10-14 | 2021-11-12 | 荣耀终端有限公司 | Network registration method, device and storage medium |
CN113645609B (en) * | 2021-10-14 | 2022-02-08 | 荣耀终端有限公司 | Network registration method, device and storage medium |
Also Published As
Publication number | Publication date |
---|---|
WO2017181623A1 (en) | 2017-10-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107306389A (en) | The network registering method and terminal of virtual SIM card | |
CN104105166B (en) | A kind of mobile terminal looks for the method and mobile terminal of net automatically | |
CN100544479C (en) | Loaming method | |
CN103518401B (en) | Method for switching network and equipment | |
CN105916134A (en) | METHOD AND APPARATUS FOR SELECTING BOOTSTRAP Esims | |
CN105637498A (en) | Euicc management method, euicc, sm platform and system | |
US20080300022A1 (en) | Method and apparatus for parameter configuration for antenna line device | |
US8798581B2 (en) | Terminal and method for binding SIM card | |
KR102072592B1 (en) | METHOD FOR MANAGING IDENTIFIER OF eUICC AND APPARATUS FOR PERFORMING OF THE SAME | |
CN108052674A (en) | Quick Response Code uses processing method, device, system and readable storage medium storing program for executing | |
CN103702319B (en) | SIM (subscriber identity module) card, individualized card writing system and method as well as SIM card obtained according to method | |
CN101014168A (en) | Multi-network mode switching method and apparatus | |
CN101164297A (en) | Mobile station, and parameter configuring system and method used for mobile station | |
CN101917703B (en) | Communication intelligent card and card writing method thereof over the air | |
CN106416329A (en) | Provision of subscriber profile to a MME in case of roaming | |
CN110831077B (en) | Mobile data service switching method, terminal and computer storage medium | |
CN104010291B (en) | Network registering method and its device and mobile terminal | |
CN103888932A (en) | Intelligent card and method of intelligent card for supporting switching of multi-operator numbers | |
CN106162603A (en) | A kind of method and apparatus realizing card selection | |
CN105933954A (en) | Method and device for selecting network | |
CN105916131A (en) | Access control method and access control deice | |
CN102833821A (en) | Method and device for selecting network, and method and device for connecting network | |
CN104320833A (en) | Automatic network selecting method and system of mobile terminal | |
CN103813439A (en) | Method for terminal register and terminal | |
CN105636016A (en) | Method, apparatus, and system for network connection |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20171031 |