CN113821255B - NV parameter setting method, terminal and storage medium based on high-pass platform - Google Patents

NV parameter setting method, terminal and storage medium based on high-pass platform Download PDF

Info

Publication number
CN113821255B
CN113821255B CN202110953466.3A CN202110953466A CN113821255B CN 113821255 B CN113821255 B CN 113821255B CN 202110953466 A CN202110953466 A CN 202110953466A CN 113821255 B CN113821255 B CN 113821255B
Authority
CN
China
Prior art keywords
parameter
preset
parameters
modem
hardware
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
CN202110953466.3A
Other languages
Chinese (zh)
Other versions
CN113821255A (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.)
Huizhou TCL Mobile Communication Co Ltd
Original Assignee
Huizhou TCL Mobile Communication 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 Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Priority to CN202110953466.3A priority Critical patent/CN113821255B/en
Publication of CN113821255A publication Critical patent/CN113821255A/en
Application granted granted Critical
Publication of CN113821255B publication Critical patent/CN113821255B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/76Adapting program code to run in a different environment; Porting
    • 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/4401Bootstrapping
    • G06F9/4411Configuring for operating with peripheral devices; Loading of device drivers

Landscapes

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

Abstract

The invention discloses a NV parameter setting method, a terminal and a storage medium based on a high-pass platform, wherein the method comprises the following steps: acquiring state information of a modem, and starting an EFS task process according to the state information; reading a preset NV parameter through the process, and judging whether the preset NV parameter meets the condition of starting a plurality of hardware modules or not; and if the preset NV parameter meets the condition of starting a plurality of hardware modules, starting each hardware module in the modem according to the preset NV parameter. According to the invention, by reading the preset NV parameters, under the condition that the preset NV parameters meet the condition of starting a plurality of hardware modules, each hardware module in the modem is started by utilizing the preset NV parameters, so that the NV parameters can be compatible with a plurality of operators and a plurality of RF hardware drivers, a plurality of software versions are prevented from being maintained in the later period, and the software maintenance cost is reduced.

Description

