A configuration parameter updating method, device and related equipment

By obtaining and parsing NVUP file configuration parameters for updating communication modules, the problems of high cost, low efficiency and unreliability of updating communication module configuration parameters in the prior art are solved, and high timeliness and low cost update effects are achieved.

CN114302427BActive Publication Date: 2025-04-11ROLLING WIRELESS COMM TECH (SHENZHEN) LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202111594069.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-23
Publication Date
2025-04-11
Estimated Expiration
2041-12-23

AI Technical Summary

Technical Problem

The prior art has high cost, low efficiency and unreliability problems in the configuration parameter update of communication modules, especially in production and commercial deployment scenarios.

Method used

By obtaining NVUP files, analyzing their configuration information, and using this information to update the configuration parameters of the communication module, remote updates and batch configuration are realized, and the dependence on third-party tool chains is freed from.

Benefits of technology

It realizes high-time and low-cost communication module updates, improves update efficiency, reduces costs, and enhances the reliability of updates.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114302427B_ABST
    Figure CN114302427B_ABST
Patent Text Reader

Abstract

The present application discloses a configuration parameter updating method, which is applied to a communication module, including: obtaining an NVUP file, wherein the NVUP file is a file for updating configuration parameters; parsing the NVUP file to obtain configuration information; and using the configuration information to update the configuration parameters in the communication module. By applying the technical solution provided by the present application, batch configuration information is stored through a configuration file (i.e., an NVUP file), a single multiple configuration of the communication module can be achieved, which greatly shortens the configuration time and further improves the update efficiency; and this implementation method gets rid of the dependence on a third-party tool chain, and can also perform remote updates, effectively reducing the update cost, that is, achieving a high-efficiency, low-cost communication module update. The present application also discloses a configuration parameter updating device, a communication module, and a computer-readable storage medium, all of which have the above-mentioned beneficial effects.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a configuration parameter updating method, device, communication module and computer-readable storage medium. Background Art

[0002] With the development of cellular wireless communication technology, a single cellular wireless communication module integrates multiple communication modes and has more powerful business capabilities, which has led to a sharp increase in the configuration items of wireless communication parameters and system parameters. How to reliably, efficiently and conveniently complete the configuration of modules in various scenarios such as production and commercial deployment is a real problem.

[0003] Currently, communication modules based on Qualcomm chip platforms use the EFS file system (Encrypting File System) to store module configuration parameters. Each configuration parameter is stored in the EFS file system as an independent file (NV file, non-volatile configuration item file). Configurations can only be modified using Qualcomm tools or related AT (Attention) commands. The following problems exist in actual production and deployment:

[0004] First, for the development company of communication modules, they can only process the configuration files one by one through the Qualcomm tool chain, but it is difficult to track and manage the non-Qualcomm original configuration items. In addition, using Qualcomm tools to deploy configurations requires purchasing Qualcomm's authorization, which is costly.

[0005] Second, for the communication module production factory, it needs to use Qualcomm QPST (Qualcomm Product Support Tool, a transmission software developed for Qualcomm chips) tool to export the configuration file from each model of the sample module as the configuration benchmark of the corresponding model, and then use Qualcomm QPST to import the module during the production process. For some different parameters, they need to configure them one by one through AT commands, which is inefficient;

[0006] Third, after actual application, when configuration updates are needed, they cannot be updated remotely and need to be recalled and updated one by one, which is costly and time-consuming, and reliability cannot be guaranteed.

[0007] Therefore, how to achieve high-efficiency and low-cost communication module updates is an urgent problem to be solved by technical personnel in this field. Summary of the invention

[0008] The purpose of the present application is to provide a configuration parameter updating method, which realizes high-efficiency and low-cost communication module updating; another purpose of the present application is to provide a configuration parameter updating device, a communication module and a computer-readable storage medium, all of which have the above-mentioned beneficial effects.

[0009] In a first aspect, the present application provides a configuration parameter updating method, which is applied to a communication module, comprising:

[0010] Obtain an NVUP file, where the NVUP file is a file used to update configuration parameters;

[0011] Parse the NVUP file to obtain configuration information;

[0012] The configuration parameters in the communication module are updated using the configuration information.

[0013] Preferably, the obtaining of the NVUP file constructed by the configuration terminal includes:

