ESIM cards, automatic switchover eSIM cards configuration file method and systemTechnical field
This application involves field of communication technology, more particularly to the configuration file of a kind of eSIM cards, automatic switchover eSIM cardsMethod and system.
Background technology
With the gradual popularization of technology of Internet of things, the Internet of product of various forms progressively comes out and is needed with adapting to era developmentWill, wherein being no lack of more and more traditional equipments (such as automobile, monitoring device etc.) is embedded into communication module as Internet of Things endEnd.ESIM (universal embedded integrated circuit card) is the developing core place of Internet of Things, can make Internet of Things by eSIM technologiesTerminal logs in carrier network.In view of the coverage of the carrier network in country variant area is different, internet-of-things terminal is at any timeBe likely to be in roaming state, the terminal can normal quick registration their location carrier network it is most important.
At present, when internet-of-things terminal is in roaming, can select that roaming place network is roamed or logged in using legacy network.BeforePerson can produce high wandering fee.The latter needs first to download configuration file (profile, including file of roaming place operatorSystem, networking key parameter, auxiliary security domain, using etc. data) information, reach roaming place before and after need to pass through FTP client FTPManual switching eSIM Profile step on net to realize, but (such as wild animal tracking is fixed due to special circumstances for some internet-of-things terminalsPosition equipment etc.), manual switching is there are certain difficulty or can not realize manual switching, and very big inconvenience is brought to use.
The content of the invention
The purpose of the application be to provide a kind of eSIM cards, automatic switchover eSIM cards configuration file method and system,ESIM cards are made to automatically switch to the Profile of the preferred operator of random zone when being in roaming.
To reach above-mentioned purpose, the application provides a kind of method of the configuration file of automatic switchover eSIM cards, including as followsStep:The region and enter net state that detection terminal is presently in when eSIM is locking, to judge whether terminal is in roaming state;IfTerminal is in roaming state, then eSIM cards obtain inbound information of the terminal in current region, and are initiated to third party's management platformPreference lists obtain request, and preference lists, which obtain request, includes the operator's informaiton of current roaming;Receive third party's management platformThe preference lists for being presently in region issued and preservation, preference lists include at least one preferred operator;Judge eSIM cardsThe whether configuration file of the first preferred operator in preset preference lists;If eSIM cards are in preset preference listsThe configuration file of first preferred operator, then eSIM cards the configuration file of the former operator in it is switched to the first preferred operationThe configuration file of business, the terminal of notice installation eSIM cards are restarted and back into net operation.
As above, wherein, further include:If the configuration text of the first preferred operator in the not preset preference lists of eSIM cardsPart, then eSIM cards to third party's management platform initiate the first preferred operator configuration file download request;ESIM clampings are receivedThe download request of the configuration file for the first preferred operator that first operator forwards in response to third party's management platform and initiateTwo-way authentication;If two-way authentication is by the way that eSIM cards download the configuration text of the first preferred operator from the first operatorPart, after downloading successfully, eSIM cards send to the first preferred operator and third party's management platform and download success notification;ESIM cards willThe configuration file of former operator in it is switched to the configuration file of the first preferred operator, the terminals of notice installation eSIM cards intoRow restarts and back into net operation.
As above, wherein, further include:Judge whether eSIM cards successfully network the first preferred operator;If networking failure,The configuration file of the first preferred operator in it is switched to the configuration file of former operator by eSIM cards, is realized and is networked;eSIMCard judges to whether there is follow-up preferred operator in preference lists;If judge in preference lists there are follow-up preferred operatorThe configuration file of the whether preset follow-up preferred operator of eSIM cards;If the configuration of the not preset follow-up preferred operator of eSIM cardsThe configuration file of follow-up preferred operator is downloaded in file, then application;ESIM cards switch the configuration file of the former operator in itFor the configuration file of follow-up preferred operator, the terminal of notice installation eSIM cards is restarted and back into net operation;JudgeWhether eSIM cards successfully network follow-up preferred operator;If successfully networking follow-up preferred operator, to third party's management platformSend successfully inbound information;Otherwise, repeat the above steps, up to a preferred operation in eSIM cards successfully networking preference listsBusiness.
As above, wherein, further include:Third party's management platform meets in response to eSIM cards downloads the first preferred operatorThe condition of configuration file and the download request of the configuration file of the first preferred operator is transmitted to the first operator.
As above, wherein, multiple preferred operators in preference lists according to rate or the predefined procedure of signal strength intoRow arrangement.
The application also provides a kind of eSIM cards, including:Communication module, position and networking state detection module, roaming stateJudgment module, inbound information acquisition module, preference lists obtain request module, preference lists receiving module, preference lists storageModule, preset condition judgment module, automatic switching module and restart notification module;Communication module is used for flat with third party's managementPlatform and operator communicate;Position and networking state detection module, the terminal that eSIM cards are provided with for timing detection are currentResiding region and enter net state;Roaming state judgment module is connected with position and networking state detection module, for judging to fillWhether the terminal for having eSIM cards is in roaming state;Inbound information acquisition module is connected with roaming state judgment module, for endESIM cards obtain the inbound information of current region when end is in roaming state;Preference lists obtain request module and sentence with roaming stateDisconnected module is connected with communication module, obtains request for initiating preference lists to third party's management platform, preference lists obtain pleaseSeek the operator's informaiton including currently networking;Preference lists receiving module is connected with communication module, for receiving third party's managementWhat platform issued is presently in the preference lists in region, and preference lists include at least one preferred operator;Preference lists storeModule is connected with preference lists receiving module, for preserving preference lists;Preset condition judgment module and preference lists storage mouldWhether block connects, for judging the configuration file of preferred operator of the eSIM cards in preset preference lists;Automatic switchover mouldBlock is connected with preset condition judgment module, for the configuration in response to the preferred operator in eSIM cards preset preference listsFile and the configuration file that the configuration file of the former operator in it is switched to the preferred operator in preference lists;Restart logicalKnow that module is connected with automatic switching module and communication module, for notifying the terminal of installation eSIM cards restart and networking againOperation.
As above, wherein, configuration file download request module, two-way authentication module, download module are further included;Configuration fileDownload request module is connected with preset condition judgment module and communication module, in response in the not preset preference lists of eSIM cardsPreferred operator configuration file and the download of the configuration file of corresponding preferred operator is initiated to third party's management platformRequest;Two-way authentication module is connected with communication module, is turned for receiving shown preferred operator in response to third party's management platformThe download request of hair and the two-way authentication initiated;Download module and two-way authentication module, communication module and automatic switching moduleConnection, in response to two-way authentication by downloading the configuration file from preferred operator.
As above, wherein, networking judgment module, follow-up preferred operator judgment module and success inbound information are further includedSending module;Whether successfully networking judgment module is used to judge preferred operator of the eSIM cards in networking preference lists;Automatically cutMold changing block is connected with networking judgment module, is additionally operable to cut the configuration file of the preferred operator in it in response to networking failureThe configuration file of former operator is changed to, realizes and networks;Follow-up preferred operator judgment module and automatic switching module and preset shapeState judgment module connects, and judges for being switched to after the configuration file of former operator in preference lists with the presence or absence of follow-up preferred fortuneSeek business;Success inbound information sending module is connected with networking judgment module and communication module, for successfully entering in response to eSIM cardsPreferred operator in net preference lists and send successfully inbound information to third party's management platform.
As above, wherein, multiple preferred operators in preference lists according to rate or the predefined procedure of signal strength intoRow arrangement.
The application also provides a kind of system of the configuration file of automatic switchover eSIM cards, including eSIM cards, third party's managementPlatform, former operator and at least one preferred operator;Third party's management platform is used for:Receive the preferred row that eSIM cards are initiatedTable obtains request, and preference lists, which obtain request, includes the operator's informaiton of eSIM card current roamings;Obtained according to inbound information unrestrainedThe preference lists in region are swum, and preference lists are sent to eSIM cards, preference lists include at least one preferred operator;ForwardingThe download request of the configuration file of preferred operator in the preference lists that eSIM cards are initiated;Receive the configuration text that eSIM cards are sentInbound information is downloaded successfully and succeeded to part;Former operator be used to roaming to when entering random zone random zone network andThe preferred operator that eSIM cards are switched in preference lists networks and provides networking passage when failing for eSIM cards;Preferred operator is usedIn:In response to two-way authentication by issuing the configuration file of preferred operator to eSIM cards;Receive the configuration that eSIM cards are sentThe successful information of file download;Networking passage is provided for eSIM cards.
What the application realized has the beneficial effect that:
(1) Profile of the preferred operator of random zone is automatically switched to when the application makes eSIM cards in roaming, it is wholeA process is not required to user's manual operation, and user experience effect is good.
(2) terminal of the installation eSIM cards for batch or do not possess operating condition terminal, the application can realize basisInbound information is automatically downloaded in real time, switch operators information, international roaming cost is greatly lowered, and reduce user's operationCost.
Brief description of the drawings
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, below will be to embodiment or existingThere is attached drawing needed in technology description to be briefly described, it should be apparent that, drawings in the following description are only thisSome embodiments described in application, for those skilled in the art, can also obtain other attached according to these attached drawingsFigure.
Fig. 1 is the flow chart of the method for the configuration file of automatic switchover eSIM cards provided by the embodiments of the present application;
Fig. 2 is the flow chart for the profile that eSIM cards provided by the embodiments of the present application download preferred operator;
Fig. 3 is the structure chart of eSIM cards provided by the embodiments of the present application.
Embodiment
With reference to the attached drawing in the embodiment of the present application, the technical solution in the embodiment of the present application is carried out clear, completeGround describes, it is clear that described embodiment is some embodiments of the present application, instead of all the embodiments.Based on the applicationIn embodiment, those skilled in the art's all other embodiments obtained without making creative work, allBelong to the scope of the application protection.
The application provide automatic switchover eSIM cards configuration file system including eSIM cards, third party's management platform,Former operator and at least one preferred operator.
ESIM cards are installed in the terminal., can be according to preset regional (such as state of customer requirement when eSIM cards dispatch from the factoryFamily) operator profile.ESIM cards can also obtain the operator in the region in real time when roaming into some regionprofile。
Third party's management platform is used for:Receive the preference lists that eSIM cards are initiated and obtain request;Obtained according to inbound informationThe preference lists of random zone, and send preference lists to eSIM cards;Forward the preferred fortune in the preference lists of eSIM cards initiationSeek the download request of the configuration file of business and receive the configuration file that eSIM cards are sent and download successfully and succeed inbound information.
Former operator is that eSIM is stuck in the operator locally used, for roaming to random zone net during entrance random zoneNetwork and when preferred operator that eSIM cards are switched in the preference lists of random zone networks failure for eSIM cards provide intoNetcom road.
Preferred operator is used for:In response to two-way authentication by issuing the configuration file of preferred operator to eSIM cards;Receive the configuration file sent out on eSIM cards and download successfully notice;Networking passage is provided for eSIM cards.
Embodiment one
After equipment networks, eSIM cards can be with the inbound information in the active inquiry region, and information format is MCC (MobileCountry Code)+MNC(Mobile Network Code)。
Defined according to specification, MCC+MNC coded formats are as follows:
| MCC digit 2 | MCC digit 1 | 1st byte | 
| MNC digit 3 | MCC digit 3 | 2nd byte | 
| MNC digit 2 | MNC digit 1 | 3rd byte | 
Fig. 1 is the flow chart of the method for the configuration file of automatic switchover eSIM cards provided by the embodiments of the present application.Such as Fig. 1 institutesShow, the method for the configuration file of automatic switchover eSIM cards includes the following steps:
S101:Detection terminal is presently in when eSIM is locking region and at this time enter net state.
If networking status display has networked, S102 is performed.
S102:ESIM cards are according to the positional information for being presently in region of acquisition and the affiliated area position of former operatorWhether information is identical to judge whether terminal is in roaming state.
If terminal is in roaming state, S103 is performed;Otherwise, S101 is returned.
S103:ESIM cards obtain the inbound information of current region.
For example, external terminal is reached after China in roaming, Chinese operator is China Mobile, China Telecom, inState's unicom.ESIM cards check the network for having roamed access China Mobile, then the inbound information got is 64F020.
S104:ESIM cards initiate preference lists to third party's management platform and obtain request, and preference lists, which obtain request, to be includedThe operator's informaiton of terminal current roaming.For example, it is preferable to list, which obtains request, includes inbound information 64F020.
After third party's management platform receives inbound information 64F020, in being with knowing eSIM card current roamings by analysisThe preference lists of China are handed down to eSIM cards by state, third party's management platform, and preference lists include at least one preferred operator.Preferred operator in preference lists is presented with MCC+MNC, the form of 3 one group of bytes.Multiple preferred operations in preference listsBusiness can be ranked up with factors such as rate or signal strengths or according to the order of user preset, as table data is64F03064F02064F010。
S105:The preference lists for being presently in region that third party's management platform issues and preservation are received in eSIM clampings.
S106:Whether eSIM cards judge its (such as 64F030 China of the first preferred operator in preset preference listsTelecommunications) configuration file.
If the configuration file of eSIM cards the first preferred operator in preset preference lists, performs S107-108;Otherwise, S109 is performed.
S107:The configuration file of former operator in it is switched to the configuration file of the first preferred operator by eSIM cards.
S108:ESIM cartoons know that the terminal of installation eSIM cards is restarted and back into net operation.
S109:The configuration file (as shown in Figure 2) of the first preferred operator is downloaded in the request of eSIM cards.
After eSIM cards download the configuration file of the first preferred operator, S107-108 is continued to execute.
Preferably, the configuration file of former operator is switched to the configuration file of the first preferred operator, terminal restart intoRow networks again, after stablizing, continues to execute following steps:
S110:ESIM cards judge whether eSIM cards successfully network the first preferred operator.
If networking successfully, S111 is performed:Successfully inbound information is sent to third party's management platform, the success inbound informationOperator's informaiton including renewal.
If the failure that networks (such as preferred operator network networks after the temporary transient no signal in the region causes switching to fail),Perform S112:The configuration file of the first preferred operator in it is switched to the configuration file of former operator by eSIM cards, is realizedNetwork, it is ensured that eSIM cards are continuously in into net state, can carry out follow-up operation.
S113:ESIM cards judge to whether there is follow-up preferred operator in preference lists.
If follow-up preferred operator is not present in preference lists, terminate the flow, eSIM cards are continuing with former operationBusiness, is handled by the switching networking of preference lists progress Profile again after waiting the scheduled time.
Otherwise, S114 is performed:ESIM cards judge the configuration file of the whether preset follow-up preferred operator of eSIM cards.
If the configuration file of the preset follow-up preferred operator of eSIM cards, directly performs S116;Otherwise, performS115。
S115:ESIM cards download the configuration file (as shown in Figure 2) of follow-up preferred operator.
S116:The configuration file of former operator in it is switched to the configuration file of follow-up preferred operator by eSIM cards,The terminal of notice installation eSIM cards is restarted and back into net operation.
After eSIM cards switch to the configuration file of follow-up operator, judge whether eSIM cards successfully network and subsequently preferably runBusiness (S110).
If networking follow-up preferred operator not successfully, repeatedly S112-S116, the preference lists until eSIM cards successfully networkIn a preferred operator or because terminating flow there is no follow-up preferred operator.
If the preferred operator in the preference lists that cannot network because of special circumstances such as network reasons, the automatic switchback of eSIM cardsFormer operator, wait are again attempted to switch and networked according to preference lists order after a certain period of time.
Specifically, as shown in Fig. 2, the configuration file (being suitable for S109 and S115) for downloading preferred operator includes following stepSuddenly:
S201:ESIM cards initiate the download request of the configuration file of preferred operator, the download to third party's management platformRequest includes the ID of operator's informaiton and eSIM cards.
S202:Third party's management platform verifies the operator's informaiton obtained after the roaming states of the eSIM cards in download request(i.e. MCC+MNC).
S203:Whether third party's management platform inquiry eSIM cards can download the profile of the operator.
Alternatively, third party's management platform confirms whether eSIM cards meet the profile of operator according to the ID of eSIM cardsDownload condition.
Alternatively, third party's management platform confirms to be presently in whether region is installation eSIM cards according to the ID of eSIM cardsThe Off Limits of terminal.Preferably, on this basis, if third party's management platform confirms to be presently in region for installation eSIM cardsTerminal Off Limits, then notify eSIM cards, eSIM cards give a warning to terminal and information and terminate application process.
If third party's management platform judges that eSIM cards cannot download the profile of the operator, eSIM cards, eSIM are notifiedCard initiates download request (returning to S201) again after selecting follow-up preferred operator.
Otherwise, S204 is performed:The download request of the configuration file of operator is transmitted to operator by third party's management platform,Operator is notified to download profile.
S205:ESIM cards carry out two-way authentication with operator.
Alternatively, in two-way authentication, eSIM cards confirm whether the certificate of the two is homologous with root with operator, and consultThe information such as the key of subsequent download Profile data encryptions.
If two-way authentication is by performing S206:Operator issues profile data.
S207:ESIM cards are downloaded and preserve operator's informaiton and its profile data.
Preferably, preferred operator issues profile data by encrypted tunnel to eSIM cards.
S208:ESIM cards send to preferred operator and download success notification.
S209:ESIM cards send to third party's management platform and download success notification.
Embodiment two
Present invention also provides eSIM cards corresponding with the above method.Fig. 3 is eSIM cards provided by the embodiments of the present applicationStructure chart.
Sentence as shown in figure 3, eSIM cards include communication module 301, position and networking state detection module 302, roaming stateDisconnected module 303, inbound information acquisition module 304, preference lists obtain request module 305, preference lists receiving module 306, excellentSelect list memory module 307, preset condition judgment module 308, automatic switching module 309, restart notification module 311, configuration textPart download request module 312, two-way authentication module 313, download module 314, networking judgment module 315, follow-up preferred operatorJudgment module 316 and success inbound information sending module 310.
Communication module 301 is used to communicate with third party's management platform and operator.
Position and networking state detection module 302 are used for timing detection and are provided with the region that the terminal of eSIM cards is presently inAnd enter net state.
Enter net state roaming state judgment module 303 to be connected with position and networking state detection module 302, work as basisWhether the networking condition adjudgement eSIM cards of preceding residing region or former operator are in roaming state.
Inbound information acquisition module 304 is connected with roaming state judgment module 303, for being in roaming shape in response to terminalESIM cards obtain the inbound information of current region during state.
Preference lists obtain request module 305 be connected with roaming state judgment module 303 and communication module 301, forThird party's management platform initiates preference lists and obtains request, and preference lists obtain the operator's informaiton that request includes currently networking.
Preference lists receiving module 306 is connected with communication module 301, for receive third party's management platform issue it is currentThe preference lists in residing region, preference lists include at least one preferred operator.
Preference lists memory module 307 is connected with preference lists receiving module 306, for preserving preference lists.
Preset condition judgment module 308 is connected with preference lists memory module 307, for judging whether eSIM cards are pre-Put the configuration file of the preferred operator in preference lists.
Automatic switching module 309 is connected with preset condition judgment module 308, for preset preferably in response to eSIM cardsThe configuration file of preferred operator in list and the configuration file of the former operator in it is switched to excellent in preference listsSelect the configuration file of operator.
Restart notification module 311 to be connected with automatic switching module 309 and communication module 301, for notifying to install eSIM cardsTerminal restarted and back into net operation.
Configuration file download request module 312 is connected with preset condition judgment module 308 and communication module 301, for ringingIt should be initiated in the configuration file of the preferred operator in the not preset preference lists of eSIM cards to third party's management platform correspondingThe download request of the configuration file of preferred operator.
Two-way authentication module 313 is connected with communication module 301, flat in response to third party's management for receiving preferred operatorThe download request of the configuration file of the preferred operator of platform forwarding and the two-way authentication initiated.
Download module 314 is connected with two-way authentication module 313, communication module 301 and automatic switching module 309, is used forIn response to two-way authentication by downloading the configuration file from the preferred operator.
After the configuration file of preferred operator is downloaded, eSIM cards are by automatic switching module 309 automatically by former operatorConfiguration file is switched to the configuration file of the preferred operator.
Whether successfully networking judgment module 315 is used to judge preferred operator of the eSIM cards in networking preference lists.IfNetwork failure, and the configuration file of the preferred operator in it is switched to the configuration file of former operator by automatic switching module 309,Realize that eSIM clampings continue networking.
Follow-up preferred operator judgment module 316 is connected with automatic switching module 309 and preset condition judgment module 308,Judge to whether there is follow-up preferred operator in preference lists for being switched to after the configuration file of former operator.
If there is follow-up preferred operator, then judge whether eSIM cards are prefixed by preset condition judgment module 308The configuration file of the preferred operator.
Success inbound information sending module 310 is connected with networking judgment module 315 and communication module 301, in response toESIM cards successfully the preferred operator in networking preference lists and send successfully inbound information to third party's management platform.
The application has the advantages that:
(1) the application is in the Profile for the preferred operator that random zone is automatically switched to during roaming in eSIM cards, wholeA process is not required to user's manual operation, and user experience effect is good.
(2) terminal of the installation eSIM cards for batch or do not possess operating condition terminal, the application can realize basisInbound information is automatically downloaded in real time, switch operators information, international roaming cost is greatly lowered, and reduce user's operationCost.
Although having been described for the preferred embodiment of the application, those skilled in the art once know basic creationProperty concept, then can make these embodiments other change and modification.So appended claims be intended to be construed to include it is excellentSelect embodiment and fall into all change and modification of the application scope.Obviously, those skilled in the art can be to the applicationVarious modification and variations are carried out without departing from spirit and scope.If in this way, these modifications and variations of the applicationBelong within the scope of the application claim and its equivalent technologies, then the application is also intended to exist comprising these modification and variationsIt is interior.