[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN109246311A - A kind of switch selection method and device, equipment, storage medium - Google Patents

A kind of switch selection method and device, equipment, storage medium Download PDF

Info

Publication number
CN109246311A
CN109246311A CN201811324617.3A CN201811324617A CN109246311A CN 109246311 A CN109246311 A CN 109246311A CN 201811324617 A CN201811324617 A CN 201811324617A CN 109246311 A CN109246311 A CN 109246311A
Authority
CN
China
Prior art keywords
sim card
switch
volte
rise
fallen
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.)
Granted
Application number
CN201811324617.3A
Other languages
Chinese (zh)
Other versions
CN109246311B (en
Inventor
马裕清
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201811324617.3A priority Critical patent/CN109246311B/en
Publication of CN109246311A publication Critical patent/CN109246311A/en
Application granted granted Critical
Publication of CN109246311B publication Critical patent/CN109246311B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72463User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions to restrict the functionality of the device

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Telephone Function (AREA)

Abstract

本申请实施例公开了一种开关选择方法,所述方法包括:确定第一SIM卡所属网络是否支持电路回落;如果所述第一SIM卡所属网络不支持电路回落,则打开所述第一SIM卡对应的VoLTE开关;隐藏所述VoLTE开关。本申请实施例还提供了一种开关选择装置、设备和存储介质。

The embodiment of the present application discloses a switch selection method, the method includes: determining whether a network to which a first SIM card belongs supports circuit fallback; if the network to which the first SIM card belongs does not support circuit fallback, turning on the first SIM VoLTE switch corresponding to the card; hide the VoLTE switch. Embodiments of the present application also provide a switch selection device, device, and storage medium.

Description

A kind of switch selection method and device, equipment, storage medium
Technical field
The invention relates to the communication technology, a kind of switch selection method and device, equipment, storage are related to, but are not limited to Medium.
Background technique
VoLTE (Voice over Long-Term Evolution, long term evolution voice bearer) is one towards mobile phone With the high-speed radiocommunication standard of data terminal.It is based on IP (Internet Protocol, network protocol) IP multimedia subsystem, IMS Network uses the media level for control plane and voice service on LTE (Long Term Evolution, long term evolution) Special configuration file, this transmits voice service (control and media level) in LTE data carrying network as data flow, And it no longer needs to safeguard and rely on traditional circuit-switched voice network.VoLTE technology brings 4G (The 4th Generation Mobile Communication Technology, fourth generation mobile communication technology) user most directly experiences and is just to turn on To which the time is shorter and higher quality, more natural voice and video communication effect.
Therefore, VoLTE is not necessarily to 2G (2-Generation wireless telephone technology, second generation hand Machine communication technology specification), 3G (3rd-Generation, 3rd generation mobile communication technology) net, whole service bearers are in 4G network Above, it can be achieved that the unification of data and voice service under consolidated network.But the shortcomings that prior art, is, for supporting VoLTE Network, can show VoLTE switch, switched by user's control.In this case, for supporting VoLTE, but support circuits are not returned The network fallen, if display VoLTE is switched to user's operation, user closes VoLTE, and will cause terminal device can neither PS (Packet Switch, packet switch) converses (i.e. VoLTE call), and it is logical to be unable to CS (Circuit Switch, circuit switching) Words (not support circuits falling cause), terminal device just without delivery value, can cause very big puzzlement to user, also to terminal or The later maintenance of person operator brings unnecessary trouble.
Summary of the invention
In view of this, the embodiment of the present application be solve the problems, such as it is existing in the prior art at least one and a kind of switch is provided Selection method and device, equipment and storage medium can be such that terminal device remains on the network that not support circuits are fallen after rise VoLTE is opened, and avoiding user misoperation from closing VoLTE causes terminal not have delivery value.
The technical solution of the embodiment of the present application is achieved in that
In a first aspect, the embodiment of the present application provides a kind of switch selection method, which comprises
Determine that the first SIM (Subscriber Identification Module, subscriber identification card) blocks affiliated net Whether support circuits are fallen after rise network;
If support circuits are not fallen after rise the first SIM card belonging network, it is corresponding to open first SIM card VoLTE switch;
Hide the VoLTE switch.
In the embodiment of the present application, the method also includes:
If the first SIM card belonging network support circuits are fallen after rise, the corresponding VoLTE of first SIM card is shown Switch.
In the embodiment of the present application, whether support circuits are fallen after rise the first SIM card of determination belonging network, comprising:
Pass through IMSI (the International Mobile Subscriber of first SIM card Identification Number, international mobile subscriber identity) obtain the PLMN of the first SIM card belonging network (Public Land Mobile Network, public land mobile network);
Obtain the PLMN list of not support circuits domain dropping;
Determine the PLMN of the first SIM card belonging network whether in the PLMN list;
If the PLMN of the first SIM card belonging network is in the PLMN list, the affiliated net of the first SIM card Support circuits are not fallen after rise network;
If the PLMN of the first SIM card belonging network is not in the PLMN list, belonging to first SIM card Network supports circuit is fallen after rise.
In the embodiment of the present application, the method also includes:
When support circuits are not fallen after rise the first SIM card belonging network, it is determined whether include the second SIM card, wherein institute It is different SIM cards that the second SIM card, which is stated, from first SIM card;
If including the second SIM card, it is determined that whether support circuits are fallen after rise the second SIM card belonging network;
If not including the second SIM card, the corresponding VoLTE switch of first SIM card is opened, and hide described first The corresponding VoLTE switch of SIM card.
In the embodiment of the present application, the method also includes:
When the second SIM card belonging network support circuits are fallen after rise, show that the corresponding VoLTE of first SIM card is opened It closes.
In the embodiment of the present application, the method also includes:
When support circuits are not fallen after rise the second SIM card belonging network, the corresponding VoLTE of second SIM card is determined The state of switch;
According to the state of the corresponding VoLTE switch of second SIM card, determine that the corresponding VoLTE of first SIM card is opened The state of pass.
In the embodiment of the present application, the state according to second SIM card corresponding VoLTE switch determines described the The state of the corresponding VoLTE switch of one SIM card, comprising:
When the corresponding VoLTE switch of second SIM card is in off state, it is corresponding to open first SIM card VoLTE switch, and hide the corresponding VoLTE switch of first SIM card;
When the corresponding VoLTE switch of second SIM card is in an open state, show that first SIM card is corresponding VoLTE switch.
Second aspect, the embodiment of the present application provide a kind of switch selecting device, and described device comprises determining that unit, executes Unit and hidden unit, in which:
The determination unit, for determining whether support circuits are fallen after rise the first SIM card belonging network;
The execution unit opens described the if support circuits are not fallen after rise for the first SIM card belonging network The corresponding VoLTE switch of one SIM card;
The hidden unit, for hiding the VoLTE switch.
In the embodiment of the present application, described device further include:
Display unit shows the first SIM if fallen after rise for the first SIM card belonging network support circuits Block corresponding VoLTE switch.
In the embodiment of the present application, the determination unit, comprising:
First obtains module, for obtaining the first SIM card belonging network by the IMSI of first SIM card PLMN;
Second obtains module, for obtaining the PLMN list of not support circuits domain dropping;
Determining module, for determining the PLMN of the first SIM card belonging network whether in the PLMN list;
First judgment module, if the PLMN for the first SIM card belonging network in the PLMN list, institute Stating the first SIM card belonging network, support circuits are not fallen after rise;
Second judgment module, if the PLMN for the first SIM card belonging network not in the PLMN list, The first SIM card belonging network support circuits are fallen after rise.
In the embodiment of the present application, described device further include:
First determination unit, for when support circuits are not fallen after rise the first SIM card belonging network, it is determined whether include Second SIM card, wherein second SIM card is different SIM cards from first SIM card;
Second determination unit, if for including the second SIM card, it is determined that whether the second SIM card belonging network props up Hold circuit falling;
First processing units, if opening the corresponding VoLTE of first SIM card for not including the second SIM card and opening It closes, and hides the corresponding VoLTE switch of first SIM card.
In the embodiment of the present application, described device further include:
The second processing unit, for showing described first when the second SIM card belonging network support circuits are fallen after rise The corresponding VoLTE switch of SIM card.
In the embodiment of the present application, described device further include:
Third determination unit, for determining described second when support circuits are not fallen after rise the second SIM card belonging network The state of the corresponding VoLTE switch of SIM card;
4th determination unit determines described first for the state according to the corresponding VoLTE switch of second SIM card The state of the corresponding VoLTE switch of SIM card.
In the embodiment of the present application, the 4th determination unit, comprising:
First processing module, for when second SIM card corresponding VoLTE switch is in off state, described in opening The corresponding VoLTE switch of first SIM card, and hide the corresponding VoLTE switch of first SIM card;
Second processing module, for when second SIM card corresponding VoLTE switch is in an open state, described in display The corresponding VoLTE switch of first SIM card.
The third aspect, the embodiment of the present application provide a kind of computer equipment, including memory and processor, the memory It is stored with the computer program that can be run on a processor, the processor realizes switch choosing as described above when executing described program Step in selection method.
Fourth aspect, the embodiment of the present application provide a kind of computer readable storage medium, are stored thereon with computer program, The step in switch selection method as described above is realized when the computer program is executed by processor.
The embodiment of the present application provides a kind of switch selection method and device, equipment and storage medium, determines the first SIM card institute Belonging to network, whether support circuits are fallen after rise;If support circuits are not fallen after rise the first SIM card belonging network, described first is opened The corresponding VoLTE switch of SIM card;The VoLTE switch is hidden, so, it is possible that terminal device is made to remain that VoLTE is opened, Avoiding user misoperation from closing VoLTE causes terminal not have delivery value.
Detailed description of the invention
Figure 1A is the implementation process schematic diagram of the switch selection method of the application prior art;
Figure 1B is the implementation process schematic diagram one that the embodiment of the present application switchs selection method;
Fig. 1 C is that the VoLTE of the embodiment of the present application mobile phone interface switchs schematic diagram;
Fig. 2 is the implementation process schematic diagram two that the embodiment of the present application switchs selection method;
Fig. 3 is the implementation process schematic diagram three that the embodiment of the present application switchs selection method;
Fig. 4 is the composed structure schematic diagram of the embodiment of the present application switch selecting device;
Fig. 5 is a kind of hardware entities schematic diagram of the embodiment of the present application switch selectable unit.
Specific embodiment
To keep the purposes, technical schemes and advantages of the embodiment of the present application clearer, below in conjunction with the embodiment of the present application In attached drawing, the specific technical solution of application is described in further detail.The following examples are only for illustrating the present application, does not have to In limitation scope of the present application.
In subsequent description, it is only using the suffix for indicating such as " module ", " component " or " unit " of element The explanation for being conducive to the application, itself does not have a specific meaning.Therefore, " module ", " component " or " unit " can mix Ground uses.
In general, terminal can be various types of equipment with information processing capability, example in the process of implementation If the terminal may include that mobile phone, tablet computer, smartwatch, Intelligent bracelet, bluetooth headset, desktop computer, individual digital help Manage (Personal Digital Assistant, PDA), navigator, digital telephone, visual telephone, television set, sensing equipment Deng.
Figure 1A is the implementation process schematic diagram of the switch selection method of the application prior art, as shown in Figure 1A, existing skill In art, VoLTE switchs selection method are as follows:
Step S101, display VoLTE switch;
Step S102, user opens or closes VoLTE switch;
Step S103, corresponding, register VoLTE or cancel register VoLTE;
As can be seen that in the prior art, to the network that support circuits are not fallen after rise is registered in, if user closes VoLTE, eventually End equipment is just without delivery value.That is equipment is unable to PS call, because of no registration VoLTE;It is unable to CS call again, Because support circuits are not fallen after rise network.
Based on this, the embodiment of the present application provides a kind of switch selection method and device, equipment and storage medium, can make end End equipment remains that VoLTE is opened, and avoiding user misoperation from closing VoLTE causes terminal not have delivery value.
The technical solution of the application is further elaborated on reference to the accompanying drawings and examples.
The embodiment of the present application provides a kind of switch selection method, and this method is applied to calculate equipment, what this method was realized Function can realize that certain program code can be stored in computer and deposit by the processor caller code in server In storage media, it is seen then that the server includes at least pocessor and storage media.Figure 1B is that the embodiment of the present application switchs selection method Implementation process schematic diagram one, as shown in Figure 1B, which comprises
Step S111, determine whether support circuits are fallen after rise the first SIM card belonging network;
Here, the SIM card, also referred to as subscriber identification card, smart card, be mainly used for network client identity into Row identification etc..
Here, the circuit falling is to work as to access using LTE, when can not transmit/receive circuit domain business signal, in order to enable eventually The paging that the CS business such as can initiate the CS business such as voice service, and receive speech under LTE access is held, and can be right Terminal in the lte networks ongoing PS business properly processed and a technology generating.That is, certain feelings Under condition, 4G cell phone makes a phone call just to need on 2G or 3G network, and from 4G to 2G/3G, this process of network is exactly electricity when making a phone call It falls after rise on road.
If support circuits are not fallen after rise step S112, the described first SIM card belonging network, first SIM card is opened Corresponding VoLTE switch;
In the embodiment of the present application, when support circuits are not fallen after rise the first SIM card belonging network, terminal can be beaten automatically The corresponding VoLTE switch of first SIM card is opened, and registers the VoLTE function of first SIM card, so that the first SIM Card has voice call function.
Step S113, the VoLTE switch is hidden.
In the embodiment of the present application, when support circuits are not fallen after rise the first SIM card belonging network of terminal, described first is hidden The effect of SIM card is, user misoperation causes the VoLTE of first SIM card to switch to close in order to prevent, so that described the One SIM card or the affiliated terminal of the first SIM card do not have voice call function.
Fig. 1 C is that the VoLTE of the embodiment of the present application mobile phone interface switchs schematic diagram, as shown in Figure 1 C, if the first SIM card Support circuits are not fallen after rise belonging network, then open the corresponding VoLTE talk-listen switch 11 of the first SIM card, and it is logical to hide the VoLTE Talk about switch 11.
In the embodiment of the present application, by determining whether support circuits are fallen after rise the first SIM card belonging network;If described first Support circuits are not fallen after rise SIM card belonging network, then open the corresponding VoLTE switch of first SIM card;Hide the VoLTE Switch so, it is possible that terminal device is made to remain that VoLTE is opened, and avoiding user misoperation from closing VoLTE causes terminal not have Delivery value.
Based on the above embodiments, the embodiment of the present application provides a kind of switch selection method again, and Fig. 2 is the embodiment of the present application The implementation process schematic diagram two of selection method is switched, as shown in Figure 2, which comprises
Step S201, determine whether support circuits are fallen after rise the first SIM card belonging network;
In the embodiment of the present application, the step S201, determine whether support circuits are fallen after rise the first SIM card belonging network, it can To be accomplished by the following way:
Step S2011, the PLMN of the first SIM card belonging network is obtained by the IMSI of first SIM card;
Here, the IMSI is the mark for distinguishing mobile subscriber, is stored in SIM card, can be used for distinguishing mobile subscriber's Effective information.Its total length is no more than 15, equally uses 0~9 number.Wherein (Mobile Country Code is moved MCC Dynamic national code) it is mobile subscriber belonging country code name, account for 3 bit digitals.MNC (Mobile Network Code, mobile network number Code) it is mobile network number, it is made of two or three bit digitals, the mobile radio communication that mobile subscriber is belonged to for identification. MSIN (Mobile Subscriber Identification Number, identification number of mobile subscriber) is mobile subscriber's identification Code, to identify the mobile subscriber in a certain mobile radio communication.And PLMN is mainly made of MCC and MNC, it can by IMSI To obtain the MCC and MNC of SIM card belonging network, that is, the PLMN of belonging network is got.
Step S2012, the PLMN list of not support circuits domain dropping is obtained;
Here, the PLMN list of support circuits domain dropping can not directly acquired by operator or other modes, The mode of the not PLMN list of support circuits domain dropping is obtained, the application is simultaneously not particularly limited.
Step S2013, determine the PLMN of the first SIM card belonging network whether in the PLMN list;
In the embodiment of the present application, when the IMSI by the first SIM card obtains the PLMN of the first SIM card belonging network Afterwards, can according to judge the PLMN of the first SIM card belonging network whether in the PLMN list of not support circuits domain dropping, To judge whether support circuits are fallen after rise the first SIM card belonging network.
If the PLMN of step S2014, the described first SIM card belonging network is in the PLMN list, described first Support circuits are not fallen after rise SIM card belonging network;
If the PLMN of step S2015, the described first SIM card belonging network is not in the PLMN list, described One SIM card belonging network support circuits are fallen after rise.
If support circuits are not fallen after rise step S202, the described first SIM card belonging network, first SIM card is opened Corresponding VoLTE switch;
Step S203, the VoLTE switch is hidden;
If step S204, the described first SIM card belonging network support circuits are fallen after rise, first SIM card pair is shown The VoLTE switch answered.
It here, can be corresponding by first SIM card if the first SIM card belonging network support circuits are fallen after rise VoLTE switch is shown, allows closing of the user from row selecting switch.If user's selection is corresponding by first SIM card VoLTE switch is opened, then when carrying out voice communication using first SIM card, uses VoLTE;It will if user selects The corresponding VoLTE switch of first SIM card is closed, then using first SIM card progress voice communication when, will do it circuit It falls after rise, uses 2G 3G net.In this way, no matter user is the VoLTE switch for opening or closing first SIM card, First SIM card or the affiliated terminal of the first SIM card can be carried out voice communication, that is, have voice call function.
In the embodiment of the present application, by determining whether support circuits are fallen after rise the first SIM card belonging network;If described first Support circuits are not fallen after rise SIM card belonging network, then open the corresponding VoLTE switch of first SIM card;Hide the VoLTE Switch shows that the corresponding VoLTE of first SIM card is opened if the first SIM card belonging network support circuits are fallen after rise It closes, so, it is possible that terminal device is made to remain that VoLTE is opened, avoiding user misoperation from closing VoLTE causes terminal not led to Words ability.
Based on the above embodiments, the embodiment of the present application provides a kind of switch selection method again, which comprises
Step S211, determine whether support circuits are fallen after rise the first SIM card belonging network;
Step S212, when support circuits are not fallen after rise the first SIM card belonging network, it is determined whether include the 2nd SIM Card, wherein second SIM card is different SIM cards from first SIM card;
Here, mainly it is suitable for the case where terminal includes two and the above SIM card, the embodiment of the present application exists with terminal The case where two SIM cards, is illustrated.When support circuits are not fallen after rise the first SIM card belonging network of terminal, continue Judge terminal with the presence or absence of the second SIM card, and then by judge the second SIM card whether support circuits falling and the second SIM card The state of corresponding VoLTE switch, to determine the state of the corresponding VoLTE switch of the first SIM card, wherein the state includes Open, close, show and hide etc..
If step S213, comprising the second SIM card, it is determined that the second SIM card belonging network whether return by support circuits It falls;
Here, when terminal includes the second SIM card, it is determined that whether support circuits are fallen after rise the second SIM card belonging network, If the second SIM card belonging network support circuits are fallen after rise, S214 is thened follow the steps, if the second SIM card belonging network is not supported Circuit is fallen after rise, thens follow the steps S215 and step S216.
Step S214, when the second SIM card belonging network support circuits are fallen after rise, show that first SIM card is corresponding VoLTE switch;
It here, can be corresponding by first SIM card when the second SIM card belonging network support circuits are fallen after rise VoLTE switch is shown, selects on or off for user.If the corresponding VoLTE switch of the first SIM card is closed in user's selection It closes, then the first SIM card does not have call function, but the second SIM card belonging network is that support circuits are fallen after rise, and user still may be used To use the second SIM card to converse, the call function of terminal will not be lost.
Step S215, when support circuits are not fallen after rise the second SIM card belonging network, second SIM card pair is determined The state for the VoLTE switch answered;
Step S216, according to the state of the corresponding VoLTE switch of second SIM card, determine that first SIM card is corresponding VoLTE switch state;
If step S217, not including the second SIM card, the corresponding VoLTE switch of first SIM card is opened, and hidden Hide the corresponding VoLTE switch of first SIM card.
Here, in the case that in the first SIM card, support circuits falling and terminal do not include the second SIM card, in order to make end End has call function, prevents terminal call function caused by user misoperation from losing, and it is corresponding to need to automatically open the first SIM card VoLTE switch, and hide first SIM card corresponding VoLTE switch.
In the embodiment of the present application, the step S216, the state switched according to the corresponding VoLTE of second SIM card, really The state for determining the corresponding VoLTE switch of first SIM card, can be accomplished by the following way:
Step S2161, when the corresponding VoLTE switch of second SIM card is in off state, the first SIM is opened Block corresponding VoLTE switch, and hides the corresponding VoLTE switch of first SIM card;
Here, in the first SIM card, support circuits are not fallen after rise, and the second SIM card belonging network of terminal not return by support circuits It falls, and the corresponding VoLTE of the second SIM card is switched in the case where being in off state, and in order to make terminal have call function, prevents from using Terminal call function caused by the maloperation of family is lost, and needs to automatically open the corresponding VoLTE switch of the first SIM card, and hide institute State the corresponding VoLTE switch of the first SIM card.
Step S2162, when the corresponding VoLTE switch of second SIM card is in an open state, the first SIM is shown Block corresponding VoLTE switch.
In the embodiment of the present application, when support circuits are not fallen after rise the first SIM card belonging network of terminal, whether terminal is judged There are the second SIM cards.When also support circuits are not fallen after rise the second SIM card belonging network and second SIM card is corresponding When VoLTE switch is in off state, opens and hide the corresponding VoLTE switch of first SIM card, the effect of aforesaid operations is In order to prevent in the case where all SIM cards of terminal do not have circuit falling, user misoperation leads to first SIM card VoLTE switch and second SIM card VoLTE switch all in closed state so that the terminal does not have voice Call function.
In the embodiment of the present application, by determining whether support circuits are fallen after rise the first SIM card belonging network;When described first SIM card belonging network not support circuits fall after rise when, it is determined whether include the second SIM card, wherein second SIM card with it is described First SIM card is different SIM card;If including the second SIM card, it is determined that whether the second SIM card belonging network is supported Circuit is fallen after rise;When the second SIM card belonging network support circuits are fallen after rise, show that the corresponding VoLTE of first SIM card is opened It closes;When support circuits are not fallen after rise the second SIM card belonging network, the corresponding VoLTE switch of second SIM card is determined State;According to the state of the corresponding VoLTE switch of second SIM card, the corresponding VoLTE switch of first SIM card is determined State;If not including the second SIM card, the corresponding VoLTE switch of first SIM card is opened, and hide described first The corresponding VoLTE switch of SIM card, so, it is possible that terminal device is made to remain that VoLTE is opened, user misoperation is avoided to close VoLTE causes terminal not have delivery value.
Based on the above embodiments, the embodiment of the present application provides a kind of switch selection method again, compared with the prior art, this The network that application is fallen after rise for not support circuits, VoLTE switch are hidden and are stayed open, and guarantee that terminal device can be registered VoLTE and has delivery value.Evade user and VoLTE is closed by switch, terminal device cannot register VoLTE, and not have Circuit is fallen after rise, so that terminal device be caused not have the problem of delivery value.Fig. 3 is the reality that the embodiment of the present application switchs selection method Existing flow diagram three, as shown in Figure 3, which comprises
Step S301, the PLMN list of not support circuits domain dropping is obtained;
Step S302, the IMSI of reading SIM card obtains the corresponding PLMN of the SIM card;
Step S303, the PLMN of the SIM card is compared with the PLMN list of the not support circuits domain dropping;
If the PLMN list of step S304, the described not support circuits domain dropping includes the PLMN of the SIM card, hide VoLTE switch, and open VoLTE;
If the PLMN list of step S305, the described not support circuits domain dropping does not include the PLMN of the SIM card, show VoLTE switch provides user's selection and opens or closes.
In the prior art, VoLTE switch always show, and turns on or off switch by user's selection.If user closes VoLTE switch, equipment cannot register VoLTE, and network and not support circuits domain dropping, will cause equipment does not have delivery value.
It in the embodiment of the present application, is selected by the display and switch that control VoLTE, in facility registration, support circuits are not fallen after rise Network when, VoLTE switch is hidden and is kept open, and guarantees that VoLTE opens always and register VoLTE, makes equipment can be with Call.Using the technical solution in the embodiment of the present application, for the network that not support circuits are fallen after rise, terminal device will not be because of use VoLTE is closed at family, and terminal is caused not have delivery value.After terminal device is inserted into SIM card, its PLMN is obtained, if PLMN packet It is contained in not support circuits domain dropping PLMN list, VoLTE is hidden and switchs and open VoLTE always.
The application scenarios of technical solution in the embodiment of the present application are mainly that terminal device insertion supports CS to support PS again SIM card, VoLTE switch display, user can switch VoLTE, select CS call or PS call.Terminal device insertion only has Operator's SIM card of PS speech path network, and the SIM card belonging network belongs to the network that support circuits are not fallen after rise, hides VoLTE It switchs and opens, user is avoided not know that the SIM card does not support CS to converse and the closing VoLTE switch of mistake causes terminal not have There is delivery value.
In the embodiment of the present application, by the PLMN list for obtaining not support circuits domain dropping;The IMSI of reading SIM card, is obtained Take the corresponding PLMN of the SIM card;The PLMN of the SIM card and the PLMN list of the not support circuits domain dropping are compared Compared with;If the PLMN list of the not support circuits domain dropping includes the PLMN of the SIM card, VoLTE switch is hidden, and open VoLTE;If the PLMN list of the not support circuits domain dropping does not include the PLMN of the SIM card, show that VoLTE is switched, It provides user's selection to open or close, in this way, VoLTE will not be closed because of user, terminal is caused not have delivery value.
The embodiment of the present application provides a kind of switch selecting device, and Fig. 4 is the composition of the embodiment of the present application switch selecting device Structural schematic diagram, as shown in figure 4, described device 400 comprises determining that unit 401, execution unit 402 and hidden unit 403, In:
The determination unit 401, for determining whether support circuits are fallen after rise the first SIM card belonging network;
The execution unit 402 opens institute if support circuits are not fallen after rise for the first SIM card belonging network State the corresponding VoLTE switch of the first SIM card;
The hidden unit 403, for hiding the VoLTE switch.
In the application other embodiments, described device further include:
Display unit shows the first SIM if fallen after rise for the first SIM card belonging network support circuits Block corresponding VoLTE switch.
In the application other embodiments, the determination unit 401, comprising:
First obtains module, for obtaining the first SIM card belonging network by the IMSI of first SIM card PLMN;
Second obtains module, for obtaining the PLMN list of not support circuits domain dropping;
Determining module, for determining the PLMN of the first SIM card belonging network whether in the PLMN list;
First judgment module, if the PLMN for the first SIM card belonging network in the PLMN list, institute Stating the first SIM card belonging network, support circuits are not fallen after rise;
Second judgment module, if the PLMN for the first SIM card belonging network not in the PLMN list, The first SIM card belonging network support circuits are fallen after rise.
In the application other embodiments, described device further include:
First determination unit, for when support circuits are not fallen after rise the first SIM card belonging network, it is determined whether include Second SIM card, wherein second SIM card is different SIM cards from first SIM card;
Second determination unit, if for including the second SIM card, it is determined that whether the second SIM card belonging network props up Hold circuit falling;
First processing units, if opening the corresponding VoLTE of first SIM card for not including the second SIM card and opening It closes, and hides the corresponding VoLTE switch of first SIM card.
In the application other embodiments, described device further include:
The second processing unit, for showing described first when the second SIM card belonging network support circuits are fallen after rise The corresponding VoLTE switch of SIM card.
In the application other embodiments, described device further include:
Third determination unit, for determining described second when support circuits are not fallen after rise the second SIM card belonging network The state of the corresponding VoLTE switch of SIM card;
4th determination unit determines described first for the state according to the corresponding VoLTE switch of second SIM card The state of the corresponding VoLTE switch of SIM card.
In the application other embodiments, the 4th determination unit, comprising:
First processing module, for when second SIM card corresponding VoLTE switch is in off state, described in opening The corresponding VoLTE switch of first SIM card, and hide the corresponding VoLTE switch of first SIM card;
Second processing module, for when second SIM card corresponding VoLTE switch is in an open state, described in display The corresponding VoLTE switch of first SIM card.
It need to be noted that: the description of apparatus above embodiment, be with the description of above method embodiment it is similar, With the similar beneficial effect of same embodiment of the method.For undisclosed technical detail in the application Installation practice, please refer to The description of the application embodiment of the method and understand.
In the embodiment of the present application, if realizing above-mentioned switch selection method in the form of software function module, and conduct Independent product when selling or using, also can store in a computer readable storage medium.Based on this understanding, Substantially the part that contributes to existing technology can be with the shape of software product in other words for the technical solution of the embodiment of the present application Formula embodies, which is stored in a storage medium, including some instructions are used so that a calculating Equipment executes all or part of each embodiment the method for the application.And storage medium above-mentioned includes: USB flash disk, moves firmly The various media that can store program code such as disk, ROM (Read Only Memory, read-only memory), magnetic or disk. It is combined in this way, the embodiment of the present application is not limited to any specific hardware and software.
Accordingly, the embodiment of the present application provides a kind of computer equipment, which includes memory and processor, described to deposit Reservoir is stored with the computer program that can be run on a processor, and the processor realizes switch selecting party when executing described program Step in method.
Accordingly, the embodiment of the present application provides a kind of computer readable storage medium, is stored thereon with computer program, should The step in switch selection method is realized when computer program is executed by processor.
It need to be noted that: the description of medium stored above and apparatus embodiments, with retouching for above method embodiment It is similar for stating, and has with embodiment of the method similar beneficial effect.For in the application storage medium and apparatus embodiments not The technical detail of disclosure please refers to the description of the application embodiment of the method and understands.
It should be noted that Fig. 5 is a kind of hardware entities schematic diagram of the embodiment of the present application switch selectable unit, such as Fig. 5 Shown, the hardware entities of the switch selectable unit 500 include: memory 501, communication bus 502 and processor 503, wherein
Memory 501 is configured to store the instruction and application that can be performed by processor 503, can also cache device to be processed 503 and switch selectable unit 500 in each module is to be processed or processed data, FLASH (flash memory) or RAM can be passed through (Random Access Memory, random access storage device) is realized.
Communication bus 502 can make switch selectable unit 500 by network and other terminals or server communication, can be with Realize the connection communication between processor 503 and memory 501.
The overall operation of the usual control switch of processor 503 selection equipment 500.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, the technical solution of the application substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, computer, clothes Business device, air conditioner or the network equipment etc.) execute method described in each embodiment of the application.
The application is referring to method, the process of equipment (device) and computer program product according to the embodiment of the present application Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
The above is only preferred embodiment of the present application, are not intended to limit the scope of the patents of the application, all to utilize this Shen Please equivalent structure or equivalent flow shift made by specification and accompanying drawing content, be applied directly or indirectly in other relevant skills Art field similarly includes in the scope of patent protection of the application.