[0014] The NVUP file is obtained by downloading from the configuration terminal through OTA technology or USB interface.

[0015] Preferably, the updating of the configuration parameters in the communication module by using the configuration information includes:

[0016] The NV file in the communication module is updated using the configuration information; wherein the NV file includes the configuration parameters of the communication module.

[0017] Preferably, before using the configuration information to update the configuration parameters in the communication module, the method further includes:

[0018] Obtaining version information from the configuration information;

[0019] Determining whether the NVUP file is compatible with the communication module according to the version information;

[0020] If not, delete the NVUP file;

[0021] If so, the step of updating the configuration parameters in the communication module using the configuration information is executed.

[0022] Preferably, before parsing the NVUP file to obtain configuration information, the process further includes:

[0023] Storing the NVUP file in a preset storage area;

[0024] When a power-on signal is received, the NVUP file is retrieved from the preset storage area to the memory.

[0025] Preferably, after retrieving the NVUP file from the preset storage area to the memory, the method further includes:

[0026] Block the system startup process;

[0027] Correspondingly, after the configuration parameters in the communication module are updated using the configuration information, the method further includes:

[0028] Restart the system boot process.

[0029] Preferably, after updating the configuration parameters in the communication module using the configuration information, the method further includes:

[0030] Delete the NVUP file.

[0031] In a second aspect, the present application also provides a configuration parameter updating device, which is applied to a communication module, comprising:

[0032] An NVUP file acquisition module, used to acquire an NVUP file, wherein the NVUP file is a file used to update configuration parameters;

[0033] An NVUP file parsing module, used to parse the NVUP file to obtain configuration information;

[0034] The configuration parameter updating module is used to update the configuration parameters in the communication module using the configuration information.

[0035] In a third aspect, the present application also provides a communication module, including:

[0036] Memory for storing computer programs;

[0037] A processor is used to implement the steps of any one of the configuration parameter updating methods described above when executing the computer program.

[0038] In a fourth aspect, the present application further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of any one of the configuration parameter updating methods described above are implemented.

[0039] A configuration parameter updating method provided in the present application includes obtaining an NVUP file, wherein the NVUP file is a file used to update configuration parameters; parsing the NVUP file to obtain configuration information; and using the configuration information to update the configuration information in the communication module.

[0040] It can be seen that the configuration parameter update method provided by the present application pre-builds an NVUP file (module configuration update file) containing the communication module configuration information, and sends it to the communication module, so that the communication module can parse the NVUP file to obtain the configuration information therein, and use the configuration information to update its own configuration parameters. Obviously, this implementation method gets rid of the dependence on the third-party tool chain, and can also be updated remotely, effectively reducing the update cost; and, the storage of batch configuration information can be realized through the configuration file (ie, NVUP file), thereby realizing a single multi-configuration of the communication module, greatly shortening the configuration time and further improving the update efficiency. It can be seen that this method realizes the communication module update with high timeliness and low cost.

[0041] The configuration parameter updating device, communication module and computer-readable storage medium provided in the present application all have the above-mentioned beneficial effects, which will not be elaborated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] In order to more clearly illustrate the technical solutions in the prior art and the embodiments of the present application, the drawings required for use in the description of the prior art and the embodiments of the present application are briefly introduced below. Of course, the drawings described below in relation to the embodiments of the present application are only part of the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without creative work, and the obtained other drawings also belong to the protection scope of the present application.

[0043] Figure 1 A flow chart of a configuration parameter updating method provided in this application;

[0044] Figure 2 A schematic diagram of the file structure of an NVUP file provided for this application;

[0045] Figure 3 A schematic diagram of the configuration item structure of an NVUP file provided for this application;

[0046] Figure 4 A schematic diagram of the structure of a communication module provided in this application;

[0047] Figure 5 A schematic diagram of a communication module configuration update process provided in this application;

[0048] Figure 6 A schematic diagram of the structure of a terminal device provided in this application;

[0049] Figure 7 A workflow diagram of an NVUP file generator provided for this application;

[0050] Figure 8 A workflow diagram of a communication module automatic update service provided in this application;

[0051] Fig. 9 A schematic diagram of the structure of a configuration parameter updating device provided in this application;

[0052] Fig.10 A schematic diagram of the structure of a communication module provided in this application. DETAILED DESCRIPTION

