WO2021121271A1 - Method and device for loading carrier configuration file, mobile terminal, and storage medium - Google Patents

Method and device for loading carrier configuration file, mobile terminal, and storage medium Download PDF

Info

Publication number
WO2021121271A1
WO2021121271A1 PCT/CN2020/136816 CN2020136816W WO2021121271A1 WO 2021121271 A1 WO2021121271 A1 WO 2021121271A1 CN 2020136816 W CN2020136816 W CN 2020136816W WO 2021121271 A1 WO2021121271 A1 WO 2021121271A1
Authority
WO
WIPO (PCT)
Prior art keywords
operator
configuration file
information
target
communication card
Prior art date
Application number
PCT/CN2020/136816
Other languages
French (fr)
Chinese (zh)
Inventor
萧儒鸿
Original Assignee
深圳市万普拉斯科技有限公司
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 深圳市万普拉斯科技有限公司 filed Critical 深圳市万普拉斯科技有限公司
Publication of WO2021121271A1 publication Critical patent/WO2021121271A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/20Transfer of user or subscriber data
    • H04W8/205Transfer to or from user equipment or user record carrier
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/20Transfer of user or subscriber data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities
    • H04W8/24Transfer of terminal data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals

Definitions

  • This application relates to the field of communications, and in particular to a method and device for loading an operator configuration file, a mobile terminal, and a storage medium.
  • the communication services provided by different communication operators are quite different.
  • a mobile terminal for example, a smart phone
  • the specific content adjusts the communication parameters of the mobile terminal to realize the communication service of the communication card.
  • the mainstream in the industry creates a separate operator profile at the mobile terminal for each communication card installed for the first time.
  • the communication card with the created operator profile When the communication card with the created operator profile is installed in the mobile terminal again, it searches and reads it. Take the created operator profile to adjust the communication parameters.
  • the content of the operator configuration file corresponding to each communication card under the same operator is usually substantially the same.
  • the above solution will inevitably cause unnecessary time for the mobile terminal.
  • the adjustment efficiency is low, which affects the user experience of communicating through the mobile terminal.
  • the purpose of this application is to provide a method and device for loading an operator configuration file, a mobile terminal, and a storage medium, which can improve the problem of waste of computing resources and storage resources of the mobile terminal, and improve the communication parameter adjustment of the mobile terminal. Time efficiency to ensure user experience.
  • an embodiment of the present application provides a method for loading an operator configuration file, which is applied to a mobile terminal including a communication card, and the method includes:
  • IMSI International Mobile Subscriber Identity
  • the network operator information includes the corresponding communication card
  • the mobile country code MCC Mobile Country Code
  • MNC Mobile Network Code
  • the configuration content realizes the communication service.
  • an embodiment of the present application provides an operator configuration file loading device, which is applied to a mobile terminal including a communication card, and the device includes:
  • the operator information acquisition module is used to acquire the IMSI information of the international mobile subscriber identification code of the communication card, and determine the network operator information corresponding to the communication card according to the IMSI information, wherein the network operator information includes the corresponding The mobile country code MCC and the mobile network number MNC of the communication card;
  • the configuration file search module is used to search for the target operator profile corresponding to the determined network operator information in the created operator profile, where: One type of network operator information corresponds to only one operator configuration file; the configuration file loading module is used to load the target operator configuration file if the target operator configuration file is found, so that the communication card is based on all the configuration files.
  • the configuration content of the configuration file of the target operator realizes the communication service.
  • an embodiment of the present application provides a mobile terminal, including a processor and a memory, the memory stores machine executable instructions that can be executed by the processor, and the processor can execute the machine executable instructions , To implement the method for loading the operator configuration file described in any one of the foregoing implementation manners.
  • an embodiment of the present application provides a storage medium on which a computer program is stored, and when the computer program is executed, the method for loading an operator configuration file described in any one of the foregoing embodiments is implemented.
  • FIG. 1 is a schematic structural block diagram of a mobile terminal provided by an embodiment of this application.
  • FIG. 2 is one of the schematic flowcharts of a method for loading an operator configuration file provided by an embodiment of the application
  • step S210 in FIG. 2 is a schematic flowchart of sub-steps included in step S210 in FIG. 2;
  • FIG. 4 is a second schematic flowchart of a method for loading an operator configuration file provided by an embodiment of the application
  • FIG. 5 is the third schematic flowchart of the method for loading an operator configuration file provided by an embodiment of the application.
  • FIG. 6 is one of the schematic diagrams of functional modules of the apparatus for loading operator configuration files provided by an embodiment of the application
  • FIG. 7 is a schematic diagram of functional modules of the operator information acquisition module in FIG. 6;
  • FIG. 8 is a second schematic diagram of functional modules of the apparatus for loading an operator configuration file provided by an embodiment of the application.
  • FIG. 9 is the third schematic diagram of functional modules of the apparatus for loading an operator configuration file provided by an embodiment of the application.
  • Icon 10-mobile terminal; 11-memory; 12-processor; 13-communication unit; 100-operator configuration file loading device; 110-operator information acquisition module; 120-configuration file search module; 130-configuration file loading Module; 111-status acquisition sub-module; 112-information extraction sub-module; 140-configuration content reading module; 150-file creation and loading module; 160-terminal communication configuration module; 170-file creation and storage module.
  • FIG. 1 is a schematic block diagram of the structure of a mobile terminal 10 according to an embodiment of the present application.
  • the mobile terminal 10 can save its own computing resources and storage resources required to implement the communication parameter adjustment operation during the communication parameter adjustment process for the communication card, and significantly improve the communication parameter adjustment. Efficiency to ensure user experience.
  • the mobile terminal 10 can install at least one detachable communication card or embedded communication card, and perform corresponding communication parameter adjustment operations for each communication card to ensure that each communication card can realize the corresponding communication service .
  • the communication card may be a SIM (Subscriber Identification Module) card, an ESIM (Embedded Subscriber Identification Module, embedded subscriber identification module) card, or an EUCC (Embedded Universal Integrated Circuit) card, where
  • the SIM card carries the user identification information in the form of a physical card.
  • the ESIM card or the EUICC card carries the user identification information through the chip in the form of a virtual card.
  • the ESIM card or the EUICC card can carry multiple user identification information, which is equivalent to multiple The physical SIM card.
  • the mobile terminal 10 may be, but is not limited to, a smart phone, a tablet computer, a smart watch, and the like.
  • the mobile terminal 10 includes an operator configuration file loading device 100, a memory 11, a processor 12, and a communication unit 13.
  • the components of the memory 11, the processor 12, and the communication unit 13 are directly or indirectly electrically connected to each other to realize data transmission or interaction.
  • the memory 11, the processor 12, and the communication unit 13 may be electrically connected to each other through one or more communication buses or signal lines.
  • the memory 11 may be used to store operator configuration content of different operators under their respective network operator information.
  • the network operator information is used to indicate the identity information of the corresponding operator when providing communication services
  • the operator configuration content is used to indicate the specific service content supported by the operator corresponding to the network operator information when providing communication services.
  • the same operator can correspond to at least one type of network operator information, and the operator configuration content corresponding to different network operator information under the same operator can be the same or different.
  • the network operator information includes corresponding MCC (Mobile Country Code) and MNC (Mobile Network Code, mobile network number).
  • the network operator information corresponding to a China Mobile operator can be any of the MCC code representing China with a value of 460, and the number 00, 02, 04, and 07 used to represent the communication network of the China Mobile operator.
  • One MNC code is combined;
  • the network operator information corresponding to the Chinese telecom operator can be the MCC code representing China with a value of 460, and the value representing the communication network of the Chinese telecom operator is 03, 05, and
  • the MNC code of any one of 11 is combined;
  • the network operator information corresponding to the China Unicom operator consists of the MCC code representing China with a value of 460, and the value representing China Unicom’s communication network as Combine the MNC codes of any one of 01, 06 and 09.
  • the operator configuration content corresponding to the China Mobile operator is to support VoLTE (Voice over LTE, using 4G LTE network for calls); the operator configuration content corresponding to the China Unicom operator does not support VoLTE but supports VoWifi (Voice over LTE). Wifi, use Wifi to make calls); the operator configuration content corresponding to the Chinese telecom operator does not support VoWifi but supports VT (Video Telephony, video call).
  • VoLTE Voice over LTE, using 4G LTE network for calls
  • VoWifi Voice over LTE
  • Wifi use Wifi to make calls
  • the operator configuration content corresponding to the Chinese telecom operator does not support VoWifi but supports VT (Video Telephony, video call).
  • the memory 11 is also used to store an operator configuration file created based on the operator configuration content corresponding to each operator, which can implement communication parameter adjustment operations by file loading, where each operator message Corresponding to a unique operator profile, the specific content of each operator profile is the operator profile corresponding to the corresponding operator message.
  • the memory 11 may be used to store a program, and the processor 12 may execute the program accordingly after receiving an execution instruction.
  • the memory 11 may be, but is not limited to, random access memory (Random Access Memory, RAM), read only memory (Read Only Memory, ROM), and programmable read-only memory (Programmable Read-Only Memory, PROM) , Erasable Programmable Read-Only Memory (EPROM), Electrical Erasable Programmable Read-Only Memory (EEPROM), etc.
  • the processor 12 may be an integrated circuit chip with signal processing capability.
  • the processor 12 may be a general-purpose processor, including a central processing unit (CPU) and a network processor (NP).
  • the general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc., and may implement or execute the methods, steps, and logical block diagrams disclosed in the embodiments of the present application.
  • the communication unit 13 is used to establish a communication connection between the mobile terminal 10 and other terminal devices through a network, and is used to send and receive data through the network.
  • the operator configuration file loading device 100 includes at least one software function module that can be stored in the memory 11 in the form of software or firmware or solidified in the operating system of the mobile terminal 10.
  • the processor 12 may be used to execute executable modules stored in the memory 11, such as software function modules and computer programs included in the operator configuration file loading device 100.
  • the mobile terminal 10 uses the operator configuration file loading device 100 to create a unique corresponding operator configuration file for a type of network operator information, so that when it is necessary to adjust the communication parameters of a communication card, it can call
  • the operator configuration file corresponding to the network operator information corresponding to the communication card is loaded, so as to complete the corresponding communication parameter adjustment operation, so that the communication card can realize the communication service normally, without the need for the same network operator under the same operator
  • the multiple communication cards of the information respectively create operator configuration files with substantially the same content, reducing the overall communication parameter adjustment time, so as to save the computing resources and storage resources of the mobile terminal 10, and improve the communication parameter adjustment efficiency to ensure the user experience.
  • FIG. 1 is only a schematic diagram of the structural composition of the mobile terminal 10.
  • the mobile terminal 10 may also include more or fewer components than those shown in FIG. Figure 1 shows the different configurations.
  • the components shown in FIG. 1 can be implemented by hardware, software, or a combination thereof.
  • FIG. 2 is one of the flowcharts of the method for loading an operator configuration file provided by an embodiment of the present application.
  • the carrier configuration file loading method is applied to the above-mentioned mobile terminal 10 including a communication card.
  • the specific process and steps of the carrier configuration file loading method shown in FIG. 2 will be described in detail below.
  • Step S210 Obtain the IMSI information of the communication card, and determine the network operator information corresponding to the communication card according to the IMSI information, where the network operator information includes the MCC and MNC of the corresponding communication card.
  • IMSI International Mobile Subscriber Identity, International Mobile Subscriber Identity
  • MCC Mobile Subscriber Identity
  • MNC Mobile communication network to which the mobile user belongs
  • MSIN Mobile Subscribe Identification
  • Number mobile user identification code
  • the mobile terminal 10 After the mobile terminal 10 obtains the IMSI information of the communication card, it can extract the corresponding MCC and MNC from the IMSI information, and construct the network operator corresponding to the communication card by using the extracted MCC and MNC. information.
  • the mobile terminal 10 when the communication card is a physical card and the communication card is installed in the mobile terminal 10, the mobile terminal 10 will start to activate the communication card and read the communication information included in the communication card.
  • the communication information includes IMSI information, short message information, address book information and so on.
  • the operating state of the communication card will sequentially change from the inactive state to the activated state, the IMSI read state, and the LOADED state.
  • the IMSI read state is used to indicate that the mobile terminal 10 has previously read IMSI information from the communication card.
  • LOADED state is used to indicate that the mobile terminal 10 has read all the communication information in the communication card.
  • the mobile terminal 10 When the communication card is a virtual card, and the communication card is selected on the mobile terminal 10, the mobile terminal 10 will begin to have the exclusive right of the communication information included in the communication card, and the operation status of the communication card will be changed by The activation state sequentially changes to the IMSI read state and the LOADED state.
  • the mobile terminal 10 calls the operator configuration service (Default Carrier Config Service) program embedded in the operating system, The corresponding network operator information is extracted from the read IMSI message of the communication card.
  • Operator configuration service Default Carrier Config Service
  • step S210 includes a sub-step S211 and a sub-step S212.
  • Sub-step S211 acquiring the current operating state of the communication card, where the current operating state of the communication card includes an inactive state, an activated state, an IMSI read state, and a LOADED state.
  • Sub-step S212 when the acquired current operating state is the IMSI reading state, directly extract the network operator information corresponding to the communication card from the read IMSI information.
  • the mobile terminal 10 can actively obtain the current operating status of the communication card by calling the operator configuration service program, and enable the operator configuration service program to obtain the IMSI reading status when the current operating status is obtained.
  • the network operator information acquisition operation is directly executed, so there is no need to wait until the operating status of the communication card becomes the LOADED state, as in the previous embodiment, to start the network operator information acquisition operation, so as to shorten the communication parameter adjustment operation.
  • the overall execution time is longer, the communication parameter adjustment efficiency is improved, the time for the user to wait for the network configuration of the mobile terminal 10 is reduced, and the user experience of the mobile terminal 10 is improved.
  • Step S220 Search for a target operator profile corresponding to the determined network operator information in the created operator profile, where one type of network operator information corresponds to only one operator profile.
  • the operator profile is stored, so that it can be included in the created operator profile. , Find the target operator profile corresponding to the network operator information of the communication card that is installed or selected.
  • Step S230 If the target operator configuration file is found, the target operator configuration file is loaded, so that the communication card implements communication services based on the configuration content of the target operator configuration file.
  • the target operator profile is found in the created operator profile, it indicates that the mobile terminal 10 is currently created with a profile matching the network operator information corresponding to the installed communication card.
  • Operator configuration file The mobile terminal 10 does not need to create a corresponding operator configuration file for the communication card. It can directly load the target operator configuration file to provide the communication card with adapted communication parameters so that the communication card can
  • the communication service is realized based on the configuration content of the target operator profile, so there is no need to create operator profiles with substantially the same content for multiple communication cards with the same network operator information under the same operator, thereby reducing overall communication parameters
  • the time length is adjusted to save computing resources and storage resources of the mobile terminal 10, improve communication parameter adjustment efficiency, and ensure the user experience of the mobile terminal 10.
  • FIG. 4 is a second schematic flowchart of a method for loading an operator configuration file provided by an embodiment of the present application.
  • the method for loading an operator configuration file further includes step S240 and step S250.
  • Step S240 if the target operator configuration file is not found, read the target operator configuration content corresponding to the network operator information from the prestored operator configuration content corresponding to each operator.
  • the mobile terminal 10 can call the operator configuration service program to read the target operator configuration content corresponding to the network operator information from the prestored operator configuration content corresponding to each operator.
  • Step S250 Create a corresponding operator configuration file based on the target operator configuration content, and load the created operator configuration file.
  • the mobile terminal 10 after the mobile terminal 10 obtains the target operator configuration content, it will accordingly create an operator profile corresponding to the network operator information corresponding to the target operator configuration content, and The created operator configuration file is used for file loading to provide adapted communication parameters to the installed communication card, so that the communication card can implement communication services based on the loaded operator configuration file content.
  • the operator configuration file is stored for use in subsequent operations of searching and loading the operator configuration file that may exist in the future.
  • the step of creating a corresponding operator profile based on the target operator configuration content includes:
  • the mobile terminal 10 establishes the corresponding relationship between the operator profile and the network operator information by performing the above steps, and in the process of looking up the operator profile, it can be directly based on the created profile of each operator. Name, quickly determine the operator profile corresponding to a certain network operator information.
  • FIG. 5 is the third schematic flowchart of a method for loading an operator configuration file provided by an embodiment of the present application.
  • the method for loading an operator configuration file further includes step S240, step S260, and step S270.
  • Step S240 If the target operator configuration file is not found, read the target operator configuration content corresponding to the network operator information from the prestored operator configuration content corresponding to each operator.
  • step S260 the mobile terminal 10 is configured according to the configuration content of the target operator, so that the communication card realizes communication services based on the configuration content of the target operator.
  • the mobile terminal 10 after the mobile terminal 10 reads the configuration content of the target operator, it will directly adjust the communication parameters based on the configuration content of the target operator, so as to configure the communication parameters according to the configuration content of the target operator.
  • the effect of the communication status of the mobile terminal 10 is described.
  • Step S270 Create a corresponding operator configuration file based on the target operator configuration content, and store the created operator configuration file.
  • the mobile terminal 10 after the mobile terminal 10 completes the configuration operation of its own communication status, it will accordingly create an operator profile corresponding to the network operator information corresponding to the target operator configuration content , And store the operator configuration file for use in subsequent possible operator configuration file search operations and operator configuration file loading operations.
  • the step of creating a corresponding operator profile based on the target operator configuration content includes:
  • the mobile terminal 10 establishes the corresponding relationship between the operator profile and the network operator information by performing the above steps, and in the process of looking up the operator profile, it can be directly based on the created profile of each operator. Name, quickly determine the operator profile corresponding to a certain network operator information.
  • FIG. 6 is a schematic diagram of one of the functional modules of the operator configuration file loading apparatus 100 provided by an embodiment of the present application.
  • the operator configuration file loading device 100 includes an operator information acquisition module 110, a configuration file search module 120, and a configuration file loading module 130.
  • the operator information acquisition module 110 is configured to acquire the IMSI information of the communication card, and determine the network operator information corresponding to the communication card according to the IMSI information, wherein the network operator information includes the MCC of the corresponding communication card And MNC.
  • the configuration file search module 120 is configured to search for a target operator profile corresponding to the determined network operator information in the created operator profile, where one type of network operator information corresponds to only one operator Supplier configuration file.
  • the configuration file loading module 130 is configured to load the target operator configuration file if the target operator configuration file is found, so that the communication card realizes communication based on the configuration content of the target operator configuration file service.
  • FIG. 7 is a schematic diagram of functional modules of the operator information obtaining module 110 in FIG. 6.
  • the operator information acquisition module 110 includes a status acquisition sub-module 111 and an information extraction sub-module 112.
  • the status acquisition sub-module 111 is configured to acquire the current operating status of the communication card, where the current operating status of the communication card includes an inactive state, an activated state, an IMSI read state, and a LOADED state.
  • the information extraction sub-module 112 is configured to directly extract the network operator information corresponding to the communication card from the IMSI information obtained when the current operating state obtained is the IMSI reading state.
  • FIG. 8 is a second schematic diagram of functional modules of the operator configuration file loading apparatus 100 provided in an embodiment of the present application.
  • the operator configuration file loading device 100 further includes a configuration content reading module 140 and a file creation loading module 150.
  • the configuration content reading module 140 is configured to, if the target operator configuration file is not found, read out the information corresponding to the network operator from the pre-stored operator configuration content corresponding to each operator Target operator configuration content.
  • the file creation and loading module 150 is configured to create a corresponding operator configuration file based on the target operator configuration content, and load the created operator configuration file.
  • FIG. 9 is a third schematic diagram of functional modules of the operator configuration file loading apparatus 100 provided in an embodiment of the present application.
  • the operator configuration file loading device 100 further includes a configuration content reading module 140, a terminal communication configuration module 160, and a file creation and storage module 170.
  • the configuration content reading module 140 is configured to, if the target operator configuration file is not found, read out the information corresponding to the network operator from the pre-stored operator configuration content corresponding to each operator Target operator configuration content.
  • the terminal communication configuration module 160 is configured to configure the mobile terminal 10 according to the configuration content of the target operator, so that the communication card realizes communication services based on the configuration content of the target operator.
  • the file creation and storage module 170 is configured to create a corresponding operator configuration file based on the target operator configuration content, and store the created operator configuration file.
  • each block in the flowchart or block diagram may represent a module, program segment, or part of the code, and the module, program segment, or part of the code contains one or more functions for realizing the specified logic function.
  • Executable instructions may also occur in a different order from the order marked in the drawings.
  • each block in the block diagram and/or flowchart, and the combination of the blocks in the block diagram and/or flowchart can be implemented by a dedicated hardware-based system that performs the specified functions or actions Or it can be realized by a combination of dedicated hardware and computer instructions.
  • the functional modules in the various embodiments of the present application may be integrated together to form an independent part, or each module may exist alone, or two or more modules may be integrated to form an independent part.
  • the function is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a storage medium.
  • the technical solution of the present application essentially or the part that contributes to the existing technology or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disks or optical disks and other media that can store program codes. .
  • this application creates a unique corresponding operator configuration file for a type of network operator information, and
  • the target operation corresponding to the determined network operator information can be searched in the operator profile that has been created Provider configuration file, and directly load the target operator configuration file when it is found, so as to complete the corresponding communication parameter adjustment operation for the communication card, so that the communication card can realize the communication service normally, and there is no need to target the same operator under the same operator.
  • the network operator information is used to indicate the identity information of the corresponding operator when providing communication services, and the network operator information includes the MCC and MNC of the corresponding communication card.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Telephone Function (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The present application relates to the field of communications, and proposes a method and device for loading a carrier configuration file, a mobile terminal, and a storage medium. The method of the present application comprises: for any network carrier information, creating a unique corresponding carrier configuration file; acquiring IMSI information of a communication card, and determining, from the IMSI information, corresponding network carrier information; searching in created carrier configuration files for a target carrier configuration file corresponding to the determined network carrier information; and, upon locating the target carrier configuration file, directly loading the target carrier configuration file, so as to enable the communication card to perform a communication service on the basis of configuration content of the target carrier configuration file.

Description

运营商配置文件加载方法及装置、移动终端及存储介质Method and device for loading operator configuration file, mobile terminal and storage medium 技术领域Technical field
本申请涉及通讯领域,具体而言,涉及一种运营商配置文件加载方法及装置、移动终端及存储介质。This application relates to the field of communications, and in particular to a method and device for loading an operator configuration file, a mobile terminal, and a storage medium.
背景技术Background technique
在一些情形下,不同通信运营商提供的通讯业务存在较大差异,移动终端(例如,智能手机)在安装上通讯卡时,需要采用与该通讯卡所对应的运营商配置(Carrier Config)的具体内容调整移动终端的通讯参数,以实现该通讯卡的通讯服务。In some cases, the communication services provided by different communication operators are quite different. When a mobile terminal (for example, a smart phone) is installed with a communication card, it needs to adopt the carrier configuration (Carrier Config) corresponding to the communication card. The specific content adjusts the communication parameters of the mobile terminal to realize the communication service of the communication card.
在一些情形下,业界主流通过在移动终端处针对初次安装的每张通讯卡单独创建一个运营商配置文件,当已创建运营商配置文件的通讯卡再次被安装到移动终端中时,查找并读取已创建的运营商配置文件进行通讯参数调整。其中,同一运营商下的各通讯卡所对应的运营商配置文件内容通常实质相同,在对同一运营商的多张通讯卡进行更换安装操作时,上述方案必然导致移动终端需要花费不必要的时间及计算资源来创建或查找内容相同的多份运营商配置文件,并占用不必要的存储资源对创建出的运营商配置文件进行存储,造成计算资源与存储资源浪费的问题,且整体的通讯参数调整效率较低,影响用户通过移动终端进行通讯的使用体验。In some cases, the mainstream in the industry creates a separate operator profile at the mobile terminal for each communication card installed for the first time. When the communication card with the created operator profile is installed in the mobile terminal again, it searches and reads it. Take the created operator profile to adjust the communication parameters. Among them, the content of the operator configuration file corresponding to each communication card under the same operator is usually substantially the same. When replacing and installing multiple communication cards of the same operator, the above solution will inevitably cause unnecessary time for the mobile terminal. And computing resources to create or find multiple operator configuration files with the same content, and occupy unnecessary storage resources to store the created operator configuration files, causing a waste of computing resources and storage resources, and overall communication parameters The adjustment efficiency is low, which affects the user experience of communicating through the mobile terminal.
发明内容Summary of the invention
有鉴于此,本申请的目的在于提供一种运营商配置文件加载方法及装置、移动终端及存储介质,其能够改善移动终端的计算资源及存储资源浪费的问题,并提高移动终端进行通讯参数调整时的效率,确保用户的使用体验。In view of this, the purpose of this application is to provide a method and device for loading an operator configuration file, a mobile terminal, and a storage medium, which can improve the problem of waste of computing resources and storage resources of the mobile terminal, and improve the communication parameter adjustment of the mobile terminal. Time efficiency to ensure user experience.
为了实现上述目的,本申请实施例采用的技术方案如下:In order to achieve the foregoing objectives, the technical solutions adopted in the embodiments of the present application are as follows:
第一方面,本申请实施例提供一种运营商配置文件加载方法,应用于包括通讯卡的移动终端,所述方法包括:In the first aspect, an embodiment of the present application provides a method for loading an operator configuration file, which is applied to a mobile terminal including a communication card, and the method includes:
获取所述通讯卡的国际移动用户识别码IMSI(International Mobile Subscriber Identity)信息,并根据所述IMSI信息确定所述通讯卡所对应的网络运营商信息,其中所述网络运营商信息包括对应通讯卡的移动国家码MCC(Mobile Country Code)及移动网络 号码MNC(Mobile Network Code);在已创建的运营商配置文件中查找与确定出的所述网络运营商信息对应的目标运营商配置文件,其中,一种网络运营商信息对应唯一一个运营商配置文件;若查找到所述目标运营商配置文件,则加载所述目标运营商配置文件,以使所述通讯卡基于所述目标运营商配置文件的配置内容实现通讯服务。Obtain the IMSI (International Mobile Subscriber Identity) information of the communication card, and determine the network operator information corresponding to the communication card according to the IMSI information, where the network operator information includes the corresponding communication card The mobile country code MCC (Mobile Country Code) and the mobile network number MNC (Mobile Network Code); look for the target operator profile corresponding to the determined network operator information in the created operator profile, where , A type of network operator information corresponds to only one operator profile; if the target operator profile is found, the target operator profile is loaded, so that the communication card is based on the target operator profile The configuration content realizes the communication service.
第二方面,本申请实施例提供一种运营商配置文件加载装置,应用于包括通讯卡的移动终端,所述装置包括:In a second aspect, an embodiment of the present application provides an operator configuration file loading device, which is applied to a mobile terminal including a communication card, and the device includes:
运营商信息获取模块,用于获取所述通讯卡的国际移动用户识别码IMSI信息,并根据所述IMSI信息确定所述通讯卡所对应的网络运营商信息,其中所述网络运营商信息包括对应通讯卡的移动国家码MCC及移动网络号码MNC;配置文件查找模块,用于在已创建的运营商配置文件中查找与确定出的所述网络运营商信息对应的目标运营商配置文件,其中,一种网络运营商信息对应唯一一个运营商配置文件;配置文件加载模块,用于若查找到所述目标运营商配置文件,则加载所述目标运营商配置文件,以使所述通讯卡基于所述目标运营商配置文件的配置内容实现通讯服务。The operator information acquisition module is used to acquire the IMSI information of the international mobile subscriber identification code of the communication card, and determine the network operator information corresponding to the communication card according to the IMSI information, wherein the network operator information includes the corresponding The mobile country code MCC and the mobile network number MNC of the communication card; the configuration file search module is used to search for the target operator profile corresponding to the determined network operator information in the created operator profile, where: One type of network operator information corresponds to only one operator configuration file; the configuration file loading module is used to load the target operator configuration file if the target operator configuration file is found, so that the communication card is based on all the configuration files. The configuration content of the configuration file of the target operator realizes the communication service.
第三方面,本申请实施例提供一种移动终端,包括处理器及存储器,所述存储器存储有能够被所述处理器执行的机器可执行指令,所述处理器可执行所述机器可执行指令,以实现前述实施方式中任意一项所述的运营商配置文件加载方法。In a third aspect, an embodiment of the present application provides a mobile terminal, including a processor and a memory, the memory stores machine executable instructions that can be executed by the processor, and the processor can execute the machine executable instructions , To implement the method for loading the operator configuration file described in any one of the foregoing implementation manners.
第四方面,本申请实施例提供一种存储介质,其上存储有计算机程序,所述计算机程序被执行时,实现前述实施方式中任意一项所述的运营商配置文件加载方法。In a fourth aspect, an embodiment of the present application provides a storage medium on which a computer program is stored, and when the computer program is executed, the method for loading an operator configuration file described in any one of the foregoing embodiments is implemented.
为使本申请的上述目的、特征和优点能更明显易懂,下文特举本申请实施例,并配合所附附图,作详细说明如下。In order to make the above-mentioned objectives, features and advantages of the present application more obvious and understandable, embodiments of the present application are specially cited in the following, together with the accompanying drawings, for detailed descriptions as follows.
附图说明Description of the drawings
为了更清楚地说明本申请实施例的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,应当理解,以下附图仅示出了本申请的某些实施例,因此不应被看作是对范围的限定,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他相关的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the drawings needed in the embodiments. It should be understood that the following drawings only show certain embodiments of the present application, and therefore do not It should be regarded as a limitation of the scope. For those of ordinary skill in the art, other related drawings can be obtained based on these drawings without creative work.
图1为本申请实施例提供的移动终端的结构方框示意图;FIG. 1 is a schematic structural block diagram of a mobile terminal provided by an embodiment of this application;
图2为本申请实施例提供的运营商配置文件加载方法的流程示意图之一;FIG. 2 is one of the schematic flowcharts of a method for loading an operator configuration file provided by an embodiment of the application;
图3为图2中的步骤S210包括的子步骤的流程示意图;3 is a schematic flowchart of sub-steps included in step S210 in FIG. 2;
图4为本申请实施例提供的运营商配置文件加载方法的流程示意图之二;FIG. 4 is a second schematic flowchart of a method for loading an operator configuration file provided by an embodiment of the application;
图5为本申请实施例提供的运营商配置文件加载方法的流程示意图之三;FIG. 5 is the third schematic flowchart of the method for loading an operator configuration file provided by an embodiment of the application;
图6为本申请实施例提供的运营商配置文件加载装置的功能模块示意图之一;FIG. 6 is one of the schematic diagrams of functional modules of the apparatus for loading operator configuration files provided by an embodiment of the application;
图7为图6中的运营商信息获取模块的功能模块示意图;FIG. 7 is a schematic diagram of functional modules of the operator information acquisition module in FIG. 6;
图8为本申请实施例提供的运营商配置文件加载装置的功能模块示意图之二;FIG. 8 is a second schematic diagram of functional modules of the apparatus for loading an operator configuration file provided by an embodiment of the application;
图9为本申请实施例提供的运营商配置文件加载装置的功能模块示意图之三。FIG. 9 is the third schematic diagram of functional modules of the apparatus for loading an operator configuration file provided by an embodiment of the application.
图标:10-移动终端;11-存储器;12-处理器;13-通信单元;100-运营商配置文件加载装置;110-运营商信息获取模块;120-配置文件查找模块;130-配置文件加载模块;111-状态获取子模块;112-信息提取子模块;140-配置内容读取模块;150-文件创建加载模块;160-终端通讯配置模块;170-文件创建存储模块。Icon: 10-mobile terminal; 11-memory; 12-processor; 13-communication unit; 100-operator configuration file loading device; 110-operator information acquisition module; 120-configuration file search module; 130-configuration file loading Module; 111-status acquisition sub-module; 112-information extraction sub-module; 140-configuration content reading module; 150-file creation and loading module; 160-terminal communication configuration module; 170-file creation and storage module.
具体实施方式Detailed ways
下面将结合本申请实施例中附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。通常在此处附图中描述和示出的本申请实施例的组件可以以各种不同的配置来布置和设计。The following describes the technical solutions in the embodiments of the present application clearly and completely with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application generally described and shown in the drawings herein may be arranged and designed in various different configurations.
因此,以下对在附图中提供的本申请的实施例的详细描述并非旨在限制要求保护的本申请的范围,而是仅仅表示本申请的选定实施例。基于本申请的实施例,本领域技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本申请保护的范围。Therefore, the following detailed description of the embodiments of the application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely represents selected embodiments of the application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without creative work shall fall within the protection scope of the present application.
应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步定义和解释。It should be noted that similar reference numerals and letters indicate similar items in the following figures. Therefore, once a certain item is defined in one figure, it does not need to be further defined and explained in subsequent figures.
需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that the terms "include", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, but also includes no Other elements clearly listed, or also include elements inherent to this process, method, article, or equipment. If there are no more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other identical elements in the process, method, article, or equipment that includes the element.
下面结合附图,对本申请的一些实施方式作详细说明。在不冲突的情况下,下述的实施例及实施例中的特征可以相互结合。Hereinafter, some embodiments of the present application will be described in detail with reference to the accompanying drawings. In the case of no conflict, the following embodiments and the features in the embodiments can be combined with each other.
请参照图1,图1是本申请实施例提供的移动终端10的结构方框示意图。在本申请实 施例中,所述移动终端10可在针对通讯卡进行通讯参数调整的过程中,节省自身的用于实现通讯参数调整操作所需的计算资源及存储资源,并明显提高通讯参数调整效率,确保用户使用体验。其中,所述移动终端10可以安装至少一张可拆卸通讯卡或嵌入式通讯卡,并针对每张通讯卡执行与其对应的通讯参数调整操作,以确保每张通讯卡均能实现对应的通讯服务。所述通讯卡可以是SIM(Subscriber Identification Module,用户识别模块)卡、ESIM(Embedded Subscriber Identification Module,嵌入式用户识别模块)卡或EUICC(Embedded Universal Integrated Circuit Card,嵌入式通用集成电路)卡,其中SIM卡是以实体卡的形式搭载用户识别信息,ESIM卡或是EUICC卡是以虚拟卡的形式通过芯片搭载用户识别信息,ESIM卡或是EUICC卡可以搭载多个用户识别信息,相当于多张实体的SIM卡。所述移动终端10可以是,但不限于,智能手机、平板电脑及智能手表等。Please refer to FIG. 1, which is a schematic block diagram of the structure of a mobile terminal 10 according to an embodiment of the present application. In the embodiment of the present application, the mobile terminal 10 can save its own computing resources and storage resources required to implement the communication parameter adjustment operation during the communication parameter adjustment process for the communication card, and significantly improve the communication parameter adjustment. Efficiency to ensure user experience. Wherein, the mobile terminal 10 can install at least one detachable communication card or embedded communication card, and perform corresponding communication parameter adjustment operations for each communication card to ensure that each communication card can realize the corresponding communication service . The communication card may be a SIM (Subscriber Identification Module) card, an ESIM (Embedded Subscriber Identification Module, embedded subscriber identification module) card, or an EUCC (Embedded Universal Integrated Circuit) card, where The SIM card carries the user identification information in the form of a physical card. The ESIM card or the EUICC card carries the user identification information through the chip in the form of a virtual card. The ESIM card or the EUICC card can carry multiple user identification information, which is equivalent to multiple The physical SIM card. The mobile terminal 10 may be, but is not limited to, a smart phone, a tablet computer, a smart watch, and the like.
在本实施例中,所述移动终端10包括运营商配置文件加载装置100、存储器11、处理器12及通信单元13。所述存储器11、所述处理器12及所述通信单元13各个元件相互之间直接或间接地电性连接,以实现数据的传输或交互。例如,所述存储器11、所述处理器12及所述通信单元13这些元件相互之间可通过一条或多条通讯总线或信号线实现电性连接。In this embodiment, the mobile terminal 10 includes an operator configuration file loading device 100, a memory 11, a processor 12, and a communication unit 13. The components of the memory 11, the processor 12, and the communication unit 13 are directly or indirectly electrically connected to each other to realize data transmission or interaction. For example, the memory 11, the processor 12, and the communication unit 13 may be electrically connected to each other through one or more communication buses or signal lines.
在本实施例中,所述存储器11可用于存储不同运营商在各自对应的网络运营商信息下的运营商配置内容。所述网络运营商信息用于表示对应运营商在提供通讯业务时的身份信息,所述运营商配置内容用于表示对应网络运营商信息的运营商在提供通讯业务时所支持的具体业务内容,其中同一运营商可以对应至少一种网络运营商信息,同一运营商下的不同网络运营商信息各自对应的运营商配置内容可以相同,也可以不同。其中,网络运营商信息包括对应的MCC(Mobile Country Code,移动国家码)及MNC(Mobile Network Code,移动网络号码)。In this embodiment, the memory 11 may be used to store operator configuration content of different operators under their respective network operator information. The network operator information is used to indicate the identity information of the corresponding operator when providing communication services, and the operator configuration content is used to indicate the specific service content supported by the operator corresponding to the network operator information when providing communication services, The same operator can correspond to at least one type of network operator information, and the operator configuration content corresponding to different network operator information under the same operator can be the same or different. Among them, the network operator information includes corresponding MCC (Mobile Country Code) and MNC (Mobile Network Code, mobile network number).
例如,中国移动运营商所对应的网络运营商信息可由用于代表中国的数值为460的MCC码,以及用于代表中国移动运营商的通讯网络的数值为00、02、04和07中的任意一个的MNC码进行组合得到;中国电信运营商所对应的网络运营商信息可由用于代表中国的数值为460的MCC码,以及用于代表中国电信运营商的通讯网络的数值为03、05和11中的任意一个的MNC码进行组合得到;中国联通运营商所对应的网络运营商信息由用于代表中国的数值为460的MCC码,以及用于代表中国联通运营商的通讯网络的数值为01、06和09中的任意一个的MNC码进行组合得到。其中,中国移动运营商所对应的运营商配置 内容为支持VoLTE(Voice over LTE,使用4G LTE网络进行通话);中国联通运营商所对应的运营商配置内容为不支持VoLTE而支持VoWifi(Voice over Wifi,使用Wifi进行通话);中国电信运营商所对应的运营商配置内容为不支持VoWifi而支持VT(Video Telephony,视频通话)。For example, the network operator information corresponding to a China Mobile operator can be any of the MCC code representing China with a value of 460, and the number 00, 02, 04, and 07 used to represent the communication network of the China Mobile operator. One MNC code is combined; the network operator information corresponding to the Chinese telecom operator can be the MCC code representing China with a value of 460, and the value representing the communication network of the Chinese telecom operator is 03, 05, and The MNC code of any one of 11 is combined; the network operator information corresponding to the China Unicom operator consists of the MCC code representing China with a value of 460, and the value representing China Unicom’s communication network as Combine the MNC codes of any one of 01, 06 and 09. Among them, the operator configuration content corresponding to the China Mobile operator is to support VoLTE (Voice over LTE, using 4G LTE network for calls); the operator configuration content corresponding to the China Unicom operator does not support VoLTE but supports VoWifi (Voice over LTE). Wifi, use Wifi to make calls); the operator configuration content corresponding to the Chinese telecom operator does not support VoWifi but supports VT (Video Telephony, video call).
在本实施例中,所述存储器11还用于存储基于各运营商对应的运营商配置内容创建出的可通过文件加载的方式实现通讯参数调整操作的运营商配置文件,其中每种运营商消息对应唯一的运营商配置文件,每个运营商配置文件的具体内容即为对应运营商消息所对应的运营商配置内容。In this embodiment, the memory 11 is also used to store an operator configuration file created based on the operator configuration content corresponding to each operator, which can implement communication parameter adjustment operations by file loading, where each operator message Corresponding to a unique operator profile, the specific content of each operator profile is the operator profile corresponding to the corresponding operator message.
在本实施例中,所述存储器11可用于存储程序,所述处理器12在接收到执行指令后,可相应地执行所述程序。其中,所述存储器11可以是,但不限于,随机存取存储器(Random Access Memory,RAM),只读存储器(Read Only Memory,ROM),可编程只读存储器(Programmable Read-Only Memory,PROM),可擦除只读存储器(Erasable Programmable Read-Only Memory,EPROM),电可擦除只读存储器(Electric Erasable Programmable Read-Only Memory,EEPROM)等。In this embodiment, the memory 11 may be used to store a program, and the processor 12 may execute the program accordingly after receiving an execution instruction. The memory 11 may be, but is not limited to, random access memory (Random Access Memory, RAM), read only memory (Read Only Memory, ROM), and programmable read-only memory (Programmable Read-Only Memory, PROM) , Erasable Programmable Read-Only Memory (EPROM), Electrical Erasable Programmable Read-Only Memory (EEPROM), etc.
在本实施例中,所述处理器12可以是一种具有信号的处理能力的集成电路芯片。所述处理器12可以是通用处理器,包括中央处理器(Central Processing Unit,CPU)及网络处理器(Network Processor,NP)等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等,可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。In this embodiment, the processor 12 may be an integrated circuit chip with signal processing capability. The processor 12 may be a general-purpose processor, including a central processing unit (CPU) and a network processor (NP). The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc., and may implement or execute the methods, steps, and logical block diagrams disclosed in the embodiments of the present application.
在本实施例中,所述通信单元13用于通过网络建立所述移动终端10与其他终端设备之间的通信连接,并用于通过所述网络收发数据。In this embodiment, the communication unit 13 is used to establish a communication connection between the mobile terminal 10 and other terminal devices through a network, and is used to send and receive data through the network.
在本实施例中,所述运营商配置文件加载装置100包括至少一个能够以软件或固件的形式存储于所述存储器11中或固化在所述移动终端10的操作系统中的软件功能模块。所述处理器12可用于执行所述存储器11存储的可执行模块,例如所述运营商配置文件加载装置100所包括软件功能模块及计算机程序等。所述移动终端10通过所述运营商配置文件加载装置100,针对一种网络运营商信息创建唯一对应的运营商配置文件,以在需要对某张通讯卡进行通讯参数调整时,可调用与该通讯卡所对应的网络运营商信息对应的运营商配置文件进行文件加载,从而完成对应的通讯参数调整操作,使该通讯卡能够正常实现通讯服务,无需针对同一运营商下的具有相同网络运营商信息的多张通讯卡分别创建内容实质相同的运营商配置文件,减少整体的通讯参数调整时长,以节省移动终端10的计算资源及 存储资源,并提高通讯参数调整效率,确保用户的使用体验。In this embodiment, the operator configuration file loading device 100 includes at least one software function module that can be stored in the memory 11 in the form of software or firmware or solidified in the operating system of the mobile terminal 10. The processor 12 may be used to execute executable modules stored in the memory 11, such as software function modules and computer programs included in the operator configuration file loading device 100. The mobile terminal 10 uses the operator configuration file loading device 100 to create a unique corresponding operator configuration file for a type of network operator information, so that when it is necessary to adjust the communication parameters of a communication card, it can call The operator configuration file corresponding to the network operator information corresponding to the communication card is loaded, so as to complete the corresponding communication parameter adjustment operation, so that the communication card can realize the communication service normally, without the need for the same network operator under the same operator The multiple communication cards of the information respectively create operator configuration files with substantially the same content, reducing the overall communication parameter adjustment time, so as to save the computing resources and storage resources of the mobile terminal 10, and improve the communication parameter adjustment efficiency to ensure the user experience.
可以理解的是,图1所示的方框示意图仅为移动终端10的一种结构组成示意图,所述移动终端10还可包括比图1中所示更多或者更少的组件,或者具有与图1所示不同的配置。图1中所示的各组件可以采用硬件、软件或其组合实现。It is understandable that the block diagram shown in FIG. 1 is only a schematic diagram of the structural composition of the mobile terminal 10. The mobile terminal 10 may also include more or fewer components than those shown in FIG. Figure 1 shows the different configurations. The components shown in FIG. 1 can be implemented by hardware, software, or a combination thereof.
请参照图2,图2是本申请实施例提供的运营商配置文件加载方法的流程示意图之一。在本申请实施例中,所述运营商配置文件加载方法应用于上述的包括通讯卡的移动终端10,下面对图2所示的运营商配置文件加载方法的具体流程和步骤进行详细阐述。Please refer to FIG. 2. FIG. 2 is one of the flowcharts of the method for loading an operator configuration file provided by an embodiment of the present application. In the embodiment of the present application, the carrier configuration file loading method is applied to the above-mentioned mobile terminal 10 including a communication card. The specific process and steps of the carrier configuration file loading method shown in FIG. 2 will be described in detail below.
步骤S210,获取通讯卡的IMSI信息,并根据所述IMSI信息确定所述通讯卡所对应的网络运营商信息,其中所述网络运营商信息包括对应通讯卡的MCC及MNC。Step S210: Obtain the IMSI information of the communication card, and determine the network operator information corresponding to the communication card according to the IMSI information, where the network operator information includes the MCC and MNC of the corresponding communication card.
在本实施例中,IMSI(International Mobile Subscriber Identity,国际移动用户识别码)是用于区分移动用户的标识,可存储在通讯卡中。IMSI消息由三部分组成,第一部分是MCC,其用于唯一识别移动用户所属的国家;第二部分是MNC,其用于识别移动用户所属的移动通信网;第三部分是MSIN(Mobile Subscribe Identification Number,移动用户识别码),其用于识别某一移动通信网中的移动用户。In this embodiment, IMSI (International Mobile Subscriber Identity, International Mobile Subscriber Identity) is an identifier used to distinguish mobile users and can be stored in a communication card. The IMSI message consists of three parts. The first part is MCC, which is used to uniquely identify the country to which the mobile user belongs; the second part is MNC, which is used to identify the mobile communication network to which the mobile user belongs; and the third part is MSIN (Mobile Subscribe Identification). Number, mobile user identification code), which is used to identify mobile users in a mobile communication network.
所述移动终端10在获取到通讯卡的IMSI信息后,可通过在所述IMSI信息中提取出对应的MCC及MNC,并以提取出的MCC及MNC构建得到与该通讯卡对应的网络运营商信息。After the mobile terminal 10 obtains the IMSI information of the communication card, it can extract the corresponding MCC and MNC from the IMSI information, and construct the network operator corresponding to the communication card by using the extracted MCC and MNC. information.
需要注意的是,当通讯卡为实体卡,且该通讯卡被安装在所述移动终端10时,所述移动终端10将开始激活该通讯卡,并读取该通讯卡所包括的通讯信息,其中所述通讯信息包括IMSI信息、短信信息、通讯录信息等。由此,所述通讯卡的运行状态将由未激活状态依次向激活状态、IMSI读取状态及LOADED状态进行转变,其中IMSI读取状态用于表示移动终端10已经从通讯卡先行读取到IMSI信息,LOADED状态用于表示移动终端10已经读取完通讯卡中的所有通讯信息。It should be noted that when the communication card is a physical card and the communication card is installed in the mobile terminal 10, the mobile terminal 10 will start to activate the communication card and read the communication information included in the communication card. The communication information includes IMSI information, short message information, address book information and so on. As a result, the operating state of the communication card will sequentially change from the inactive state to the activated state, the IMSI read state, and the LOADED state. The IMSI read state is used to indicate that the mobile terminal 10 has previously read IMSI information from the communication card. , LOADED state is used to indicate that the mobile terminal 10 has read all the communication information in the communication card.
当通讯卡为虚拟卡,且该通讯卡在所述移动终端10上被选择时,所述移动终端10将开始独权该通讯卡所包括的通讯信息,由此所述通讯卡的运行状态将由激活状态依次向IMSI读取状态及LOADED状态进行转变。When the communication card is a virtual card, and the communication card is selected on the mobile terminal 10, the mobile terminal 10 will begin to have the exclusive right of the communication information included in the communication card, and the operation status of the communication card will be changed by The activation state sequentially changes to the IMSI read state and the LOADED state.
因此,在本实施例的一种实施方式中,所述移动终端10在当前通讯卡的运行状态为LOADED状态时,通过调用嵌入在操作系统中的运营商配置服务(Default Carrier Config  Service)程序,从读取到的该通讯卡的IMSI消息中提取得到对应的网络运营商信息。Therefore, in an implementation of this embodiment, when the current operating state of the communication card is in the LOADED state, the mobile terminal 10 calls the operator configuration service (Default Carrier Config Service) program embedded in the operating system, The corresponding network operator information is extracted from the read IMSI message of the communication card.
可选地,请参照图3,是图2中的步骤S210包括的子步骤的流程示意图。在本实施例的另一种实施方式中,所述步骤S210包括子步骤S211及子步骤S212。Optionally, please refer to FIG. 3, which is a schematic flowchart of the sub-steps included in step S210 in FIG. 2. In another implementation of this embodiment, the step S210 includes a sub-step S211 and a sub-step S212.
子步骤S211,获取所述通讯卡的当前运行状态,其中所述通讯卡的当前运行状态包括未激活状态、激活状态、IMSI读取状态及LOADED状态。Sub-step S211, acquiring the current operating state of the communication card, where the current operating state of the communication card includes an inactive state, an activated state, an IMSI read state, and a LOADED state.
子步骤S212,在获取到的所述当前运行状态为IMSI读取状态时,直接从读取到的所述IMSI信息中提取出所述通讯卡对应的网络运营商信息。Sub-step S212, when the acquired current operating state is the IMSI reading state, directly extract the network operator information corresponding to the communication card from the read IMSI information.
在本实施例中,所述移动终端10可通过调用运营商配置服务程序主动地获取所述通讯卡的当前运行状态,并使运营商配置服务程序在获取到的所述当前运行状态为IMSI读取状态时,直接执行网络运营商信息获取操作,从而无需如上一实施方式那般需要等到通讯卡的运行状态变为LOADED状态后才开始执行网络运营商信息获取操作,以缩短通讯参数调整操作的总体执行时长,提高通讯参数调整效率,减少了用户等待移动终端10的网络配置时间,提高了移动终端10的用户使用体验。In this embodiment, the mobile terminal 10 can actively obtain the current operating status of the communication card by calling the operator configuration service program, and enable the operator configuration service program to obtain the IMSI reading status when the current operating status is obtained. When acquiring the status, the network operator information acquisition operation is directly executed, so there is no need to wait until the operating status of the communication card becomes the LOADED state, as in the previous embodiment, to start the network operator information acquisition operation, so as to shorten the communication parameter adjustment operation. The overall execution time is longer, the communication parameter adjustment efficiency is improved, the time for the user to wait for the network configuration of the mobile terminal 10 is reduced, and the user experience of the mobile terminal 10 is improved.
步骤S220,在已创建的运营商配置文件中查找与确定出的所述网络运营商信息对应的目标运营商配置文件,其中,一种网络运营商信息对应唯一一个运营商配置文件。Step S220: Search for a target operator profile corresponding to the determined network operator information in the created operator profile, where one type of network operator information corresponds to only one operator profile.
在本实施例中,所述移动终端10在针对某种网络运营商信息创建出对应的运营商配置文件后,会对该运营商配置文件进行存储,以便于在已创建的运营商配置文件中,查找与被安装或被选择的通讯卡的网络运营商信息对应的目标运营商配置文件。In this embodiment, after the mobile terminal 10 creates a corresponding operator profile for a certain type of network operator information, the operator profile is stored, so that it can be included in the created operator profile. , Find the target operator profile corresponding to the network operator information of the communication card that is installed or selected.
步骤S230,若查找到所述目标运营商配置文件,则加载所述目标运营商配置文件,以使所述通讯卡基于所述目标运营商配置文件的配置内容实现通讯服务。Step S230: If the target operator configuration file is found, the target operator configuration file is loaded, so that the communication card implements communication services based on the configuration content of the target operator configuration file.
在本实施例中,若在已创建的运营商配置文件中查找到所述目标运营商配置文件,则表明所述移动终端10当前创建有与安装的通讯卡所对应的网络运营商信息匹配的运营商配置文件,所述移动终端10无需针对该通讯卡创建相应的运营商配置文件,可直接通过加载该目标运营商配置文件,向该通讯卡提供适配的通讯参数,使该通讯卡能够基于所述目标运营商配置文件的配置内容实现通讯服务,从而无需针对同一运营商下的具有相同网络运营商信息的多张通讯卡分别创建内容实质相同的运营商配置文件,减少整体的通讯参数调整时长,以节省移动终端10的计算资源及存储资源,提高通讯参数调整效率,确保移动终端10的用户使用体验。In this embodiment, if the target operator profile is found in the created operator profile, it indicates that the mobile terminal 10 is currently created with a profile matching the network operator information corresponding to the installed communication card. Operator configuration file. The mobile terminal 10 does not need to create a corresponding operator configuration file for the communication card. It can directly load the target operator configuration file to provide the communication card with adapted communication parameters so that the communication card can The communication service is realized based on the configuration content of the target operator profile, so there is no need to create operator profiles with substantially the same content for multiple communication cards with the same network operator information under the same operator, thereby reducing overall communication parameters The time length is adjusted to save computing resources and storage resources of the mobile terminal 10, improve communication parameter adjustment efficiency, and ensure the user experience of the mobile terminal 10.
可选地,请参照图4,图4是本申请实施例提供的运营商配置文件加载方法的流程示意图之二。在本申请的一种实施例中,所述运营商配置文件加载方法还包括步骤S240及步骤S250。Optionally, please refer to FIG. 4, which is a second schematic flowchart of a method for loading an operator configuration file provided by an embodiment of the present application. In an embodiment of the present application, the method for loading an operator configuration file further includes step S240 and step S250.
步骤S240,若未查找到所述目标运营商配置文件,则从预存的各运营商对应的运营商配置内容中,读取出与所述网络运营商信息对应的目标运营商配置内容。Step S240, if the target operator configuration file is not found, read the target operator configuration content corresponding to the network operator information from the prestored operator configuration content corresponding to each operator.
在本实施例中,若未查找到与当前通讯卡的网络运营商信息对应的目标运营商配置文件,则表明所述移动终端10未创建与该通讯卡的网络运营商信息匹配的运营商配置文件,此时所述移动终端10可调用运营商配置服务程序从预存的各运营商对应的运营商配置内容中,读取出与所述网络运营商信息对应的目标运营商配置内容。In this embodiment, if the target operator configuration file corresponding to the network operator information of the current communication card is not found, it indicates that the mobile terminal 10 has not created an operator configuration matching the network operator information of the communication card File, at this time, the mobile terminal 10 can call the operator configuration service program to read the target operator configuration content corresponding to the network operator information from the prestored operator configuration content corresponding to each operator.
步骤S250,基于所述目标运营商配置内容创建出对应的运营商配置文件,并对创建出的所述运营商配置文件进行加载。Step S250: Create a corresponding operator configuration file based on the target operator configuration content, and load the created operator configuration file.
在本实施例中,所述移动终端10在得到目标运营商配置内容后,会相应地创建出与所述目标运营商配置内容所对应的网络运营商信息存在对应关系的运营商配置文件,并以创建出的所述运营商配置文件进行文件加载,以向安装的通讯卡提供适配的通讯参数,使该通讯卡能够基于加载的运营商配置文件内容实现通讯服务。所述移动终端10在每次创建出运营商配置文件,均会对该运营商配置文件进行存储,以供后续可能存在的运营商配置文件查找操作及运营商配置文件加载操作进行使用。In this embodiment, after the mobile terminal 10 obtains the target operator configuration content, it will accordingly create an operator profile corresponding to the network operator information corresponding to the target operator configuration content, and The created operator configuration file is used for file loading to provide adapted communication parameters to the installed communication card, so that the communication card can implement communication services based on the loaded operator configuration file content. Each time the mobile terminal 10 creates an operator configuration file, the operator configuration file is stored for use in subsequent operations of searching and loading the operator configuration file that may exist in the future.
可选地,所述基于所述目标运营商配置内容创建出对应的运营商配置文件的步骤,包括:Optionally, the step of creating a corresponding operator profile based on the target operator configuration content includes:
在空白文档中添加所述目标运营商配置内容,并以与所述目标运营商配置内容对应的网络运营商信息进行文档命名,得到对应的运营商配置文件。Add the target operator configuration content to the blank document, and name the file with the network operator information corresponding to the target operator configuration content to obtain the corresponding operator configuration file.
其中,所述移动终端10通过执行上述步骤,建立运营商配置文件与网络运营商信息之间的对应关系,并在运营商配置文件查找过程中,可直接根据已创建的各运营商配置文件的名称,快速确定出与某种网络运营商信息对应的运营商配置文件。Wherein, the mobile terminal 10 establishes the corresponding relationship between the operator profile and the network operator information by performing the above steps, and in the process of looking up the operator profile, it can be directly based on the created profile of each operator. Name, quickly determine the operator profile corresponding to a certain network operator information.
可选地,请参照图5,图5是本申请实施例提供的运营商配置文件加载方法的流程示意图之三。在本申请的一种实施例中,所述运营商配置文件加载方法还包括步骤S240、步骤S260及步骤S270。Optionally, please refer to FIG. 5. FIG. 5 is the third schematic flowchart of a method for loading an operator configuration file provided by an embodiment of the present application. In an embodiment of the present application, the method for loading an operator configuration file further includes step S240, step S260, and step S270.
步骤S240,若未查找到所述目标运营商配置文件,则从预存的各运营商对应的运营商 配置内容中,读取出与所述网络运营商信息对应的目标运营商配置内容。Step S240: If the target operator configuration file is not found, read the target operator configuration content corresponding to the network operator information from the prestored operator configuration content corresponding to each operator.
步骤S260,按照所述目标运营商配置内容配置移动终端10,使所述通讯卡基于所述目标运营商配置内容实现通讯服务。In step S260, the mobile terminal 10 is configured according to the configuration content of the target operator, so that the communication card realizes communication services based on the configuration content of the target operator.
在本实施例中,所述移动终端10在读取到所述目标运营商配置内容后,会直接以该目标运营商配置内容进行通讯参数调整,从而达到按照所述目标运营商配置内容配置所述移动终端10的通讯状况的效果。In this embodiment, after the mobile terminal 10 reads the configuration content of the target operator, it will directly adjust the communication parameters based on the configuration content of the target operator, so as to configure the communication parameters according to the configuration content of the target operator. The effect of the communication status of the mobile terminal 10 is described.
步骤S270,基于所述目标运营商配置内容创建出对应的运营商配置文件,并对创建出的运营商配置文件进行存储。Step S270: Create a corresponding operator configuration file based on the target operator configuration content, and store the created operator configuration file.
在本实施例中,所述移动终端10在完成对自身通讯状况的配置操作后,会相应地创建出与所述目标运营商配置内容所对应的网络运营商信息存在对应关系的运营商配置文件,并对该运营商配置文件进行存储,以供后续可能存在的运营商配置文件查找操作及运营商配置文件加载操作进行使用。In this embodiment, after the mobile terminal 10 completes the configuration operation of its own communication status, it will accordingly create an operator profile corresponding to the network operator information corresponding to the target operator configuration content , And store the operator configuration file for use in subsequent possible operator configuration file search operations and operator configuration file loading operations.
可选地,所述基于所述目标运营商配置内容创建出对应的运营商配置文件的步骤,包括:Optionally, the step of creating a corresponding operator profile based on the target operator configuration content includes:
在空白文档中添加所述目标运营商配置内容,并以与所述目标运营商配置内容对应的网络运营商信息进行文档命名,得到对应的运营商配置文件。Add the target operator configuration content to the blank document, and name the file with the network operator information corresponding to the target operator configuration content to obtain the corresponding operator configuration file.
其中,所述移动终端10通过执行上述步骤,建立运营商配置文件与网络运营商信息之间的对应关系,并在运营商配置文件查找过程中,可直接根据已创建的各运营商配置文件的名称,快速确定出与某种网络运营商信息对应的运营商配置文件。Wherein, the mobile terminal 10 establishes the corresponding relationship between the operator profile and the network operator information by performing the above steps, and in the process of looking up the operator profile, it can be directly based on the created profile of each operator. Name, quickly determine the operator profile corresponding to a certain network operator information.
请参照图6,图6是本申请实施例提供的运营商配置文件加载装置100的功能模块示意图之一。在本申请实施例中,所述运营商配置文件加载装置100包括运营商信息获取模块110、配置文件查找模块120及配置文件加载模块130。Please refer to FIG. 6. FIG. 6 is a schematic diagram of one of the functional modules of the operator configuration file loading apparatus 100 provided by an embodiment of the present application. In the embodiment of the present application, the operator configuration file loading device 100 includes an operator information acquisition module 110, a configuration file search module 120, and a configuration file loading module 130.
所述运营商信息获取模块110,用于获取通讯卡的IMSI信息,并根据所述IMSI信息确定所述通讯卡所对应的网络运营商信息,其中所述网络运营商信息包括对应通讯卡的MCC及MNC。The operator information acquisition module 110 is configured to acquire the IMSI information of the communication card, and determine the network operator information corresponding to the communication card according to the IMSI information, wherein the network operator information includes the MCC of the corresponding communication card And MNC.
所述配置文件查找模块120,用于在已创建的运营商配置文件中查找与确定出的所述网络运营商信息对应的目标运营商配置文件,其中,一种网络运营商信息对应唯一一个运营商配置文件。The configuration file search module 120 is configured to search for a target operator profile corresponding to the determined network operator information in the created operator profile, where one type of network operator information corresponds to only one operator Supplier configuration file.
所述配置文件加载模块130,用于若查找到所述目标运营商配置文件,则加载所述目标运营商配置文件,以使所述通讯卡基于所述目标运营商配置文件的配置内容实现通讯服务。The configuration file loading module 130 is configured to load the target operator configuration file if the target operator configuration file is found, so that the communication card realizes communication based on the configuration content of the target operator configuration file service.
可选地,请参照图7,图7是图6中的运营商信息获取模块110的功能模块示意图。在本实施例中,所述运营商信息获取模块110包括状态获取子模块111及信息提取子模块112。Optionally, please refer to FIG. 7, which is a schematic diagram of functional modules of the operator information obtaining module 110 in FIG. 6. In this embodiment, the operator information acquisition module 110 includes a status acquisition sub-module 111 and an information extraction sub-module 112.
所述状态获取子模块111,用于获取所述通讯卡的当前运行状态,其中所述通讯卡的当前运行状态包括未激活状态、激活状态、IMSI读取状态及LOADED状态。The status acquisition sub-module 111 is configured to acquire the current operating status of the communication card, where the current operating status of the communication card includes an inactive state, an activated state, an IMSI read state, and a LOADED state.
所述信息提取子模块112,用于在获取到的所述当前运行状态为IMSI读取状态时,直接从读取到的所述IMSI信息中提取出所述通讯卡对应的网络运营商信息。The information extraction sub-module 112 is configured to directly extract the network operator information corresponding to the communication card from the IMSI information obtained when the current operating state obtained is the IMSI reading state.
其中,IMSI读取状态用于表示运营商配置文件加载装置100已经从通讯卡先行读取到IMSI信息,LOADED状态用于表示运营商配置文件加载装置100已经读取完通讯卡中的所有通讯信息。可选地,请参照图8,图8是本申请实施例提供的运营商配置文件加载装置100的功能模块示意图之二。在本申请的一种实施例中,所述运营商配置文件加载装置100还包括配置内容读取模块140及文件创建加载模块150。The IMSI reading status is used to indicate that the operator configuration file loading device 100 has previously read IMSI information from the communication card, and the LOADED status is used to indicate that the operator configuration file loading device 100 has read all the communication information in the communication card. . Optionally, please refer to FIG. 8. FIG. 8 is a second schematic diagram of functional modules of the operator configuration file loading apparatus 100 provided in an embodiment of the present application. In an embodiment of the present application, the operator configuration file loading device 100 further includes a configuration content reading module 140 and a file creation loading module 150.
所述配置内容读取模块140,用于若未查找到所述目标运营商配置文件,则从预存的各运营商对应的运营商配置内容中,读取出与所述网络运营商信息对应的目标运营商配置内容。The configuration content reading module 140 is configured to, if the target operator configuration file is not found, read out the information corresponding to the network operator from the pre-stored operator configuration content corresponding to each operator Target operator configuration content.
所述文件创建加载模块150,用于基于所述目标运营商配置内容创建出对应的运营商配置文件,并对创建出的所述运营商配置文件进行加载。The file creation and loading module 150 is configured to create a corresponding operator configuration file based on the target operator configuration content, and load the created operator configuration file.
可选地,请参照图9,图9是本申请实施例提供的运营商配置文件加载装置100的功能模块示意图之三。在本申请的另一种实施例中,所述运营商配置文件加载装置100还包括配置内容读取模块140、终端通讯配置模块160及文件创建存储模块170。Optionally, please refer to FIG. 9. FIG. 9 is a third schematic diagram of functional modules of the operator configuration file loading apparatus 100 provided in an embodiment of the present application. In another embodiment of the present application, the operator configuration file loading device 100 further includes a configuration content reading module 140, a terminal communication configuration module 160, and a file creation and storage module 170.
所述配置内容读取模块140,用于若未查找到所述目标运营商配置文件,则从预存的各运营商对应的运营商配置内容中,读取出与所述网络运营商信息对应的目标运营商配置内容。The configuration content reading module 140 is configured to, if the target operator configuration file is not found, read out the information corresponding to the network operator from the pre-stored operator configuration content corresponding to each operator Target operator configuration content.
所述终端通讯配置模块160,用于按照所述目标运营商配置内容配置移动终端10,使所述通讯卡基于所述目标运营商配置内容实现通讯服务。The terminal communication configuration module 160 is configured to configure the mobile terminal 10 according to the configuration content of the target operator, so that the communication card realizes communication services based on the configuration content of the target operator.
所述文件创建存储模块170,用于基于所述目标运营商配置内容创建出对应的运营商配置文件,并对创建出的运营商配置文件进行存储。The file creation and storage module 170 is configured to create a corresponding operator configuration file based on the target operator configuration content, and store the created operator configuration file.
需要说明的是,本申请所提供的运营商配置文件加载装置100,其基本原理及产生的技术效果和上述运营商配置文件加载方法相同,为简要描述,本实施例部分未提及之处,可参考上述的针对运营商配置文件加载方法的实施例中相应内容。It should be noted that the basic principles and technical effects of the carrier configuration file loading device 100 provided in this application are the same as the above-mentioned carrier configuration file loading method. For a brief description, the parts that are not mentioned in this embodiment are described. Reference may be made to the corresponding content in the foregoing embodiment of the method for loading operator configuration files.
在本申请所提供的实施例中,应该理解到,所揭露的装置和方法,也可以通过其它的方式实现。以上所描述的装置实施例仅仅是示意性的,例如,附图中的流程图和框图显示了根据本申请的实施例的装置、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段或代码的一部分,所述模块、程序段或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现方式中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个连续的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或动作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。In the embodiments provided in this application, it should be understood that the disclosed device and method may also be implemented in other ways. The device embodiments described above are merely illustrative. For example, the flowcharts and block diagrams in the drawings show the possible implementation architecture, functions, and operations of the devices, methods, and computer program products according to the embodiments of the present application. In this regard, each block in the flowchart or block diagram may represent a module, program segment, or part of the code, and the module, program segment, or part of the code contains one or more functions for realizing the specified logic function. Executable instructions. It should also be noted that in some alternative implementations, the functions marked in the block may also occur in a different order from the order marked in the drawings. For example, two consecutive blocks can actually be executed substantially in parallel, or they can sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagram and/or flowchart, and the combination of the blocks in the block diagram and/or flowchart, can be implemented by a dedicated hardware-based system that performs the specified functions or actions Or it can be realized by a combination of dedicated hardware and computer instructions.
另外,在本申请各个实施例中的各功能模块可以集成在一起形成一个独立的部分,也可以是各个模块单独存在,也可以两个或两个以上模块集成形成一个独立的部分。In addition, the functional modules in the various embodiments of the present application may be integrated together to form an independent part, or each module may exist alone, or two or more modules may be integrated to form an independent part.
所述功能如果以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。If the function is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a storage medium. Based on this understanding, the technical solution of the present application essentially or the part that contributes to the existing technology or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disks or optical disks and other media that can store program codes. .
综上所述,在本申请实施例提供的一种运营商配置文件加载方法及装置、移动终端及存储介质中,本申请通过针对一种网络运营商信息创建唯一对应的运营商配置文件,在获取到当前通讯卡的IMSI信息,且从该IMSI信息中提取出对应的网络运营商信息时,能够在已创建的运营商配置文件中查找与确定出的所述网络运营商信息对应的目标运营商配置文件,并在查找到时直接加载该目标运营商配置文件,从而针对该通讯卡完成对应的通讯参数调整操作,使该通讯卡能够正常实现通讯服务,无需针对同一运营商下的具有相同网络运营商信息的多张通讯卡分别创建内容实质相同的运营商配置文件,减少整体的通讯参 数调整时长,以节省移动终端的计算资源及存储资源,并提高通讯参数调整效率,确保用户的使用体验。其中,所述网络运营商信息用于表示对应运营商在提供通讯业务时的身份信息,所述网络运营商信息包括对应通讯卡的MCC及MNC。In summary, in an operator configuration file loading method and device, mobile terminal, and storage medium provided in the embodiments of this application, this application creates a unique corresponding operator configuration file for a type of network operator information, and When the IMSI information of the current communication card is obtained, and the corresponding network operator information is extracted from the IMSI information, the target operation corresponding to the determined network operator information can be searched in the operator profile that has been created Provider configuration file, and directly load the target operator configuration file when it is found, so as to complete the corresponding communication parameter adjustment operation for the communication card, so that the communication card can realize the communication service normally, and there is no need to target the same operator under the same operator. Multiple communication cards of network operator information respectively create operator configuration files with substantially the same content, reducing the overall communication parameter adjustment time, saving mobile terminal computing resources and storage resources, and improving communication parameter adjustment efficiency to ensure user use Experience. Wherein, the network operator information is used to indicate the identity information of the corresponding operator when providing communication services, and the network operator information includes the MCC and MNC of the corresponding communication card.
以上所述仅为本申请的优选实施例而已,并不用于限制本申请,对于本领域的技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。The above descriptions are only preferred embodiments of the application, and are not intended to limit the application. For those skilled in the art, the application can have various modifications and changes. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of this application shall be included in the protection scope of this application.