NV parameter setting method, terminal and storage medium based on high-pass platform
Technical Field
The invention relates to the field of terminal application, in particular to a NV parameter setting method, a terminal and a storage medium based on a high-pass platform.
Background
NV (i.e., non-valitile, nonvolatile) is a storage unit for the mobile phone specific parameter settings added by the high-pass chip company in the mobile phone file system, for example, the production line will calibrate the mobile phones, and each mobile phone will have different calibration parameters, and these parameters will be stored in NV. There are also many settings in NV regarding the network, e.g. parameter settings for LTE band.
In the Modem part of a cell phone, it is often necessary to customize some of the different versions of NV parameters, including: RF NV parameters, operator customized NV parameters, etc.; therefore, each set of NV parameters needs to be customized to a corresponding software version, and multiple NV parameters cannot be compatible through a single software version, so that multiple software versions need to be maintained in the later period, and the software maintenance cost is increased.
Accordingly, there is a need in the art for improvement.
Disclosure of Invention
Aiming at the defects of the prior art, the invention provides a NV parameter setting method, a terminal and a storage medium based on a high-pass platform, which are used for solving the technical problem that the existing NV parameters cannot be compatible with a plurality of operators and a plurality of RF hardware drivers.
The technical scheme adopted for solving the technical problems is as follows:
in a first aspect, the present invention provides a method for setting NV parameters based on a high-pass platform, the method for setting NV parameters based on the high-pass platform comprising the following steps:
acquiring state information of a modem, and starting an EFS task process according to the state information;
reading a preset NV parameter through the process, and judging whether the preset NV parameter meets the condition of starting a plurality of hardware modules or not;
and if the preset NV parameter meets the condition of starting a plurality of hardware modules, starting each hardware module in the modem according to the preset NV parameter.
In one implementation, the obtaining the state information of the modem and starting the EFS task process according to the state information previously includes:
and setting a custom process, and modifying the NV parameters to be modified to obtain the preset NV parameters.
In one implementation, the hardware module includes: an RF module, an EFS module, a GSM module, a WCDMA module and an LTE module;
the preset NV parameters are NV parameters corresponding to the RF module, the EFS module, the GSM module, the WCDMA module and the LTE module.
In one implementation, the obtaining the state information of the modem and starting the EFS task process according to the state information includes:
acquiring state information of the modem;
judging whether the state of the modem is an on state according to the state information;
and if the state of the modem is the starting state, starting the EFS task process.
In one implementation, the reading, by the process, a preset NV parameter, and determining whether the preset NV parameter meets a condition of starting a plurality of hardware modules includes:
judging whether each hardware module needs to acquire the preset NV parameters;
if each hardware module needs to acquire the preset NV parameters, acquiring version information of the modem;
judging whether the version information of each hardware module is consistent with the version information of the modem;
and if the version information of each hardware module is consistent with the version information of the modem, reading the preset NV parameter, and judging that the preset NV parameter meets the condition of starting a plurality of hardware modules.
In one implementation, the determining whether the version information of each hardware module is consistent with the version information of the modem further includes:
if the version information of each hardware module is inconsistent with the version information of the modem, setting an RF card NV parameter according to the hardware general input/output value, and modifying the NV parameters of the rest hardware modules;
and setting the version number of the modified modem according to the RF card NV parameter and the modified NV parameter, and saving the version number of the modified modem.
In one implementation, the starting each hardware module in the modem according to the preset NV parameter includes:
determining the priority of each hardware module according to the EFS task process;
and sequentially acquiring the preset NV parameters according to the priority, and sequentially starting the corresponding hardware modules.
In one implementation, the setting the RF card NV parameter according to the hardware general purpose input output value includes:
determining a level signal of an RF hardware module according to the hardware general input/output value;
and determining the current hardware version information of the RF hardware module according to the level signal, and setting the corresponding NV parameter according to the current hardware version information of the RF hardware module.
In a second aspect, the present invention provides a terminal comprising: the system comprises a processor and a memory, wherein the memory stores a NV parameter setting program based on a high-pass platform, and the NV parameter setting program based on the high-pass platform is used for realizing the NV parameter setting method based on the high-pass platform according to the first aspect when being executed by the processor.
In a third aspect, the present invention provides a storage medium storing a high-pass platform based NV parameter setting program for implementing the high-pass platform based NV parameter setting method according to the first aspect when the high-pass platform based NV parameter setting program is executed by a processor.
The technical scheme adopted by the invention has the following effects:
according to the invention, by reading the preset NV parameters, under the condition that the preset NV parameters meet the condition of starting a plurality of hardware modules, each hardware module in the modem is started by utilizing the preset NV parameters, so that the NV parameters can be compatible with a plurality of operators and a plurality of RF hardware drivers, a plurality of software versions are prevented from being maintained in the later period, and the software maintenance cost is reduced.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to the structures shown in these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a high-pass platform-based NV parameter setting method in one implementation of the present invention.
Fig. 2 is a functional schematic of a terminal in one implementation of the invention.
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more clear and clear, the present invention will be further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
Exemplary method
As shown in fig. 1, an embodiment of the present invention provides a method for setting NV parameters based on a high-pass platform, which includes the following steps:
step S100, obtaining the state information of the modem, and starting the EFS task process according to the state information.
In this embodiment, the NV parameter setting method based on the high-pass platform is applied to a terminal, where the terminal includes but is not limited to: mobile terminals, televisions (i.e., smart televisions), high-pass platform based devices, and the like.
In this embodiment, the terminal may be a terminal device based on a high-pass 8909W (i.e., a high-pass 8909W chip) platform, or may be a terminal device based on other high-pass platforms; in the drive part of the Modem (i.e. Modem part) of the terminal, it is often necessary to customize some of the NV parameters of different versions to accommodate and drive different hardware modules in the Modem, for example: RF NV parameters for driving RF modules, operator customized NV parameters for driving a specific operator LTE, etc.
In this embodiment, some parameter values possibly used by each hardware module in the system operation process are stored in NV parameters based on the high-pass platform, and different NV parameters are stored in an EFS file in the form of a single file; for the terminal, after the NV parameter values of the hardware modules pass the calibration and final test, the hardware modules can reach the optimal working state, especially the NV parameters related to RF; because different hardware modules need to customize different NV parameters, and different terminal devices also need to be calibrated and finally tested for the NV parameters; therefore, in order to maintain stable operation of the terminal device, it is necessary to customize a plurality of NV parameters; if each set of NV parameters needs to customize the software of the corresponding version, multiple software versions need to be maintained in the later software maintenance process, which increases the cost of software maintenance.
In order to facilitate later maintenance of software versions, the present embodiment uses a set of software to be compatible with NV parameters customized by multiple operators, and also to be compatible with RF drivers corresponding to multiple hardware; therefore, in this embodiment, the NV parameter setting method based on the high-pass platform is used to manage the customized NV parameter, so that the version of the customized NV parameter is consistent with the corresponding hardware version.
Specifically, in the high-pass 8909W platform, the hardware module in the modem includes: an RF module, an EFS module, a GSM module, a WCDMA module and an LTE module; after the modem part is started, a task process (i.e. task) of each hardware module is gradually started, wherein the task process comprises: EFS module task process, RF module task process, GSM module task process, WCDMA module task process, LTE module task process, etc.
Further, when the task process of each hardware module is started, the corresponding NV parameters are read, and each hardware module is initialized; if not necessary, each hardware module only reads the NV parameter once when the computer is started; in other cases, the NV parameters are not read, and the change condition of the content in the NV parameters is not monitored; therefore, the NV parameters are manually modified after the machine is started, and certain Feature changes are not caused; after the NV parameters are manually modified, the modified NV parameters are validated by restarting the terminal device.
In this embodiment, a user-defined task process is newly added according to the NV parameter characteristics of the high-pass platform; modifying the NV parameters to be modified before other task processes are started by setting the self-defined task process to obtain the preset NV parameters, so that the aim of adapting one set of NV parameters to multiple sets of customization requirements is fulfilled; when the NV parameters to be modified are modified, the NV parameters to be modified can be modified by the command function of the high-pass qddm, and then the SendRawRequest command is used for modifying the NV parameters to be modified.
Further, in this embodiment, the preset NV parameter is an NV parameter corresponding to the RF module, the EFS module, the GSM module, the WCDMA module, and the LTE module; wherein, the NV parameters include: carrier frequency band parameters, such as: frequency band 00441, frequency band 00946, frequency band 01877, frequency band 04548, frequency band 06828, frequency band 65633, etc.; RF card NV parameters including: frequency band 01878 and 28967, etc.; NV parameters corresponding to other hardware modules, such as:
/nv/item_files/modem/lte/L2/mac/lte_mac_qos_qc_data_inactivity_timer_w,
/nv/item_files/gps/cgps/sm/bypass_xtra_validity_check,
nv/item_files/modem/lte/rrc/cap/fgi, etc.
The desired NV parameters can be tailored to both the normal NV parameters and the binary NV parameters.
It should be noted that, in this embodiment, the RF static NV parameters need not be listed in the modified items, because the NV items in the RF static NV parameters are more, and the data size is large, adding the custom NV parameters affects the start-up time of the modem; in addition, the RF static NV parameters are stable, the modification is less, and the RF static NV parameters only need to be stored in the FSG file.
That is, in one implementation of the present embodiment, step 100 is preceded by the steps of:
and step 001, setting a custom process, and modifying the NV parameters to be modified to obtain the preset NV parameters.
In this embodiment, after the preset NV parameter is obtained by modification, an EFS task process may be started according to the state of the modem; when the state of the modem is an on state, starting the EFS task process; it can be understood that in the process of starting up the terminal equipment, the terminal can start up each hardware module one by one and perform corresponding initialization work; when the modem is started, by acquiring the state information of the modem, whether the state of the modem is an on state or not can be judged according to the state information, and if the state of the modem is the on state, the EFS task process is started; and if the state of the modem is in a closed state, starting other file processes.
It should be noted that, in this embodiment, the item GROUP that the EFS task process preferentially starts is rcinit_group_0, and all the customization processes of NV parameters are based on this task process; the item GROUP that the RF task process preferentially starts is RCINIT_GROUP_3; the item GROUP which is preferentially started by the self-defined task process is between RCINIT_GROUP_0 and RCINIT_GROUP_3, namely the item GROUP which is preferentially started by the self-defined task process is RCINIT_GROUP_1 or RCINIT_GROUP_2.
That is, in one implementation manner of the present embodiment, the step S100 specifically includes the following steps:
step S110, obtaining the state information of the modem;
step S120, judging whether the state of the modem is an on state according to the state information;
step S130, if the state of the modem is the on state, starting the EFS task process.
According to the embodiment, the user-defined process is set, and the NV parameters to be modified can be modified through the user-defined process, so that the customized NV parameters are obtained; in addition, in the starting-up process of the subsequent terminal equipment, an EFS task process can be started according to the state of the modem, the customized NV parameters are read by the EFS task process, and then the corresponding hardware modules are started according to the customized NV parameters.
As shown in fig. 1, in an implementation manner of the embodiment of the present invention, the NV parameter setting method based on the high-pass platform further includes the following steps:
step S200, reading a preset NV parameter through the process, and judging whether the preset NV parameter meets the condition of starting a plurality of hardware modules.
In this embodiment, after the EFS task process is started, a preset NV parameter is read through the process, and whether the preset NV parameter meets a condition of starting a plurality of hardware modules is determined; by judging whether the preset NV parameters meet the conditions, whether the modified NV parameters can be compatible with a plurality of hardware modules or not can be determined, the plurality of hardware modules can be successfully driven, the customization requirements of a plurality of operators are met, and the requirements of different RF driving of the plurality of hardware modules are met.
Specifically, when the preset NV parameters are read, file names of all files in a memory can be obtained first, and then whether each file name accords with a naming rule of a file corresponding to the preset NV parameters is judged one by one according to the obtained file names; if the file name accords with the naming rule of the preset NV parameter, acquiring a configuration file in a folder corresponding to the file name, and acquiring the preset NV parameter according to the configuration file.
Further, after the preset NV parameters (i.e. customized NV parameters) are obtained, the hardware module corresponding to the preset NV parameters can be sequentially searched and determined, so that the hardware information of the hardware module is obtained, and whether the hardware module needs to obtain the preset NV parameters or not is judged according to the hardware information, i.e. whether the hardware module needs to customize the NV parameters or not is judged; when judging whether the hardware module needs the customized NV parameters, judging whether the hardware module is in the customized project according to the customized project or the customized requirement, and if the hardware module is in the customized project, determining that the hardware module needs the customized NV parameters; or, according to the customized NV parameter, determining whether the customized NV parameter is the optimal parameter of the hardware module (the parameter of the hardware module achieving the optimal performance), and if the customized NV parameter is the optimal parameter of the hardware module, determining that the hardware module needs to customize the NV parameter.
Further, when judging whether the preset NV parameter needs to be acquired, if the hardware module needs to acquire the preset NV parameter, acquiring version information of the modem, wherein the version information is current software version information of the modem; furthermore, according to the obtained version information of the modem, whether the version information of the hardware module is consistent with the version information of the modem or not can be judged, wherein the version information of the hardware module corresponds to the version information of the preset NV parameter; if the version information of the hardware module is consistent with the version information of the modem, reading the preset NV parameter, and judging that the preset NV parameter meets the condition of starting a plurality of hardware modules; at this time, it can be determined that the customized NV parameters meet the customization requirements of multiple operators and meet the requirements of different RF drivers of multiple hardware modules.
That is, in one implementation manner of the present embodiment, the step S200 specifically includes the following steps:
step S210, judging whether each hardware module needs to acquire the preset NV parameters;
step S220, if each hardware module needs to acquire the preset NV parameters, acquiring version information of the modem;
step S230, judging whether the version information of each hardware module is consistent with the version information of the modem;
and step S240, if the version information of each hardware module is consistent with the version information of the modem, reading the preset NV parameter, and judging that the preset NV parameter meets the condition of starting a plurality of hardware modules.
Further, in this embodiment, when determining whether the version information of the hardware module is consistent with the version information of the modem, if the version information of the hardware module is inconsistent with the version information of the modem, it indicates that the customized NV parameter does not satisfy a condition for starting a plurality of hardware modules; at this time, it is necessary to re-customize the NV parameters and modify the version number of the modem according to the newly customized NV parameters so that the modified version number of the modem is adapted to the newly customized NV parameters.
Specifically, under the condition that the version information is inconsistent, the general input/output value of the hardware module can be used for setting the RF card NV parameter, and the NV parameters of the rest hardware modules are modified according to the set RF card NV parameter; the general purpose input/output value is GPIO (general porpose intput output, short for general purpose input/output port), and the input/output of the hardware module can be controlled through software; the RF card NV parameter is the NV parameter corresponding to the RF card project.
Further, after the RF card NV parameter is set and the NV parameters of other hardware modules are modified, the version number of the modified modem can be set according to the RF card NV parameter and the modified NV parameter, and the version number of the modified modem is saved; the purpose of setting and saving the version number of the modem is to make the version number of the re-customized NV parameter consistent with the hardware version number and the version number of the modem, so that the re-customized NV parameter meets the condition of starting a plurality of hardware modules.
That is, in one implementation manner of the present embodiment, after step S230, the following steps are further included:
step S250, if the version information of each hardware module is inconsistent with the version information of the modem, setting an RF card NV parameter according to the general input/output value of the hardware, and modifying the NV parameters of the rest hardware modules;
step S260, setting the version number of the modified modem according to the RF card NV parameter and the modified NV parameter, and saving the version number of the modified modem.
In this embodiment, in the process of setting the RF card NV parameter, the level signal of the RF hardware module may be determined according to the hardware general-purpose input/output value, and then the current hardware version information of the RF hardware module may be determined according to the level signal, and the corresponding NV parameter may be set according to the current hardware version information of the RF hardware module.
Specifically, when the terminal device is started up, or the modem is started up, the version of the current hardware module can be judged according to the level value of the GPIO provided by the hardware module, and the corresponding RF card NV parameter can be set according to the determined hardware version.
Of course, in order to ensure that the EFS file can be restored after being destroyed, the NV parameters to be customized need to be backed up before the NV parameters are customized; when backup is carried out, the NV parameter items needing backup, namely parameters of the NV items needing to be customized before customization, can be determined first; creating a flag file in the EFS folder once the modification of the NV parameters is detected during the re-subscription of the NV parameters; thus, at each power-on, the system determines whether the flag file exists, thereby determining whether a backup operation is required.
That is, in one implementation manner of the present embodiment, the step S250 specifically includes the following steps:
step S251, determining the level signal of the RF hardware module according to the hardware general input/output value;
step S252, determining the current hardware version information of the RF hardware module according to the level signal, and setting the corresponding NV parameter according to the current hardware version information of the RF hardware module.
According to the embodiment, whether each hardware module is matched with the customized NV parameters can be determined by judging whether each hardware module needs the customized NV parameters; further, by determining whether the version information of each hardware module is consistent with the version information of the modem, it can be determined whether the customized NV parameters are compatible with a plurality of hardware modules.
In an implementation manner of the embodiment of the present invention, the NV parameter setting method based on the high-pass platform further includes the following steps:
step S300, if the preset NV parameter meets the condition of starting a plurality of hardware modules, starting each hardware module in the modem according to the preset NV parameter.
In this embodiment, when it is determined that the customized NV parameter satisfies the condition of starting a plurality of hardware modules, each hardware module in the modem may be started in sequence according to the customized NV parameter; in the process of starting each hardware module, the priority of each hardware module needs to be determined according to the EFS task process, and then the preset NV parameters are sequentially acquired according to the priority, and the corresponding hardware modules are sequentially started.
Specifically, when determining the priority of each hardware module, the priority level of each hardware module can be determined according to the name of the priority starting item group corresponding to each hardware module, and then the starting sequence of each hardware module is determined according to the priority level; for example, if the item GROUP that the EFS task process preferentially starts is rcinit_group_0, the priority of the EFS module is one level, and the starting sequence is the hardware module that starts at the beginning.
Of course, in the starting process of each hardware module, if the hardware module is detected to be failed to start, the NV parameters before customization are restored, which is the reverse process of backup, namely, the backup data stored in the FLASH is restored to the corresponding NV items in the EFS. So the system can check if there is a recovery mark file in the file system when starting up and running each time, if there is no, then recovering and creating; otherwise, the EFS packaged in the released software version cannot contain the flag file without recovery.
That is, in one implementation manner of the present embodiment, the step S400 specifically includes the following steps:
step S310, determining the priority of each hardware module according to the EFS task process;
step S320, sequentially obtaining the preset NV parameters according to the priority, and sequentially starting the corresponding hardware modules.
It should be noted that, in this embodiment, when customizing the NV parameters, the command function of the high-pass qddm may be modified, and then the SendRawRequest command is used to modify the NV parameters that need to be modified; for example, a command is added in the high-pass QXDM tool to modify the NV parameters of LTE band.
According to the method and the device, the preset NV parameters are read, and under the condition that the preset NV parameters meet the condition of starting a plurality of hardware modules, all hardware modules in the modem are started by the aid of the preset NV parameters, so that the NV parameters can be compatible with a plurality of operators and a plurality of RF hardware drivers, a plurality of software versions are prevented from being required to be maintained in the later period, and software maintenance cost is reduced.
Exemplary apparatus
Based on the above embodiment, the present invention also provides a terminal, and a functional block diagram thereof may be shown in fig. 2.
The terminal comprises: the system comprises a processor, a memory, an interface, a display screen and a communication module which are connected through a system bus; wherein the processor of the terminal is configured to provide computing and control capabilities; the memory of the terminal comprises a storage medium and an internal memory; the storage medium stores an operating system and a computer program; the internal memory provides an environment for the operation of the operating system and computer programs in the storage medium; the interface is used for connecting external terminal equipment, such as mobile terminals, computers and other equipment; the display screen is used for displaying the corresponding NV parameter setting information based on the high-pass platform; the communication module is used for communicating with a cloud server or a mobile terminal.
The computer program is executed by a processor to implement a high-pass platform-based NV parameter setting method.
It will be appreciated by those skilled in the art that the functional block diagram shown in fig. 2 is merely a block diagram of some of the structures associated with the present inventive arrangements and is not limiting of the terminal to which the present inventive arrangements may be applied, and that a particular terminal may include more or less components than those shown, or may combine some of the components, or have a different arrangement of components.
In one embodiment, a terminal is provided, including: the NV parameter setting method based on the high-pass platform comprises a processor and a memory, wherein the memory stores the NV parameter setting program based on the high-pass platform, and the NV parameter setting program based on the high-pass platform is used for realizing the NV parameter setting method based on the high-pass platform when being executed by the processor.
In one embodiment, a storage medium is provided, where the storage medium stores a high-pass platform-based NV parameter setting program, which when executed by a processor is configured to implement the high-pass platform-based NV parameter setting method as above.
Those skilled in the art will appreciate that implementing all or part of the above-described methods may be accomplished by way of a computer program, which may be stored on a non-transitory computer readable storage medium and which, when executed, may comprise the steps of the above-described embodiments of the methods. Any reference to memory, storage, database, or other medium used in embodiments provided herein may include non-volatile and/or volatile memory.
In summary, the invention provides a high-pass platform-based NV parameter setting method, a terminal and a storage medium, wherein the method comprises the following steps: acquiring state information of a modem, and starting an EFS task process according to the state information; reading a preset NV parameter through the process, and judging whether the preset NV parameter meets the condition of starting a plurality of hardware modules or not; and if the preset NV parameter meets the condition of starting a plurality of hardware modules, starting each hardware module in the modem according to the preset NV parameter. According to the invention, by reading the preset NV parameters, under the condition that the preset NV parameters meet the condition of starting a plurality of hardware modules, each hardware module in the modem is started by utilizing the preset NV parameters, so that the NV parameters can be compatible with a plurality of operators and a plurality of RF hardware drivers, a plurality of software versions are prevented from being maintained in the later period, and the software maintenance cost is reduced.
It is to be understood that the invention is not limited in its application to the examples described above, but is capable of modification and variation in light of the above teachings by those skilled in the art, and that all such modifications and variations are intended to be included within the scope of the appended claims.

