CN106648793B - Configuration file loading method and device - Google Patents

Configuration file loading method and device Download PDF

Info

Publication number
CN106648793B
CN106648793B CN201611248814.2A CN201611248814A CN106648793B CN 106648793 B CN106648793 B CN 106648793B CN 201611248814 A CN201611248814 A CN 201611248814A CN 106648793 B CN106648793 B CN 106648793B
Authority
CN
China
Prior art keywords
attribute value
module
intelligent terminal
modem
mbn file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201611248814.2A
Other languages
Chinese (zh)
Other versions
CN106648793A (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.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen 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 Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN201611248814.2A priority Critical patent/CN106648793B/en
Publication of CN106648793A publication Critical patent/CN106648793A/en
Application granted granted Critical
Publication of CN106648793B publication Critical patent/CN106648793B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • G06F9/4451User profiles; Roaming

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The embodiment of the invention discloses a method and a device for loading a configuration file, wherein the method comprises the following steps: when the intelligent terminal is started, acquiring the attribute value of the currently working modulation and demodulation module; selecting a modem software configuration MBN file matched with the attribute value according to the matching relation between the preset attribute value and the modem software configuration MBN file; and loading the acquired MBN file into the modulation and demodulation module. By implementing the embodiment of the invention, the MBN file is flexibly selected and loaded based on the matching relationship, so that the loading efficiency of the MBN file is improved.

Description

Configuration file loading method and device
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for loading a configuration file.
Background
In the burning process of the intelligent terminals, each intelligent terminal can correspondingly burn a system version. And when each system version is burned, the hardware configuration of the intelligent terminal is matched so as to ensure that burning errors can not occur. And integrating a set of Modem Software Configuration (MBN) files in each system version, so that the MBN files can be loaded into the corresponding Modem when the intelligent terminal is started.
Generally, some intelligent terminals, such as an all-network intelligent terminal, have communication hardware with different hardware versions for different operators, for example, for different operators, a chip for performing modulation and demodulation, such as a modem, is used, and for each modem with a hardware version, an MBN file of a corresponding operator is loaded into a modem corresponding to the intelligent terminal through a corresponding loading tool. A development user needs to develop different terminal systems to complete loading of corresponding MBN files for different modem hardware versions of different terminals, and cannot flexibly select and load MBN files.
Disclosure of Invention
The technical problem to be solved by the embodiments of the present invention is to provide a method and an apparatus for loading a configuration file, which can flexibly select and load an MBN file based on a matching relationship.
In a first aspect, an embodiment of the present invention provides a method for loading a configuration file, including:
when the intelligent terminal is started, acquiring the attribute value of the currently working modulation and demodulation module;
selecting a modem software configuration MBN file matched with the attribute value according to the matching relation between the preset attribute value and the modem software configuration MBN file;
and loading the acquired MBN file into the modulation and demodulation module.
Optionally, the currently working modem module loaded with the MBN file is activated according to the identity of the subscriber identity module SIM card of the intelligent terminal.
Optionally, before the obtaining of the attribute value of the currently operating modem module when the intelligent terminal is started, the method further includes:
burning an attribute value for a modulation-demodulation module of the intelligent terminal in a target storage area;
and presetting a matching relation table, wherein the matching relation table records a plurality of MBN file information, a plurality of attribute values and a matching relation between each MBN file and the corresponding attribute value.
Optionally, the obtaining the attribute value of the currently operating modem module includes:
if receiving an attribute value reported by a modulation-demodulation module in the intelligent terminal after the intelligent terminal is started, determining that the modulation-demodulation module reporting the attribute value is a currently working modulation-demodulation module;
and acquiring the received attribute value.
Optionally, the loading the acquired MBN file into the modem module includes:
loading the acquired MBN file into a fixed directory;
and triggering the modulation and demodulation module to load the MBN file under the fixed directory.
Accordingly, an embodiment of the present invention provides a device for loading a configuration file, including:
the acquisition module is used for acquiring the attribute value of the currently working modulation and demodulation module when the intelligent terminal is started;
the selection module is used for selecting the modem software configuration MBN file matched with the attribute value according to the matching relation between the preset attribute value and the modem software configuration MBN file;
and the loading module is used for loading the acquired MBN file into the modulation and demodulation module.
Optionally, the apparatus further comprises:
and the activation module is used for activating the currently working modulation and demodulation module loaded with the MBN file according to the SIM card identification of the user identity module of the intelligent terminal.
Optionally, the apparatus further comprises:
the burning module is used for burning an attribute value for the modulation-demodulation module of the intelligent terminal in the target storage area;
the setting module is used for presetting a matching relation table, and the matching relation table records information of a plurality of MBN files, a plurality of attribute values and a matching relation between each MBN file and the corresponding attribute value.
Optionally, the obtaining module is specifically configured to determine, if an attribute value reported by a modem module in the intelligent terminal after the intelligent terminal is started is received, that the modem module reporting the attribute value is a currently operating modem module; and acquiring the received attribute value.
Optionally, the loading module is specifically configured to load the acquired MBN file into a fixed directory; and triggering the modulation and demodulation module to load the MBN file under the fixed directory.
By implementing the embodiment of the invention, the intelligent terminal can acquire the corresponding MBN file by acquiring the attribute value of the currently working modem module and load the MBN file into the currently working modem module, so that the workload of development and manufacture can be reduced, and the loading efficiency of the MBN file is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart of a configuration file loading method according to a first embodiment of the present invention;
fig. 2 is a schematic flowchart of a configuration file loading method according to a second embodiment of the present invention;
fig. 3 is a flowchart illustrating an attribute value obtaining method according to an embodiment of the present invention;
fig. 4 is a flowchart illustrating a configuration file loading method according to a third embodiment of the present invention;
FIG. 5 is a flowchart illustrating an MBN file loading method according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a configuration file loading apparatus according to a first embodiment of the present invention;
fig. 7 is a schematic structural diagram of a configuration file loading apparatus according to a second embodiment of the present invention;
fig. 8 is a schematic structural diagram of an intelligent terminal according to an embodiment of the present invention.
Detailed Description
Fig. 1 is a schematic flowchart illustrating a method for loading a configuration file according to a first embodiment of the present invention. The method shown in fig. 1 may be applied to an intelligent terminal, where the intelligent terminal includes a modem, and configures an attribute value for the modem to indicate a hardware version of the modem, and the method according to the embodiment of the present invention may be specifically executed by a processor of the intelligent terminal, and specifically includes the following steps:
s101, burning an attribute value for a modulation and demodulation module of the intelligent terminal in a target storage area.
It should be noted that the above-mentioned smart terminal includes, but is not limited to, a smart phone, a tablet computer, a smart wearable device, and the like, and a terminal into which a Subscriber Identity Module (SIM) card can be inserted. The target storage area may be used to store the attribute value, and the target storage area may be disposed in a memory of the smart terminal. Wherein, the attribute value can be used to indicate the hardware version of the corresponding modem. The hardware version may be, for example, 1.0 and 2.0, and correspondingly, the attribute value 1 may be used to indicate a modem of version 1.0, and the attribute value 2 may be used to indicate a modem of version 2.0.
And S102, integrating a plurality of modem software configuration MBN files of hardware versions in the intelligent terminal.
In the embodiment of the invention, MBN files corresponding to modems with a plurality of hardware versions can be integrated into the intelligent terminal. For example, the MBN file corresponding to the modem with hardware version 1.0 and the MBN file of the modem with hardware version 2.0 may be integrated into the intelligent terminal.
S103, when the intelligent terminal is started, the modem judges the hardware version of the modem by identifying the burned attribute value.
In the embodiment of the present invention, the starting may be understood as booting. The modem may be included in the smart terminal. For example, the intelligent terminal may determine whether the hardware version of the modem currently used by the intelligent terminal is 1.0 or 2.0 by recognizing the burned attribute value.
And S104, if the attribute value is m, loading the MBN file corresponding to the hardware version of the m modem.
In the embodiment of the present invention, when the attribute value is m, m here may be used to indicate the hardware version of the currently used modem. Optionally, the loading of the MBN file corresponding to the hardware version of the m modem may be directly understood as loading the MBN file corresponding to the attribute value m.
Optionally, the MBN file corresponding to the hardware version of the modem loaded with m may also be understood as an MBN file corresponding to the hardware version of the modem pointed by the attribute value m. For example, when the attribute value m is 1, the hardware version identified by the attribute value is 1.0, and then the modem currently used by the terminal can load the MBN file corresponding to the hardware version 1.0.
S105, activating the MBN file corresponding to the hardware version of the m modem according to the integrated circuit card identification code (ICCID) of the SIM card.
It should be noted that the integrated Circuit Card identification code (ICCID) is a unique identification number of the smart terminal.
In the embodiment of the present invention, the intelligent terminal may activate the MBN file corresponding to the hardware version of the m modem loaded in step S104 by using the ICCID of the SIM card.
And S106, if the attribute value is n, loading the MBN file corresponding to the hardware version of the n modems.
Note that, when the attribute value is n, n is used to indicate the hardware version of the currently used modem. Alternatively, the loading of the MBN file corresponding to the hardware version of the n modem may be directly understood as loading the MBN file corresponding to the attribute value n.
Optionally, the MBN file corresponding to the hardware version of the loaded n modems may also be understood as an MBN file corresponding to the hardware version of the modem to which the attribute value n refers. For example, when the attribute value n is 2, the hardware version identified by the attribute value is 2.0, and then the modem currently used by the terminal can load the MBN file corresponding to the hardware version 2.0.
And S107, activating the MBN file corresponding to the hardware version of the n modems according to the ICCID of the SIM card.
In the embodiment of the present invention, the intelligent terminal may activate the MBN file corresponding to the hardware version of the n modems loaded in step S106 through the ICCID of the SIM card.
It can be seen that, in the embodiment shown in fig. 1, the smart terminal may burn an attribute value, load the MBN file of the hardware version corresponding to the modem according to the attribute value, and activate the MBN file according to the ICCID of the SIM card, so as to flexibly load the corresponding MBN file according to the hardware version of the modem, thereby reducing the workload of development and manufacturing.
Fig. 2 is a schematic flowchart illustrating a configuration file loading method according to a second embodiment of the present invention. The method shown in fig. 2 may be applied to an intelligent terminal, where the intelligent terminal includes a modem module, and configures an attribute value for the modem module to represent a hardware version of the modem module, and the method according to the embodiment of the present invention may be specifically executed by a processor of the intelligent terminal, and specifically, the method includes the following steps:
s201, when the intelligent terminal is started, obtaining the attribute value of the currently working modulation and demodulation module.
It should be noted that the above-mentioned starting may be understood as starting up. The intelligent terminal may contain one or more modem modems. And, the modem modules of different hardware versions contain the configuration information of the modems of different hardware versions.
It should be noted that the attribute values may be used to distinguish modems of different hardware versions, and may be characteristic parameters of modem modules of different hardware versions, such as version number and production date; it is also possible to use only one identifier of the modem module in various forms of words, numbers, symbols, and the like to represent the hardware version, and the embodiment of the present invention is not limited thereto. And the attribute value can be burned into hardware of the intelligent terminal, such as a memory of the intelligent terminal. The MBN file may be an integration package file of a general-purpose company that includes a set of efs.nv customized by a specific operator, and the file may be included in a code of the modem and may also be integrated in a system corresponding to the intelligent terminal.
In the embodiment of the present invention, in step S201, a user may start the intelligent terminal by pressing a Power-on key of the intelligent terminal for a long time, for example, a Power Management Unit (PMU) of the intelligent terminal may be used to detect whether the Power-on key is started.
S202, selecting a modem software configuration MBN file matched with the attribute value according to the matching relation between the preset attribute value and the modem software configuration MBN file.
S203, loading the acquired MBN file into the modulation and demodulation module.
It should be noted that the terminal may preset the matching relationship between the attribute value and the MBN file. For example, the MBN file matched by the attribute value 1 may be preset as MBN1, the MBN file matched by the attribute value 2 may be preset as MBN2, and the matching relationship may be exhibited in the form of a list.
In the embodiment of the present invention, in combination with steps S201 to S203, when the intelligent terminal is started, the intelligent terminal may obtain the attribute value of the current modem module, so as to select and obtain the MBN file matched with the attribute value, and thus, the obtained MBN file may be loaded into the modem module, so that the intelligent terminal may load different MBN files according to actual hardware configuration, such as modems of different hardware versions, and the requirements for automation and intelligence for loading the MBN file are met. Optionally, in the case of subsequent hardware switching of the current version, for example, when the modem of the current hardware version is upgraded, the corresponding MBN file may be obtained by obtaining the attribute value of the modem module corresponding to the upgraded modem, so as to be loaded into the upgraded modem. Meanwhile, after a certain data item in the MBN file is modified, such as an NV data item, a corresponding MBN file is loaded, so that a certain solution is provided for the fact that an intelligent terminal using the same system version must be made into two intelligent terminals with different hardware configurations because a manufacturer needs to meet the requirements of different operators, and the workload of development and manufacturing is reduced.
In step S202, in the embodiment of the present invention, the intelligent terminal may select, according to the preset matching relationship between the attribute value and the MBN file, the MBN file matched with the attribute value according to the attribute value obtained in step S201. For example, the intelligent terminal searches for the MBN file matched with the attribute value by using the attribute value 1, and if the MBN file corresponding to the attribute value 1 is the MBN1, acquires the MBN1, and loads the acquired MBN file MBN1 into the modem module indicated by the attribute value 1 through step S203. Alternatively, the loading indicated by step S203 may be performed by, for example, a PDC tool of the university company.
Optionally, as shown in fig. 3, the step S201 may be implemented by:
s2011, if an attribute value reported by a modem module in the capable terminal after the intelligent terminal is started is received, determining that the modem module reporting the attribute value is a currently operating modem module;
s2012, the received attribute values are obtained.
In the embodiment of the invention, after the intelligent terminal is determined to be started, the built-in modulation and demodulation module of the intelligent terminal can actively read the attribute value burnt in a certain storage position of the terminal and report the attribute value to determine the currently working modulation and demodulation module, so that the MBN file of the corresponding hardware version can be matched with the attribute value subsequently. Meanwhile, the intelligent terminal can determine that the modem module reporting the attribute value is the currently working modem module, and can acquire the received attribute value. The intelligent terminal can preset and store the corresponding relation between the attribute value and the modulation and demodulation modules of different hardware versions, so that the modulation and demodulation modules of the hardware version corresponding to the attribute value can be matched through the corresponding relation, and further the MBN file corresponding to the hardware version is matched according to the attribute value and loaded into the modulation and demodulation module of the hardware version.
Because the upper-layer applications of the modems of the hardware versions are the same, the intelligent terminal can deploy corresponding upper-layer applications in the system based on the existing loading mode, and the difference is that different MBN files exist for the modems of different operators and different hardware versions, therefore, in the embodiment of the invention, the intelligent terminal only needs to load the different MBN files through the attribute value of the currently used modem module, and the intelligent terminal can obtain the MBN file corresponding to the attribute value of the modem module based on the unique attribute value and load the obtained MBN file into the currently working modem module, so that the workload of development and manufacture is reduced, and the MBN loading efficiency is improved.
Fig. 4 is a flowchart illustrating a method for loading a configuration file according to a third embodiment of the present invention. The method shown in fig. 4 may be applied to an intelligent terminal, where the intelligent terminal includes a modem module, and configures an attribute value for the modem module to represent a hardware version of the modem module, and the method according to the embodiment of the present invention may be specifically executed by a processor of the intelligent terminal, and specifically, the method includes the following steps:
s401, burning an attribute value for the modulation and demodulation module of the intelligent terminal in the target storage area.
S402, presetting a matching relation table.
It should be noted that the matching relationship table records information of a plurality of MBN files, a plurality of attribute values, and a matching relationship between each MBN file and a corresponding attribute value. The target storage area may be any storage space capable of storing the attribute value, and each MBN file may be stored under a specific folder. The attribute value is used to indicate the hardware version of the corresponding modem module, and the attribute value may be a characteristic parameter uniquely identifying the corresponding hardware version, which is set for the modem module, and the characteristic parameter includes, but is not limited to, being embodied in the form of characters, numbers, symbols, and the like.
In the embodiment of the invention, the intelligent terminal can burn an attribute value in the intelligent terminal, can preset an MBN file for the modulation and demodulation modules with different hardware versions, and establishes the matching relationship between the attribute value of each modulation and demodulation module and each MBN file, so that the intelligent terminal can find the corresponding MBN file through the acquired attribute value and the preset corresponding relationship. A development user can preset MBN files for modulation and demodulation modules of various hardware versions through one-time development.
For example, for each modem module with different hardware versions, the attribute values of the modem modules are 1 and 2, respectively, then the MBN file corresponding to the attribute value 1 may be set to be MBN1, the MBN file corresponding to the attribute value 2 may be MBN2, and the MBN file corresponding to the attribute value k may be MBNk. Specifically, referring to table 1, table 1 is a matching relationship table between attribute values and MBN files provided in the embodiment of the present invention:
TABLE 1
Attribute value MBN file
1 MBN1
2 MBN2
K MBNK
And S403, when the intelligent terminal is started, acquiring the attribute value of the currently working modulation and demodulation module.
S404, selecting the modem software configuration MBN file matched with the attribute value according to the matching relation between the preset attribute value and the modem software configuration MBN file.
S405, loading the acquired MBN file into the modulation and demodulation module.
In the embodiment of the present invention, when the intelligent terminal is started, the intelligent terminal may obtain the attribute value of the currently operating modem module through step S403, and then select, from the matching relationship between the preset attribute value and the MBN file, the modem software configuration MBN file matched with the attribute value through step S404, so as to obtain the corresponding MBN file, so that the found MBN file may be loaded into the modem module through step S405.
For example, if an attribute value burned in the intelligent terminal is 1, the attribute value 1 may be used to indicate a modem module of a certain hardware version currently operating. Then, when the intelligent terminal is started, the attribute value of the currently operating modem module can be acquired, and it can be seen from the matching relationship table 1 that the MBN file corresponding to the attribute value 1 is MBN1, then the intelligent terminal can select and acquire the MBN1, and load the MBN1 into the modem module corresponding to the attribute value.
S406, activating the currently working modulation and demodulation module loaded with the MBN file according to the SIM card identification of the user identity module of the intelligent terminal.
It should be noted that the SIM card identifier may be an ICCID of the SIM card, that is, a unique identification number of the smart terminal. It consists of 20 digits and is coded in a XXXXXXX 0MFSS YYGXXXXX, wherein the first 6 digits are operator codes.
In the embodiment of the invention, the intelligent terminal can activate the currently working modulation and demodulation module loaded with the MBN file according to the identification of the SIM card. Optionally, the intelligent terminal may activate the currently operating modem module loaded with the MBN file through a high-throughput PDC tool.
Optionally, as shown in fig. 5, loading the acquired MBN file into the modem module in step S405 may specifically be implemented by the following steps:
s4051, loading the acquired MBN file into a fixed directory;
s4052, triggering the modulation and demodulation module to load the MBN file under the fixed directory.
It should be noted that the intelligent terminal may load the acquired MBN file into a fixed directory, where the fixed directory may be an assigned path for storing the MBN file, and may more conveniently and quickly find the acquired MBN file and load the MBN file into a currently operating modem module. Accordingly, when the MBN file is acquired in step S404, the intelligent terminal may trigger the modem module to load the corresponding MBN file into the fixed directory. Optionally, the intelligent terminal may further load the MBN file into a corresponding modulation and demodulation module in a manner of issuing; the modulation and demodulation module can also actively load the MBN file.
Therefore, in the embodiment of the invention, the intelligent terminal can establish the corresponding relationship between the attribute value of the modem module of the terminal and the MBN file, so that when the intelligent terminal is started, the corresponding MBN file can be acquired according to the attribute value of the modem module currently working in the intelligent terminal and the established corresponding relationship, and the acquired MBN file can be loaded into the corresponding modem module, thereby achieving the purpose of dynamically configuring the MBN file and reducing unnecessary workload.
Fig. 6 is a schematic structural diagram of a configuration file loading apparatus according to a first embodiment of the present invention. The apparatus shown in fig. 6 may be applied to an intelligent terminal, where the intelligent terminal includes a modem module, and an attribute value used for representing a hardware version of the modem module is configured for the modem module, where the apparatus shown in fig. 6 specifically includes:
the obtaining module 601 is configured to obtain an attribute value of a currently operating modem module when the intelligent terminal is started.
A selecting module 602, configured to select, according to a matching relationship between a preset attribute value and a modem software configuration MBN file, a modem software configuration MBN file that matches the attribute value.
A loading module 603, configured to load the acquired MBN file into the modem module.
In the embodiment of the present invention, when the intelligent terminal is started, the obtaining module 601 may obtain the attribute value of the currently operating modem module, so that the selecting module 602 selects the modem software matched with the attribute value to configure the MBN file, and thus the loading module 603 may load the obtained MBN file into the modem module, thereby implementing the automation and intelligence requirements for loading the configuration file, and reducing the workload of development and manufacturing.
For example, if the obtaining module 601 obtains the attribute value 1 of the modem module currently operating in the smart terminal, the selecting module 602 may select the MBN file matching the attribute value by using the obtained attribute value 1. If the MBN file corresponding to the attribute value 1 is the MBN1, then the MBN1 is obtained, and the MBN1 is loaded into the modem module corresponding to the attribute value 1 through the loading module 603.
As can be seen, in the embodiment shown in fig. 6, the intelligent terminal may select, according to the obtained attribute value, an MBN file matched with the attribute value, and may load the MBN file into the modem module corresponding to the attribute value. By implementing the embodiment of the invention, the corresponding MBN file can be loaded aiming at the hardware of different hardware versions of the intelligent terminal, thereby reducing the workload of development and manufacture.
Fig. 7 is a schematic structural diagram of a configuration file loading apparatus according to a second embodiment of the present invention. The apparatus shown in fig. 7 may be applied to an intelligent terminal, where the intelligent terminal includes a modem module, and configures an attribute value for the modem module to indicate a hardware version of the modem module. The device shown in fig. 7 is optimized on the basis of the device shown in fig. 6. The apparatus shown in fig. 7 may include an obtaining module 601, a selecting module 602, and a loading module 603, and may further include an activating module 604, a burning module 605, and a setting module 606, specifically:
in this embodiment of the present invention, the activating module 604 is configured to activate a currently operating modem module loaded with an MBN file according to a subscriber identity module SIM card identifier of the intelligent terminal.
In the embodiment of the present invention, the burning module 605 is configured to burn an attribute value for the modem module of the intelligent terminal in the target storage area.
In this embodiment of the present invention, the setting module 606 is configured to preset a matching relationship table, where the matching relationship table records information of multiple MBN files, multiple attribute values, and a matching relationship between each MBN file and a corresponding attribute value.
As an optional implementation manner, the obtaining module 601 is specifically configured to determine that a modem module reporting an attribute value is a currently operating modem module if the attribute value reported by the modem module in the intelligent terminal after the intelligent terminal is started is received; and acquiring the received attribute value.
It should be noted that the intelligent terminal may match the modem module of the corresponding hardware version with the attribute value, and the obtaining module 601 may determine that the modem module reporting the attribute value is the currently operating modem module when the modem module of the matched hardware version reports the attribute value to the system of the intelligent terminal, and may obtain the received attribute value.
For example, if the attribute value burned by the smart terminal is 1. Then, when the intelligent terminal is started, the modem module of the hardware version corresponding to the attribute value may report that the attribute value of the terminal is 1, and then the obtaining module 601 may determine that the modem module corresponding to 1 is the currently operating modem module after receiving that the reported attribute value is 1, and obtain the attribute value 1 of the currently operating modem module.
As an optional implementation manner, the loading module 603 is specifically configured to load the acquired MBN file into a fixed directory; and triggering the modulation and demodulation module to load the MBN file under the fixed directory.
It should be noted that the fixed directory may be a designated path for storing the MBN file, and may more conveniently and quickly find the acquired MBN file and load the MBN file into the currently operating modem module. Accordingly, when the selection module 602 obtains the MBN file, the loading module 603 may load the MBN file into the corresponding modulation and demodulation module in a distributed manner. Optionally, the modulation and demodulation module may also actively load the MBN file.
It can be seen that, in the embodiment shown in fig. 7, the intelligent terminal can achieve the purpose that the MBN file can be automatically loaded when the terminal acquires the attribute value by presetting the corresponding relationship between the attribute value of the modem module and the MBN file, so as to meet the requirements for automation and intelligence of loading the MBN file.
Fig. 8 is a schematic structural diagram of an intelligent terminal according to an embodiment of the present invention. The apparatuses shown in fig. 6 and 7 may be applied to the intelligent terminal. As shown in fig. 8, the intelligent terminal includes: at least one processor 801, such as a Central Processing Unit (CPU), at least one user interface 803, memory 804, and at least one communication bus 802. Wherein a communication bus 802 is used to enable connective communication between these components.
The user interface 803 may include a Display screen Display and a Keyboard, and optionally, the user interface 803 may also include a standard wired interface and a standard wireless interface. The memory 804 may be a Random Access Memory (RAM) or a non-volatile memory, such as at least one disk memory. The memory 804 may optionally be at least one memory device located remotely from the processor 801 as previously described. Wherein the processor 801 may incorporate the method described in fig. 1-5, the memory 804 stores a set of program codes, and the processor 801 calls the program codes stored in the memory 804 to perform the following operations:
the processor 801 is configured to obtain an attribute value of a currently operating modem module when the intelligent terminal is started; selecting a modem software configuration MBN file matched with the attribute value according to the matching relation between the preset attribute value and the modem software configuration MBN file; and loading the acquired MBN file into the modulation and demodulation module.
The processor 801 is further configured to activate a currently operating modem module loaded with the MBN file according to a subscriber identity module SIM card identifier of the smart terminal.
The processor 801 is further configured to burn an attribute value for the modem module of the intelligent terminal before acquiring the attribute value of the currently operating modem module when the intelligent terminal is started, and store the attribute value in a target storage area; and presetting a matching relation table, wherein the matching relation table records information of a plurality of MBN files and a plurality of attribute values, and the matching relation table is used for representing the matching relation between each MBN file and the corresponding attribute value.
Optionally, the obtaining the attribute value of the currently operating modem module includes: if receiving an attribute value reported by a modulation-demodulation module in the intelligent terminal after the intelligent terminal is started, determining that the modulation-demodulation module reporting the attribute value is a currently working modulation-demodulation module; and acquiring the received attribute value.
Optionally, the loading the acquired MBN file into the modem module includes: loading the acquired MBN file into a fixed directory;
and triggering the modulation and demodulation module to load the MBN file under the fixed directory.
Because the upper-layer applications of the modems of the hardware versions are the same, the intelligent terminal can deploy corresponding upper-layer applications in the system based on the existing loading mode, and the difference is that different MBN files exist for the modems of different operators and different hardware versions, therefore, in the embodiment of the invention, the intelligent terminal can only load different MBN files by adjusting the attribute value of the demodulation module currently used, and the intelligent terminal can determine the currently working modem module based on the unique attribute value, acquire the MBN file corresponding to the attribute value of the modem module, and load the MBN file into the currently working modem module, so as to reduce the workload of development and manufacture and improve the MBN loading efficiency.
The bus 802 may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus 802 may be divided into an address bus, a data bus, a control bus, and the like. Fig. 8 is represented by a single thick line for ease of illustration, but does not represent only one bus or one type of bus.
The processor 801 may also include a hardware chip. The hardware chip may be an Application-Specific Integrated Circuit (SIC), a Programmable Logic Device (PLD), or a combination thereof. The PLD may be a Complex Programmable Logic Device (CPLD), a Field-Programmable gate Array (FPGA), General Array Logic (GAL), or any combination thereof.
Optionally, the memory 804 is also used for storing program instructions. The processor 801 may call the program instructions to implement a method for loading a configuration file as shown in the embodiments of fig. 1 to 5 of the present application.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
While the invention has been described with reference to a preferred embodiment, it will be understood by those skilled in the art that various changes in form and detail may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (8)

1. A method for loading a configuration file is applied to an intelligent terminal, the intelligent terminal comprises a modulation and demodulation module, and an attribute value for representing a hardware version of the modulation and demodulation module is configured for the modulation and demodulation module, and the method comprises the following steps:
when the intelligent terminal is started, acquiring the attribute value of the currently working modulation and demodulation module;
selecting a modem software configuration MBN file matched with the attribute value according to the matching relation between the preset attribute value and the modem software configuration MBN file;
loading the acquired MBN file into the modulation and demodulation module;
and activating the loaded MBN file according to the SIM card identifier of the intelligent terminal, wherein the identifier comprises an integrated circuit card identification code (ICCID).
2. The method according to claim 1, wherein before obtaining the attribute value of the currently operating modem module at the time of startup of the intelligent terminal, the method further comprises:
burning an attribute value for a modulation-demodulation module of the intelligent terminal in a target storage area;
and presetting a matching relation table, wherein the matching relation table records a plurality of MBN file information, a plurality of attribute values and a matching relation between each MBN file and the corresponding attribute value.
3. The method of claim 2, wherein obtaining the attribute value of the currently operating modem module comprises:
if receiving an attribute value reported by a modulation-demodulation module in the intelligent terminal after the intelligent terminal is started, determining that the modulation-demodulation module reporting the attribute value is a currently working modulation-demodulation module;
and acquiring the received attribute value.
4. The method of claim 1, the loading the acquired MBN file into the modem module, comprising:
loading the acquired MBN file into a fixed directory;
and triggering the modulation and demodulation module to load the MBN file under the fixed directory.
5. An apparatus for loading a configuration file, the apparatus being applied to an intelligent terminal, the intelligent terminal including a modem module, and an attribute value for indicating a hardware version of the modem module being configured for the modem module, the apparatus comprising:
the acquisition module is used for acquiring the attribute value of the currently working modulation and demodulation module when the intelligent terminal is started;
the selection module is used for selecting the modem software configuration MBN file matched with the attribute value according to the matching relation between the preset attribute value and the modem software configuration MBN file;
the loading module is used for loading the acquired MBN file into the modulation and demodulation module;
and the activation module is used for activating the loaded MBN file according to the identity of a Subscriber Identity Module (SIM) card of the intelligent terminal, wherein the identity comprises an integrated circuit card identification code (ICCID).
6. The apparatus of claim 5, further comprising:
the burning module is used for burning an attribute value for the modulation-demodulation module of the intelligent terminal in the target storage area;
the setting module is used for presetting a matching relation table, and the matching relation table records information of a plurality of MBN files, a plurality of attribute values and a matching relation between each MBN file and the corresponding attribute value.
7. The apparatus of claim 6,
the obtaining module is specifically configured to determine that a modem module reporting an attribute value is a currently operating modem module if the attribute value reported by a modem module in the intelligent terminal after the intelligent terminal is started is received; and acquiring the received attribute value.
8. The apparatus of claim 5,
the loading module is specifically used for loading the acquired MBN file into a fixed directory; and triggering the modulation and demodulation module to load the MBN file under the fixed directory.
CN201611248814.2A 2016-12-29 2016-12-29 Configuration file loading method and device Active CN106648793B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611248814.2A CN106648793B (en) 2016-12-29 2016-12-29 Configuration file loading method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611248814.2A CN106648793B (en) 2016-12-29 2016-12-29 Configuration file loading method and device

Publications (2)

Publication Number Publication Date
CN106648793A CN106648793A (en) 2017-05-10
CN106648793B true CN106648793B (en) 2020-04-07

Family

ID=58837116

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611248814.2A Active CN106648793B (en) 2016-12-29 2016-12-29 Configuration file loading method and device

Country Status (1)

Country Link
CN (1) CN106648793B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108112010A (en) * 2017-12-28 2018-06-01 宇龙计算机通信科技(深圳)有限公司 Access method, apparatus, terminal and the computer readable storage medium of network
CN109890026B (en) * 2019-01-31 2021-12-07 维沃移动通信有限公司 File loading method and terminal equipment
CN110764819B (en) * 2019-10-22 2022-05-17 福州汇思博信息技术有限公司 RF Card client method and system for communication terminal
CN111026457B (en) * 2019-11-30 2021-11-16 惠州Tcl移动通信有限公司 Hardware configuration method and device, storage medium and terminal equipment
CN112000346B (en) * 2020-07-22 2023-12-29 西安广和通无线软件有限公司 File upgrading method, device, computer equipment and storage medium
CN114567434B (en) * 2022-03-07 2023-08-11 亿咖通(湖北)技术有限公司 Certificate and key storage method and electronic equipment
CN116017421A (en) * 2022-12-15 2023-04-25 合肥移瑞通信技术有限公司 SIM card activation system, method, device and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105554726A (en) * 2015-08-11 2016-05-04 宇龙计算机通信科技(深圳)有限公司 Loading method for configured file and user terminal

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105554726A (en) * 2015-08-11 2016-05-04 宇龙计算机通信科技(深圳)有限公司 Loading method for configured file and user terminal

Also Published As

Publication number Publication date
CN106648793A (en) 2017-05-10

Similar Documents

Publication Publication Date Title
CN106648793B (en) Configuration file loading method and device
CN103281689B (en) Method for network switching and version upgrading and terminal equipment
CN109068346B (en) Method and device for configuring WiFi parameters
CN111510909B (en) Communication module configuration processing method and device, computer equipment and storage medium
CN105188048A (en) Method, device and terminal equipment for loading customized applications for mobile terminal
CN106648685B (en) Intelligent terminal system application processing method and device and intelligent terminal
CN106066802B (en) Method and device for loading MBN file
CN105512033A (en) Automated testing method and device of mobile terminal and mobile terminal
CN100425091C (en) Method and device of realizing mobile phone two-card switching and other function using STK/UTK
CN108112010A (en) Access method, apparatus, terminal and the computer readable storage medium of network
US20170118625A1 (en) Method and Device for Controlling Subscriber Identity Module Card of Mobile Terminal
CN114585002A (en) Communication processing method, communication processing device, terminal equipment and computer readable storage medium
CN106899774B (en) Dynamic adaptation method and dynamic adaptation device for terminal modem software
CN106658471B (en) User identification module configuration method and device
CN115495161B (en) BIOS option modification validation method and device and storage medium
CN104601823B (en) Intelligent terminal double-card dual-standby function decision method and system based on Android system
KR102371839B1 (en) Method for administering life cycles of communication profiles
CN113194521B (en) Network searching method and device for 5G communication module, computer equipment and storage medium
CN106507268B (en) Method and device for dynamic verification in mobile phone carriers
CN112423288B (en) Dialing analysis method, device, computer equipment and storage medium
CN106535161A (en) Method and device for intelligent dialing of intelligent terminal and intelligent terminal
CN111314111B (en) Network access data processing method, device, communication equipment and storage medium
CN109618327B (en) Software adaptation method and device, electronic equipment and readable storage medium
CN113220338A (en) Terminal configuration method and device, computer equipment and storage medium
CN115776666A (en) Network parameter configuration method and related equipment

Legal Events

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