Claims (12)

  1. 一种运营商配置文件加载方法,应用于包括通讯卡的移动终端,其中所述方法包括:A method for loading an operator configuration file is applied to a mobile terminal including a communication card, wherein the method includes:
    获取所述通讯卡的国际移动用户识别码IMSI信息,并根据所述IMSI信息确定所述通讯卡所对应的网络运营商信息,其中所述网络运营商信息包括对应通讯卡的移动国家码MCC及移动网络号码MNC;Obtain the IMSI information of the international mobile subscriber identification code of the communication card, and determine the network operator information corresponding to the communication card according to the IMSI information, wherein the network operator information includes the mobile country code MCC and the corresponding communication card Mobile network number MNC;
    在已创建的运营商配置文件中查找与确定出的所述网络运营商信息对应的目标运营商配置文件,其中,一种网络运营商信息对应唯一一个运营商配置文件;Searching for a target operator profile corresponding to the determined network operator information in the created operator profile, where one type of network operator information corresponds to only one operator profile;
    若查找到所述目标运营商配置文件,则加载所述目标运营商配置文件,以使所述通讯卡基于所述目标运营商配置文件的配置内容实现通讯服务。If the target operator configuration file is found, the target operator configuration file is loaded, so that the communication card implements communication services based on the configuration content of the target operator configuration file.
  2. 根据权利要求1所述的方法,其中所述获取所述通讯卡的国际移动用户识别码IMSI信息,并根据所述IMSI信息确定所述通讯卡所对应的网络运营商信息,包括:The method according to claim 1, wherein said obtaining the IMSI information of the international mobile subscriber identity of the communication card and determining the network operator information corresponding to the communication card according to the IMSI information comprises:
    获取所述通讯卡的当前运行状态,其中所述通讯卡的当前运行状态包括IMSI读取状态及LOADED状态;Acquiring the current operating status of the communication card, where the current operating status of the communication card includes IMSI read status and LOADED status;
    在获取到的所述当前运行状态为IMSI读取状态时,直接从读取到的所述IMSI信息中提取出所述通讯卡对应的网络运营商信息。When the acquired current operating state is the IMSI reading state, the network operator information corresponding to the communication card is directly extracted from the read IMSI information.
  3. 根据权利要求1或2所述的方法,其中所述方法还包括:The method according to claim 1 or 2, wherein the method further comprises:
    若未查找到所述目标运营商配置文件,则从预存的各运营商对应的运营商配置内容中,读取出与所述网络运营商信息对应的目标运营商配置内容;If the target operator configuration file is not found, read out the target operator configuration content corresponding to the network operator information from the prestored operator configuration content corresponding to each operator;
    基于所述目标运营商配置内容创建出对应的运营商配置文件,并对创建出的所述运营商配置文件进行加载。A corresponding operator configuration file is created based on the target operator configuration content, and the created operator configuration file is loaded.
  4. 根据权利要求3所述的方法,其中所述基于所述目标运营商配置内容创建出对应的运营商配置文件,包括:The method according to claim 3, wherein the creating a corresponding operator profile based on the target operator configuration content comprises:
    在空白文档中添加所述目标运营商配置内容,并以与所述目标运营商配置内容对应的网络运营商信息进行文档命名,得到对应的运营商配置文件。Add the target operator configuration content to the blank document, and name the file with the network operator information corresponding to the target operator configuration content to obtain the corresponding operator configuration file.
  5. 根据权利要求1或2所述的方法,其中所述方法还包括:The method according to claim 1 or 2, wherein the method further comprises:
    若未查找到所述目标运营商配置文件,则从预存的各运营商对应的运营商配置内容中,读取出与所述网络运营商信息对应的目标运营商配置内容;If the target operator configuration file is not found, read out the target operator configuration content corresponding to the network operator information from the prestored operator configuration content corresponding to each operator;
    按照所述目标运营商配置内容配置所述移动终端,使所述通讯卡基于所述目标运营商配置内容实现通讯服务;Configure the mobile terminal according to the configuration content of the target operator, so that the communication card implements communication services based on the configuration content of the target operator;
    基于所述目标运营商配置内容创建出对应的运营商配置文件,并对创建出的运营商配置文件进行存储。A corresponding operator profile is created based on the target operator configuration content, and the created operator profile is stored.
  6. 根据权利要求5所述的方法,其中所述基于所述目标运营商配置内容创建出对应的运营商配置文件,包括:The method according to claim 5, wherein said creating a corresponding operator configuration file based on said target operator configuration content comprises:
    在空白文档中添加所述目标运营商配置内容,并以与所述目标运营商配置内容对应的网络运营商信息进行文档命名,得到对应的运营商配置文件。Add the target operator configuration content to the blank document, and name the file with the network operator information corresponding to the target operator configuration content to obtain the corresponding operator configuration file.
  7. 一种运营商配置文件加载装置,应用于包括通讯卡的移动终端,其中所述装置包括:An operator configuration file loading device applied to a mobile terminal including a communication card, wherein the device includes:
    运营商信息获取模块,用于获取所述通讯卡的国际移动用户识别码IMSI信息,并根据所述IMSI信息确定所述通讯卡所对应的网络运营商信息,其中所述网络运营商信息包括对应通讯卡的移动国家码MCC及移动网络号码MNC;The operator information acquisition module is used to acquire the IMSI information of the international mobile subscriber identification code of the communication card, and determine the network operator information corresponding to the communication card according to the IMSI information, wherein the network operator information includes the corresponding The mobile country code MCC and mobile network number MNC of the communication card;
    配置文件查找模块,用于在已创建的运营商配置文件中查找与确定出的所述网络运营商信息对应的目标运营商配置文件,其中,一种网络运营商信息对应唯一一个运营商配置文件;The configuration file search module is used to search for the target operator profile corresponding to the determined network operator information in the created operator profile, where one type of network operator information corresponds to only one operator profile ;
    配置文件加载模块,用于若查找到所述目标运营商配置文件,则加载所述目标运营商配置文件,以使所述通讯卡基于所述目标运营商配置文件的配置内容实现通讯服务。The configuration file loading module is configured to load the target operator configuration file if the target operator configuration file is found, so that the communication card realizes communication services based on the configuration content of the target operator configuration file.
  8. 根据权利要求7所述的装置,其中所述运营商信息获取模块包括:The apparatus according to claim 7, wherein the operator information obtaining module comprises:
    状态获取子模块,用于获取所述通讯卡的当前运行状态,其中所述通讯卡的当前运行状态包括IMSI读取状态及LOADED状态;The status acquisition sub-module is used to acquire the current operating status of the communication card, where the current operating status of the communication card includes IMSI read status and LOADED status;
    信息提取子模块,用于在获取到的所述当前运行状态为IMSI读取状态时,直接从读取到的所述IMSI信息中提取出所述通讯卡对应的网络运营商信息。The information extraction sub-module is configured to directly extract the network operator information corresponding to the communication card from the IMSI information that is obtained when the current operating state is the IMSI reading state.
  9. 根据权利要求7或8所述的装置,其中所述装置还包括:The device according to claim 7 or 8, wherein the device further comprises:
    配置内容读取模块,用于若未查找到所述目标运营商配置文件,则从预存的各运营商对应的运营商配置内容中,读取出与所述网络运营商信息对应的目标运营商配置内容;The configuration content reading module is configured to read the target operator corresponding to the network operator information from the pre-stored operator configuration content corresponding to each operator if the target operator configuration file is not found Configuration content;
    文件创建加载模块,用于基于所述目标运营商配置内容创建出对应的运营商配置文件,并对创建出的所述运营商配置文件进行加载。The file creation and loading module is configured to create a corresponding operator configuration file based on the target operator configuration content, and load the created operator configuration file.
  10. 根据权利要求7或8所述的装置,其中所述装置还包括:The device according to claim 7 or 8, wherein the device further comprises:
    配置内容读取模块,用于若未查找到所述目标运营商配置文件,则从预存的各运营商对应的运营商配置内容中,读取出与所述网络运营商信息对应的目标运营商配置内容;The configuration content reading module is configured to read the target operator corresponding to the network operator information from the pre-stored operator configuration content corresponding to each operator if the target operator configuration file is not found Configuration content;
    终端通讯配置模块,用于按照所述目标运营商配置内容配置所述移动终端,使所述通讯卡基于所述目标运营商配置内容实现通讯服务;A terminal communication configuration module, configured to configure the mobile terminal according to the configuration content of the target operator, so that the communication card realizes communication services based on the configuration content of the target operator;
    文件创建存储模块,用于基于所述目标运营商配置内容创建出对应的运营商配置文件,并对创建出的运营商配置文件进行存储。The file creation and storage module is used to create a corresponding operator configuration file based on the target operator configuration content, and store the created operator configuration file.
  11. 一种移动终端,包括处理器及存储器,所述存储器存储有能够被所述处理器执行的机器可执行指令,所述处理器可执行所述机器可执行指令,以实现权利要求1-6中任意一项所述的运营商配置文件加载方法。A mobile terminal, comprising a processor and a memory, the memory stores machine executable instructions that can be executed by the processor, and the processor can execute the machine executable instructions to implement claims 1-6 Any one of the carrier configuration file loading methods.
  12. 一种存储介质,其上存储有计算机程序,所述计算机程序被执行时,实现权利要求1-6中任意一项所述的运营商配置文件加载方法。A storage medium on which a computer program is stored, and when the computer program is executed, the method for loading an operator configuration file according to any one of claims 1-6 is realized.