[0053] The core of this application is to provide a configuration parameter updating method, which realizes high-efficiency and low-cost communication module updating; another core of this application is to provide a configuration parameter updating device, a communication module and a computer-readable storage medium, all of which have the above-mentioned beneficial effects.

[0054] In order to describe the technical solutions in the embodiments of the present application more clearly and completely, the technical solutions in the embodiments of the present application will be introduced below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0055] An embodiment of the present application provides a method for updating configuration parameters.

[0056] Please refer to Figure 1 , Figure 1 A flow chart of a configuration parameter updating method provided in the present application is provided. The configuration parameter updating method is applied to a communication module and may include:

[0057] S101: Obtain an NVUP file, where the NVUP file is a file used to update configuration parameters;

[0058] This step aims to obtain the NVUP file, which is a file used to update the configuration parameters in the communication module, and contains the configuration information corresponding to various configuration parameters. Among them, the NVUP file is a file format, a type of archive with some additional functions, used for device configuration. Files in this format are usually used for one of the following two purposes:

[0059] (1) Update the device configuration by downloading the NVUP file built by an external tool (such as the configuration terminal mentioned above);

[0060] (2)Back up and restore device configuration from within the firmware.

[0061] On this basis, please refer to Figure 2 , Figure 2 A file structure diagram of an NVUP file provided in this application, specifically including an NV management header and various configuration items (Item 0 to Item N-1), wherein the NV management header includes the NVUP file version number, the total number of configuration items (N), the operator ID and the NV version.

[0062] Among them, the NVUP file can be constructed by the corresponding configuration terminal. Specifically, the configuration terminal can obtain various configuration information about the communication module, and then construct the NVUP file based on these configuration information. Thus, the communication module can obtain the NVUP file containing its own configuration information from the configuration terminal, so as to use the NVUP file to update its own configuration parameters. Of course, the configuration terminal is a terminal device for obtaining the configuration information of the communication module and constructing the NVUP file, such as a server, a computer, etc. Its specific type does not affect the implementation of the present technical solution, and this application does not limit this.

[0063] S102: Parse the NVUP file to obtain configuration information;

[0064] This step aims to implement the parsing of the NVUP file. As mentioned above, the NVUP file is constructed by the configuration terminal based on the configuration information of the communication module. Therefore, the NVUP file must contain various configuration information about the communication module. Therefore, after the communication module obtains the NVUP file from the configuration terminal, it can parse it to obtain various configuration information about itself. Among them, the file parsing process can refer to any one of the prior art, and this application will not go into details here.

[0065] The NVUP file contains various configuration information about the communication module. This configuration information is the configuration information of various configuration items in the communication module. For further information, please refer to Figure 3 , Figure 3 A schematic diagram of the configuration item structure of an NVUP file provided for this application.

[0066] S103: Using the configuration information to update the configuration parameters in the communication module.

[0067] This step is to update the communication module. Specifically, after parsing the configuration information about itself from the NVUP file, it can use this configuration information to update its own configuration parameters, that is, fill various configuration information into the corresponding storage path, thereby completing the communication module update.

[0068] It can be seen that the configuration parameter update method provided by the present application pre-builds an NVUP file (module configuration update file) containing the communication module configuration information, and sends it to the communication module, so that the communication module can parse the NVUP file to obtain the configuration information therein, and use the configuration information to update its own configuration parameters. Obviously, this implementation method gets rid of the dependence on the third-party tool chain, and can also be updated remotely, effectively reducing the update cost; and, the storage of batch configuration information can be realized through the configuration file (ie, NVUP file), thereby realizing a single multi-configuration of the communication module, greatly shortening the configuration time and further improving the update efficiency. It can be seen that this method realizes the communication module update with high timeliness and low cost.

[0069] In one embodiment of the present application, the above-mentioned acquisition of the NVUP file constructed by the configuration terminal may include: obtaining the NVUP file by downloading from the configuration terminal through OTA technology (Over-the-Air Technology) or USB interface (Universal Serial Bus).

[0070] The embodiment of the present application provides a method for obtaining NVUP files from a configuration terminal, that is, technicians can choose to use OTA technology or USB interface to download NVUP files from the configuration terminal according to actual conditions. Among them, OTA is a technology for remotely managing SIM (Subscriber Identity Module) card data and applications through the air interface of mobile communications.