Claims (7)

1. The NV parameter setting method based on the high-pass platform is characterized by comprising the following steps of:
acquiring state information of a modem, and starting an EFS task process according to the state information;
reading a preset NV parameter through the process, and judging whether the preset NV parameter meets the condition of starting a plurality of hardware modules or not;
if the preset NV parameters meet the condition of starting a plurality of hardware modules, starting each hardware module in the modem according to the preset NV parameters;
the obtaining the state information of the modem, and starting the EFS task process according to the state information, previously comprising:
setting a custom process, and modifying the NV parameters to be modified to obtain the preset NV parameters;
the hardware module includes: an RF module, an EFS module, a GSM module, a WCDMA module and an LTE module;
the preset NV parameters are compatible with the NV parameters corresponding to the RF module, the EFS module, the GSM module, the WCDMA module and the LTE module;
the reading the preset NV parameter through the process, and judging whether the preset NV parameter meets the condition of starting a plurality of hardware modules, includes:
judging whether each hardware module needs to acquire the preset NV parameters;
if each hardware module needs to acquire the preset NV parameters, acquiring version information of the modem;
judging whether the version information of each hardware module is consistent with the version information of the modem;
and if the version information of each hardware module is consistent with the version information of the modem, reading the preset NV parameter, and judging that the preset NV parameter meets the condition of starting a plurality of hardware modules.
2. The high-pass platform-based NV parameter setting method of claim 1, wherein said obtaining state information of a modem and starting an EFS task process according to the state information includes:
acquiring state information of the modem;
judging whether the state of the modem is an on state according to the state information;
and if the state of the modem is the starting state, starting the EFS task process.
3. The NV parameter setting method based on a high-pass platform according to claim 1, wherein said determining whether version information of each hardware module is consistent with version information of the modem further comprises:
if the version information of each hardware module is inconsistent with the version information of the modem, setting an RF card NV parameter according to the hardware general input/output value, and modifying the NV parameters of the rest hardware modules;
and setting the version number of the modified modem according to the RF card NV parameter and the modified NV parameter, and saving the version number of the modified modem.
4. The high-pass platform-based NV parameter setting method of claim 1, further comprising the step of starting each hardware module in the modem according to the preset NV parameter, and further comprising:
determining the priority of each hardware module according to the EFS task process;
and sequentially acquiring the preset NV parameters according to the priority, and sequentially starting the corresponding hardware modules.
5. A high-pass platform-based NV parameter setting method according to claim 3, characterized in that said setting the RF card NV parameter according to hardware general purpose input output values comprises:
determining a level signal of an RF hardware module according to the hardware general input/output value;
and determining the current hardware version information of the RF hardware module according to the level signal, and setting the corresponding NV parameter according to the current hardware version information of the RF hardware module.
6. A terminal, comprising: the NV parameter setting program based on the high-pass platform is used for realizing the NV parameter setting method based on the high-pass platform according to any one of claims 1-5 when the NV parameter setting program based on the high-pass platform is executed by the processor.
7. A storage medium storing a high-pass platform-based NV parameter setting program for implementing the high-pass platform-based NV parameter setting method of any one of claims 1-5 when executed by a processor.
CN202110953466.3A 2021-08-19 2021-08-19 NV parameter setting method, terminal and storage medium based on high-pass platform Active CN113821255B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110953466.3A CN113821255B (en) 2021-08-19 2021-08-19 NV parameter setting method, terminal and storage medium based on high-pass platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110953466.3A CN113821255B (en) 2021-08-19 2021-08-19 NV parameter setting method, terminal and storage medium based on high-pass platform