PCT/CN2020/136816 2019-12-16 2020-12-16 Method and device for loading carrier configuration file, mobile terminal, and storage medium WO2021121271A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911293933.3A CN112995980A (en) 2019-12-16 2019-12-16 Operator configuration file loading method and device, mobile terminal and storage medium
CN201911293933.3 2019-12-16

Publications (1)

Publication Number Publication Date
WO2021121271A1 true WO2021121271A1 (en) 2021-06-24

Family

ID=76343218

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/136816 WO2021121271A1 (en) 2019-12-16 2020-12-16 Method and device for loading carrier configuration file, mobile terminal, and storage medium

Country Status (2)

Country Link
CN (1) CN112995980A (en)
WO (1) WO2021121271A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114640702A (en) * 2022-02-28 2022-06-17 西安歌尔泰克电子科技有限公司 Wearable device application configuration method and device, wearable device and storage medium

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114245367B (en) * 2021-12-14 2024-03-19 惠州Tcl移动通信有限公司 Method and device for automatically generating IMS smart card, mobile terminal and storage medium
CN115915321A (en) * 2022-12-09 2023-04-04 深圳市广和通无线通信软件有限公司 Operator network switching method, device, equipment and computer storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060062759A (en) * 2004-12-06 2006-06-12 엘지전자 주식회사 Method for automatic setting by using sim information in mobile communication station
WO2012053119A1 (en) * 2010-10-22 2012-04-26 Telefonaktiebolaget L M Ericsson (Publ) Operator selecting apparatus and method for selecting a home operator for each communication device in a group
CN106899966A (en) * 2017-03-25 2017-06-27 努比亚技术有限公司 network mode automatic selecting method and device
CN107483468A (en) * 2017-08-31 2017-12-15 广东欧珀移动通信有限公司 Obtain the methods, devices and systems of configuration information

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102200209B1 (en) * 2014-04-22 2021-01-08 삼성전자 주식회사 Method and apparatus for provisioning profiles
CN107623909B (en) * 2017-09-30 2019-02-05 Oppo广东移动通信有限公司 Configuration information acquisition, processing method, device and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060062759A (en) * 2004-12-06 2006-06-12 엘지전자 주식회사 Method for automatic setting by using sim information in mobile communication station
WO2012053119A1 (en) * 2010-10-22 2012-04-26 Telefonaktiebolaget L M Ericsson (Publ) Operator selecting apparatus and method for selecting a home operator for each communication device in a group
CN106899966A (en) * 2017-03-25 2017-06-27 努比亚技术有限公司 network mode automatic selecting method and device
CN107483468A (en) * 2017-08-31 2017-12-15 广东欧珀移动通信有限公司 Obtain the methods, devices and systems of configuration information

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114640702A (en) * 2022-02-28 2022-06-17 西安歌尔泰克电子科技有限公司 Wearable device application configuration method and device, wearable device and storage medium

