CN109246311B - Switch selection method and device, equipment and storage medium - Google Patents

Switch selection method and device, equipment and storage medium Download PDF

Info

Publication number
CN109246311B
CN109246311B CN201811324617.3A CN201811324617A CN109246311B CN 109246311 B CN109246311 B CN 109246311B CN 201811324617 A CN201811324617 A CN 201811324617A CN 109246311 B CN109246311 B CN 109246311B
Authority
CN
China
Prior art keywords
sim card
network
volte
switch corresponding
belongs
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811324617.3A
Other languages
Chinese (zh)
Other versions
CN109246311A (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

Images

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

The embodiment of the application discloses a switch selection method, which comprises the following steps: determining whether the network to which the first SIM card belongs supports circuit fallback; if the network to which the first SIM card belongs does not support circuit fallback, a VoLTE switch corresponding to the first SIM card is turned on; hiding the VoLTE switch. The embodiment of the application also provides a switch selection device, equipment and a storage medium.

Description

Switch selection method and device, equipment and storage medium
Technical Field
The embodiment of the application relates to communication technology, and relates to but is not limited to a switch selection method, a device, equipment and a storage medium.
Background
VoLTE (Voice over Long-Term Evolution Voice bearer) is a high-speed wireless communication standard facing mobile phones and data terminals. Based on an IP (Internet Protocol) multimedia subsystem network, the method uses a configuration file specially made for a control plane and a media plane of a voice service on an LTE (Long Term Evolution), so that the voice service (control and media plane) is transmitted in an LTE data bearer network as a data stream without maintaining and depending on a traditional circuit switching voice network. The most immediate experience that VoLTE Technology brings to 4G (The 4th Generation Mobile Communication Technology, fourth Generation Mobile Communication Technology) users is shorter turn-on latency and higher quality, more natural voice-video call effects.
Therefore, VoLTE does not need a 2G (2-Generation wireless telephone technology, second-Generation mobile communication technology specification) network and a 3G (3rd-Generation, third-Generation mobile communication technology) network, all services are carried on a 4G network, and the unification of data and voice services under the same network can be realized. However, the prior art has the disadvantage that for VoLTE-enabled networks, a VoLTE switch is displayed, which is controlled by the user. In this case, for a network that supports VoLTE but does not support Circuit fallback, if a VoLTE Switch is displayed for a user to operate, the user turns off VoLTE, which may cause that the terminal device cannot perform neither PS (Packet Switch) call (i.e., VoLTE call) nor CS (Circuit Switch) call (caused by that Circuit fallback is not supported), the terminal device may not have call capability, which may cause great trouble to the user, and may also cause unnecessary trouble to the terminal or the later maintenance of the operator.
Disclosure of Invention
In view of this, embodiments of the present application provide a switch selection method, a device, an apparatus, and a storage medium to solve at least one problem in the prior art, so as to enable a terminal device to always keep VoLTE on for a network that does not support circuit fallback, and avoid that a user mistakenly turns off VoLTE to cause the terminal to have no call capability.
The technical scheme of the embodiment of the application is realized as follows:
in a first aspect, an embodiment of the present application provides a switch selection method, where the method includes:
determining whether a network to which a first SIM (Subscriber identity Module) card belongs supports circuit fallback;
if the network to which the first SIM card belongs does not support circuit fallback, a VoLTE switch corresponding to the first SIM card is turned on;
hiding the VoLTE switch.
In an embodiment of the present application, the method further includes:
and if the network supporting circuit to which the first SIM card belongs falls back, displaying the VoLTE switch corresponding to the first SIM card.
In this embodiment of the present application, the determining whether the network to which the first SIM card belongs supports circuit fallback includes:
acquiring a Public Land Mobile Network (PLMN) of a Network to which the first SIM card belongs by using an International Mobile Subscriber Identity (IMSI) of the first SIM card;
acquiring a PLMN list which does not support circuit domain fallback;
determining whether a PLMN of a network to which the first SIM card belongs is in the PLMN list;
if the PLMN of the network to which the first SIM card belongs is in the PLMN list, the network to which the first SIM card belongs does not support circuit fallback;
if the PLMN of the network to which the first SIM card belongs is not in the PLMN list, the network to which the first SIM card belongs supports circuit fallback.
In an embodiment of the present application, the method further includes:
when the network to which the first SIM card belongs does not support circuit fallback, determining whether a second SIM card is included, wherein the second SIM card is different from the first SIM card;
if the second SIM card is contained, determining whether the network to which the second SIM card belongs supports circuit fallback;
and if the second SIM card is not contained, opening the VoLTE switch corresponding to the first SIM card, and hiding the VoLTE switch corresponding to the first SIM card.
In an embodiment of the present application, the method further includes:
and when the network supporting circuit to which the second SIM card belongs falls back, displaying the VoLTE switch corresponding to the first SIM card.
In an embodiment of the present application, the method further includes:
when the network to which the second SIM card belongs does not support circuit fallback, determining the state of a VoLTE switch corresponding to the second SIM card;
and determining the state of the VoLTE switch corresponding to the first SIM card according to the state of the VoLTE switch corresponding to the second SIM card.
In this embodiment of the application, the determining, according to the state of the VoLTE switch corresponding to the second SIM card, the state of the VoLTE switch corresponding to the first SIM card includes:
when the VoLTE switch corresponding to the second SIM card is in a closed state, the VoLTE switch corresponding to the first SIM card is opened, and the VoLTE switch corresponding to the first SIM card is hidden;
and when the VoLTE switch corresponding to the second SIM card is in an open state, displaying the VoLTE switch corresponding to the first SIM card.
In a second aspect, an embodiment of the present application provides a switch selection apparatus, including: a determining unit, an executing unit and a hiding unit, wherein:
the determining unit is used for determining whether the network to which the first SIM card belongs supports circuit fallback;
the execution unit is configured to open a VoLTE switch corresponding to the first SIM card if the network to which the first SIM card belongs does not support circuit fallback;
the hiding unit is used for hiding the VoLTE switch.
In an embodiment of the present application, the apparatus further includes:
and the display unit is used for displaying the VoLTE switch corresponding to the first SIM card if the network supporting circuit to which the first SIM card belongs falls back.
In an embodiment of the present application, the determining unit includes:
a first obtaining module, configured to obtain, through the IMSI of the first SIM card, a PLMN of a network to which the first SIM card belongs;
the second acquisition module is used for acquiring a PLMN list which does not support circuit domain fallback;
a determining module, configured to determine whether a PLMN of a network to which the first SIM card belongs is in the PLMN list;
a first judging module, configured to, if a PLMN of a network to which the first SIM card belongs is in the PLMN list, determine that the network to which the first SIM card belongs does not support circuit fallback;
and the second judging module is used for falling back the network support circuit of the first SIM card if the PLMN of the network to which the first SIM card belongs is not in the PLMN list.
In an embodiment of the present application, the apparatus further includes:
a first determining unit, configured to determine whether a second SIM card is included when a network to which the first SIM card belongs does not support circuit fallback, where the second SIM card is different from the first SIM card;
a second determining unit, configured to determine whether a network to which a second SIM card belongs supports circuit fallback if the second SIM card is included;
the first processing unit is used for opening the VoLTE switch corresponding to the first SIM card and hiding the VoLTE switch corresponding to the first SIM card if the second SIM card is not included.
In an embodiment of the present application, the apparatus further includes:
and the second processing unit is used for displaying the VoLTE switch corresponding to the first SIM card when the network supporting circuit to which the second SIM card belongs falls back.
In an embodiment of the present application, the apparatus further includes:
a third determining unit, configured to determine, when the network to which the second SIM card belongs does not support circuit fallback, a state of a VoLTE switch corresponding to the second SIM card;
and the fourth determining unit is used for determining the state of the VoLTE switch corresponding to the first SIM card according to the state of the VoLTE switch corresponding to the second SIM card.
In an embodiment of the present application, the fourth determining unit includes:
the first processing module is used for opening the VoLTE switch corresponding to the first SIM card and hiding the VoLTE switch corresponding to the first SIM card when the VoLTE switch corresponding to the second SIM card is in a closed state;
and the second processing module is used for displaying the VoLTE switch corresponding to the first SIM card when the VoLTE switch corresponding to the second SIM card is in an open state.
In a third aspect, an embodiment of the present application provides a computer device, including a memory and a processor, where the memory stores a computer program executable on the processor, and the processor executes the computer program to implement the steps in the switch selection method as described above.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps in the switch selection method as described above.
The embodiment of the application provides a switch selection method, a device, equipment and a storage medium, and determines 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, a VoLTE switch corresponding to the first SIM card is turned on; and hiding the VoLTE switch, so that the terminal equipment can be always kept on by the VoLTE switch, and the situation that the terminal has no conversation capacity due to the fact that the VoLTE is closed by misoperation of a user is avoided.
Drawings
FIG. 1A is a schematic diagram illustrating a flow chart of a prior art switch selection method according to the present application;
fig. 1B is a schematic flow chart illustrating a first implementation of a switch selection method according to an embodiment of the present application;
fig. 1C is a schematic diagram of a VoLTE switch of a mobile phone interface according to an embodiment of the present application;
fig. 2 is a schematic diagram of a second implementation flow of the switch selection method according to the embodiment of the present application;
fig. 3 is a schematic flow chart illustrating an implementation of a switch selection method according to an embodiment of the present application;
FIG. 4 is a schematic diagram of a switch selection device according to an embodiment of the present application;
fig. 5 is a schematic diagram of a hardware entity of a switch selection device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the following will describe the specific technical solutions of the present application in further detail with reference to the accompanying drawings in the embodiments of the present application. The following examples are intended to illustrate the present application only and are not intended to limit the scope of the present application.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for the convenience of description of the present application, and have no specific meaning by themselves. Thus, "module", "component" or "unit" may be used mixedly.
Generally, a terminal may be various types of devices having information processing capability in the implementation process, for example, the terminal may include a mobile phone, a tablet computer, a smart watch, a smart bracelet, a bluetooth headset, a desktop computer, a Personal Digital Assistant (PDA), a navigator, a Digital phone, a video phone, a television, a sensing device, and the like.
Fig. 1A is a schematic diagram of an implementation flow of a switch selection method in the prior art of the present application, and as shown in fig. 1A, in the prior art, a VoLTE switch selection method is:
step S101, displaying a VoLTE switch;
step S102, a user turns on or off a VoLTE switch;
step S103, correspondingly, registering VoLTE or canceling the VoLTE;
it can be seen that, in the prior art, for a network registered in the network that does not support circuit fallback, if the user turns off VoLTE, the terminal device has no conversation capability. That is, the device cannot be PS-enabled because VoLTE is not registered; and CS calls cannot be made because the network does not support circuit fallback.
Based on this, the embodiment of the application provides a switch selection method, a device, equipment and a storage medium, which can enable terminal equipment to be always kept on in VoLTE, and avoid that the terminal has no conversation capability due to the fact that the VoLTE is turned off by misoperation of a user.
The technical solution of the present application is further elaborated below with reference to the drawings and the embodiments.
The embodiment of the application provides a switch selection method, which is applied to a computing device, and the functions implemented by the method can be implemented by calling a program code through a processor in a server, where the program code can be stored in a computer storage medium. Fig. 1B is a first schematic flow chart of an implementation of a switch selection method according to an embodiment of the present application, and as shown in fig. 1B, the method includes:
step S111, determining whether the network to which the first SIM card belongs supports circuit fallback;
here, the SIM card, also referred to as a subscriber identity card or a smart card, is mainly used for authenticating the identity of a network client, and the like.
Here, the circuit fallback is a technology that is generated to enable the terminal to initiate and receive a page of a CS service such as voice under the LTE access and to correctly process a PS service that the terminal is currently performing in the LTE network when the circuit domain service signal cannot be received/transmitted using the LTE access. That is, in some cases, a 4G handset needs to go to a 2G or 3G network when making a call, and the process from 4G to 2G/3G network when making a call is a circuit drop.
Step S112, if the network to which the first SIM card belongs does not support circuit fallback, a VoLTE switch corresponding to the first SIM card is opened;
in the embodiment of the application, when the network to which the first SIM card belongs does not support circuit fallback, the terminal may automatically open the VoLTE switch corresponding to the first SIM card, and register the VoLTE function of the first SIM card, so that the first SIM card has a voice call function.
And S113, hiding the VoLTE switch.
In the embodiment of the application, when a network to which a first SIM card of a terminal belongs does not support circuit fallback, the first SIM card is hidden, so as to prevent a VoLTE switch of the first SIM card from being turned off due to user misoperation, so that the first SIM card or the terminal to which the first SIM card belongs does not have a voice call function.
Fig. 1C is a schematic view of a VoLTE switch of a mobile phone interface in the embodiment of the present application, and as shown in fig. 1C, if a network to which a first SIM card belongs does not support circuit fallback, a VoLTE call switch 11 corresponding to the first SIM card is opened, and the VoLTE call switch 11 is hidden.
In the embodiment of the application, whether the network to which the first SIM card belongs supports circuit fallback is determined; if the network to which the first SIM card belongs does not support circuit fallback, a VoLTE switch corresponding to the first SIM card is turned on; and hiding the VoLTE switch, so that the terminal equipment can be always kept on by the VoLTE switch, and the situation that the terminal has no conversation capacity due to the fact that the VoLTE is closed by misoperation of a user is avoided.
Based on the foregoing embodiments, an embodiment of the present application further provides a switch selection method, and fig. 2 is a schematic diagram of an implementation flow of the switch selection method according to the embodiment of the present application, and as shown in fig. 2, the method includes:
step S201, determining whether a network to which a first SIM card belongs supports circuit fallback;
in this embodiment of the application, the step S201 of determining whether the network to which the first SIM card belongs supports circuit fallback may be implemented in the following manner:
step S2011, acquiring a PLMN of a network to which the first SIM card belongs through the IMSI of the first SIM card;
here, the IMSI is a flag for distinguishing a mobile subscriber, and is stored in the SIM card, and is used as valid information for distinguishing a mobile subscriber. The total length of the device does not exceed 15 bits, and numbers ranging from 0 to 9 are also used. The MCC (Mobile Country Code) is a Code number of a Country to which a Mobile subscriber belongs, and occupies 3 digits. The MNC (Mobile Network Code) is a Mobile Network number, which is composed of two or three digits and is used to identify a Mobile communication Network to which a Mobile subscriber belongs. MSIN (Mobile Subscriber identity Number) is a Mobile Subscriber identity Number (ms id) used to identify a Mobile Subscriber in a Mobile communication network. The PLMN mainly comprises MCC and MNC, and the MCC and MNC of the network to which the SIM card belongs can be obtained through the IMSI, namely the PLMN of the network to which the SIM card belongs is obtained.
Step S2012, obtaining a PLMN list that does not support circuit switched domain fallback;
here, the PLMN list not supporting circuit switched fallback is directly obtained by an operator or other means, and a manner of obtaining the PLMN list not supporting circuit switched fallback is not specifically limited in the present application.
Step S2013, determining whether the PLMN of the network to which the first SIM card belongs is in the PLMN list;
in this embodiment of the present application, after obtaining the PLMN of the network to which the first SIM card belongs through the IMSI of the first SIM card, whether the network to which the first SIM card belongs supports circuit fallback may be determined according to whether the PLMN of the network to which the first SIM card belongs is in a PLMN list that does not support circuit fallback.
Step S2014, if the PLMN of the network to which the first SIM card belongs is in the PLMN list, the network to which the first SIM card belongs does not support circuit fallback;
step S2015, if the PLMN of the network to which the first SIM card belongs is not in the PLMN list, the network to which the first SIM card belongs supports circuit fallback.
Step S202, if the network to which the first SIM card belongs does not support circuit fallback, a VoLTE switch corresponding to the first SIM card is opened;
step S203, hiding the VoLTE switch;
and step S204, if the network supporting circuit to which the first SIM card belongs falls back, displaying a VoLTE switch corresponding to the first SIM card.
Here, if the network support circuit to which the first SIM card belongs falls back, the VoLTE switch corresponding to the first SIM card may be displayed, so that the user may select the switch to be turned off. If the user selects to open the VoLTE switch corresponding to the first SIM card, the VoLTE is used when the first SIM card is used for voice communication; if the user selects to close the VoLTE switch corresponding to the first SIM card, circuit drop can be performed when voice communication is performed by using the first SIM card, and a 2G or 3G network is used. Therefore, no matter the user turns on or turns off the VoLTE switch of the first SIM card, the first SIM card or the terminal to which the first SIM card belongs can carry out voice call, namely, the terminal has a voice call function.
In the embodiment of the application, whether the network to which the first SIM card belongs supports circuit fallback is determined; if the network to which the first SIM card belongs does not support circuit fallback, a VoLTE switch corresponding to the first SIM card is turned on; and hiding the VoLTE switch, and displaying the VoLTE switch corresponding to the first SIM card if the network support circuit to which the first SIM card belongs falls back, so that the terminal equipment can be always kept on VoLTE, and the condition that the terminal has no conversation capacity due to the fact that the VoLTE is closed by misoperation of a user is avoided.
Based on the foregoing embodiments, an embodiment of the present application further provides a switch selection method, where the method includes:
step S211, determining whether the network to which the first SIM card belongs supports circuit fallback;
step S212, when the network to which the first SIM card belongs does not support circuit fallback, determining whether a second SIM card is included, wherein the second SIM card is different from the first SIM card;
here, the present invention is mainly applied to a case where a terminal includes two or more SIM cards, and the present embodiment is described by taking a case where two SIM cards exist in the terminal as an example. When the network to which the first SIM card of the terminal belongs does not support circuit drop, continuously judging whether a second SIM card exists in the terminal, and further determining the state of the VoLTE switch corresponding to the first SIM card by judging whether the second SIM card supports circuit drop and the state of the VoLTE switch corresponding to the second SIM card, wherein the states comprise opening, closing, displaying, hiding and the like.
Step S213, if the second SIM card is contained, determining whether the network to which the second SIM card belongs supports circuit fallback;
here, when the terminal includes the second SIM card, it is determined whether the network to which the second SIM card belongs supports circuit fallback, if the network to which the second SIM card belongs supports circuit fallback, step S214 is performed, and if the network to which the second SIM card belongs does not support circuit fallback, step S215 and step S216 are performed.
Step S214, when the network supporting circuit to which the second SIM card belongs falls back, displaying a VoLTE switch corresponding to the first SIM card;
here, when the network support circuit to which the second SIM card belongs falls back, the VoLTE switch corresponding to the first SIM card may be displayed for the user to select on or off. If the user selects to close the VoLTE switch corresponding to the first SIM card, the first SIM card does not have the call function, but the network to which the second SIM card belongs is a network that supports circuit fallback, the user can still use the second SIM card to make a call, and the call function of the terminal is not lost.
Step S215, when the network to which the second SIM card belongs does not support circuit fallback, determining the state of a VoLTE switch corresponding to the second SIM card;
step S216, determining the state of the VoLTE switch corresponding to the first SIM card according to the state of the VoLTE switch corresponding to the second SIM card;
step S217, if the second SIM card is not included, opening the VoLTE switch corresponding to the first SIM card, and hiding the VoLTE switch corresponding to the first SIM card.
Here, when the first SIM card does not support circuit drop and the terminal does not include the second SIM card, in order to enable the terminal to have a call function and prevent the call function of the terminal from being lost due to a user misoperation, it is necessary to automatically open the VoLTE switch corresponding to the first SIM card and hide the VoLTE switch corresponding to the first SIM card.
In this embodiment of the application, in step S216, the state of the VoLTE switch corresponding to the first SIM card is determined according to the state of the VoLTE switch corresponding to the second SIM card, which may be implemented in the following manner:
step S2161, when the VoLTE switch corresponding to the second SIM card is in a closed state, opening the VoLTE switch corresponding to the first SIM card, and hiding the VoLTE switch corresponding to the first SIM card;
here, when the first SIM card does not support circuit drop, the network to which the second SIM card of the terminal belongs does not support circuit drop, and the VoLTE switch corresponding to the second SIM card is in the off state, in order to enable the terminal to have a call function and prevent the call function of the terminal from being lost due to user misoperation, the VoLTE switch corresponding to the first SIM card needs to be automatically turned on and hidden.
Step S2162, when the VoLTE switch corresponding to the second SIM card is in an open state, displaying the VoLTE switch corresponding to the first SIM card.
In the embodiment of the application, when the network to which the first SIM card of the terminal belongs does not support circuit fallback, whether the second SIM card exists in the terminal is judged. And when the network to which the second SIM card belongs does not support circuit fall back and the VoLTE switch corresponding to the second SIM card is in the closed state, the VoLTE switch corresponding to the first SIM card is opened and hidden, and the operation has the function of preventing the VoLTE switch of the first SIM card and the VoLTE switch of the second SIM card from being in the closed state due to misoperation of a user under the condition that all the SIM cards of the terminal do not have the circuit fall back, so that the terminal does not have a voice call function.
In the embodiment of the application, whether the network to which the first SIM card belongs supports circuit fallback is determined; when the network to which the first SIM card belongs does not support circuit fallback, determining whether a second SIM card is included, wherein the second SIM card is different from the first SIM card; if the second SIM card is contained, determining whether the network to which the second SIM card belongs supports circuit fallback; when the network supporting circuit to which the second SIM card belongs falls back, displaying a VoLTE switch corresponding to the first SIM card; when the network to which the second SIM card belongs does not support circuit fallback, determining the state of a VoLTE switch corresponding to the second SIM card; determining the state of a VoLTE switch corresponding to the first SIM card according to the state of the VoLTE switch corresponding to the second SIM card; if the second SIM card is not included, the VoLTE switch corresponding to the first SIM card is opened, and the VoLTE switch corresponding to the first SIM card is hidden, so that the terminal equipment can be always kept on VoLTE, and the situation that the terminal has no conversation capacity due to the fact that the VoLTE is closed by misoperation of a user is avoided.
Based on the above embodiments, an embodiment of the present application further provides a switch selection method, and compared with the prior art, in the present application, for a network that does not support circuit fallback, a VoLTE switch is hidden and kept open, so that it is ensured that a terminal device can register VoLTE and has a call capability. The problem that the terminal equipment does not have conversation capacity due to the fact that the terminal equipment cannot register VoLTE and does not have circuit fall back when a user closes the VoLTE through a switch is solved. Fig. 3 is a schematic flow chart of a third implementation of the switch selection method according to the embodiment of the present application, and as shown in fig. 3, the method includes:
s301, acquiring a PLMN list which does not support circuit switched domain fallback;
step S302, reading IMSI of an SIM card, and acquiring a PLMN corresponding to the SIM card;
step S303, comparing the PLMN of the SIM card with the PLMN list which does not support circuit domain fallback;
step S304, if the PLMN list which does not support circuit domain fallback contains the PLMN of the SIM card, hiding a VoLTE switch and opening the VoLTE;
step S305, if the PLMN list which does not support circuit domain fall back does not contain the PLMN of the SIM card, a VoLTE switch is displayed, and a user can select to turn on or turn off the switch.
In the prior art, a VoLTE switch is always displayed, and a user selects to turn on or off the switch. If the user closes the VoLTE switch, the device cannot register VoLTE, and the network does not support circuit domain fallback, which may cause the device to have no call capability.
In the embodiment of the application, by controlling the display and the switch selection of the VoLTE, when the equipment registers the network which does not support circuit fall back, the VoLTE switch is hidden and kept in the open state, so that the VoLTE is always opened and registered, and the equipment can talk. By adopting the technical scheme in the embodiment of the application, the terminal equipment can not have no conversation capability because the VoLTE is closed by the user aiming at the network which does not support circuit fallback. And after the terminal equipment is inserted into the SIM card, acquiring the PLMN of the terminal equipment, and if the PLMN is contained in a PLMN list which does not support circuit domain fallback, hiding the VoLTE switch and always opening the VoLTE.
The application scenario of the technical scheme in the embodiment of the application is mainly that the terminal equipment is inserted into an SIM card which supports both CS and PS, a VoLTE switch is used for displaying, and a user can switch on and off the VoLTE and select CS communication or PS communication. The terminal equipment is inserted with an operator SIM card only with a PS call network, the network to which the SIM card belongs to a network which does not support circuit fallback, a VoLTE switch is hidden and opened, and the situation that the terminal does not have call capability due to the fact that a user does not know that the SIM card does not support CS call and the VoLTE switch is closed mistakenly is avoided.
In the embodiment of the application, a PLMN list which does not support circuit domain fallback is obtained; reading the IMSI of the SIM card, and acquiring the PLMN corresponding to the SIM card; comparing the PLMN of the SIM card with the PLMN list which does not support circuit switched fallback; if the PLMN list which does not support circuit domain fallback contains the PLMN of the SIM card, hiding a VoLTE switch and opening the VoLTE; if the PLMN list which does not support circuit domain fallback does not contain the PLMN of the SIM card, a VoLTE switch is displayed, and a user can select to turn on or turn off the VoLTE switch, so that the situation that the terminal does not have conversation capacity due to the fact that the user turns off the VoLTE is avoided.
An embodiment of the present application provides a switch selection device, fig. 4 is a schematic structural diagram of a component of the switch selection device according to the embodiment of the present application, and as shown in fig. 4, the device 400 includes: a determining unit 401, an executing unit 402 and a hiding unit 403, wherein:
the determining unit 401 is configured to determine whether the network to which the first SIM card belongs supports circuit fallback;
the execution unit 402 is configured to open a VoLTE switch corresponding to the first SIM card if the network to which the first SIM card belongs does not support circuit fallback;
the hiding unit 403 is configured to hide the VoLTE switch.
In other embodiments of the present application, the apparatus further comprises:
and the display unit is used for displaying the VoLTE switch corresponding to the first SIM card if the network supporting circuit to which the first SIM card belongs falls back.
In other embodiments of the present application, the determining unit 401 includes:
a first obtaining module, configured to obtain, through the IMSI of the first SIM card, a PLMN of a network to which the first SIM card belongs;
the second acquisition module is used for acquiring a PLMN list which does not support circuit domain fallback;
a determining module, configured to determine whether a PLMN of a network to which the first SIM card belongs is in the PLMN list;
a first judging module, configured to, if a PLMN of a network to which the first SIM card belongs is in the PLMN list, determine that the network to which the first SIM card belongs does not support circuit fallback;
and the second judging module is used for falling back the network support circuit of the first SIM card if the PLMN of the network to which the first SIM card belongs is not in the PLMN list.
In other embodiments of the present application, the apparatus further comprises:
a first determining unit, configured to determine whether a second SIM card is included when a network to which the first SIM card belongs does not support circuit fallback, where the second SIM card is different from the first SIM card;
a second determining unit, configured to determine whether a network to which a second SIM card belongs supports circuit fallback if the second SIM card is included;
the first processing unit is used for opening the VoLTE switch corresponding to the first SIM card and hiding the VoLTE switch corresponding to the first SIM card if the second SIM card is not included.
In other embodiments of the present application, the apparatus further comprises:
and the second processing unit is used for displaying the VoLTE switch corresponding to the first SIM card when the network supporting circuit to which the second SIM card belongs falls back.
In other embodiments of the present application, the apparatus further comprises:
a third determining unit, configured to determine, when the network to which the second SIM card belongs does not support circuit fallback, a state of a VoLTE switch corresponding to the second SIM card;
and the fourth determining unit is used for determining the state of the VoLTE switch corresponding to the first SIM card according to the state of the VoLTE switch corresponding to the second SIM card.
In other embodiments of the present application, the fourth determining unit includes:
the first processing module is used for opening the VoLTE switch corresponding to the first SIM card and hiding the VoLTE switch corresponding to the first SIM card when the VoLTE switch corresponding to the second SIM card is in a closed state;
and the second processing module is used for displaying the VoLTE switch corresponding to the first SIM card when the VoLTE switch corresponding to the second SIM card is in an open state.
Here, it should be noted that: the above description of the apparatus embodiments, similar to the above description of the method embodiments, has similar beneficial effects as the method embodiments. For technical details not disclosed in the embodiments of the apparatus of the present application, reference is made to the description of the embodiments of the method of the present application for understanding.
In the embodiment of the present application, if the switch selection method is implemented in the form of a software functional module and is sold or used as a standalone product, the switch selection method may also be stored in a computer-readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially implemented or portions thereof contributing to the prior art may be embodied in the form of a software product stored in a storage medium, which includes several instructions for causing a computing device to execute all or part of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a ROM (Read Only Memory), a magnetic disk, or an optical disk. Thus, embodiments of the present application are not limited to any specific combination of hardware and software.
Correspondingly, the embodiment of the application provides a computer device, which comprises a memory and a processor, wherein the memory stores a computer program capable of running on the processor, and the processor implements the steps in the switch selection method when executing the program.
Correspondingly, embodiments of the present application provide a computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the steps in the switch selection method.
Here, it should be noted that: the above description of the storage medium and device embodiments is similar to the description of the method embodiments above, with similar advantageous effects as the method embodiments. For technical details not disclosed in the embodiments of the storage medium and apparatus of the present application, reference is made to the description of the embodiments of the method of the present application for understanding.
It should be noted that fig. 5 is a schematic diagram of a hardware entity of a switch selection device according to an embodiment of the present application, and as shown in fig. 5, the hardware entity of the switch selection device 500 includes: a memory 501, a communication bus 502, and a processor 503, wherein,
the Memory 501 is configured to store instructions and applications executable by the processor 503, and may also buffer data to be processed or already processed by the processor 503 and modules in the switch selection device 500, and may be implemented by a FLASH Memory (FLASH Memory) or a Random Access Memory (RAM).
The communication bus 502 may allow the switch selection device 500 to communicate with other terminals or servers via a network, and may also allow for connection communication between the processor 503 and the memory 501.
The processor 503 generally controls the overall operation of the switch selection device 500.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method described in the embodiments of the present application.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (devices), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only a preferred embodiment of the present application, and not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings of the present application, or which are directly or indirectly applied to other related technical fields, are included in the scope of the present application.

Claims (10)

1. A switch selection method, the method comprising:
determining whether the network to which the first SIM card belongs supports circuit fallback;
if the network to which the first SIM card belongs does not support circuit fallback, a long term evolution voice over LTE switch corresponding to the first SIM card is turned on;
hiding the VoLTE switch.
2. The method of claim 1, further comprising:
and if the network supporting circuit to which the first SIM card belongs falls back, displaying the VoLTE switch corresponding to the first SIM card.
3. The method of claim 2, wherein the determining whether the network to which the first SIM card belongs supports circuit fallback comprises:
acquiring a Public Land Mobile Network (PLMN) of a network to which the first SIM card belongs through an International Mobile Subscriber Identity (IMSI) of the first SIM card;
acquiring a PLMN list which does not support circuit domain fallback;
determining whether a PLMN of a network to which the first SIM card belongs is in the PLMN list;
if the PLMN of the network to which the first SIM card belongs is in the PLMN list, the network to which the first SIM card belongs does not support circuit fallback;
if the PLMN of the network to which the first SIM card belongs is not in the PLMN list, the network to which the first SIM card belongs supports circuit fallback.
4. The method according to any one of claims 1 to 3, further comprising:
when the network to which the first SIM card belongs does not support circuit fallback, determining whether a second SIM card is included, wherein the second SIM card is different from the first SIM card;
if the second SIM card is contained, determining whether the network to which the second SIM card belongs supports circuit fallback;
and if the second SIM card is not contained, opening the VoLTE switch corresponding to the first SIM card, and hiding the VoLTE switch corresponding to the first SIM card.
5. The method of claim 4, further comprising:
and when the network supporting circuit to which the second SIM card belongs falls back, displaying the VoLTE switch corresponding to the first SIM card.
6. The method of claim 4, further comprising:
when the network to which the second SIM card belongs does not support circuit fallback, determining the state of a VoLTE switch corresponding to the second SIM card;
and determining the state of the VoLTE switch corresponding to the first SIM card according to the state of the VoLTE switch corresponding to the second SIM card.
7. The method of claim 6, wherein the determining the state of the VoLTE switch corresponding to the first SIM card according to the state of the VoLTE switch corresponding to the second SIM card comprises:
when the VoLTE switch corresponding to the second SIM card is in a closed state, the VoLTE switch corresponding to the first SIM card is opened, and the VoLTE switch corresponding to the first SIM card is hidden;
and when the VoLTE switch corresponding to the second SIM card is in an open state, displaying the VoLTE switch corresponding to the first SIM card.
8. A switch selection device, the device comprising: a determining unit, an executing unit and a hiding unit, wherein:
the determining unit is used for determining whether the network to which the first SIM card belongs supports circuit fallback;
the execution unit is configured to open a VoLTE switch corresponding to the first SIM card if the network to which the first SIM card belongs does not support circuit fallback;
the hiding unit is used for hiding the VoLTE switch.
9. A computer device comprising a memory and a processor, the memory storing a computer program operable on the processor, wherein the processor implements the steps of the switch selection method of any one of claims 1 to 7 when executing the program.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the switch selection method according to any one of claims 1 to 7.
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 CN109246311A (en) 2019-01-18
CN109246311B true 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)

