CN109548003B - VoLTE switch state configuration method and device and mobile terminal - Google Patents
VoLTE switch state configuration method and device and mobile terminal Download PDFInfo
- Publication number
- CN109548003B CN109548003B CN201910013724.2A CN201910013724A CN109548003B CN 109548003 B CN109548003 B CN 109548003B CN 201910013724 A CN201910013724 A CN 201910013724A CN 109548003 B CN109548003 B CN 109548003B
- Authority
- CN
- China
- Prior art keywords
- sim card
- volte
- volte switch
- imsi
- configuration information
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/18—Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
- H04W8/183—Processing at user equipment or user record carrier
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/06—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols the encryption apparatus using shift registers or memories for block-wise or stream coding, e.g. DES systems or RC4; Hash functions; Pseudorandom sequence generators
- H04L9/0643—Hash functions, e.g. MD5, SHA, HMAC or f9 MAC
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/18—Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W88/00—Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
- H04W88/02—Terminal devices
- H04W88/06—Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Power Engineering (AREA)
- Computer Security & Cryptography (AREA)
- Telephone Function (AREA)
- Telephonic Communication Services (AREA)
Abstract
The application belongs to the technical field of communication, and particularly relates to a configuration method and device of a VoLTE switch state and a mobile terminal, wherein the configuration method comprises the following steps: when an inserting signal of the SIM card is received, acquiring an International Mobile Subscriber Identity (IMSI) of the SIM card; using IMSI as a hash key value to search VoLTE switch configuration information corresponding to the SIM card; if the VoLTE switch configuration information corresponding to the SIM card is found, configuring the VoLTE switch state of the mobile terminal according to the VoLTE switch configuration information; the automatic configuration of the VoLTE switch state is realized, and the configuration efficiency of the VoLTE switch state is improved.
Description
Technical Field
The application belongs to the technical field of communication, and particularly relates to a configuration method and device of a VoLTE switch state and a mobile terminal.
Background
Voice over Long-Term Evolution (VoLTE) is a high-speed wireless communication standard for mobile phones and data mobile terminals. It is based on an IP Multimedia Subsystem (IMS) network, using profiles on LTE that are tailored to the control plane and media plane of voice services, which enables voice services to be transported as data streams in an LTE data bearer network without the need to maintain and rely on a traditional circuit switched voice network. The waiting time for connection can be made shorter, and a higher-quality, more natural voice video call effect can be provided.
At present, a virtual VoLTE switch is arranged on a mobile terminal device such as a mobile phone and the like to turn on or off a VoLTE function, however, the VoLTE switch state requires a user to perform manual configuration in a setting interface of the VoLTE switch state, which is tedious to operate, and particularly when the user is not familiar with a setting menu of the mobile phone, the VoLTE switch state cannot be configured quickly, which has the problem of VoLTE switch state configuration efficiency.
Disclosure of Invention
The embodiment of the application provides a configuration method and device of a VoLTE switch state and a mobile terminal, and can solve the technical problem of low configuration efficiency of the VoLTE switch state.
A first aspect of the embodiments of the present application provides a method for configuring a VoLTE switch state, including:
when an inserting signal of the SIM card is received, acquiring an International Mobile Subscriber Identity (IMSI) of the SIM card;
using IMSI as a hash key value to search VoLTE switch configuration information corresponding to the SIM card;
and if the VoLTE switch configuration information corresponding to the SIM card is found, configuring the VoLTE switch state of the mobile terminal according to the VoLTE switch configuration information.
A second aspect of the embodiments of the present application provides a device for configuring a VoLTE switch state, including:
the receiving unit is used for acquiring the International Mobile Subscriber Identity (IMSI) of the SIM card when receiving the inserting signal of the SIM card;
the searching unit is used for searching VoLTE switch configuration information corresponding to the SIM card by taking the IMSI as a hash key value;
and the configuration unit is used for configuring the VoLTE switch state of the mobile terminal according to the VoLTE switch configuration information if the VoLTE switch configuration information corresponding to the SIM card is found.
A third aspect of the embodiments of the present application provides a mobile terminal, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the method when executing the computer program.
A fourth aspect of the embodiments of the present application provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the computer program implements the steps of the above method.
In the embodiment of the application, the VoLTE switch configuration information may be stored in the hash table with the IMSI of the SIM card as a hash key, the mobile terminal acquires the international mobile subscriber identity IMSI of the SIM card when receiving the insertion signal of the SIM card, and using IMSI as hash key value to search VoLTE switch configuration information corresponding to the SIM card to obtain VoLTE switch configuration information corresponding to the SIM card, and then, configuring the VoLTE switch state of the mobile terminal according to the VoLTE switch configuration information, thereby realizing the automatic configuration of the VoLTE switch state without the manual configuration of the VoLTE switch state in the setting interface of the VoLTE switch state by a user, meanwhile, the mutual correlation between the VoLTE switch state and the SIM card is realized, the unreasonable phenomenon of the configuration of the VoLTE switch can not be caused, the VoLTE switch state can be rapidly and accurately configured, and the configuration efficiency of the VoLTE switch state is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
Fig. 1 is a schematic implementation flow diagram of a configuration method of a VoLTE switch state provided in an embodiment of the present application;
fig. 2 is a schematic structural diagram of a setup interface of a VoLTE switch state provided in an embodiment of the present application;
fig. 3 is a schematic flowchart of a specific implementation of the VoLTE switch state configuration method 102 according to an embodiment of the present application;
fig. 4 is a schematic flowchart of a specific implementation of the VoLTE switch state configuration method 101 according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a configuration apparatus for a VoLTE switch state according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
Fig. 1 shows a schematic implementation flow diagram of a configuration method for a VoLTE switch state, which is provided in an embodiment of the present application, and the method is applied to a mobile terminal and can be executed by a configuration device for a VoLTE switch state configured on the mobile terminal, and the configuration device for a VoLTE switch state can be implemented in a hardware and/or software manner, and is suitable for a situation that a VoLTE switch state needs to be configured conveniently.
The mobile terminal comprises a mobile terminal device which can be inserted with a SIM card and supports VoLTE service, such as a smart phone, a tablet computer, a Personal Digital Assistant (PDA), a learning machine and an electronic watch. The configuration method of the VoLTE switch state may include steps 101 to 103.
In some embodiments of the present application, when the mobile terminal is powered on, it is detected whether a Subscriber Identity Module (SIM) card, i.e., a Subscriber Identity Module (SIM) card, is currently inserted into the mobile terminal.
For example, after the mobile terminal is powered on, the pin voltage VCC of the SIM card interface device is read, and whether the mobile terminal device is inserted into the SIM card is determined according to the read pin voltage VCC.
When receiving the insertion signal of the SIM card, the terminal obtains an International Mobile Subscriber Identity (IMSI) of the SIM card.
The IMSI is a number that is internationally assigned to uniquely identify a mobile subscriber, is stored in the SIM card, and is composed of MCC, MNC, and MSIN. The MCC is a mobile country number, which is composed of 3 digits and is used to uniquely identify a country to which a mobile subscriber belongs, for example, the mobile country number of china is 460; MNC is a network ID, consisting of 2 digits, for identifying the mobile network to which the mobile subscriber belongs, for example, china mobile is 00, china unicom is 01, and china telecom is 03; MSIN is a mobile subscriber identity used to identify a mobile subscriber in a mobile communications network. Therefore, to distinguish whether the mobile or the connected mobile is needed, only the MNC field in the SIM card needs to be acquired.
And step 102, searching VoLTE switch configuration information corresponding to the SIM card by taking the IMSI as a hash key value.
And 103, if the VoLTE switch configuration information corresponding to the SIM card is found, configuring the VoLTE switch state of the mobile terminal according to the VoLTE switch configuration information.
In practical application, the VoLTE switch configuration information may be associated with a card slot of the SIM card of the mobile terminal, that is, the SIM card inserted into the same card slot, where the VoLTE switch configuration information is prestored VoLTE switch configuration information corresponding to the card slot.
However, in this way, as long as SIM cards of different operators or different types of SIM cards of the same operator are inserted into the same card slot, the configuration of the VoLTE switch is the same, which may cause an unreasonable configuration of the VoLTE switch, and may require the user to manually configure the state of the VoLTE switch in the setting interface.
For example, as shown in fig. 2, when the SIM card inserted into a card slot of the mobile terminal is an SIM card that does not support VoLTE service and the VoLTE switch of the mobile terminal is configured in the off state, if the SIM card in the card slot is taken out and replaced with an SIM card that supports VoLTE service, the mobile terminal still configures the VoLTE switch in the off state, and the VoLTE switch needs to be manually turned on by the user in the setting interface 21 of the VoLTE switch state to configure the VoLTE switch in the on state; the operation is complicated, and especially when the user is not familiar with the setup menu of the mobile phone, the VoLTE on-off state cannot be configured quickly, which has the problem of efficiency of the VoLTE on-off state configuration.
In the embodiment of the application, the VoLTE switch configuration information may be stored in a hash table by using IMSI of an SIM card as a hash key value, when the mobile terminal receives an insertion signal of the SIM card, the international mobile subscriber identity IMSI of the SIM card is acquired, and the VoLTE switch configuration information corresponding to the SIM card is searched by using the IMSI as the hash key value to obtain the VoLTE switch configuration information corresponding to the SIM card, and then, the VoLTE switch state of the mobile terminal is configured according to the VoLTE switch configuration information, so that the VoLTE switch state and the SIM card are associated with each other, unreasonable VoLTE switch configuration is not caused, and meanwhile, the user does not need to manually configure the VoLTE switch state in a setting interface of the VoLTE switch state, so that the VoLTE switch state can be configured quickly and accurately, and the configuration efficiency of the VoLTE switch state is improved.
When the SIM card is inserted into a card slot of a certain mobile terminal for the first time, the hash table of the mobile terminal does not store the VoLTE switch configuration information corresponding to the IMSI of the SIM card, and at this time, the VoLTE switch configuration information corresponding to the SIM card is searched by using the IMSI as a hash key value, and the mobile terminal cannot search the VoLTE switch configuration information corresponding to the SIM card.
Optionally, in some embodiments of the application, as shown in fig. 3, after the step 102 of searching for the VoLTE switch configuration information corresponding to the SIM card by using the IMSI as the hash key value, the method may further include: step 104, if the mobile terminal does not find the VoLTE switch configuration information corresponding to the SIM card, acquiring a public land mobile network number PLMN of the SIM card; and acquiring VoLTE switch default configuration information corresponding to the SIM card by taking PLMN as a hash key value, and configuring the VoLTE switch state of the mobile terminal according to the VoLTE switch default configuration information.
Specifically, the PLMN is composed of MCC and MNC, and can be used to identify the mobile network to which the SIM card belongs. Because some mobile networks of operators do not support the VoLTE service, the mobile terminal may store default configuration information of the VoLTE switch corresponding to different PLMNs in advance, so that when the mobile terminal does not find the configuration information of the VoLTE switch corresponding to the SIM card, the VoLTE switch state of the mobile terminal may be configured according to the prestored default configuration information of the VoLTE switch corresponding to the SIM card PLMN.
For example, the mobile operator is an operator supporting VoLTE service, and an operator such as a trojan is an operator that does not support VoLTE service temporarily, so the VoLTE switch with the PLMN 46000 may be configured to be turned on by default, and the VoLTE switch with the PLMN 46020 may be configured to be turned off by default.
As shown in fig. 3, optionally, after the step 104, the method for configuring the VoLTE switch state may further include: and 105, storing the default configuration information of the VoLTE switch into a hash table by taking the IMSI as a hash key value.
The hash table is also called a hash table, and is a data structure directly accessed according to a hash Key value (Key value), and the hash Key value is mapped to a certain position in the table to access data, so as to accelerate the searching speed.
In the embodiment of the application, when PLMN is used as a hash key value to obtain default configuration information of a VoLTE switch corresponding to the SIM card and configure a VoLTE switch state of the mobile terminal according to the default configuration information of the VoLTE switch, it indicates that the VoLTE switch configuration information corresponding to the SIM card is not found in the process of finding the VoLTE switch configuration information corresponding to the SIM card by using IMSI as a hash key value, so that after obtaining the default configuration information of the VoLTE switch corresponding to the SIM card by using PLMN as a hash key value and configuring the VoLTE switch state of the mobile terminal according to the VoLTE switch default configuration information, the VoLTE switch default configuration information needs to be stored into a hash table by using IMSI as a hash key value so that when the SIM card is reinserted into the mobile terminal, the mobile terminal can accurately find the VoLTE switch configuration information corresponding to the SIM card by using IMSI as a hash key value, and obtaining VoLTE switch configuration information corresponding to the SIM card.
In the above embodiments shown in fig. 1 to 3, after configuring the VoLTE switch state of the mobile terminal, the method may further include: and receiving the change information of the VoLTE switch state, and replacing the data with the IMSI as the hash key value by using the change information.
For example, after the VoLTE switch state of the mobile terminal is configured according to the VoLTE switch configuration information in step 103, or after the VoLTE switch state of the mobile terminal is configured according to the VoLTE switch default configuration information in step 104, the mobile terminal may further receive change information of the VoLTE switch state and replace the data with the IMSI as the hash key value with the change information.
For example, if a certain SIM card does not open the VoLTE service and the VoLTE switch state of the mobile terminal is not closed, at this time, if the user opens the VoLTE service of the SIM card and changes the VoLTE switch state of the mobile terminal to the open state, the mobile terminal will receive the change information of the VoLTE switch state and replace the data with the hash key value as IMSI with the change information, that is, the VoLTE switch state of the SIM card is saved to the open state, so that when the SIM card is reinserted into the mobile terminal, the mobile terminal can automatically set the VoLTE switch to the open state without manual configuration by the user in the setting interface of the VoLTE switch state, the VoLTE switch state can be quickly and accurately configured, and the configuration efficiency of the VoLTE switch state is improved.
Optionally, as shown in fig. 4, in some embodiments of the present application, on the basis of the above-described embodiments, after acquiring the international mobile subscriber identity IMSI of the SIM card in step 101, the method may further include: step 401 to step 402.
That is to say, the mobile terminal may store the VoLTE switch configuration information corresponding to the SIM card in the hash table by using the IMSI as the hash key, and may also store the network system information corresponding to the SIM card in the hash table by using the IMSI as the hash key, so as to improve the configuration efficiency of the network system of the mobile terminal.
The network standard is the type of the network, and different operators support different types of network standards, for example, the network standard used by the china mobile has 3 models of GSM (2G), TD-SCDMA (3G) and TD-LTE (4G); and GSM (2G), WCDMA (3G), TD-LTE (4G) and FDD-LTE (4G) are used in China Unicom; china telecom uses CDMA1X (2G), EVDO (3G), TD-LTE (4G) and FDD-LTE (4G). The SIM cards of the same operator also have cards supporting different network formats, so that when the mobile terminal is inserted into the SIM card, the networks of each format need to be scanned and attached one by one. Due to a plurality of network systems, the problem of slow network attachment speed exists in the process of scanning one by one.
For example, for an SIM card supporting only a 4G network, it is not necessary to scan a 2G network and a 3G network, so in this embodiment of the present application, the network system of the mobile terminal is configured according to the found network system information, and the network attachment efficiency can be improved. Moreover, for some SIM cards subscribed to packages with less data traffic, even if the SIM card supports a 4G network, in order to save data traffic, the user may need to close the 4G network, and configure the network system of the terminal as a 2G network/a 3G network. Therefore, in the embodiment of the application, the network system information corresponding to the SIM card is stored in the hash table by using the IMSI as the hash key value, and when the insertion signal of the SIM card is received, the network system information corresponding to the SIM card is searched by using the IMSI as the hash key value, and the network system of the mobile terminal is configured according to the searched network system information, so that after the user replaces the SIM card, the network system of the SIM card does not need to be manually configured again, and the configuration efficiency of the network system of the mobile terminal is improved.
Similarly, after the step 401, the method may further include: step 403, if the network system information corresponding to the SIM card is not found, acquiring a public land mobile network number PLMN of the SIM card; and acquiring preset network system information corresponding to the SIM card by taking the PLMN as a hash key value, and configuring the network system of the mobile terminal according to the preset network system information.
For example, the preset network system information with the PLMN 46000 is set to GSM (2G), TD-SCDMA (3G) and TD-LTE (4G), and the preset network system information with the PLMN 46001 is set to GSM (2G), WCDMA (3G), TD-LTE (4G) and FDD-LTE (4G). The preset network system information may be a network system set according to an actual application scenario, and this is not limited in the embodiments of the present application.
Optionally, after configuring the network type of the mobile terminal, the method may further include receiving change information of the network type, and replacing the data with the hash key as the IMSI with the change information of the network type.
Optionally, in some embodiments of the present application, the searching for the VoLTE switch configuration information corresponding to the SIM card by using the IMSI as the hash key value may further include: and inquiring whether the VoLTE service is opened or not in the SIM card according to the IMSI, and if the VoLTE service is not opened, searching VoLTE switch configuration information corresponding to the SIM card by using the IMSI as a hash key value.
For example, the mobile terminal queries whether the SIM card has a VoLTE service according to the IMSI from a VoLTE service provisioning platform, if the VoLTE service provisioning platform confirms that the SIM card has a VoLTE service, the VoLTE switch of the mobile terminal is turned on, and if the VoLTE service provisioning platform confirms that the SIM card does not have the VoLTE service, it indicates that the SIM card may need to turn on the VoLTE switch for VoLTE service registration, or does not need to turn on the VoLTE switch, so that the VoLTE switch configuration information corresponding to the SIM card needs to be searched by using the IMSI as a hash key value, and the VoLTE switch state of the mobile terminal is configured according to the searched VoLTE switch configuration information corresponding to the SIM card, thereby improving the configuration efficiency of the VoLTE switch.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
Fig. 5 shows a schematic structural diagram of a configuration apparatus 500 for a VoLTE switch state provided in an embodiment of the present application, which includes a receiving unit 501, a searching unit 502, and a configuration unit 503.
A receiving unit 501, configured to obtain an international mobile subscriber identity IMSI of a SIM card when receiving an insertion signal of the SIM card;
the searching unit 502 is configured to search VoLTE switch configuration information corresponding to the SIM card by using the IMSI as a hash key value;
a configuration unit 503, configured to configure the VoLTE switch state of the mobile terminal according to the VoLTE switch configuration information if the VoLTE switch configuration information corresponding to the SIM card is found.
In some embodiments of the present application, the configuration unit 503 is further configured to, after the VoLTE switch configuration information corresponding to the SIM card is searched by using the IMSI as a hash key value, obtain a public land mobile network number PLMN of the SIM card if the VoLTE switch configuration information corresponding to the SIM card is not searched; and acquiring VoLTE switch default configuration information corresponding to the SIM card by taking PLMN as a hash key value, and configuring the VoLTE switch state of the mobile terminal according to the VoLTE switch default configuration information.
In some embodiments of the present application, the VoLTE switch state configuration apparatus 500 may further include a storage unit, configured to store the VoLTE switch default configuration information into a hash table by using IMSI as a hash key value after the VoLTE switch state of the mobile terminal is configured according to the VoLTE switch default configuration information.
In some embodiments of the present application, the storage unit is further configured to receive change information of a VoLTE switch state, and replace data with a hash key value of IMSI with the change information.
In some embodiments of the present application, the searching unit 502 is further configured to search for the network system information corresponding to the SIM card by using an IMSI as a hash key value; correspondingly, the configuration unit 503 is further configured to configure the network system of the mobile terminal according to the network system information if the network system information corresponding to the SIM card is found.
The configuration unit 503 is further configured to obtain a public land mobile network number PLMN of the SIM card if the network system information corresponding to the SIM card is not found; and acquiring preset network system information corresponding to the SIM card by taking the PLMN as a hash key value, and configuring the network system of the mobile terminal according to the preset network system information.
In some embodiments of the application, the searching unit 502 is further configured to query whether the VoLTE service is enabled on the SIM card according to the IMSI, and if the VoLTE service is not enabled, search VoLTE switch configuration information corresponding to the SIM card by using the IMSI as a hash key value.
It should be noted that, for convenience and simplicity of description, the specific working process of the VoLTE on-off state configuration apparatus 500 described above may refer to the corresponding process of the method described in fig. 1 to fig. 4, and is not described herein again.
As shown in fig. 6, the present application provides a mobile terminal for implementing the configuration method of the VoLTE on-off state, where the mobile terminal may be a mobile terminal such as a smart phone, a tablet computer, a Personal Computer (PC), a Personal Digital Assistant (PDA), a learning machine, and includes: a processor 61, a memory 62, one or more input devices 63 (only one shown in fig. 6), and one or more output devices 64 (only one shown in fig. 6). The processor 61, memory 62, input device 63 and output device 64 are connected by a bus 65.
It should be understood that in the embodiment of the present Application, the Processor 61 may be a Central Processing Unit (CPU), and the Processor may also be other general processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, and the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The input device 63 may include a keyboard, a touch pad, a fingerprint sensor (for collecting fingerprint information of a user and direction information of the fingerprint), a microphone, etc., and the output device 64 may include a display, a speaker, etc.
The memory 62 may include a read-only memory and a random access memory, and provides instructions and data to the processor 61. Some or all of the memory 62 may also include non-volatile random access memory. For example, the memory 62 may also store device type information.
The memory 62 stores a computer program that is executable on the processor 61, for example, a program of a configuration method of a VoLTE switch state. The processor 61 implements the steps in the above-mentioned configuration method embodiment of the VoLTE switch state, for example, steps 101 to 103 shown in fig. 1, when executing the computer program. Alternatively, the processor 61, when executing the computer program, implements the functions of each module/unit in the above-mentioned device embodiments, for example, the functions of the units 501 to 503 shown in fig. 5.
The computer program may be divided into one or more modules/units, which are stored in the memory 62 and executed by the processor 61 to accomplish the present application. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution of the computer program in the mobile terminal performing the configuration of the VoLTE switch state. For example, the computer program may be divided into a receiving unit, a searching unit and a configuring unit, and each unit may specifically function as follows: the receiving unit is used for acquiring the International Mobile Subscriber Identity (IMSI) of the SIM card when receiving the inserting signal of the SIM card; the searching unit is used for searching VoLTE switch configuration information corresponding to the SIM card by taking the IMSI as a hash key value; and the configuration unit is used for configuring the VoLTE switch state of the mobile terminal according to the VoLTE switch configuration information if the VoLTE switch configuration information corresponding to the SIM card is found.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/mobile terminal and method may be implemented in other ways. For example, the above-described apparatus/mobile terminal embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow in the method of the embodiments described above can be realized by a computer program, which can be stored in a computer-readable storage medium and can realize the steps of the embodiments of the methods described above when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.
Claims (8)
1. A configuration method for VoLTE switch states includes:
when an inserting signal of the SIM card is received, acquiring an International Mobile Subscriber Identity (IMSI) of the SIM card;
using the IMSI as a hash key value to search VoLTE switch configuration information corresponding to the SIM card, wherein the search comprises the following steps:
inquiring whether the SIM card has a VoLTE service according to the IMSI, and if the VoLTE service is not opened, searching VoLTE switch configuration information corresponding to the SIM card by using the IMSI as a hash key value; the IMSI is a number which is internationally allocated for uniquely identifying a mobile subscriber, is stored in the SIM card and consists of MCC, MNC and MSIN;
and if the VoLTE switch configuration information corresponding to the SIM card is found, configuring the VoLTE switch state of the mobile terminal according to the VoLTE switch configuration information, and storing the VoLTE switch default configuration information into a hash table by taking IMSI as a hash key value.
2. The configuration method according to claim 1, wherein after the lookup of the VoLTE switch configuration information corresponding to the SIM card by using the IMSI as the hash key value, the method further includes:
if the VoLTE switch configuration information corresponding to the SIM card is not found, acquiring a Public Land Mobile Network (PLMN) number of the SIM card;
and acquiring VoLTE switch default configuration information corresponding to the SIM card by taking PLMN as a hash key value, and configuring the VoLTE switch state of the mobile terminal according to the VoLTE switch default configuration information.
3. The configuration method according to any of claims 1-2, wherein after configuring the VoLTE switch state of the mobile terminal, further comprising:
and receiving the change information of the VoLTE switch state, and replacing the data with the IMSI as the hash key value with the change information.
4. The method according to any of claims 1-2, wherein after obtaining the international mobile subscriber identity IMSI of the SIM card, the method further comprises:
searching network system information corresponding to the SIM card by taking the IMSI as a hash key value;
and if the network system information corresponding to the SIM card is found, configuring the network system of the mobile terminal according to the network system information.
5. The method according to claim 4, wherein after searching for the network standard information corresponding to the SIM card by using the IMSI as the hash key value, the method further includes:
if the network system information corresponding to the SIM card is not found, acquiring a Public Land Mobile Network (PLMN) number of the SIM card;
and acquiring preset network system information corresponding to the SIM card by taking the PLMN as a hash key value, and configuring the network system of the mobile terminal according to the preset network system information.
6. A configuration device of VoLTE switch state, comprising:
the receiving unit is used for acquiring the International Mobile Subscriber Identity (IMSI) of the SIM card when receiving the inserting signal of the SIM card;
the searching unit is used for searching the VoLTE switch configuration information corresponding to the SIM card by taking the IMSI as the hash key value, and comprises the following steps:
inquiring whether the SIM card has a VoLTE service according to the IMSI, and if the VoLTE service is not opened, searching VoLTE switch configuration information corresponding to the SIM card by using the IMSI as a hash key value; the IMSI is a number which is internationally allocated for uniquely identifying a mobile subscriber, is stored in the SIM card and consists of MCC, MNC and MSIN;
and the configuration unit is used for configuring the VoLTE switch state of the mobile terminal according to the VoLTE switch configuration information if the VoLTE switch configuration information corresponding to the SIM card is found, and storing the VoLTE switch default configuration information into a hash table by taking IMSI as a hash key value.
7. A mobile terminal comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 1 to 5 when executing the computer program.
8. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910013724.2A CN109548003B (en) | 2019-01-03 | 2019-01-03 | VoLTE switch state configuration method and device and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910013724.2A CN109548003B (en) | 2019-01-03 | 2019-01-03 | VoLTE switch state configuration method and device and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109548003A CN109548003A (en) | 2019-03-29 |
CN109548003B true CN109548003B (en) | 2021-11-02 |
Family
ID=65834379
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910013724.2A Active CN109548003B (en) | 2019-01-03 | 2019-01-03 | VoLTE switch state configuration method and device and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109548003B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111983962B (en) * | 2019-05-22 | 2024-05-07 | 华晨宝马汽车有限公司 | System and method for generating mapping relation of service flow |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106851610A (en) * | 2017-02-21 | 2017-06-13 | 惠州Tcl移动通信有限公司 | A kind of mobile terminal selects the method and system of VOLTE according to SIM |
CN106899950A (en) * | 2017-02-27 | 2017-06-27 | 中国联合网络通信集团有限公司 | The collocation method and device of call transfer service |
CN106937273A (en) * | 2017-01-20 | 2017-07-07 | 深圳市万普拉斯科技有限公司 | HD icons display control method and device |
CN107087070A (en) * | 2017-04-20 | 2017-08-22 | 惠州Tcl移动通信有限公司 | IMS method for parameter configuration, system, mobile terminal and readable storage medium storing program for executing |
CN107295503A (en) * | 2017-07-14 | 2017-10-24 | 惠州Tcl移动通信有限公司 | Determine method, storage medium and the mobile terminal of mobile terminal access way |
-
2019
- 2019-01-03 CN CN201910013724.2A patent/CN109548003B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106937273A (en) * | 2017-01-20 | 2017-07-07 | 深圳市万普拉斯科技有限公司 | HD icons display control method and device |
CN106851610A (en) * | 2017-02-21 | 2017-06-13 | 惠州Tcl移动通信有限公司 | A kind of mobile terminal selects the method and system of VOLTE according to SIM |
CN106899950A (en) * | 2017-02-27 | 2017-06-27 | 中国联合网络通信集团有限公司 | The collocation method and device of call transfer service |
CN107087070A (en) * | 2017-04-20 | 2017-08-22 | 惠州Tcl移动通信有限公司 | IMS method for parameter configuration, system, mobile terminal and readable storage medium storing program for executing |
CN107295503A (en) * | 2017-07-14 | 2017-10-24 | 惠州Tcl移动通信有限公司 | Determine method, storage medium and the mobile terminal of mobile terminal access way |
Also Published As
Publication number | Publication date |
---|---|
CN109548003A (en) | 2019-03-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104159276B (en) | The network search method and device of multimode terminal | |
CN107634845B (en) | Adaptation method and device for operator network | |
JP5968516B2 (en) | Method and terminal for loading operator configuration information | |
CN103648146B (en) | Terminal network selection method and terminal | |
CN105406889B (en) | A kind of determination method, device and mobile terminal of network formats | |
CN110177392B (en) | Cell selection method and device | |
EP3361786B1 (en) | Network access method, terminal and storage medium | |
EP3169113A1 (en) | Network access method and mobile communications terminal | |
CN103945500A (en) | Selection access method and apparatus based on multi-standard networks | |
WO2018214957A1 (en) | Network configuration method and device, user terminal and readable storage medium | |
CN109996315B (en) | Network searching method and device of multi-card multi-standby terminal, storage medium and electronic equipment | |
CN110730484B (en) | Double-card 4G multi-mode mobile terminal and implementation method thereof | |
WO2021121271A1 (en) | Method and device for loading carrier configuration file, mobile terminal, and storage medium | |
CN108112010A (en) | Access method, apparatus, terminal and the computer readable storage medium of network | |
CN102118736A (en) | Mobile terminal and self-adaptive method and system thereof | |
CN103581889A (en) | Method and system for automatically updating network configuration parameters | |
CN106211132B (en) | Virtual SIM card identification method and terminal | |
US9686670B2 (en) | Electronic device with frequency band scanning order | |
CN103067575A (en) | Desktop display method of multi-mode multi-standby terminal and multi-mode multi-standby terminal | |
CN104640096A (en) | Data transmission method and device as well as terminal | |
CN109548003B (en) | VoLTE switch state configuration method and device and mobile terminal | |
CN104639752A (en) | Incoming call and outgoing call processing and communication method, terminal equipment and communication system | |
CN105898047A (en) | Contact dialing management method, dialing method and related devices | |
CN113438352B (en) | Dialing processing method, mobile terminal and computer readable storage medium | |
CN104469899B (en) | Network selection method and electronic equipment |
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 |