Publications (2)

Publication Number Publication Date
CN113821255A CN113821255A (en) 2021-12-21
CN113821255B true CN113821255B (en) 2023-09-19

Family

ID=78913287

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110953466.3A Active CN113821255B (en) 2021-08-19 2021-08-19 NV parameter setting method, terminal and storage medium based on high-pass platform

Country Status (1)

Country Link
CN (1) CN113821255B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016062146A1 (en) * 2014-10-20 2016-04-28 中兴通讯股份有限公司 Serial number information update method, device and terminal
CN106028382A (en) * 2016-05-27 2016-10-12 努比亚技术有限公司 NV (Nonvolatile Random Access Memory) parameter reading-writing device and method
CN106937320A (en) * 2017-03-31 2017-07-07 努比亚技术有限公司 A kind of operator parameter method of automatic configuration and terminal
CN109739542A (en) * 2018-12-11 2019-05-10 成都智慧海派科技有限公司 A kind of method of high-pass platform nv parameter upgrading
CN112463235A (en) * 2020-11-30 2021-03-09 福州汇思博信息技术有限公司 Project configuration method and terminal for Android device
CN112533193A (en) * 2020-11-30 2021-03-19 福州汇思博信息技术有限公司 Configuration method and terminal for realizing different network requirements
CN112540777A (en) * 2020-10-29 2021-03-23 福建联迪商用设备有限公司 Method and terminal for supporting dynamic read-write of NV (network video) parameters

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7987510B2 (en) * 2001-03-28 2011-07-26 Rovi Solutions Corporation Self-protecting digital content

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016062146A1 (en) * 2014-10-20 2016-04-28 中兴通讯股份有限公司 Serial number information update method, device and terminal
CN106028382A (en) * 2016-05-27 2016-10-12 努比亚技术有限公司 NV (Nonvolatile Random Access Memory) parameter reading-writing device and method
CN106937320A (en) * 2017-03-31 2017-07-07 努比亚技术有限公司 A kind of operator parameter method of automatic configuration and terminal
CN109739542A (en) * 2018-12-11 2019-05-10 成都智慧海派科技有限公司 A kind of method of high-pass platform nv parameter upgrading
CN112540777A (en) * 2020-10-29 2021-03-23 福建联迪商用设备有限公司 Method and terminal for supporting dynamic read-write of NV (network video) parameters
CN112463235A (en) * 2020-11-30 2021-03-09 福州汇思博信息技术有限公司 Project configuration method and terminal for Android device
CN112533193A (en) * 2020-11-30 2021-03-19 福州汇思博信息技术有限公司 Configuration method and terminal for realizing different network requirements

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
NV-Journaling: Locality-Aware Journaling Using Byte-Addressable Non-Volatile Memory;Cheng Chen等;《IEEE Transactions on Computers》;288 - 299 *
无线通信网络下移动终端Modem测试与分析;王洋;《中国优秀硕士学位论文全文数据库 信息科技辑》;I136-311 *