Claims (10)

1. a kind of switch selection method, which is characterized in that the described method includes:
Determine whether support circuits are fallen after rise the first subscriber identification card SIM card belonging network;
If support circuits are not fallen after rise the first SIM card belonging network, the corresponding long term evolution of first SIM card is opened Voice bearer VoLTE switch;
Hide the VoLTE switch.
2. the method according to claim 1, wherein the method also includes:
If the first SIM card belonging network support circuits are fallen after rise, the corresponding VoLTE switch of first SIM card is shown.
3. according to the method described in claim 2, it is characterized in that, whether the determination the first SIM card belonging network supports electricity It falls after rise on road, comprising:
The public of the first SIM card belonging network is obtained by the international mobile subscriber identity IMSI of first SIM card Land mobile network PLMN;
Obtain the PLMN list of not support circuits domain dropping;
Determine the PLMN of the first SIM card belonging network whether in the PLMN list;
If the PLMN of the first SIM card belonging network, in the PLMN list, the first SIM card belonging network is not Support circuits are fallen after rise;
If the PLMN of the first SIM card belonging network is not in the PLMN list, the first SIM card belonging network Support circuits are fallen after rise.
4. method according to any one of claims 1 to 3, which is characterized in that the method also includes:
When support circuits are not fallen after rise the first SIM card belonging network, it is determined whether include the second SIM card, wherein described the Two SIM cards are different SIM cards from first SIM card;
If including the second SIM card, it is determined that whether support circuits are fallen after rise the second SIM card belonging network;
If not including the second SIM card, the corresponding VoLTE switch of first SIM card is opened, and hide the first SIM Block corresponding VoLTE switch.
5. according to the method described in claim 4, it is characterized in that, the method also includes:
When the second SIM card belonging network support circuits are fallen after rise, the corresponding VoLTE switch of first SIM card is shown.
6. according to the method described in claim 4, it is characterized in that, the method also includes:
When support circuits are not fallen after rise the second SIM card belonging network, the corresponding VoLTE switch of second SIM card is determined State;
According to the state of the corresponding VoLTE switch of second SIM card, the corresponding VoLTE switch of first SIM card is determined State.
7. according to the method described in claim 6, it is characterized in that, described switch according to the corresponding VoLTE of second SIM card State, determine the state of first SIM card corresponding VoLTE switch, comprising:
When the corresponding VoLTE switch of second SIM card is in off state, opens the corresponding VoLTE of first SIM card and open It closes, and hides the corresponding VoLTE switch of first SIM card;
When the corresponding VoLTE switch of second SIM card is in an open state, show that the corresponding VoLTE of first SIM card is opened It closes.
8. a kind of switch selecting device, which is characterized in that described device comprises determining that unit, execution unit and hidden unit, In:
The determination unit, for determining whether support circuits are fallen after rise the first SIM card belonging network;
The execution unit opens described first if support circuits are not fallen after rise for the first SIM card belonging network The corresponding VoLTE switch of SIM card;
The hidden unit, for hiding the VoLTE switch.
9. a kind of computer equipment, including memory and processor, the memory are stored with the meter that can be run on a processor Calculation machine program, which is characterized in that the processor realizes the switch choosing of any one of claim 1 to 7 when executing described program Step in selection method.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program quilt The step in any one of claim 1 to 7 switch selection method is realized when processor executes.
CN201811324617.3A 2018-11-08 2018-11-08 Switch selection method and device, equipment and storage medium Active CN109246311B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811324617.3A CN109246311B (en) 2018-11-08 2018-11-08 Switch selection method and device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811324617.3A CN109246311B (en) 2018-11-08 2018-11-08 Switch selection method and device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109246311A true CN109246311A (en) 2019-01-18
CN109246311B CN109246311B (en) 2021-03-05