[0071] In one embodiment of the present application, the above-mentioned updating of configuration parameters in the communication module using configuration information may include: updating an NV file in the communication module using the configuration information; wherein the NV file includes the configuration parameters of the communication module.

[0072] The embodiment of the present application provides a method for implementing the communication module update using configuration information. As described above, each configuration parameter in the communication module is stored in the form of an independent file (NV file). Therefore, when the configuration parameters are updated based on the configuration information, various types of configuration information can be updated one by one to the corresponding NV file, so as to realize the update of the NV file in the communication module, thereby realizing the update of the configuration parameters.

[0073] In one embodiment of the present application, before the above-mentioned use of configuration information to update the configuration parameters in the communication module, it may also include: obtaining version information from the configuration information; judging whether the NVUP file is compatible with the communication module based on the version information; if not, deleting the NVUP file; if so, executing the step of updating the configuration parameters in the communication module using the configuration information.

[0074] The configuration parameter updating method provided in the embodiment of the present application can also realize the NVUP file verification function. Specifically, in order to effectively improve the success rate of the communication module update, after parsing the configuration information from the NVUP file, before using the configuration information to update the configuration parameters, the version information (version information is a type of configuration information) can be first screened from the configuration information to determine whether the current NVUP file is adapted to its own software environment according to the version information. If it is adapted, the configuration information can be used to update its own configuration parameters. If it is not adapted, the NVUP file can be deleted and the update process can be exited. When the NVUP file adapted to itself is obtained, the configuration parameters are updated, thereby realizing the communication module update.

[0075] In one embodiment of the present application, the above-mentioned parsing of the NVUP file to obtain configuration information may also include: storing the NVUP file in a preset storage area; when a power-on signal is received, retrieving the NVUP file from the preset storage area to the memory.

[0076] The configuration parameter updating method provided in the embodiment of the present application can also realize the NVUP file storage function, so as to perform the communication module update operation when the communication module is started. Specifically, a storage area, that is, the above-mentioned preset storage area, can be created in the communication module in advance, so that after the NVUP file is downloaded from the configuration terminal, it can be stored in the preset storage area. Furthermore, when the communication module receives a power-on signal for self-starting, the NVUP file can be retrieved from the preset storage area to its own memory, and then the NVUP file in the memory is used to update its own configuration parameters.

[0077] Among them, the specific type of the preset storage area does not affect the implementation of the present technical solution. It can realize the storage of NVUP files. This application does not limit this. For example, you can choose to use Flash memory.

[0078] In one embodiment of the present application, after the above-mentioned calling the NVUP file from the preset storage area to the memory, it can also include: blocking the system startup process; accordingly, after the above-mentioned using the configuration information to update the configuration information in the communication module, it can also include: restarting the system startup process.

[0079] As described above, the NVUP file can be stored in a preset storage area so that the communication module update operation can be performed when the communication module is started. Based on this, the communication module self-start process can be blocked in the configuration information update process, so that the communication module can self-start after completing the configuration parameter update. Specifically, after retrieving the NVUP file from the preset storage area to the memory, the system startup process can be blocked first to prevent the communication module from starting, and then the NVUP file in the memory can be used to update its own configuration parameters; further, after completing the configuration parameter update, the system startup process can be restarted to restart the communication module so that the configuration information in the NVUP file takes effect.

[0080] In one embodiment of the present application, after the configuration parameters in the communication module are updated using the configuration information, the process may also include: deleting the NVUP file.

[0081] The configuration parameter updating method provided in the embodiment of the present application can also realize the NVUP file deletion function to effectively save storage space and avoid unnecessary waste of storage space, while also facilitating the provision of storage space for subsequent new NVUP files. Specifically, after the configuration parameter update is completed using the configuration information, that is, after the update process of the communication module is completed, the configuration information in the NVUP file is no longer used. At this time, the NVUP file can be directly deleted.

[0082] Based on the above embodiments:

[0083] Please refer to Figure 4 , Figure 4 A schematic diagram of the structure of a communication module provided in this application, the communication module may include the following parts:

[0084] (1) Memory: used to store NVUP files obtained from the configuration terminal;

[0085] (2) NVUP file parsing module: used to parse the NVUP file in the memory and obtain the configuration information therein;

[0086] (3) NVUP file management module: used to download, store, retrieve, verify, and delete NVUP files;