Also Published As

Publication number Publication date
CN113821255A (en) 2021-12-21

Similar Documents

Publication Publication Date Title
CN108027741B (en) File processing method, device, terminal and storage medium based on patch upgrade
CN105760200A (en) Terminal device and system updating method thereof
CN107291510B (en) Rapid starting method for Linux vehicle-mounted information system
US20180352421A1 (en) Mobile Device Configuration Method And Apparatus
CN110750286B (en) Management method, device, system, equipment and medium for upgrading Mbn through OTA
CN108156312B (en) Method, terminal and storage device for controlling SIM card function menu display
CN110308880B (en) Log printing method, system, computer device and computer readable storage medium
CN113821255B (en) NV parameter setting method, terminal and storage medium based on high-pass platform
CN113010214B (en) BIOS option setting method, system and storage medium
CN110837500B (en) Data screening method and device based on socal embedded window and computer equipment
CN112015587B (en) Method and device for enhancing reliability of operating system
CN107172610B (en) GSM network self-adaption method and device and electronic equipment
CN108829574B (en) Test data laying method, test server and computer readable storage medium
CN108595292B (en) System optimization method, mobile terminal and computer storage medium
CN116450165A (en) Method, system, terminal and storage medium for quickly building environment and deploying program
CN108776601A (en) Loading method, device, equipment and the storage medium of the Android H5 pages
CN111475220B (en) Cold start method and device, electronic equipment and computer storage medium
CN111132097B (en) Wireless module driving method and device, wireless module, terminal and storage medium
CN112328288A (en) Method, system, equipment and storage medium for updating server component
CN113656051A (en) Automatic upgrading method for android system equipment
CN111142913A (en) Hot updating method and equipment for iOS system application program
CN114579198B (en) Memory chip starting method and device, computer equipment and storage medium
CN114489852B (en) Memory chip starting method and device, computer equipment and storage medium
CN113568628B (en) ISO automated production method based on debrian system
CN114489851B (en) Memory chip starting method and device, computer equipment and storage medium

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