Family

ID=65077572

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811324617.3A Active CN109246311B (en) 2018-11-08 2018-11-08 Switch selection method and device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109246311B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117156424A (en) * 2023-02-09 2023-12-01 荣耀终端有限公司 Communication method and terminal equipment

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130340047A1 (en) * 2012-06-14 2013-12-19 St-Ericsson Sa Systems and methods for protection of a sip back-to-back user agent on modems
WO2014160978A2 (en) * 2013-03-29 2014-10-02 Mobileum Inc. ENABLING VOICE OVER LONG TERM EVOLUTION (VoLTE) SERVICES FOR NON-VoLTE INBOUND ROAMERS
CN105512582A (en) * 2015-12-29 2016-04-20 小米科技有限责任公司 Processing method and device for intelligent device and device for starting locked function item
CN106612542A (en) * 2015-10-23 2017-05-03 展讯通信(上海)有限公司 VoLTE terminal registration method and device
CN106713350A (en) * 2017-01-20 2017-05-24 深圳市万普拉斯科技有限公司 IMS (IP Multimedia Subsystem) registration status update reporting method and device
CN106851002A (en) * 2017-02-27 2017-06-13 宇龙计算机通信科技(深圳)有限公司 Network formats system of selection and system
CN106843885A (en) * 2017-01-24 2017-06-13 维沃移动通信有限公司 The method of controlling operation thereof and mobile terminal of a kind of mobile terminal
CN107046598A (en) * 2017-02-27 2017-08-15 捷开通讯(深圳)有限公司 The method and mobile terminal of a kind of control VOLTE functions based on mobile terminal
CN107124713A (en) * 2017-05-26 2017-09-01 维沃移动通信有限公司 One kind customization update method and mobile terminal
US9820258B2 (en) * 2015-08-28 2017-11-14 Kyocera Corporation Electronic apparatus
CN108124291A (en) * 2016-11-30 2018-06-05 展讯通信(上海)有限公司 The method, device and mobile terminal of VoLTE call hand-off process

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130340047A1 (en) * 2012-06-14 2013-12-19 St-Ericsson Sa Systems and methods for protection of a sip back-to-back user agent on modems
WO2014160978A2 (en) * 2013-03-29 2014-10-02 Mobileum Inc. ENABLING VOICE OVER LONG TERM EVOLUTION (VoLTE) SERVICES FOR NON-VoLTE INBOUND ROAMERS
US9820258B2 (en) * 2015-08-28 2017-11-14 Kyocera Corporation Electronic apparatus
CN106612542A (en) * 2015-10-23 2017-05-03 展讯通信(上海)有限公司 VoLTE terminal registration method and device
CN105512582A (en) * 2015-12-29 2016-04-20 小米科技有限责任公司 Processing method and device for intelligent device and device for starting locked function item
CN108124291A (en) * 2016-11-30 2018-06-05 展讯通信(上海)有限公司 The method, device and mobile terminal of VoLTE call hand-off process
CN106713350A (en) * 2017-01-20 2017-05-24 深圳市万普拉斯科技有限公司 IMS (IP Multimedia Subsystem) registration status update reporting method and device
CN106843885A (en) * 2017-01-24 2017-06-13 维沃移动通信有限公司 The method of controlling operation thereof and mobile terminal of a kind of mobile terminal
CN106851002A (en) * 2017-02-27 2017-06-13 宇龙计算机通信科技(深圳)有限公司 Network formats system of selection and system
CN107046598A (en) * 2017-02-27 2017-08-15 捷开通讯(深圳)有限公司 The method and mobile terminal of a kind of control VOLTE functions based on mobile terminal
CN107124713A (en) * 2017-05-26 2017-09-01 维沃移动通信有限公司 One kind customization update method and mobile terminal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117156424A (en) * 2023-02-09 2023-12-01 荣耀终端有限公司 Communication method and terminal equipment
WO2024165014A1 (en) * 2023-02-09 2024-08-15 荣耀终端有限公司 Call method and terminal device