[0087] (4) NV configuration execution module: used to update its own NV file using configuration information to achieve communication module update;

[0088] (5) Operation command execution module: used to implement operations such as blocking, restarting, and actual operation after restarting the communication module startup process.

[0089] based on Figure 4For the communication module shown, please refer to Figure 5 , Figure 5 A schematic diagram of a communication module configuration update process provided in this application, the specific implementation process may include:

[0090] (1) Create a task called NVUP in the firmware of the communication module;

[0091] (2) When the communication module is powered on and initialized, the NVUP task checks whether there is an NVUP file in the NANF Flash. If so, the NVUP file is read into the memory and the system startup process is blocked;

[0092] (3) The NVUP task parses the NVUP file and determines whether the NVUP file is applicable to the current software environment of the communication module based on the version information in the NVUP file. If it does not match, the NVUP file is deleted, the configuration update process is exited and the system startup process is continued. If it matches, it enters (4);

[0093] (4) The NVUP task cyclically parses the configuration item information in the NVUP file and updates the NV files one by one using the new configuration information;

[0094] (5) After all configuration information is processed, the NVUP file is deleted from the NAND Flash and the system is restarted to make the new configuration information take effect.

[0095] As described above, the NVUP file can be constructed by the corresponding configuration terminal. On this basis, in one embodiment of the present application, the implementation process of the configuration terminal constructing the NVUP file may include: obtaining configuration information and recording the configuration information to an EXCEL file; and using the EXCEL file to construct the NVUP file.

[0096] Specifically, the technician can set various configuration information on the terminal device (i.e., the above-mentioned configuration terminal) according to actual needs, and save and manage it using an EXCEL file. The EXCEL file can specifically include the following content:

[0097] (1) Version number information of the configuration file;

[0098] (2) Version number information of the applicable communication module firmware;

[0099] (3) Information about each configuration item.

[0100] Among them, for the configuration item information, each configuration item can be classified according to its purpose, and then the corresponding configuration information can be stored in different forms. For example, please refer to Table 1, which is a configuration information table provided by this application:

[0101] Table 1 A configuration information table

[0102] category Configuration Description value Path Name operate

[0103] Among them, the category is used to describe the function of the configuration item, such as GPS (Global Positioning System), TLE (Time Limit Exceeded), SMS (Subscriber Manage System), etc.; the configuration description is used to describe the purpose of the configuration item; the value identifies the value required to be configured for the configuration item; the path name is used to describe the file path of the configuration item in the EFS file system (which may include the file name); the operation refers to the operation that needs to be performed on the configuration item (which may include no operation, delete, write, backup, etc.).

[0104] Furthermore, after obtaining the EXCEL file, the terminal device can construct an NVUP file based on the EXCEL file, and this process can be implemented using the NVUP file generator. In the specific implementation process, the NVUP generator reads and parses the EXCEL file, and then fills the parsed data in the EXCEL file into the NVUP file according to the NVUP file format, and finally outputs the NVUP file, thereby obtaining the NVUP file for updating the communication module.

[0105] Based on this example:

[0106] Please refer to Figure 6 , Figure 6 This is a schematic diagram of the structure of a terminal device provided in this application, and the terminal device may include the following parts:

[0107] (1) Configuration file in EXCEL format: used to store information of various configuration items;

[0108] (2) NVUP file generator: used to construct NVUP files using EXCEL files;

[0109] (4) NVUP format file: used to update the communication module.

[0110] based on Figure 6 For terminal devices shown, please refer to Figure 7 , Figure 7 The workflow diagram of an NVUP file generator provided in this application may include:

[0111] (1) Read the configuration file in EXCEL format;

[0112] (2) Parse the configuration file content;

[0113] (3) Fill the parsed data into the corresponding position according to the NVUP file format;

[0114] (4) Output and save the NVUP file.

[0115] Based on the above embodiments:

[0116] Please refer to Figure 8 , Figure 8 This is a workflow diagram of a communication module automatic update service provided in this application. The service process mainly includes:

[0117] (1) Module configuration management: After collecting and obtaining configuration information according to configuration requirements, the configuration information is recorded in an EXCEL format file to form a configuration form; then the NVUP file generator is used to process the information to generate an NVUP file.

