CN107395760A - The method and device of loading configuration file - Google Patents

The method and device of loading configuration file Download PDF

Info

Publication number
CN107395760A
CN107395760A CN201710752733.4A CN201710752733A CN107395760A CN 107395760 A CN107395760 A CN 107395760A CN 201710752733 A CN201710752733 A CN 201710752733A CN 107395760 A CN107395760 A CN 107395760A
Authority
CN
China
Prior art keywords
configuration file
iccid
operator
mark
network
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710752733.4A
Other languages
Chinese (zh)
Other versions
CN107395760B (en
Inventor
崔恒彬
代琳
孙龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201710752733.4A priority Critical patent/CN107395760B/en
Publication of CN107395760A publication Critical patent/CN107395760A/en
Application granted granted Critical
Publication of CN107395760B publication Critical patent/CN107395760B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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
    • H04L67/303Terminal profiles
    • 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/183Processing at user equipment or user record carrier

Abstract

The disclosure is directed to a kind of method and device of loading configuration file, belong to communication technical field.Methods described includes:Obtain the ICCID of the SIM card of terminal assembling, concentrated from configuration file and obtain the first configuration file corresponding to ICCID, configuration file, which is concentrated, includes configuration file corresponding to multiple operators, load the first configuration file, the network home information recorded in SIM card is obtained, network home information includes MCC and MNC, is concentrated from configuration file and obtains the second configuration file corresponding to network home information, if the first configuration file and the second configuration file are different, the second configuration file is loaded.The disclosure according to the MCC and MNC recorded in SIM card by after corresponding configuration file is loaded according to the ICCID of SIM card, verifying whether the configuration file loaded before is accurate, to guarantee to load correct configuration file.

Description

The method and device of loading configuration file
Technical field
The embodiment of the present disclosure is related to communication technical field, more particularly to a kind of method and device of loading configuration file.
Background technology
With the popularization of mobile phone, increasing mobile phone compatible can support Duo Jia operators, and mobile phone accesses different operations Business's network needs to use different configuration files, and such as dial file, network file.
In the related art, subscriber identification module (Subscriber Identity Module, SIM) card is a kind of storage The chip of the contents such as the telephone directory of the information of cellphone subscriber, the key of encryption and user.Mobile phone is by detecting the collection of SIM card Operator corresponding to SIM card is obtained into circuit card identification code (Integrate Circuit Card Identity, ICCID) Configuration file.
The content of the invention
The embodiment of the present disclosure provides a kind of method and device of loading configuration file.The technical scheme is as follows:
According to the first aspect of the embodiment of the present disclosure, there is provided a kind of method of loading configuration file, methods described include:
Obtain the ICCID of the SIM card of terminal assembling;
Concentrated from configuration file and obtain the first configuration file corresponding with the ICCID, the configuration file, which is concentrated, to be included Configuration file corresponding to multiple operators, the configuration file are used to support the terminal to access fortune corresponding to the configuration file The network that battalion business is provided;
Load first configuration file;
The network home information recorded in the SIM card is obtained, the network home information includes Mobile Country Code MCC (Mobile Country Code, MCC) and mobile network code (Mobile Network Code, MNC);
Concentrated from the configuration file and obtain the second configuration file corresponding with the network home information;
If first configuration file is different with second configuration file, second configuration file is loaded.
Alternatively, described concentrated from configuration file obtains the first configuration file corresponding with the ICCID, including:
The operator code in the ICCID is obtained, the operator code is used to indicate to run corresponding to the ICCID Business;
Searched from the first default corresponding relation and obtain the first mark corresponding with the operator code in the ICCID, Wherein, the described first default corresponding relation includes the corresponding pass between the operator code and the mark of the configuration file System;
Concentrated from the configuration file and obtain first configuration file corresponding with the described first mark.
Alternatively, described concentrated from the configuration file obtains the second configuration text corresponding with the network home information Part, including:
Searched from the second default corresponding relation and obtain the second mark corresponding with the network home information, wherein, institute Stating the second default corresponding relation includes the corresponding relation between the network home information and the mark of the configuration file;
Concentrated from the configuration file and obtain second configuration file corresponding with the described second mark.
Alternatively, methods described also includes:
If being concentrated from the configuration file and not getting the first configuration file corresponding with the ICCID, load general Configuration file, the generic configuration file are to refer to support the network of any operator of access and use basic service function Configuration file.
Alternatively, methods described also includes:
In the case of first configuration file with the second configuration file difference, the ICCID and described is stored Corresponding relation between the mark of second configuration file.
According to the second aspect of the embodiment of the present disclosure, there is provided a kind of device of loading configuration file, described device include:
First acquisition module, it is configured as obtaining the ICCID of the SIM card of terminal assembling;
Second acquisition module, it is configured as concentrating acquisition the first configuration file corresponding with the ICCID from configuration file, The configuration file, which is concentrated, includes configuration file corresponding to multiple operators, and the configuration file is used to support the terminal to access The network that operator corresponding to the configuration file is provided;
Load-on module, it is configured as loading first configuration file;
3rd acquisition module, it is configured as obtaining the network home information recorded in the SIM card, the network home letter Breath includes MCC and MNC;
4th acquisition module, is configured as concentrating from the configuration file and obtains corresponding with the network home information the Two configuration files;
The load-on module, it is additionally configured in first configuration file situation different with second configuration file Under, load second configuration file.
Alternatively, second acquisition module, including:
First acquisition submodule, it is configured as obtaining the operator code in the ICCID, the operator code is used for Indicate operator corresponding to the ICCID;
Second acquisition submodule, it is configured as searching the fortune obtained with the ICCID from the first default corresponding relation The first mark corresponding to Shang dynasty code is sought, wherein, the described first default corresponding relation includes the operator code and the configuration Corresponding relation between the mark of file;
3rd acquisition submodule, it is configured as concentrating acquisition corresponding with the described first mark described from the configuration file First configuration file.
Alternatively, the 4th acquisition module, including:
4th acquisition submodule, it is configured as searching acquisition and the network home information from the second default corresponding relation Corresponding second mark, wherein, the described second default corresponding relation includes the network home information and the configuration file Corresponding relation between mark;
5th acquisition submodule, it is configured as concentrating acquisition corresponding with the described second mark described from the configuration file Second configuration file.
Alternatively, the load-on module, it is additionally configured to not get and the ICCID from configuration file concentration In the case of corresponding first configuration file, generic configuration file is loaded, the generic configuration file is to refer to support access The network of any operator simultaneously uses the configuration file of basic service function.
Alternatively, described device also includes:
Logging modle, it is configured as in the case of first configuration file with the second configuration file difference, depositing Store up the corresponding relation between the mark of the ICCID and second configuration file.
According to the third aspect of the embodiment of the present disclosure, there is provided a kind of device of loading configuration file, described device include:
Processor;
For the memory for the executable instruction for storing the processor;
Wherein, the processor is configured as:
Obtain the ICCID of the SIM card of terminal assembling;
Concentrated from configuration file and obtain the first configuration file corresponding with the ICCID, the configuration file, which is concentrated, to be included Configuration file corresponding to multiple operators, the configuration file are used to support the terminal to access fortune corresponding to the configuration file The network that battalion business is provided;
Load first configuration file;
The network home information recorded in the SIM card is obtained, the network home information includes MCC and MNC;
Concentrated from the configuration file and obtain the second configuration file corresponding with the network home information;
In the case of first configuration file with the second configuration file difference, then the second configuration text is loaded Part.
According to the fourth aspect of the embodiment of the present disclosure, there is provided a kind of computer-readable recording medium, be stored thereon with meter Calculation machine program, when the computer program is executed by processor realize as described in relation to the first aspect method the step of.
The technical scheme that the embodiment of the present disclosure provides can include the following benefits:
By after corresponding configuration file is loaded according to the ICCID of SIM card, further according to being recorded in SIM card Whether the configuration file that MCC and MNC checkings load before is accurate, to ensure that terminal can load correct configuration file.Also, More can rapidly it be got relative to acquisition MCC and MNC, ICCID, therefore determined by first loading according to ICCID Configuration file, it is ensured that can rapidly provide the user with the service function of operator.
It should be appreciated that the general description and following detailed description of the above are only exemplary and explanatory, not The disclosure can be limited.
Brief description of the drawings
Accompanying drawing herein is merged in specification and forms the part of this specification, shows the implementation for meeting the disclosure Example, and be used to together with specification to explain the principle of the disclosure.
Fig. 1 is a kind of flow chart of the method for loading configuration file according to an exemplary embodiment;
Fig. 2 is a kind of block diagram of the device of loading configuration file according to an exemplary embodiment;
Fig. 3 is a kind of schematic diagram of device according to an exemplary embodiment.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they be only with it is such as appended The example of the consistent apparatus and method of some aspects be described in detail in claims, the disclosure.
Mobile phone uses wrong configuration file access carrier network in correlation technique so that user is provided using operator Service function be restricted.In the disclosed embodiments, there is provided a kind of technical side for accurately obtaining correct configuration file Case.
The method that the embodiment of the present disclosure provides, the executive agent of each step can be the terminal for being equipped with SIM card, such as should Terminal can be mobile phone, tablet personal computer, PDA (Personal Digital Assistant, personal digital assistant), wearable set It is standby etc..For convenience of description, in following embodiments of the method, explanation only is introduced by terminal of the executive agent of each step, But restriction is not formed to this.
Fig. 1 is a kind of flow chart of the method for loading configuration file according to an exemplary embodiment, and this method can With including the following steps:
In a step 101, the ICCID of the SIM card of terminal assembling is obtained.
Terminal obtains the ICCID of the SIM card of local terminal assembling.Terminal be powered start shooting after can detect whether to have assembled SIM card, After assembling SIM card is detected, the ICCID of the SIM card is obtained.ICCID is the unique identification number of SIM card, shares 20 digits Word forms, wherein, the first six bit digital is operator code, such as the operator code of China Mobile is:898600 and 898602, The operator code of CHINAUNICOM is:898601 and 898609, the operator code of China Telecom is:898603 and 898606.
In a step 102, concentrated from configuration file and obtain the first configuration file corresponding with ICCID.
The configuration file of terminal it is centrally stored the configuration file of multiple operators, configuration file be used to support terminal to access The network that operator corresponding to configuration file is provided, plurality of operator refer to including at least Liang Ge operators.Configuration file Concentration includes configuration file corresponding to multiple operators.Terminal is according to ICCID, and the first configuration file corresponding to acquisition, this first Configuration file is the configuration file that configuration file is concentrated.
Alternatively, terminal obtains the operator code in ICCID, and operator code is used to indicate to run corresponding to ICCID Business.One operator can correspond to one or more operator code.When an operator corresponds to multiple operator's generations During code, the plurality of operator code corresponds to same configuration file, that is, being corresponded between operator and configuration file. Terminal searches the operator code obtained with ICCID after above-mentioned operator code is obtained from the first default corresponding relation Corresponding first mark, wherein, the first default corresponding relation includes the correspondence between operator code and the mark of configuration file Relation.Terminal is concentrated from configuration file obtain the first configuration file corresponding with the first mark again.
Exemplarily, the first default corresponding relation is as shown in following table -1
Operator code The mark of configuration file
898600 001
898601 002
898603 003
Table -1
Assuming that ICCID operator code is 898600, the mark of corresponding configuration file in the first default corresponding relation Know for 001 i.e. first mark.Terminal concentrates acquisition pair after the first mark 001 is obtained, according to first mark from configuration file The first configuration file answered.The first default corresponding relation shown in above-mentioned table -1 is only exemplary and explanatory, is not used to Limit the disclosure.
In step 103, the first configuration file is loaded.
Terminal loads first configuration file after the first configuration file is got, according in first configuration file Configuration information access its assembling SIM card ICCID corresponding to operator network.Exemplarily, configuration information includes fortune Seek band information, carrier aggregation information, protocol version information and Long Term Evolution (Long Term Evolution, LTE) energy of business Force information etc..
Alternatively, if terminal is concentrated from configuration file does not get the first configuration file corresponding with ICCID, loading is logical With configuration file, generic configuration file is to refer to support the network of any operator of access and matching somebody with somebody using basic service function Put file.Although terminal has access to any carrier network by generic configuration file, its access this can only be used The basic service function that individual carrier network is provided.By the above-mentioned means, ensure the base that terminal can use operator to provide This service function, such as:Second generation mobile communication technical specification (2-Generation Wireless can be used Telephone Technology, 2G) network.
It should be noted that generic configuration file can support to access any one operator in multiple different operators Network, but terminal by generic configuration file the carrier network sometime accessed number be one, namely once only Can access in any carrier network one.
At step 104, the network home information recorded in SIM card is obtained.
Terminal obtains the network home information in the SIM card of assembling, and network home information includes MCC and MNC.
Because terminal may be loaded with the configuration file of mistake according only to target ICCID, therefore obtain MCC and MNC to enter The aftermentioned detecting step of row, it is ensured that the correct configuration file of terminal loads.MCC is distributed unitedly and managed by International Telecommunication Union, is used In the country belonging to instruction mobile subscriber, it is made up of 3 bit digitals.For example, the MCC of China is 460.MNC is used to indicate to move use The mobile radio communication that family is belonged to, it is made up of 2~3 bit digitals, there are multiple operators in a country, then distinguished by MNC The operator of SIM card, such as China Mobile use 00,02,04 and 07.Therefore, be can determine by MCC and MNC belonging to SIM card Country and operator.
In step 105, concentrated from configuration file and obtain the second configuration file corresponding with network home information.
Terminal is according to network home information, the second configuration file corresponding to acquisition, wherein, the second configuration file is configuration text The configuration file that part is concentrated.
Alternatively, terminal searches acquisition and net after above-mentioned network home information is obtained from the second default corresponding relation Second mark corresponding to network attaching information, wherein, the second default corresponding relation includes the mark of network home information and configuration file Corresponding relation between knowledge.Terminal is concentrated from configuration file obtain the second configuration file corresponding with the second mark again.
Exemplarily, the second default corresponding relation is as shown in following table -2
MCC MNC The mark of configuration file
460 00 001
460 02 003
460 03 002
Table -2
Assuming that network home information is 460 and 02, match somebody with somebody in the second default corresponding relation corresponding to the network home information That puts file is identified as 002 i.e. second mark, then terminal obtains mark 002, and configuration file corresponding to identifying 002 is second Configuration file.The second default corresponding relation shown in above-mentioned table -2 is only exemplary and explanatory, is not used to limit this public affairs Open.
Alternatively, if terminal is concentrated from configuration file does not get the second configuration file corresponding with network home information, Then flow terminates.
In step 106, whether the configuration file and the second configuration file that detection has loaded are identical;If so, then flow knot Beam;If it is not, then perform step 107.
Because distribution of the operator for the ICCID of SIM card is without that can carry out strict management and control, part SIM is caused not have The ICCID for including operator code corresponding to its operator can be assigned to by having.For example, belong to China Mobile SIM card, the operator code in its ICCID are the operator code of CHINAUNICOM.Therefore, terminal can load according to ICCID To the configuration file of mistake.
Whether terminal is identical by detecting the configuration file loaded and the second configuration file, to detect the configuration loaded Whether file is correct;If identical, illustrate to be loaded with configuration file corresponding to the operator belonging to SIM card, namely be loaded with just True configuration file;If it is different, then explanation is loaded with the configuration file of mistake.
Wherein, the configuration file loaded can be the first configuration file or generic configuration file.
Alternatively, the mark for the configuration file that terminal has been loaded by detection identifies whether phase with the second configuration file Together, determine whether the configuration file that has loaded and the second configuration file are identical;If mark is identical.The configuration file then loaded It is identical with the second configuration file;If mark differs, the configuration file and the second configuration file loaded differs.
In step 107, the second configuration file is loaded.
Terminal loads second configuration file after the second configuration file is got, and access network attaching information is corresponding Operator network.
Alternatively, in the case of the first configuration file and the second configuration file difference, the configuration texts of ICCID and second are stored Corresponding relation between the mark of part.Corresponding relation between the mark of ICCID and the second configuration file recorded by terminal In three default corresponding relations.After starting up of terminal detects the SIM card of assembling, terminal is looked into from the 3rd default corresponding relation first Look for the mark with the presence or absence of configuration file corresponding with ICCID;If searching the mark for getting above-mentioned configuration file, basis should The mark of configuration file obtains, configuration file corresponding to loading;If not searching the mark for getting above-mentioned configuration file, from Above-mentioned steps 102 start to perform.
Exemplarily, configuration file corresponding to ICCID is identified as 001 in the first default corresponding relation, and identifies 001 Corresponding first configuration file according to the second configuration file of network home acquisition of information and differs with terminal, the second configuration text Part is identified as 002, then terminal is stored between ICCID and the mark 002 of the second configuration file in the 3rd default corresponding relation Corresponding relation.
In the disclosed embodiments, by after corresponding configuration file is loaded according to the ICCID of SIM card, further Whether the configuration file that MCC and the MNC checking according to being recorded in SIM card load before is accurate, to ensure that terminal can load just True configuration file.Also, more can rapidly it be got relative to acquisition MCC and MNC, ICCID, therefore by first adding Carry the configuration file determined according to ICCID, it is ensured that can rapidly provide the user with the service function of operator.
Following is embodiment of the present disclosure, can be used for performing embodiments of the present disclosure.It is real for disclosure device The details not disclosed in example is applied, refer to embodiments of the present disclosure.
Fig. 2 is a kind of block diagram of the device of loading configuration file according to an exemplary embodiment, and the device has The function of above method example is realized, the function can be realized by hardware, and corresponding software can also be performed by hardware and is realized. The device can include:First acquisition module 201, the second acquisition module 202, the 3rd acquisition module 203, the 4th acquisition module 204 and load-on module 205.
First acquisition module 201, it is configured as obtaining the ICCID of the SIM card of terminal assembling.
Second acquisition module 202, it is configured as concentrating described in acquisition and the acquisition of the first acquisition module 201 from configuration file First configuration file corresponding to ICCID, the configuration file, which is concentrated, includes configuration file corresponding to multiple operators, the configuration File is used for the network for supporting that operator corresponding to the terminal access configuration file is provided.
Load-on module 205, it is configured as loading first configuration file that the second acquisition module 202 obtains.
3rd acquisition module 203, it is configured as obtaining the network home information recorded in the SIM card, the network is returned Category information includes MCC and MNC.
4th acquisition module 204, it is configured as concentrating what acquisition obtained with the 3rd acquisition module 203 from the configuration file Second configuration file corresponding to the network home information.
Load-on module 205, if first configuration file and the 4th for being additionally configured to the acquisition of the second acquisition module 202 obtains Second configuration file that modulus block 204 obtains is different, then loads second configuration file.
In the disclosed embodiments, by after corresponding configuration file is loaded according to the ICCID of SIM card, further Whether the configuration file that MCC and the MNC checking according to being recorded in SIM card load before is accurate, to ensure that terminal can load just True configuration file.Also, more can rapidly it be got relative to acquisition MCC and MNC, ICCID, therefore by first adding Carry the configuration file determined according to ICCID, it is ensured that can rapidly provide the user with the service function of operator.
Alternatively, the second acquisition module includes:First acquisition submodule, the second acquisition submodule and the 3rd obtain submodule Block.
First acquisition submodule, it is configured as obtaining the operator code in the ICCID, the operator code is used for Indicate operator corresponding to the ICCID.
Second acquisition submodule, it is configured as searching to obtain from the first default corresponding relation obtaining with the first acquisition submodule First mark corresponding to operator code in the ICCID taken, wherein, the described first default corresponding relation includes the fortune The corresponding relation sought between Shang dynasty code and the mark of the configuration file.
3rd acquisition submodule, it is configured as concentrating the institute for obtaining and obtaining with the second acquisition submodule from the configuration file State first configuration file corresponding to the first mark.
Alternatively, the 4th acquisition module includes:4th acquisition submodule and the 5th acquisition submodule.
4th acquisition submodule, it is configured as searching acquisition and the network home information from the second default corresponding relation Corresponding second mark, wherein, the described second default corresponding relation includes the network home information and the configuration file Corresponding relation between mark.
5th acquisition submodule, it is configured as concentrating the institute for obtaining and obtaining with the 4th acquisition submodule from the configuration file State second configuration file corresponding to the second mark.
Alternatively, load-on module 205, do not got and the ICCID if being additionally configured to concentrate from the configuration file Corresponding first configuration file, then load generic configuration file, and the generic configuration file is to refer to support to access any fortune Seek the network of business and using the configuration file of basic service function.
Alternatively, described device also includes:Logging modle.
Logging modle, it is configured as in the case of first configuration file with the second configuration file difference, depositing Store up the corresponding relation between the mark of the ICCID and second configuration file.
It should be noted is that above-described embodiment provide device when realizing its function, only with above-mentioned each function The division progress of module for example, in practical application, can according to be actually needed and by above-mentioned function distribution by different work( Energy module is completed, i.e., the content structure of equipment is divided into different functional modules, to complete whole described above or portion Divide function.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant this method Embodiment in be described in detail, explanation will be not set forth in detail herein.
The exemplary embodiment of the disclosure one additionally provides a kind of device of loading configuration file, can realize that the disclosure provides Loading configuration file method.The device includes:Processor, and the storage of the executable instruction for storing processor Device.Wherein, processor is configured as:
Obtain the ICCID of the SIM card of terminal assembling;
Concentrated from configuration file and obtain the first configuration file corresponding with the ICCID, the configuration file, which is concentrated, to be included Configuration file corresponding to multiple operators, the configuration file are used to support the terminal to access fortune corresponding to the configuration file The network that battalion business is provided;
Load first configuration file;
The network home information recorded in the SIM card is obtained, the network home information includes MCC and MNC;
Concentrated from the configuration file and obtain the second configuration file corresponding with the network home information;
In the case of first configuration file with the second configuration file difference, loading the second configuration text Part.
Alternatively, the processor is configured as:
The operator code in the ICCID is obtained, the operator code is used to indicate to run corresponding to the ICCID Business;
Searched from the first default corresponding relation and obtain the first mark corresponding with the operator code in the ICCID, Wherein, the described first default corresponding relation includes the corresponding pass between the operator code and the mark of the configuration file System;
Concentrated from the configuration file and obtain first configuration file corresponding with the described first mark.
Alternatively, the processor is configured as:
Searched from the second default corresponding relation and obtain the second mark corresponding with the network home information, wherein, institute Stating the second default corresponding relation includes the corresponding relation between the network home information and the mark of the configuration file;
Concentrated from the configuration file and obtain second configuration file corresponding with the described second mark.
Alternatively, the processor is additionally configured to:
In the case where not getting the first configuration file corresponding with the ICCID from configuration file concentration, add Generic configuration file is carried, the generic configuration file is to refer to support the network of any operator of access and use basic service The configuration file of function.
Alternatively, the processor is additionally configured to:
In the case of first configuration file with the second configuration file difference, the ICCID and described is stored Corresponding relation between the mark of second configuration file.
Fig. 3 is a kind of schematic diagram of device 300 according to an exemplary embodiment.For example, device 300 can be moved Mobile phone, computer, messaging devices, tablet device etc..
Reference picture 3, device 300 can include following one or more assemblies:Processing component 302, memory 304, power supply Component 306, multimedia groupware 308, audio-frequency assembly 310, input/output (I/O) interface 312, sensor cluster 314, Yi Jitong Believe component 316.
The integrated operation of the usual control device 300 of processing component 302, such as communicated with display, call, data, phase The operation that machine operates and record operation is associated.Processing component 302 can refer to including one or more processors 320 to perform Order, to complete all or part of step of above-mentioned method.In addition, processing component 302 can include one or more modules, just Interaction between processing component 302 and other assemblies.For example, processing component 302 can include multi-media module, it is more to facilitate Interaction between media component 308 and processing component 302.
Memory 304 is configured as storing various types of data to support the operation in device 300.These data are shown Example includes the instruction of any application program or method for operating on the device 300, contact data, telephone book data, disappears Breath, picture, video etc..Memory 304 can be by any kind of volatibility or non-volatile memory device or their group Close and realize, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM) are erasable to compile Journey read-only storage (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash Device, disk or CD.
Power supply module 306 provides electric power for the various assemblies of device 300.Power supply module 306 can include power management system System, one or more power supplys, and other components associated with generating, managing and distributing electric power for device 300.
Multimedia groupware 308 is included in the screen of one output interface of offer between described device 300 and user.One In a little embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch-screen, to receive the input signal from user.Touch panel includes one or more touch sensings Device is with the gesture on sensing touch, slip and touch panel.The touch sensor can not only sensing touch or sliding action Border, but also detect and touched or the related duration and pressure of slide with described.In certain embodiments, more matchmakers Body component 308 includes a front camera and/or rear camera.When device 300 is in operator scheme, such as screening-mode or During video mode, front camera and/or rear camera can receive outside multi-medium data.Each front camera and Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio-frequency assembly 310 is configured as output and/or input audio signal.For example, audio-frequency assembly 310 includes a Mike Wind (MIC), when device 300 is in operator scheme, during such as call model, logging mode and speech recognition mode, microphone by with It is set to reception external audio signal.The audio signal received can be further stored in memory 304 or via communication set Part 316 is sent.In certain embodiments, audio-frequency assembly 310 also includes a loudspeaker, for exports audio signal.
I/O interfaces 312 provide interface between processing component 302 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock Determine button.
Sensor cluster 314 includes one or more sensors, and the state for providing various aspects for device 300 is commented Estimate.For example, sensor cluster 314 can detect opening/closed mode of device 300, and the relative positioning of component, for example, it is described Component is the display and keypad of device 300, and sensor cluster 314 can be with 300 1 components of detection means 300 or device Position change, the existence or non-existence that user contacts with device 300, the orientation of device 300 or acceleration/deceleration and device 300 Temperature change.Sensor cluster 314 can include proximity transducer, be configured to detect in no any physical contact The presence of neighbouring object.Sensor cluster 314 can also include optical sensor, such as CMOS or ccd image sensor, for into As being used in application.In certain embodiments, the sensor cluster 314 can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 316 is configured to facilitate the communication of wired or wireless way between device 300 and other equipment.Device 300 can access the wireless network based on communication standard, such as Wi-Fi, 2G or 3G, or combinations thereof.In an exemplary reality Apply in example, communication component 316 receives broadcast singal or the related letter of broadcast from external broadcasting management system via broadcast channel Breath.In one exemplary embodiment, the communication component 316 also includes near-field communication (NFC) module, to promote short distance to lead to Letter.For example, radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) can be based in NFC module Technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 300 can be believed by one or more application specific integrated circuits (ASIC), numeral Number processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for performing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided Such as include the memory 304 of instruction, above-mentioned instruction can be performed to complete the above method by the processor 320 of device 300.For example, The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk With optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction (or computer program) in the storage medium by During the computing device of device 300 so that device 300 is able to carry out the method that above-mentioned Fig. 1 embodiments provide.
It should be appreciated that referenced herein " multiple " refer to two or more."and/or", description association The incidence relation of object, expression may have three kinds of relations, for example, A and/or B, can be represented:Individualism A, while A be present And B, individualism B these three situations.It is a kind of relation of "or" that character "/", which typicallys represent forward-backward correlation object,.
Those skilled in the art will readily occur to the disclosure its after considering specification and putting into practice invention disclosed herein Its embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or Person's adaptations follow the general principle of the disclosure and including the undocumented common knowledges in the art of the disclosure Or conventional techniques.Description and embodiments are considered only as exemplary, and the true scope of the disclosure and spirit are by following Claim is pointed out.
It should be appreciated that the precision architecture that the disclosure is not limited to be described above and is shown in the drawings, and And various modifications and changes can be being carried out without departing from the scope.The scope of the present disclosure is only limited by appended claim.

Claims (12)

  1. A kind of 1. method of loading configuration file, it is characterised in that methods described includes:
    Obtain the integrated circuit card identification code ICCID of the subscriber identification module SIM card of terminal assembling;
    Concentrated from configuration file and obtain the first configuration file corresponding with the ICCID, the configuration file concentration includes multiple Configuration file corresponding to operator, the configuration file are used to support the terminal to access operator corresponding to the configuration file The network provided;
    Load first configuration file;
    The network home information recorded in the SIM card is obtained, the network home information includes Mobile Country Code MCC MCC and movement Network number MNC;
    Concentrated from the configuration file and obtain the second configuration file corresponding with the network home information;
    If first configuration file is different with second configuration file, second configuration file is loaded.
  2. 2. according to the method for claim 1, it is characterised in that described concentrated from configuration file obtains and described ICCID pairs The first configuration file answered, including:
    The operator code in the ICCID is obtained, the operator code is used to indicate operator corresponding to the ICCID;
    Searched from the first default corresponding relation and obtain the first mark corresponding with the operator code in the ICCID, wherein, Described first default corresponding relation includes the corresponding relation between the operator code and the mark of the configuration file;
    Concentrated from the configuration file and obtain first configuration file corresponding with the described first mark.
  3. 3. according to the method for claim 1, it is characterised in that described concentrated from the configuration file obtains and the network Second configuration file corresponding to attaching information, including:
    Searched from the second default corresponding relation and obtain corresponding with the network home information second and identify, wherein, described the Two default corresponding relations include the corresponding relation between the network home information and the mark of the configuration file;
    Concentrated from the configuration file and obtain second configuration file corresponding with the described second mark.
  4. 4. according to the method described in any one of claims 1 to 3, it is characterised in that methods described also includes:
    If being concentrated from the configuration file and not getting the first configuration file corresponding with the ICCID, generic configuration is loaded File, the generic configuration file are to refer to support the network of any operator of access and using the configuration of basic service function File.
  5. 5. according to the method described in any one of claims 1 to 3, it is characterised in that methods described also includes:
    In the case of first configuration file with the second configuration file difference, the ICCID and described second are stored Corresponding relation between the mark of configuration file.
  6. 6. a kind of device of loading configuration file, it is characterised in that described device includes:
    First acquisition module, it is configured as obtaining the integrated circuit card identification code of the subscriber identification module SIM card of terminal assembling ICCID;
    Second acquisition module, it is configured as concentrating acquisition the first configuration file corresponding with the ICCID from configuration file, it is described Configuration file, which is concentrated, includes configuration file corresponding to multiple operators, and the configuration file is used to support described in the terminal access The network that operator corresponding to configuration file is provided;
    Load-on module, it is configured as loading first configuration file;
    3rd acquisition module, it is configured as obtaining the network home information recorded in the SIM card, the network home packet Include Mobile Country Code MCC MCC and mobile network code MNC;
    4th acquisition module, it is configured as concentrating acquisition corresponding with the network home information second to match somebody with somebody from the configuration file Put file;
    The load-on module, it is additionally configured in the case of first configuration file with the second configuration file difference, Load second configuration file.
  7. 7. device according to claim 6, it is characterised in that second acquisition module, including:
    First acquisition submodule, it is configured as obtaining the operator code in the ICCID, the operator code is used to indicate Operator corresponding to the ICCID;
    Second acquisition submodule, it is configured as searching the operator obtained with the ICCID from the first default corresponding relation First mark corresponding to code, wherein, the described first default corresponding relation includes the operator code and the configuration file Mark between corresponding relation;
    3rd acquisition submodule, it is configured as concentrating acquisition and the described first mark corresponding described first from the configuration file Configuration file.
  8. 8. device according to claim 6, it is characterised in that the 4th acquisition module, including:
    4th acquisition submodule, it is corresponding with the network home information to be configured as the lookup acquisition from the second default corresponding relation The second mark, wherein, the described second default corresponding relation includes the network home information and the mark of the configuration file Between corresponding relation;
    5th acquisition submodule, it is configured as concentrating acquisition and the described second mark corresponding described second from the configuration file Configuration file.
  9. 9. according to the device described in any one of claim 6 to 8, it is characterised in that
    The load-on module, it is additionally configured to do not getting corresponding with the ICCID first from configuration file concentration In the case of configuration file, generic configuration file is loaded, the generic configuration file is to refer to support to access any operator Network and using basic service function configuration file.
  10. 10. according to the device described in any one of claim 6 to 8, it is characterised in that described device also includes:
    Logging modle, it is configured as in the case of first configuration file with the second configuration file difference, stores institute State the corresponding relation between the mark of ICCID and second configuration file.
  11. 11. a kind of device of loading configuration file, it is characterised in that described device includes:
    Processor;
    For the memory for the executable instruction for storing the processor;
    Wherein, the processor is configured as:
    Obtain the integrated circuit card identification code ICCID of the subscriber identification module SIM card of terminal assembling;
    Concentrated from configuration file and obtain the first configuration file corresponding with the ICCID, the configuration file concentration includes multiple Configuration file corresponding to operator, the configuration file are used to support the terminal to access operator corresponding to the configuration file The network provided;
    Load first configuration file;
    The network home information recorded in the SIM card is obtained, the network home information includes Mobile Country Code MCC MCC and movement Network number MNC;
    Concentrated from the configuration file and obtain the second configuration file corresponding with the network home information;
    In the case of first configuration file with the second configuration file difference, second configuration file is loaded.
  12. 12. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the computer program Realized when being executed by processor such as the step of any one of claim 1 to 5 methods described.
CN201710752733.4A 2017-08-28 2017-08-28 Method and device for loading configuration file Active CN107395760B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710752733.4A CN107395760B (en) 2017-08-28 2017-08-28 Method and device for loading configuration file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710752733.4A CN107395760B (en) 2017-08-28 2017-08-28 Method and device for loading configuration file

Publications (2)

Publication Number Publication Date
CN107395760A true CN107395760A (en) 2017-11-24
CN107395760B CN107395760B (en) 2020-09-11

Family

ID=60345985

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710752733.4A Active CN107395760B (en) 2017-08-28 2017-08-28 Method and device for loading configuration file

Country Status (1)

Country Link
CN (1) CN107395760B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108012252A (en) * 2017-12-18 2018-05-08 深圳市万普拉斯科技有限公司 NFC implementation method, device, mobile terminal and readable storage medium storing program for executing
CN110475242A (en) * 2019-07-03 2019-11-19 深圳市广和通无线通信软件有限公司 A kind of LTE network register method, device, storage medium and computer equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104780557A (en) * 2014-01-09 2015-07-15 中兴通讯股份有限公司 Configuration method and device
CN105554726A (en) * 2015-08-11 2016-05-04 宇龙计算机通信科技(深圳)有限公司 Loading method for configured file and user terminal
CN105578566A (en) * 2015-04-30 2016-05-11 宇龙计算机通信科技(深圳)有限公司 Terminal network searching method and terminal
US9357378B1 (en) * 2015-03-04 2016-05-31 Sprint Communications Company L.P. Subscriber identity module (SIM) card initiation of custom application launcher installation on a mobile communication device
CN106358181A (en) * 2016-10-31 2017-01-25 宇龙计算机通信科技(深圳)有限公司 Method and device for loading MBN document

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104780557A (en) * 2014-01-09 2015-07-15 中兴通讯股份有限公司 Configuration method and device
US9357378B1 (en) * 2015-03-04 2016-05-31 Sprint Communications Company L.P. Subscriber identity module (SIM) card initiation of custom application launcher installation on a mobile communication device
CN105578566A (en) * 2015-04-30 2016-05-11 宇龙计算机通信科技(深圳)有限公司 Terminal network searching method and terminal
CN105554726A (en) * 2015-08-11 2016-05-04 宇龙计算机通信科技(深圳)有限公司 Loading method for configured file and user terminal
CN106358181A (en) * 2016-10-31 2017-01-25 宇龙计算机通信科技(深圳)有限公司 Method and device for loading MBN document

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108012252A (en) * 2017-12-18 2018-05-08 深圳市万普拉斯科技有限公司 NFC implementation method, device, mobile terminal and readable storage medium storing program for executing
CN110475242A (en) * 2019-07-03 2019-11-19 深圳市广和通无线通信软件有限公司 A kind of LTE network register method, device, storage medium and computer equipment
CN110475242B (en) * 2019-07-03 2021-11-23 深圳市广和通无线通信软件有限公司 LTE network registration method, device, storage medium and computer equipment

Also Published As

Publication number Publication date
CN107395760B (en) 2020-09-11

Similar Documents

Publication Publication Date Title
CN104980580B (en) Short message inspection method and device
CN103944963B (en) Method of data synchronization, device, equipment and system
CN106020784A (en) Method and device for displaying application message, and terminal
CN105654302A (en) Payment method and device
CN104809157B (en) Number identification method and device
CN106372204A (en) Push message processing method and device
CN106204097A (en) Information-pushing method, device and mobile terminal
CN106445189A (en) Candidate word display method and device
CN108052822A (en) Terminal control method, apparatus and system
CN107257555A (en) Method for network access and device
CN107193393A (en) Input method switching method and device
CN107171939A (en) SMS classified method and device
CN107402767A (en) The method and apparatus for showing PUSH message
CN107230060A (en) The method and apparatus that a kind of account is reported the loss
CN106921958A (en) The method and apparatus for quitting the subscription of business
CN106537288A (en) Application autostart control method and device
CN106535166A (en) Data service processing method and device
CN107395760A (en) The method and device of loading configuration file
CN106372943A (en) Message processing method and device
CN107544818A (en) The loading method and device of system software
CN106453774A (en) Method and apparatus for displaying contact information
CN107656616A (en) Input interface displaying method, device, electronic equipment
CN106936986A (en) Application processing method and device
CN106406705A (en) A method and a device for information processing in a conversation process
CN106792636A (en) terminal control method and device

Legal Events

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