Also Published As

Publication number Publication date
CN109246311B (en) 2021-03-05

Similar Documents

Publication Publication Date Title
CN109144626B (en) Screen locking method and mobile terminal
CN105873013B (en) A kind of operator's selection method, device and mobile terminal based on e-SIM card
CN105338178B (en) Communication method and device based on dual-card dual-standby single-pass terminal
CN109451186B (en) A kind of voice interception method and system
CN112153710B (en) Data transmission method, device, electronic equipment and storage medium
CN105472785B (en) Method and device for switching call network for dual-card terminal
CN109474528A (en) Communication connection method, device, terminal equipment and computer readable storage medium
US20160127689A1 (en) Dialing device and method for video conferencing
CN106937291A (en) Support card identification method and system
CN104601827A (en) Information processing method and mobile terminal
US8498383B2 (en) Media relay service
CN105791557A (en) VoLTE function automatic switching method and system
CN107634850A (en) A kind of application state acquisition methods and its equipment, storage medium, server
CN109246311A (en) A kind of switch selection method and device, equipment, storage medium
US20120079591A1 (en) Data Filtering for Communication Devices
CN103781046B (en) One-card soft dual-standby incoming call identification method for soft SIM card and communication terminal
CN108170537A (en) Game API approach, device, interface server and readable storage medium storing program for executing
CN111049822A (en) Short message verification code sending method and device, short message server and storage medium
CN108205520A (en) KPI and QoE regression models method for building up and device
CN107787024B (en) Shutdown method and device and home subscriber server
CN112970276B (en) Communication processing method, device, mobile terminal and storage medium
CN109429302A (en) Restoration methods and device after a kind of multi-card terminal off-grid
CN104580100A (en) Method, device and server for identifying malicious message
WO2016091074A1 (en) Method, device and system for identifying harassment communications via mobile communication terminal
CN111163078A (en) Network link interception method, device, equipment and medium

Legal Events

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