Families Citing this family (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 (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014160978A2 (en) * 2013-03-29 2014-10-02 Mobileum Inc. ENABLING VOICE OVER LONG TERM EVOLUTION (VoLTE) SERVICES FOR NON-VoLTE INBOUND ROAMERS
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
CN107046598A (en) * 2017-02-27 2017-08-15 捷开通讯(深圳)有限公司 The method and mobile terminal of a kind of control VOLTE functions based on 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

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9027088B2 (en) * 2012-06-14 2015-05-05 Ericsson Modems Sa Systems and methods for protection of a SIP back-to-back user agent on modems
CN106612542B (en) * 2015-10-23 2019-10-22 展讯通信(上海)有限公司 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
CN106843885A (en) * 2017-01-24 2017-06-13 维沃移动通信有限公司 The method of controlling operation thereof and mobile terminal of a kind of mobile terminal
CN107124713B (en) * 2017-05-26 2021-01-08 维沃移动通信有限公司 Customized updating method and mobile terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
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
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

Also Published As

Publication number Publication date
CN109246311A (en) 2019-01-18

Similar Documents

Publication Publication Date Title
US7209735B2 (en) Mobile communication apparatus
CN115038130B (en) Mobile data service switching method, terminal and computer storage medium
KR960016215A (en) Wireless telephones with multiple subscriber identifiers and methods of operation
CN102970419B (en) Communication method of mobile terminal and mobile terminal
US20050239469A1 (en) Method and radio terminal equipment arrangement of indicating incoming connection
KR100744376B1 (en) Method for discriminating selected line information among multi-line information providing alternate line service and the apparatus therefor
CN106535291A (en) SIM card selection method and device
CN114401492A (en) Incoming call information notification method, incoming call information notification device, call notification server, and storage medium
WO2021121271A1 (en) Method and device for loading carrier configuration file, mobile terminal, and storage medium
CN106506867A (en) A kind of call method and mobile terminal
CN103945345A (en) Information prompt method and mobile terminal
CN107277871B (en) VoLTE network registration method, device and terminal thereof
US8000695B2 (en) Communication device employment of one or more restrictions to make determination of allowability of one or more communication sessions
CN109246311B (en) Switch selection method and device, equipment and storage medium
WO2018010273A1 (en) Method and device for processing concurrent data services
CN103974215B (en) Control method of electronic device and electronic equipment
CN105898047A (en) Contact dialing management method, dialing method and related devices
EP2343873A1 (en) Systems and Methods for Presenting an Image on a Display of a Mobile Device
CN202841291U (en) Multi-number communication terminal
US20100285782A1 (en) Method and device to inform of database update on a terminal system of an end-user
CN101616219A (en) A kind of call processing method and device
CN108574503B (en) Setting method of interception setting option and related equipment
CN109413761B (en) Calling method applied to network calling platform and network calling platform
CN112235472A (en) Call processing method and device
CN105611090B (en) A kind of call method and communicator

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