Also Published As

Publication number Publication date
CN112995980A (en) 2021-06-18

Similar Documents

Publication Publication Date Title
WO2021121271A1 (en) Method and device for loading carrier configuration file, mobile terminal, and storage medium
CN107634845B (en) Adaptation method and device for operator network
US9491563B1 (en) Pre-provisioning mobile application acquisition and utilization
CN108810123B (en) Method and apparatus for provisioning mobile cellular network services
CN106714140B (en) Communication method and mobile terminal
CN105188048A (en) Method, device and terminal equipment for loading customized applications for mobile terminal
CN110267314B (en) Method and device for switching network slices
CN107005832B (en) Network registration method and device for terminal and terminal
US10009891B2 (en) Communication method, server and terminal
CN105406892A (en) Method and device for determining network type and mobile terminal
WO2018214957A1 (en) Network configuration method and device, user terminal and readable storage medium
CN110809255A (en) Card information activation method and device and storage medium
EP3304862B1 (en) Systems, methods, and computer-readable media for tracking udates and loading data
CN106211132B (en) Virtual SIM card identification method and terminal
CN108112010A (en) Access method, apparatus, terminal and the computer readable storage medium of network
CN104010291A (en) Network registration method and apparatus, and mobile terminal
CN103945345A (en) Information prompt method and mobile terminal
CN113242542B (en) Network searching control method and device of mobile terminal and mobile terminal
US10334553B2 (en) Wireless communications network registration method and terminal
WO2016173070A1 (en) Terminal network searching method and terminal
US9883051B2 (en) Method and system for usage of manual PLMN selection mode
JP7230223B2 (en) Terminal configuration method and device
CN109548003B (en) VoLTE switch state configuration method and device and mobile terminal
US20230262558A1 (en) Ue route selection method and related products
CN108574503B (en) Setting method of interception setting option and related equipment

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20902723

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 02/02/2023)

122 Ep: pct application non-entry in european phase

Ref document number: 20902723

Country of ref document: EP

Kind code of ref document: A1