[0118] (2) Module factory deployment: The NVUP file is deployed in the generated configuration computer. When the communication module (such as the cellular module shown in the figure) needs to be updated, the NVUP file is downloaded from the generated configuration computer through the USB interface, and the NVUP file is automatically updated based on the NVUP file.

[0119] (3) Commercial deployment: The NVUP file is deployed in the configuration deployment server. When the communication module in the actual device (such as the vehicle shown in the figure) needs to be updated, the NVUP file can be wirelessly downloaded from the configuration deployment server through the cellular base station and automatically updated based on the NVUP file.

[0120] This application also provides a configuration parameter update device, please refer to Fig. 9 , Fig. 9 This is a structural diagram of a configuration parameter updating device provided in the present application. The configuration parameter updating device is applied to a communication module and may include:

[0121] NVUP file acquisition module 1, used to acquire NVUP file, NVUP file is a file used to update configuration parameters;

[0122] NVUP file parsing module 2, used to parse the NVUP file to obtain configuration information;

[0123] The configuration parameter updating module 3 is used to update the configuration parameters in the communication module using the configuration information.

[0124] It can be seen that the configuration parameter updating device provided in the embodiment of the present application pre-constructs an NVUP file (module configuration update file) containing the configuration information of the communication module, and sends it to the communication module, so that the communication module can obtain the configuration information therein by parsing the NVUP file, and use the configuration information to update its own configuration parameters. Obviously, this implementation method gets rid of the dependence on the third-party tool chain, and can also perform remote updates, effectively reducing the update cost; and, the storage of batch configuration information can be realized through the configuration file (i.e., NVUP file), thereby realizing a single multi-configuration of the communication module, greatly shortening the configuration time and further improving the update efficiency. It can be seen that this method realizes the communication module update with high timeliness and low cost.

[0125] In one embodiment of the present application, the above-mentioned NVUP file acquisition module 1 can be specifically used to download and obtain the NVUP file from the configuration terminal through OTA technology or a USB interface.

[0126] In one embodiment of the present application, the communication module update module 3 can be specifically used to update the NV file in the communication module using the configuration information; wherein the NV file includes the configuration parameters of the communication module.

[0127] In one embodiment of the present application, the configuration parameter updating device may further include a verification module for obtaining version information from the configuration information before updating the configuration parameters in the communication module using the configuration information; determining whether the NVUP file is compatible with the communication module based on the version information; if not, deleting the NVUP file; if so, executing the step of updating the configuration parameters in the communication module using the configuration information.

[0128] In one embodiment of the present application, the configuration parameter updating device may also include an NVUP file storage module, which is used to store the NVUP file in a preset storage area before parsing the NVUP file and obtaining the configuration information; when a power-on signal is received, the NVUP file is retrieved from the preset storage area to the memory.

[0129] In one embodiment of the present application, the configuration parameter updating device may further include a process blocking module, which is used to block the system startup process after the NVUP file is called from the preset storage area to the memory; accordingly, the configuration parameter updating device may further include a system restart module, which is used to restart the system startup process after the configuration parameters in the communication module are updated using the configuration information.

[0130] In one embodiment of the present application, the configuration parameter updating device may further include an NVUP file deletion module for deleting the NVUP file after the configuration parameters in the communication module are updated using the configuration information.

[0131] For an introduction to the device provided in this application, please refer to the above method embodiment, and this application will not go into details here.

[0132] This application also provides a communication module, please refer to Fig.10 , Fig.10 A schematic diagram of the structure of a communication module provided in this application, the communication module may include:

[0133] Memory for storing computer programs;

[0134] A processor, when used to execute a computer program, can implement the steps of any one of the above configuration parameter updating methods.

[0135] like Fig.10 , which is a schematic diagram of the structure of the communication module, the communication module may include: a processor 10, a memory 11, a communication interface 12 and a communication bus 13. The processor 10, the memory 11, and the communication interface 12 all communicate with each other through the communication bus 13.

[0136] In the embodiment of the present application, the processor 10 may be a central processing unit (CPU), an application specific integrated circuit, a digital signal processor, a field programmable gate array or other programmable logic devices, etc.

[0137] The processor 10 may call a program stored in the memory 11. Specifically, the processor 10 may execute operations in an embodiment of the configuration parameter updating method.

