CN110381501A - A kind of determination method and device of targeted carrier - Google Patents
A kind of determination method and device of targeted carrier Download PDFInfo
- Publication number
- CN110381501A CN110381501A CN201910645382.6A CN201910645382A CN110381501A CN 110381501 A CN110381501 A CN 110381501A CN 201910645382 A CN201910645382 A CN 201910645382A CN 110381501 A CN110381501 A CN 110381501A
- Authority
- CN
- China
- Prior art keywords
- operator
- current
- sim card
- net
- white list
- 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
- H04W36/00—Hand-off or reselection arrangements
- H04W36/0005—Control or signalling for completing the hand-off
- H04W36/0011—Control or signalling for completing the hand-off for data sessions of end-to-end connection
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/14—Reselecting a network or an air interface
-
- 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/20—Transfer of user or subscriber data
- H04W8/205—Transfer to or from user equipment or user record carrier
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W88/00—Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
- H04W88/02—Terminal devices
- H04W88/06—Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Telephonic Communication Services (AREA)
Abstract
The embodiment of the present application provides the determination method and device of targeted carrier a kind of, wherein the described method includes: whether the upper targeted carrier of judgement can access;If it is not, then judgement is searched in the preceding white list of net with the presence or absence of available carriers;If it is not, then determining whole available carriers according to the operator's informaiton of current network environment and current SIM card and searching white list after net;According to all available carriers and the operator searched after net on white list, targeted carrier is determined.The determination method and device of targeted carrier provided herein, can effectively reduce network entry time, simultaneously, since white list all has ranking function after searching the preceding white list of net and searching net, thereby it is ensured that the operator determined is most preferred operator, to reduce user's loss.
Description
Technical field
This application involves mobile data communication field more particularly to the determination method and devices of targeted carrier a kind of.
Background technique
Communication apparatus needs to reattempt to and accesses current nothing when switching place or ambient network environment changes
Gauze network.It automatically accesses in general, accessing current wireless network and being divided into and accesses both of which manually.
If communication apparatus accesses current wireless network using the mode automatically accessed, specifically, communication apparatus can be first
Current network environment is first obtained, then randomly chooses one from numerous accessible operators corresponding to current network environment
A access.If communication apparatus accesses current wireless network using the mode accessed manually, specifically, communication apparatus can be first
Current network environment is obtained, then manually selects one from numerous accessible operators corresponding to current network environment
Access.
But there are some problems in above two access module.For mode is automatically accessed, due to each accessible fortune
It seeks between quotient there are difference such as access speed, rate, selected operator may not be optimal operator, cause the damage of user
It loses.For manual access module, although the operator of unrestricted choice needs is capable of in access manually, equipment component does not have
The condition of user's manual operation still needs for this equipment component using automatic so that being difficult to realize the operation accessed manually
Access module.
Summary of the invention
This application provides the determination method and devices of targeted carrier a kind of, can not be accurate to solve existing access module
The problem of determining optimal operator.
In a first aspect, the embodiment of the present application provides the determination method of targeted carrier a kind of, comprising:
Judge whether a upper targeted carrier can access, a upper targeted carrier is that a networking is dynamic on current SIM card
Operator used by making successfully;
If it is not, then judging to search with the presence or absence of available carriers in the preceding white list of net, the preceding white list of net of searching is current
SIM card is corresponding, and the list of whole operators with stationary arrangement sequence, and the available carriers are that current SIM card can
To complete the operator of networking movement;
If it is not, then according to the operator's informaiton of current network environment and current SIM card, determining whole available carriers,
And search net after white list, it is described search net after white list be current SIM card it is corresponding under the current network environment, and have arrangement
The list of whole operators of sequence;
According to all available carriers and the operator searched after net on white list, targeted carrier is determined.
Second aspect, this application provides the determining devices of targeted carrier a kind of, comprising:
First judging unit, for judging whether a upper targeted carrier can access, a upper targeted carrier is to work as
Operator used by a networking acts successfully in preceding SIM card;
Second judgment unit, it is described to search for whether there is available carriers if it is not, then judging to search in the preceding white list of net
White list is that current SIM card is corresponding, and has the list of whole operators of stationary arrangement sequence before netting, the operation
Quotient is the operator that current SIM card can complete networking movement;
Available carriers determination unit, for if it is not, then being believed according to the operator of current network environment and current SIM card
Breath, determine whole available carriers and search net after white list, it is described search net after white list be current SIM card in current network
It is corresponding under environment, and there is the list of the whole operators to put in order;
Targeted carrier's determination unit, for according to all available carriers and the fortune searched after net on white list
Quotient is sought, determines targeted carrier.
By the above technology it is found that the embodiment of the present application provides the determination method and device of targeted carrier a kind of, firstly,
Judge whether a upper targeted carrier can access, if can access, can directly enter an online targeted carrier, without attempting
Other operators, to reduce network entry time;If not can access, first without searching net, and be to continue with judgement search it is white before net
It whether there is available carriers in list, if it is present the available carriers that can directly network, to avoid searching net waste
Time;If it does not exist, then net is searched in expansion, according to the operator's informaiton of current network environment and current SIM card, determination all may be used
With operator and search net after white list, and determine targeted carrier, network the targeted carrier.Target fortune provided herein
The determination method and device for seeking quotient, can effectively reduce network entry time, simultaneously as searching white list before net and searching white list after net
Ranking function is all had, thereby it is ensured that the operator determined is most preferred operator, to reduce user's loss.
Detailed description of the invention
In order to illustrate more clearly of the technical solution of the application, letter will be made to attached drawing needed in the embodiment below
Singly introduce, it should be apparent that, for those of ordinary skills, without any creative labor,
It is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of flow chart of the determination method of targeted carrier provided by the embodiments of the present application;
Fig. 2 is the process for the method that whether a targeted carrier can access in a kind of judgement provided by the embodiments of the present application
Figure;
Fig. 3 is a kind of flow chart of method for updating national coding provided by the embodiments of the present application;
Fig. 4 is that the process netted and whether there is available carriers in preceding white list is searched in a kind of judgement provided by the embodiments of the present application
Figure;
Fig. 5 is a kind of flow chart of the method for determining whole available carriers provided by the embodiments of the present application;
Fig. 6 is a kind of flow chart for enabling caching and searching the method for net result provided by the embodiments of the present application;
Fig. 7 is a kind of flow chart of the method for determining targeted carrier provided by the embodiments of the present application;
Fig. 8 is a kind of flow chart of the method for determining targeted carrier provided by the embodiments of the present application;
Fig. 9 is a kind of schematic diagram of the determining device of targeted carrier provided by the embodiments of the present application.
Specific embodiment
In order to make those skilled in the art better understand the technical solutions in the application, below in conjunction with of the invention real
The attached drawing in example is applied, the technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described implementation
Example is only a part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, this field is common
The application protection all should belong in technical staff's every other embodiment obtained without making creative work
Range.
Communication apparatus needs to reattempt to and accesses current nothing when switching place or ambient network environment changes
Gauze network.It automatically accesses in general, accessing current wireless network and being divided into and accesses both of which manually.
If communication apparatus accesses current wireless network using the mode automatically accessed, specifically, communication apparatus can be first
Current network environment is first obtained, then randomly chooses one from numerous accessible operators corresponding to current network environment
A access.If communication apparatus accesses current wireless network using the mode accessed manually, specifically, communication apparatus can be first
Current network environment is obtained, then manually selects one from numerous accessible operators corresponding to current network environment
Access.
But there are some problems in above two access module.For mode is automatically accessed, due to each accessible fortune
It seeks between quotient there are difference such as access speed, rate, selected operator may not be optimal operator, cause the damage of user
It loses.For manual access module, although the operator of unrestricted choice needs is capable of in access manually, equipment component does not have
The condition of user's manual operation still needs for this equipment component using automatic so that being difficult to realize the operation accessed manually
Access module still can not accurately determine optimal operator.
To solve the above-mentioned problems, the embodiment of the present application provides the determination method and device of targeted carrier a kind of.
Here is the present processes embodiment.
Fig. 1 is a kind of flow chart of the determination method of targeted carrier provided by the embodiments of the present application.This method can answer
It is a variety of with SIM for server, PC (PC), tablet computer, mobile phone, virtual reality device, intelligent wearable device etc.
In the equipment of card.
As shown in Figure 1, method includes the following steps:
Whether S1, the upper targeted carrier of judgement can access, and a upper targeted carrier is a networking on current SIM card
Operator used by acting successfully.
Equipment where current SIM card may be migrated with the movement of user to other regions, corresponding to different regions
Network it is different, therefore, when region is changed, current SIM card needs network according to corresponding to current region is again true
Surely accessible operator;Alternatively, the fluctuating change of network environment occurs for the region where current SIM card, may enable originally can
The network change of access is the network that can not be accessed, at this time, it is also desirable to which current SIM card is redefined according to current network environment can
The operator of access.The last networking movement of the current SIM card before networking baulk is defined in the embodiment of the present application
The corresponding operator of success is a upper targeted carrier, it should be noted that a upper targeted carrier acts successfully in networking
Later, it may be changed to the operator of networking baulk due to the above reasons,;A targeted carrier is also possible to network
Until current time still maintains networking and acts successfully after acting successfully.
Change occurs for region or fluctuating change occurs for network environment, it is possible to accessible operator can be enabled to become
More, but it is also possible to which a upper targeted carrier still can access, without changing.At this point, redefining target operation
Shang Shi, needs to first determine whether a targeted carrier can access.
Specifically, as shown in Fig. 2, being that whether a targeted carrier can access in a kind of judgement provided by the embodiments of the present application
Method flow chart, which comprises
Whether S101, the upper targeted carrier of judgement belong to interim blacklist, and the interim blacklist is current SIM card
The list of operator corresponding to networking baulk in current available machine time section, wherein the current available machine time section is
Current SIM card is switched on period at moment to current time recently.
It is the characteristic to fail, institute with restarting equipment where interim blacklist is stored in current SIM card in the memory of equipment
The period recorded using interim blacklist is switched on moment to current time recently as current SIM card.For example, current SIM card is most
The nearly booting moment is 8:00 on June 27th, 2019, and current time is 8:00 on June 28th, 2019, then, on June 27th, 2019
8:00-2019 8:00 on June 28 is current available machine time section.If equipment was on June 28th, 2019 where current SIM card
00:00 is restarted, then, 00:00 on June 28 in 2019 is booting moment recently, on June 28th, 2019 00:00-2019
8:00 on June 28, is current available machine time section.It should be noted that even if restarting since equipment electricity exhausts, is
System operation is forced the reasons such as to restart, and can also redefine the booting moment recently.
In current available machine time section, current SIM can attempt networking movement many times, still, not each networking movement
It can succeed, failure operator corresponding to networking baulk is placed on record, so that current SIM card attempts networking movement
When, it can go to attempt to access other operators with these failure operators of direct hedge, access these mistakes again to reduce
The time wasted when imitating operator, to improve networking efficiency.
Wherein, by the characteristic that the restarting equipment that interim blacklist has fails, it can guarantee interim blacklist
Timeliness avoids the operator on interim blacklist is accumulative from increasing, and avoid existing operator on interim blacklist can
It is changed with property, and interim blacklist cannot change in time and the quantity of true available carriers is caused to reduce.
A upper targeted carrier is compared with interim blacklist, whether can be returned with a targeted carrier in accurate judgement
Belong to interim blacklist.
If a upper targeted carrier belongs to interim blacklist, illustrate a targeted carrier networking act successfully it
Afterwards, due to factors such as region change, change of network environment, networking baulk is caused.At this point, a upper targeted carrier without
Method guarantees that current SIM card successfully connects net, it is thus impossible to enough be further continued for the mesh for selecting a targeted carrier to act for this networking
Operator is marked, needs to redefine targeted carrier.
S102, if it is not, then obtaining caching national coding corresponding to current SIM card, the caching national coding is works as
The corresponding national coding of upper networking movement of the preceding SIM card in the current available machine time section.
S103, according to the caching national coding, determine that common blacklist, the common blacklist are current SIM card pair
The list for the disabling operator for answering caching country number to generate.
If a upper targeted carrier does not belong to interim blacklist, illustrate that a targeted carrier acts successfully in networking
Later, even if networking can still be maintained and act successfully due to factors such as region change, change of network environment.At this time, it may be necessary into
One step investigates whether a upper targeted carrier meets the requirement of current region, network environment to operator.
In general, the different administrative regions in each country, each country can be for reasons such as policy, business associates to can
Restriction is made with operator.For example, the corresponding available carriers of China are China Mobile, China Unicom, China Telecom etc., and it is beautiful
The corresponding available carriers of state are Verizon Wireless, AT&T Mobility, Sprint Nextel, T-Mobile USA
Deng;The corresponding available carriers in Continental Area of China are China Mobile, China Unicom, China Telecom etc., and Hong-Kong
The corresponding available carriers in area are Hong Kong mobile communication and note phone, digital news, China Mobile's millions of people phone etc. of being powered;And it is each
A area due to the network coverage difference, there are some areas corresponding part operator, and non-corresponding whole operator.Accordingly
, each of each country, each country area also can do rising limit to disabling operator for reasons such as policy, business associates
It is fixed.For example, area A for the reason of the business associate, disables a operator, can only open b, c and d operator.
Therefore, a common blacklist can be determined first according to the different administrative regions in country, country
(Forbidden Public Land Mobile Network, FPLMN), shows the country or the administrative region is prohibited
Whole operators.Wherein, administrative region national, in country can pass through the national coding (Mobile of unique identification
Country Code, MCC) it distinguishes, such as China Partial administrative region is 460, part administrative region is 461, Chinese Fragrant
Port is 454, the U.S. 310.The i.e. corresponding a common blacklist of each national coding, therefore, by obtaining national coding, i.e.,
Common blacklist can be obtained.
In general, equipment, which is currently located region, to be known by network insertion result, therefore, current SIM card is being attempted to connect
When entering network, and having no network insertion result, current SIM card can not know that equipment is currently located region.Current SIM card is at this
Caching national coding is obtained by each result before attempting access network, therefore, attempts the rank of access network in current SIM card
Section, can be subject to the caching national coding first, obtain its corresponding common blacklist.
S104, judge whether a upper targeted carrier belongs to the common blacklist.
It, can be in accurate judgement by comparing a upper targeted carrier and common blacklist after obtaining common black bright list
Whether one targeted carrier belongs to common blacklist.
S105, if it is, a upper targeted carrier not can access, if it is not, then a upper targeted carrier
It can access.
If a upper targeted carrier belongs to common blacklist, illustrate a targeted carrier for caching national coding
The operator that corresponding region is disabled allows to be successfully accessed, also unusable, needs to redefine targeted carrier;Such as
The upper targeted carrier of fruit does not belong to common blacklist, then illustrating a upper targeted carrier not is that caching national coding corresponds to area
The operator that domain is disabled can be used, as long as can be successfully accessed without redefining targeted carrier, to reduce
Network entry time.
Further, as shown in figure 3, for a kind of process for the method for updating national coding provided by the embodiments of the present application
Figure, which comprises
S111, networking as a result, determining the true national coding of current SIM according to a upper targeted carrier.
After a upper targeted carrier networks, no matter networking is acted successfully or networking baulk, can correspond to acquisition
It networks as a result, specifically, networking result includes at least the information such as networking failure cause code, national coding, country here compiles
Code is the true national coding in current SIM card location.
If S112, the caching national coding and the true national coding are inconsistent, the caching country is replaced
It is encoded to the true national coding.
Caching national coding by the information that is stored before being current SIM card generation area change etc., having very much can
Caching national coding and the inconsistent situation of true national coding can be will appear, although not will cause shadow to current networking judgement
It rings, still, the true national coding obtained now, the caching national coding that will be obtained when being acted as networking next time, therefore,
The movement of networking next time can be had an impact.In order to guarantee the opposite timeliness of national coding information, need to timely update caching
National coding becomes new caching national coding that is, with current resulting true national coding replacement caching national coding, for
The use of the movement of networking next time.
S2, it whether there is available carriers if it is not, then judging to search in the preceding white list of net, the preceding white list of net of searching is to work as
Preceding SIM card is corresponding, and the list of whole operators with stationary arrangement sequence, and the available carriers are current SIM card
It can complete the operator of networking movement.
If knowing that a upper targeted carrier is unavailable through the above steps, need to redefine targeted carrier.By
Above it will be appreciated that each national coding corresponding one determining white list before searching net, the white list is unrelated with network environment, with
Current SIM card is related to national coding.It is that current SIM card is permitted under corresponding national coding that this, which searches the operator netted on preceding white list,
Perhaps the whole operators accessed.Therefore, before making assessment to network environment, that is, before searching net, first judge that this searches white name before net
With the presence or absence of the operator that can be successfully accessed in list, it can greatly save to search and net the wasted time, when so as to shorten networking
Between.
Specifically, as shown in figure 4, searching before net in white list for a kind of judgement provided by the embodiments of the present application with the presence or absence of can
With the flow chart of operator, which comprises
S201, caching national coding corresponding to current SIM card is obtained, the caching national coding is that current SIM card exists
National coding corresponding to upper networking movement in the current available machine time section.
Current SIM card is obtained according to the networking result caching national coding that determines and store before, detailed process referring to
S103 above, details are not described herein again.
S202, according to it is described caching national coding and current SIM card operator's informaiton, determine search net before white list.
From the foregoing, it can be understood that it is each country, it is each country in different administrative regions can have it is corresponding allow using fortune
Seek quotient, and operator corresponding to different SIM cards also have allow using different operators.Therefore, it is necessary to roots simultaneously
According to the operator's informaiton of caching national coding and current SIM card, white list before searching net is determined.For example, caching national coding aaa institute
It is corresponding allow using operator be A, B, C, D, allow corresponding to current SIM card using operator be B, C, D, F, then
Actually allow using operator be B, C, D.Meanwhile searching and netting preceding white list putting in order with fixation, that is, search white name before net
Each operator in list has certain sequence.It is described put in order usually integrate rate, network speed, network quality etc. because
Element, and serialization is carried out according to the sequence from excellent to secondary.
Therefore, if can not only know the available carriers for currently allowing to access, while energy by white list before searching net
Enough know the preferred access sequence of each available carriers, and attempt to network according to this sequence, to guarantee access
Operator is optimal operator.
S203, determine that the corresponding interim blacklist of current SIM card, the interim blacklist are that current SIM card is opened currently
The list of operator corresponding to networking baulk in the machine period, wherein the current available machine time section is current SIM card
The period at booting moment to current time recently.
From the foregoing, it can be understood that current SIM card can generate the record of networking baulk in current available machine time section, in order to advise
It keeps away and again attempts to access failure operator corresponding to these networking baulk, then these failure operators are generated one by selection
The interim blacklist of part, avoids current SIM card from accessing whole operators on interim blacklist, to reduce in failure operator
It attempts to access the wasted time, shortens network entry time.
S204, rejecting and duplicate operator in the interim blacklist in the preceding white list of net are searched from described, can be used
Operator's white list.
After the interim blacklist of determination, the operator occurred in interim blacklist is rejected from searching to net in preceding white list, i.e.,
It can obtain the whole operators for allowing access and the baulk that do not network before.For example, search net before white list be B, C, D, temporarily
Blacklist is C, then available carriers white list is B, D.It should be noted that the rejecting movement in this step, can't change
Become to search and net putting in order for preceding white list Zhong Ge operator, therefore, available carriers white list Zhong Ge operator generated is still
So there is putting in order from excellent to secondary.
S205, according to the sequence of the available carriers white list, be sequentially connected in the available carriers white list
Operator.
According to the sequence of available carriers white list, each available carriers are sequentially connected, i.e., according to suitable from excellent to secondary
Sequence is successively attempted to connect each operator, once successful connection, then illustrate that the operator can be used as targeted carrier and connect
It connects.If all operation commercial city connection failures, illustrates to search in the preceding white list of net and there is no can be used as targeted carrier's
Operator, therefore, it is necessary to further determine that targeted carrier.
S3, if it is not, then according to the operator's informaiton of current network environment and current SIM card, determining all can be with runing
Quotient and search white list after net, it is described search net after white list be that current SIM card is corresponding under the current network environment, and have
The list of the whole operators to put in order.
If searching each operator before netting in white list is also unable to satisfy access demand, need according to current network ring
The operator's informaiton of border and current SIM card determines whole available carriers and searches white list after net.
In general, the operator of current SIM card access network can be supported to be different under different network environments, such as
Under some network environments, part originally can support current SIM card access network operator due to current network quality compared with
The reasons such as difference can not then continue the movement for supporting current SIM card access network, and therefore, these operators do not meet available fortune then
The requirement of quotient is sought, and the requirement for supporting the operator of current SIM card access network then to meet available carriers can be continued.And
After search for networks, correspond to current SIM card and current network environment, portion can be regenerated and search white list after net, this searches net
White list is the white list comprising allowing to access and combine the operator after current network environment is ranked up afterwards.For example,
Current SIM card allow access operator be A, B, C, D, according to the superiority and inferiority of current network environment be ordered as from high to low B, D, A,
The factors such as C, then comprehensive rate, are ranked up four operators, generate final white list B, A, D, C after searching net.If searched
White list is A, B, C, D before net, it is clear that white list has differences with the preceding white list of net is searched after searching net.It should be noted that searching net
Preceding white list and search net after white list may also be according to practical factor, there is no the differences in sequence.
Specifically, as shown in figure 5, for a kind of stream of the method for determining whole available carriers provided by the embodiments of the present application
Cheng Tu, which comprises
S301, caching national coding corresponding to current SIM card is obtained, the caching national coding is that current SIM card exists
National coding corresponding to upper networking movement in the current available machine time section.
Current SIM card is obtained according to the networking result caching national coding that determines and store before, detailed process referring to
S103 above, details are not described herein again.
S302, according to it is described caching national coding and current SIM card operator's informaiton, determine common blacklist and the overall situation
Blacklist, the common blacklist are that common blacklist is the disabling fortune that current SIM card corresponds to that caching country number generates
The list of quotient is sought, the overall situation blacklist is the name for the operator that current SIM card permanently disables under caching country number
It is single.
There are the operator of corresponding disabling, these operators point in different administrative regions in each country, each country
For two classes, one kind is the common blacklist determined jointly according to country or administrative region and SIM card, common blacklist meeting
The different from according to the difference of SIM card, while can be changed according to policy, variation of business associate etc.;It is another kind of be by
The operator that all SIM cards permanently disable blacklist generated, i.e., global blacklist (Global Forbidden
Public Land Mobile Network, GFPLMN).
Therefore the access demand that the operator occurred on above-mentioned two classes blacklist cannot achieve current SIM card passes through head
It first determines the operator of these disablings, i.e., common blacklist and global blacklist, trial can be evaded and access these operators,
To reduce network entry time.
S303, according to current network environment, determine all operators to be selected.
In general, network environment includes the parameters such as network connection speed, network quality, network insertion quantity.Even if identical
Region, different network environments can be also presented in different operators.For example, operator corresponding to the region X include A, B, C,
D, E knows that the network quality of A is poor according to current network environment, regular network fluctuation phenomenon occur, causes regular disconnected
Net, therefore, the network environment of A are poor, are unable to satisfy access conditions;And the network environment of B, C, D, E are preferable, accordingly, it is determined that B,
C, D, E are operator to be selected.It should be noted that the operator to be selected according to determined by current network environment be not it is fixed not
Become, current network environment changes, then operator to be selected can also change therewith.
S304, it is repeated from rejecting in whole operator to be selected and the common blacklist and the global blacklist
Operator, obtain whole available carriers.
From the operator occurred in common blacklist and global blacklist is rejected in all operators to be selected, can be obtained fair
Perhaps the whole operators accessed.For example, all operator to be selected is B, C, D, E, common blacklist is C, D, and global blacklist is
C, then available carriers are B, E.
Further, as shown in fig. 6, for a kind of stream for enabling caching and searching the method for net result provided by the embodiments of the present application
Cheng Tu, which comprises
S311, the caching available carriers for obtaining current SIM card, the caching available carriers are current SIM card record
Available carriers, wherein current available machine time section is that current SIM card is switched on time at moment to current time recently
Section;
S312, the record time for obtaining the caching available carriers;
If the period of S313, record time to the current time are greater than preset time threshold, according to current net
Network environment determines whole available carriers.
Before carrying out searching net, the caching available carriers of current SIM card can be first obtained, i.e., before this searches net
History searches net record, and alternatively referred to as caching searches net result.Usually these caching available carriers can all have the corresponding record time,
For example, searching net result in 8:00 on June 26 acquisition in 2019.By the record time and current time, one can be calculated
Period, such as current time are 8:00 on June 27th, 2019, then the period is 24 hours.Assuming that preset time threshold is
48 hours, then the period is in preset time threshold, then determine that the caching available carriers are still available, without again into
Row searches net.Assuming that preset time threshold is 12 hours, then the period is more than preset time threshold, then determining that the caching is available
Operator is no longer valid, needs to re-start and searches net.
The method that caching searches net result is enabled provided by the present embodiment, can cache the effective situation of available carriers
Under, it avoids searching again and nets the wasted time, to reduce network entry time.
It is rejected and the common blacklist and/or described from whole operator to be selected if should be noted that
After the screening obtained after duplicate operator in global blacklist operator's quantity be 1, and after the screening operator ownership in
Interim blacklist, it is determined that operator is available carriers after the screening, and the interim blacklist is current SIM card current
The list of operator corresponding to networking baulk in available machine time section, wherein the current available machine time section is current SIM
The period at card nearest booting moment to current time.
The accessible situation of no operator can effectively be avoided the occurrence of in this way, guarantee no matter when, still
There is the operator that can be accessed, to guarantee that user's uses net demand.
S4, according to all available carriers and the operator searched after net on white list, determine targeted carrier.
Specifically, as shown in fig. 7, being a kind of process of the method for determining targeted carrier provided by the embodiments of the present application
Figure, which comprises
S401, caching national coding corresponding to current SIM card is obtained, the caching national coding is that current SIM card exists
National coding corresponding to upper networking movement in the current available machine time section.
Current SIM card is obtained according to the networking result caching national coding that determines and store before, detailed process referring to
S103 above, details are not described herein again.
S402, according to it is described caching national coding and current SIM card operator's informaiton, determine common blacklist, it is described
Common blacklist is the list that current SIM card corresponds to the disabling operator that caching country number generates.
Detailed process sees above S302, and details are not described herein again.
S403, from it is described search after net reject in white list with duplicate operator in interim blacklist, obtaining searching can after net
With white list, the interim blacklist is current SIM card operation corresponding to networking baulk in current available machine time section
The list of quotient, wherein current available machine time section is that current SIM card is switched on period at moment to current time recently.
The operator occurred in interim blacklist is rejected in white list from searching after net, can be obtained allows access after searching net
Whole operators.For example, search net after white list be B, A, D, C, interim blacklist be C, then search net after can be with white list B, A,
D.It should be noted that the rejecting movement in this step, can't change white list Zhong Ge operator after searching net and put in order,
Therefore, it is generated search net after can still have putting in order from excellent to secondary with white list Zhong Ge operator.
S404, it is rejected and duplicate operation in common blacklist and interim blacklist from whole available carriers
Quotient, available carriers after being handled.
Whole available carriers are to meet the operator of the networkings condition such as network quality, and still, these operators are not necessarily
The networkings condition such as policy, business associate can be met.Therefore, it is necessary to from the fortune rejected on common blacklist in whole available carriers
Seek quotient.Meanwhile even if some available carriers meet theoretic networking condition, but during actually access, have no
Method realizes that networking acts successfully, in order to exclude the influence caused by networking of these operators, it is also desirable to from whole available carriers
The middle operator rejected on interim blacklist, to not only met the networkings such as network quality condition but also meet policy, business is closed
The networkings conditions such as work meet available carriers after really accessible processing again simultaneously.
For example, whole available carriers are B, E, interim blacklist is C, and common blacklist is C, D, then fortune can be used after handling
Seeking quotient is B, E.
S405, available carriers after white list and whole processing can be used after searching net according to, determines target operation
Quotient.
Targeted carrier should therefrom be selected based on available carriers after processing, still, be transported after processing at present
Battalion quotient only provides the information such as the title of operator, is not ranked up to each operator, in order to therefrom accurately determine
Optimal operator then needs to refer to the sequence that white list Zhong Ge operator can be used after searching net as targeted carrier.
Specifically, as shown in figure 8, being a kind of process of the method for determining targeted carrier provided by the embodiments of the present application
Figure, which comprises
S4051, determine pre-selection operator, the pre-selection operator be belong to described search after net can be described with white list
Available carriers after processing.
Search white list and available carriers and not all identical after processing after net, for example, search net after can be with white list B,
A, D, C, available carriers are B, C, D, E after processing, it is seen then that operator E is not belonged to search net after can illustrate to run with white list
Although quotient E meets access conditions, but and do not meet the access conditions of the composite factors such as rate therefore can not after searching net
Occur in white list, it is clear that this operator for not meeting access conditions, which should not be put into, is targeted operator
In option.Should from belong to search net after pre-selection operator can be picked out after the processing with white list in available carriers, as
Determine the basis of targeted carrier, in the present embodiment as B, C, D.
S4052, according to it is described search net after can be put in order with operator in white list, arrange the pre-selection operator,
Obtain pre-selection operator list.
For example, can be B, A, D, C with white list after searching net, pre-selection operator be B, C, D, according to can use white list after searching net
Put in order, arrangement pre-selection operator, obtain pre-selection operator list B, D, C.At this point, pre-selection operator list has from excellent
It puts in order to secondary, basis can be provided for determining optimal operator.
S4053, according to the pre-selection operator list, determine targeted carrier, described in the targeted carrier preselect
First networking acts successful operator in operator list.
For example, pre-selection operator list is B, D, C, current SIM card is successively attempted to access according to the pre-selection operator list
Operator, if access carrier B fail, and access carrier D success, then operator D be targeted carrier, at this point, then without
It need to continue to attempt to access carrier C.The embodiment of the present application can guarantee to access optimal operator within the shortest time.
Fig. 9 is a kind of schematic diagram of the determining device of targeted carrier provided by the embodiments of the present application.The device can answer
It operates in equipment for server, PC (PC), tablet computer, mobile phone etc. to be a variety of.
As shown in figure 9, the device includes:
First judging unit 1, for judging whether a upper targeted carrier can access, a upper targeted carrier is to work as
Operator used by a networking acts successfully in preceding SIM card;
Second judgment unit 2, it is described for whether there is available carriers if it is not, then judging to search in the preceding white list of net
White list is that current SIM card is corresponding, and has the list of whole operators of stationary arrangement sequence before searching net, the fortune
Battalion quotient is the operator that current SIM card can complete networking movement;
Available carriers determination unit 3, for if it is not, then according to the operator of current network environment and current SIM card
Information, determine whole available carriers and search net after white list, it is described search net after white list be current SIM card in current net
It is corresponding under network environment, and there is the list of the whole operators to put in order;
Targeted carrier's determination unit 4, for according to all available carriers and described searching after net on white list
Operator determines targeted carrier.
By the above technology it is found that the embodiment of the present application provides the determination method and device of targeted carrier a kind of, firstly,
Judge whether a upper targeted carrier can access, if can access, can directly enter an online targeted carrier, without attempting
Other operators, to reduce network entry time;If not can access, first without searching net, and be to continue with judgement search it is white before net
It whether there is available carriers in list, if it is present the available carriers that can directly network, to avoid searching net waste
Time;If it does not exist, then net is searched in expansion, according to the operator's informaiton of current network environment and current SIM card, determination all may be used
With operator and search net after white list, and determine targeted carrier, network the targeted carrier.Target fortune provided herein
The determination method and device for seeking quotient, can effectively reduce network entry time, simultaneously as searching white list before net and searching white list after net
Ranking function is all had, thereby it is ensured that the operator determined is most preferred operator, to reduce user's loss.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to of the invention its
Its embodiment.This application is intended to cover any variations, uses, or adaptations of the invention, these modifications, purposes or
Person's adaptive change follows general principle of the invention and including the undocumented common knowledge in the art of the present invention
Or conventional techniques.The description and examples are only to be considered as illustrative, and true scope and spirit of the invention are by following
Claim is pointed out.
It should be understood that the application is not limited to the precise structure that has been described above and shown in the drawings, and
And various modifications and changes may be made without departing from the scope thereof.Scope of the present application is only limited by the accompanying claims.
Claims (10)
1. the determination method of targeted carrier a kind of characterized by comprising
Judge whether a upper targeted carrier can access, a upper targeted carrier for a networking on current SIM card act at
Operator used by function;
If it is not, then judging to search with the presence or absence of available carriers in the preceding white list of net, the preceding white list of net of searching is current SIM card
It is corresponding, and the list of whole operators with stationary arrangement sequence, the available carriers are that current SIM card can be completed
The operator of networking movement;
If it is not, then according to the operator's informaiton of current network environment and current SIM card, determine whole available carriers and
Search net after white list, it is described search net after white list be current SIM card it is corresponding under the current network environment, and have put in order
Whole operators list;
According to all available carriers and the operator searched after net on white list, targeted carrier is determined.
2. the method according to claim 1, wherein whether a targeted carrier can access packet in the judgement
It includes:
Judge whether a upper targeted carrier belongs to interim blacklist, the interim blacklist is that current SIM card is opened currently
The list of operator corresponding to networking baulk in the machine period, wherein the current available machine time section is current SIM card
The period at booting moment to current time recently;
If it is not, then obtaining caching national coding corresponding to current SIM card, the caching national coding is that current SIM card exists
National coding corresponding to upper networking movement in the current available machine time section;
According to the caching national coding, determine that common blacklist, the common blacklist are that current SIM card corresponds to the caching
The list for the disabling operator that country's number generates;
Judge whether a upper targeted carrier belongs to the common blacklist;
If it is, a upper targeted carrier not can access, if it is not, then a upper targeted carrier can access.
3. according to the method described in claim 2, it is characterized in that, described judge whether a upper targeted carrier belongs to
Include: after the common blacklist
According to the networking of a upper targeted carrier as a result, determining the true national coding of current SIM;
If the caching national coding and the true national coding are inconsistent, it is described for replacing the caching national coding
True national coding.
4. the method according to claim 1, wherein the judgement is searched in the preceding white list of net with the presence or absence of available fortune
Seeking quotient includes:
Caching national coding corresponding to current SIM card is obtained, the caching national coding is that current SIM card is currently opened described
National coding corresponding to upper networking movement in the machine period;
According to the operator's informaiton of the caching national coding and current SIM card, white list before searching net is determined;
Determine that the corresponding interim blacklist of current SIM card, the interim blacklist are current SIM card in current available machine time section
The list of operator corresponding to networking baulk, wherein when the current available machine time section is that current SIM card is switched on recently
It carves to the period at current time;
Rejecting and duplicate operator in the interim blacklist in the preceding white list of net are searched from described, obtains the white name of available carriers
It is single;
According to the sequence of the available carriers white list, the operator being sequentially connected in the available carriers white list.
5. fortune can all be used by determining the method according to claim 1, wherein described according to current network environment
White list includes: after seeking quotient and searching net
Caching national coding corresponding to current SIM card is obtained, the caching national coding is that current SIM card is currently opened described
National coding corresponding to upper networking movement in the machine period;
According to the operator's informaiton of the caching national coding and current SIM card, common blacklist and global blacklist, institute are determined
Stating common blacklist is the name that common blacklist is the disabling operator that current SIM card corresponds to the caching country number generation
Single, the overall situation blacklist is the list for the operator that current SIM card permanently disables under caching country number;
According to current network environment, all operators to be selected are determined;
The duplicate operator from rejecting and the common blacklist in whole operator to be selected and the global blacklist,
Obtain available carriers.
6. according to the method described in claim 5, it is characterized in that, the fortune according to current network environment and current SIM card
Quotient's information is sought, white list includes: before after determining whole available carriers and searching net
The caching available carriers of current SIM card are obtained, the caching available carriers are the available operation of current SIM card record
Quotient, wherein current available machine time section is that current SIM card is switched on period at moment to current time recently;
Obtain the record time of the caching available carriers;
If the period at record time to the current time is greater than preset time threshold, according to current network environment, really
Fixed whole available carriers.
7. according to the method described in claim 5, it is characterized in that,
If from whole operator to be selected reject with the common blacklist and/or it is described the overall situation blacklist in it is duplicate
After the screening obtained after operator operator's quantity be 1, and after the screening operator ownership in interim blacklist, it is determined that institute
Operator is available carriers after stating screening, and the interim blacklist is that current SIM card networking in current available machine time section is dynamic
Make the list of the corresponding operator of failure, wherein the current available machine time section is that current SIM card is switched on the moment to working as recently
The period at preceding moment.
8. the method according to claim 1, wherein it is described according to whole available carriers and search net after white list
On operator, determine that targeted carrier includes:
Caching national coding corresponding to current SIM card is obtained, the caching national coding is that current SIM card is currently opened described
National coding corresponding to upper networking movement in the machine period;
According to the operator's informaiton of the caching national coding and current SIM card, common blacklist, the common blacklist are determined
The list for the disabling operator that caching country number generates is corresponded to for current SIM card;
From it is described search after net reject in white list with duplicate operator in interim blacklist, obtain that white list can be used after searching net,
The interim blacklist is the list of current SIM card operator corresponding to networking baulk in current available machine time section,
Wherein, current available machine time section is that current SIM card is switched on period at moment to current time recently;
Rejecting and duplicate operator in common blacklist and interim blacklist, are handled from whole available carriers
Available carriers afterwards;
White list and all available carriers after the processing can be used according to described search after net, determines targeted carrier.
9. according to the method described in claim 8, it is characterized in that, the basis can be with white list and all after processing after searching net
Available carriers determine that targeted carrier includes:
Determine pre-selection operator, the pre-selection operator be belong to it is described search net after can be with can be used after the processing of white list
Operator;
According to it is described search net after can be put in order with operator in white list, arrange the pre-selection operator, obtain pre-selection fortune
Seek Shang Liebiao;
According to the pre-selection operator list, determines targeted carrier, preselect operator list described in the targeted carrier
In first networking act successful operator.
10. a kind of determining device of targeted carrier characterized by comprising
First judging unit, for judging whether a upper targeted carrier can access, a upper targeted carrier is current SIM
Block operator used by a upper networking acts successfully;
Second judgment unit, for if it is not, then judgement is searched before net in white list with the presence or absence of available carriers, it is described search net before
White list is that current SIM card is corresponding, and the list of whole operators with stationary arrangement sequence, the available carriers are
Current SIM card can complete the operator of networking movement;
Available carriers determination unit, for if it is not, then according to the operator's informaiton of current network environment and current SIM card,
Determine whole available carriers and search net after white list, it is described search net after white list be current SIM card in current network environment
Under it is corresponding, and there is the list of whole operators to put in order;
Targeted carrier's determination unit, for according to all available carriers and the operation searched after net on white list
Quotient determines targeted carrier.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910645382.6A CN110381501A (en) | 2019-07-17 | 2019-07-17 | A kind of determination method and device of targeted carrier |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910645382.6A CN110381501A (en) | 2019-07-17 | 2019-07-17 | A kind of determination method and device of targeted carrier |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110381501A true CN110381501A (en) | 2019-10-25 |
Family
ID=68253632
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910645382.6A Pending CN110381501A (en) | 2019-07-17 | 2019-07-17 | A kind of determination method and device of targeted carrier |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110381501A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112688713A (en) * | 2020-12-07 | 2021-04-20 | Oppo(重庆)智能科技有限公司 | Method for determining target network type, terminal and computer storage medium |
Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103826286A (en) * | 2012-11-16 | 2014-05-28 | 华为技术有限公司 | Method for selecting SIM card and public land mobile network, and user equipment |
EP2863670A1 (en) * | 2013-10-18 | 2015-04-22 | Gemalto SA | Method for updating the FPLMN file of a security element and corresponding steering platform |
CN104837180A (en) * | 2015-04-17 | 2015-08-12 | 广东欧珀移动通信有限公司 | Intelligent handset roaming network-searching method and device |
CN105393603A (en) * | 2014-06-27 | 2016-03-09 | 华为技术有限公司 | Method for selecting public land mobile network (PLMN), and apparatus and device thereof |
CN105554851A (en) * | 2015-12-22 | 2016-05-04 | 努比亚技术有限公司 | Quick network searching method and device for mobile terminal |
CN105578590A (en) * | 2015-03-31 | 2016-05-11 | 宇龙计算机通信科技(深圳)有限公司 | All-network-universal terminal network registration method and terminal |
CN105792331A (en) * | 2014-12-24 | 2016-07-20 | 联芯科技有限公司 | Starting-up and network selection method and device for mobile terminal |
CN106817746A (en) * | 2015-11-30 | 2017-06-09 | 中兴通讯股份有限公司 | A kind of network search method and device |
CN107509238A (en) * | 2017-09-26 | 2017-12-22 | 维沃移动通信有限公司 | The method for searching network and mobile terminal of a kind of mobile terminal |
CN107548122A (en) * | 2016-06-28 | 2018-01-05 | 工业和信息化部电信研究院 | A kind of multimode terminal start method for searching network and device |
CN107634845A (en) * | 2017-07-18 | 2018-01-26 | 深圳市有方科技股份有限公司 | The adaptation method and equipment of carrier network |
CN108601017A (en) * | 2018-04-04 | 2018-09-28 | 广东小天才科技有限公司 | Network searching control method based on user terminal and user terminal |
CN109196890A (en) * | 2016-06-02 | 2019-01-11 | 苹果公司 | For roaming plan creation based on user and using the method and apparatus of roaming list |
CN109587672A (en) * | 2017-09-28 | 2019-04-05 | 展讯通信(上海)有限公司 | Select the method, apparatus and terminal of roaming place carrier network |
CN109862607A (en) * | 2019-04-22 | 2019-06-07 | 维沃移动通信有限公司 | A kind of network recommendation method and mobile terminal |
-
2019
- 2019-07-17 CN CN201910645382.6A patent/CN110381501A/en active Pending
Patent Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103826286A (en) * | 2012-11-16 | 2014-05-28 | 华为技术有限公司 | Method for selecting SIM card and public land mobile network, and user equipment |
EP2863670A1 (en) * | 2013-10-18 | 2015-04-22 | Gemalto SA | Method for updating the FPLMN file of a security element and corresponding steering platform |
CN105393603A (en) * | 2014-06-27 | 2016-03-09 | 华为技术有限公司 | Method for selecting public land mobile network (PLMN), and apparatus and device thereof |
CN105792331A (en) * | 2014-12-24 | 2016-07-20 | 联芯科技有限公司 | Starting-up and network selection method and device for mobile terminal |
CN105578590A (en) * | 2015-03-31 | 2016-05-11 | 宇龙计算机通信科技(深圳)有限公司 | All-network-universal terminal network registration method and terminal |
CN104837180A (en) * | 2015-04-17 | 2015-08-12 | 广东欧珀移动通信有限公司 | Intelligent handset roaming network-searching method and device |
CN106817746A (en) * | 2015-11-30 | 2017-06-09 | 中兴通讯股份有限公司 | A kind of network search method and device |
CN105554851A (en) * | 2015-12-22 | 2016-05-04 | 努比亚技术有限公司 | Quick network searching method and device for mobile terminal |
CN109196890A (en) * | 2016-06-02 | 2019-01-11 | 苹果公司 | For roaming plan creation based on user and using the method and apparatus of roaming list |
CN107548122A (en) * | 2016-06-28 | 2018-01-05 | 工业和信息化部电信研究院 | A kind of multimode terminal start method for searching network and device |
CN107634845A (en) * | 2017-07-18 | 2018-01-26 | 深圳市有方科技股份有限公司 | The adaptation method and equipment of carrier network |
CN107509238A (en) * | 2017-09-26 | 2017-12-22 | 维沃移动通信有限公司 | The method for searching network and mobile terminal of a kind of mobile terminal |
CN109587672A (en) * | 2017-09-28 | 2019-04-05 | 展讯通信(上海)有限公司 | Select the method, apparatus and terminal of roaming place carrier network |
CN108601017A (en) * | 2018-04-04 | 2018-09-28 | 广东小天才科技有限公司 | Network searching control method based on user terminal and user terminal |
CN109862607A (en) * | 2019-04-22 | 2019-06-07 | 维沃移动通信有限公司 | A kind of network recommendation method and mobile terminal |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112688713A (en) * | 2020-12-07 | 2021-04-20 | Oppo(重庆)智能科技有限公司 | Method for determining target network type, terminal and computer storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105393603B (en) | Select the method and device thereof and equipment of public land mobile network PLMN | |
CN104980993B (en) | Network access method, mobile communication terminal, network server and network access system | |
US6259917B1 (en) | Apparatus and method for deriving a current network location from previously visited networks and movements between the previously visited networks | |
CN101198188B (en) | Method for storing cell system information across network | |
CN102934513A (en) | Multi-card multi-standby terminal, synchronization method and device thereof | |
CN101820666B (en) | Terminal and method for acquiring network service by terminal | |
CN104469975B (en) | The method and device of one mode switching | |
WO2018000560A1 (en) | Method, apparatus and communication terminal for implementing network access service | |
CN102724736A (en) | Network searching method and device for single-card dual-standby mobile terminal public land mobile network (PLMN) | |
CN106376015A (en) | Selection method and device for re-establishing cell in network sharing | |
CN102413528A (en) | Switch failure processing method and user equipment | |
CN105284161B (en) | network registering method, device and mobile terminal | |
CN107396423A (en) | Method for network access and device, storage medium and electronic installation | |
CN105898787B (en) | The restoration methods of base station communication, base station, device and communication equipment under fail soft | |
CN105636016A (en) | Method, apparatus, and system for network connection | |
CN103701653B (en) | The processing method of a kind of interface hot plug configuration data and network configuration server | |
CN104853412B (en) | A kind of method for network access and mobile communication terminal | |
CN106792639A (en) | The method and system that user data recovers are realized in a kind of wireless aps | |
CN110381501A (en) | A kind of determination method and device of targeted carrier | |
CN103354553B (en) | A kind of the terminal Adaptable System and method of possession service access address | |
CN103259862B (en) | A kind of long-range implant system and method for possession service access address | |
CN102014457B (en) | Mobile communication system, and automatic network-selecting method for mobile terminal | |
CN103517376A (en) | Communication restoring method and communication terminal | |
CN106454882A (en) | Method and device used for obtaining user call ticket xDR | |
CN109429302A (en) | Restoration methods and device after a kind of multi-card terminal off-grid |
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: 20191025 |