[0138] The memory 11 is used to store one or more programs, which may include program codes, and the program codes include computer operation instructions. In the embodiment of the present application, the memory 11 at least stores programs for implementing the following functions:

[0139] Get the NVUP file, which is a file used to update configuration parameters;

[0140] Parse the NVUP file to obtain configuration information;

[0141] Use the configuration information to update the configuration parameters in the communication module.

[0142] In a possible implementation, the memory 11 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application required for at least one function, etc.; the data storage area may store data created during use.

[0143] In addition, the memory 11 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device or other volatile solid-state storage device.

[0144] The communication interface 12 may be an interface of a communication module, and is used to connect to other devices or systems.

[0145] Of course, it should be noted that Fig.10 The structure shown does not constitute a limitation on the communication module in the embodiment of the present application. In actual applications, the communication module may include Fig.10 More or fewer components than shown, or combinations of certain components.

[0146] The present application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of any of the above-mentioned configuration parameter updating methods can be implemented.

[0147] The computer-readable storage medium may include: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes.

[0148] For an introduction to the computer-readable storage medium provided in this application, please refer to the above method embodiment, and this application will not go into details here.

[0149] The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part description.

[0150] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0151] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

[0152] The technical solution provided by the present application is described in detail above. The principle and implementation method of the present application are described in detail using specific examples herein, and the description of the above embodiments is only used to help understand the method and core idea of ​​the present application. It should be pointed out that for ordinary technicians in this technical field, without departing from the principle of the present application, several improvements and modifications can be made to the present application, and these improvements and modifications also fall within the scope of protection of the present application.

Claims

1. A configuration parameter updating method, characterized in that: Applied to communication modules, including: Obtain an NVUP file, wherein the NVUP file is a file for updating configuration parameters; wherein the NVUP file includes an NV management header and various configuration items, wherein the NV management header includes an NVUP file version number, a total number of configuration items, an operator ID, and an NV version; and each of the configuration items includes configuration information of a corresponding configuration parameter; Parse the NVUP file to obtain configuration information; The configuration parameters in the communication module are updated using the configuration information.

2. The configuration parameter updating method according to claim 1, characterized in that: The obtaining of the NVUP file includes: The NVUP file is obtained by downloading from the configuration terminal through OTA technology or USB interface.

3. The configuration parameter updating method according to claim 1, characterized in that: The updating of the configuration parameters in the communication module by using the configuration information includes: The NV file in the communication module is updated using the configuration information; wherein the NV file includes the configuration parameters of the communication module.

4. The configuration parameter updating method according to any one of claims 1 to 3, characterized in that: Before the configuration parameters in the communication module are updated using the configuration information, the method further includes: Obtaining version information from the configuration information; Determining whether the NVUP file is compatible with the communication module according to the version information; If not, delete the NVUP file; If so, the step of updating the configuration parameters in the communication module using the configuration information is executed.

5. The configuration parameter updating method according to claim 1, characterized in that: Before parsing the NVUP file to obtain configuration information, the method further includes: Storing the NVUP file in a preset storage area; When a power-on signal is received, the NVUP file is retrieved from the preset storage area to the memory.

6. The configuration parameter updating method according to claim 5, characterized in that: After the NVUP file is retrieved from the preset storage area to the memory, the method further includes: Block the system startup process; Correspondingly, after the communication module is updated using the configuration information, the method further includes: Restart the system boot process.

7. The configuration parameter updating method according to claim 1, characterized in that: After the configuration parameters in the communication module are updated using the configuration information, the method further includes: Delete the NVUP file.

8. A configuration parameter updating device, characterized in that: Applied to communication modules, including: An NVUP file acquisition module, used to acquire an NVUP file, wherein the NVUP file is a file used to update configuration parameters; wherein the NVUP file includes an NV management header and various configuration items, wherein the NV management header includes an NVUP file version number, a total number of configuration items, an operator ID, and an NV version; and each of the configuration items includes configuration information of a corresponding configuration parameter; An NVUP file parsing module, used to parse the NVUP file to obtain configuration information; The configuration parameter updating module is used to update the configuration parameters in the communication module using the configuration information.

9. A communication module, characterized in that: include: Memory for storing computer programs; A processor, configured to implement the steps of the configuration parameter updating method according to any one of claims 1 to 7 when executing the computer program.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the configuration parameter updating method according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Parameter processing method and terminal

    CN105743698A