WO2023116104A1 - Configuration parameter updating method and apparatus, and related device - Google Patents
Configuration parameter updating method and apparatus, and related device Download PDFInfo
- Publication number
- WO2023116104A1 WO2023116104A1 PCT/CN2022/121952 CN2022121952W WO2023116104A1 WO 2023116104 A1 WO2023116104 A1 WO 2023116104A1 CN 2022121952 W CN2022121952 W CN 2022121952W WO 2023116104 A1 WO2023116104 A1 WO 2023116104A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- file
- configuration
- nvup
- communication module
- updating
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 81
- 238000004891 communication Methods 0.000 claims abstract description 139
- 230000008569 process Effects 0.000 claims description 30
- 238000004590 computer program Methods 0.000 claims description 12
- 238000005516 engineering process Methods 0.000 claims description 9
- 238000004458 analytical method Methods 0.000 claims description 3
- 230000009286 beneficial effect Effects 0.000 abstract description 4
- 238000010586 diagram Methods 0.000 description 18
- 230000006870 function Effects 0.000 description 10
- 238000007726 management method Methods 0.000 description 6
- 230000001413 cellular effect Effects 0.000 description 4
- 238000004519 manufacturing process Methods 0.000 description 4
- 230000000903 blocking effect Effects 0.000 description 3
- 238000013500 data storage Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 238000012795 verification Methods 0.000 description 2
- 238000013475 authorization Methods 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000008676 import Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/02—Arrangements for optimising operational condition
Definitions
- the present application relates to the technical field of communication, and in particular to a configuration parameter updating method, device, communication module and computer-readable storage medium.
- the current communication module based on the Qualcomm chip platform uses the EFS file system (Encrypting File System, encrypted file system) to store the configuration parameters of the module, and each configuration parameter is stored in an independent file (NV file, non-volatile configuration item file)
- EFS file system Encrypting File System, encrypted file system
- NV file non-volatile configuration item file
- the form is stored in the EFS file system, and it needs to rely on Qualcomm tools or related AT (Attention) commands to modify the configuration.
- the present application provides a method for updating configuration parameters, which is applied to a communication module, including:
- the NVUP file is a file used to update configuration parameters
- the configuration parameters in the communication module are updated by using the configuration information.
- said obtaining the NVUP file constructed by the configuration terminal includes:
- the NVUP file is obtained by downloading from the configuration terminal through OTA technology or a USB interface.
- updating the configuration parameters in the communication module by using the configuration information includes:
- the NV file includes configuration parameters of the communication module.
- the configuration information before using the configuration information to update the configuration parameters in the communication module, it further includes:
- the parsing of the NVUP file, before obtaining the configuration information further includes:
- the NVUP file is transferred from the preset storage area to the internal memory.
- the NVUP file after calling the NVUP file from the preset storage area to the internal memory, it also includes:
- the configuration information after updating the configuration parameters in the communication module by using the configuration information, it further includes:
- the method further includes:
- the present application also provides a device for updating configuration parameters, which is applied to communication modules, including:
- the NVUP file obtaining module is used to obtain the NVUP file, and the NVUP file is a file for updating configuration parameters;
- the NVUP file analysis module is used to analyze the NVUP file to obtain configuration information
- a configuration parameter update module configured to use the configuration information to update the configuration parameters in the communication module.
- the present application also provides a communication module, including:
- a processor configured to implement the steps of any configuration parameter updating method described above when executing the computer program.
- the present application also provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, any configuration parameter update as described above is implemented. method steps.
- a method for updating configuration parameters provided by the present application includes obtaining an NVUP file, the NVUP file is a file used to update configuration parameters; parsing the NVUP file to obtain configuration information; using the configuration information to The configuration information in the communication module is updated.
- the configuration parameter update method pre-constructs the NVUP file (module configuration update file) containing the configuration information of the communication module and sends it to the communication module.
- the NVUP file is parsed to obtain the configuration information therein, and the configuration information is used to update its own configuration parameters.
- 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, through the configuration file (ie NVUP file), the storage of batch configuration information can be realized, and then the communication can be realized.
- Single multiple configuration of the module greatly shortens the configuration time and further improves the update efficiency. It can be seen that this method realizes the update of the communication module with high time efficiency and low cost.
- the configuration parameter updating device, the communication module and the computer-readable storage medium provided in the present application all have the above-mentioned beneficial effects, and will not be repeated here.
- FIG. 1 is a schematic flow diagram of a method for updating configuration parameters provided by the present application
- Fig. 2 is the file structure schematic diagram of a kind of NVUP file provided by the present application
- Fig. 3 is a schematic diagram of the configuration item structure of a kind of NVUP file provided by the present application.
- FIG. 4 is a schematic structural diagram of a communication module provided by the present application.
- FIG. 5 is a schematic diagram of a communication module configuration update process provided by the present application.
- FIG. 6 is a schematic structural diagram of a terminal device provided by the present application.
- Fig. 7 is the workflow diagram of a kind of NVUP file generator provided by the application.
- Fig. 8 is a working flow chart of a communication module automatic update service provided by the present application.
- FIG. 9 is a schematic structural diagram of a device for updating configuration parameters provided by the present application.
- FIG. 10 is a schematic structural diagram of a communication module provided by the present application.
- the core of this application is to provide a configuration parameter update method, which realizes high time-efficiency and low-cost communication module update; another core of this application is to provide a configuration parameter update device, communication module and Computer-readable storage media all have the above-mentioned beneficial effects.
- the embodiment of the present application provides a method for updating configuration parameters.
- Figure 1 is a schematic flowchart of a configuration parameter update method provided in this application.
- the configuration parameter update method is applied to a communication module and may include:
- NVUP file is a file used to update the configuration parameters in the communication module, which contains configuration information corresponding to various configuration parameters.
- NVUP file is a file format, which is an archive type with some additional functions, and is used for device configuration. Files in this format are typically used for one of two purposes:
- Fig. 2 is a schematic diagram of the file structure of a kind of NVUP file provided by this application, specifically including NV management header and each configuration item (Item 0 to Item N-1), wherein, NV management The header includes NVUP file version number, total number of configuration items (N), operator ID and NV version.
- the NVUP file can be obtained by constructing the corresponding configuration terminal.
- the configuration terminal can obtain various configuration information about the communication module, and then build an NVUP file based on the configuration information.
- the communication module can obtain the NVUP file containing configuration information about itself from the configuration terminal, so as to update its own configuration parameters by using the NVUP file.
- the configuration terminal is a terminal device for obtaining communication module configuration information and constructing an NVUP file, such as a server, a computer, etc., and its specific type does not affect the implementation of the technical solution, and the application does not limit this.
- This step aims to realize the parsing of NVUP files.
- 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 , you can parse it to obtain various configuration information about itself.
- the file parsing process can refer to any one of the prior art, and the present application will not repeat it here.
- the NVUP file contains various configuration information about the communication module.
- the configuration information is the configuration information of various configuration items in the communication module. Further, please refer to Figure 3, which is a kind of NVUP provided by this application Schematic diagram of the configuration item structure of the file.
- This step is to update the communication module. Specifically, after analyzing and obtaining the configuration information about itself from the NVUP file, you can use the configuration information to update your own configuration parameters, that is, to fill in various configuration information under the corresponding storage path, thus completing Communication module update.
- the configuration parameter update method pre-constructs the NVUP file (module configuration update file) containing the configuration information of the communication module and sends it to the communication module.
- the NVUP file is parsed to obtain the configuration information therein, and the configuration information is used to update its own configuration parameters.
- 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, through the configuration file (ie NVUP file), the storage of batch configuration information can be realized, and then the communication can be realized.
- Single multiple configuration of the module greatly shortens the configuration time and further improves the update efficiency. It can be seen that this method realizes the update of the communication module with high time efficiency and low cost.
- the above-mentioned acquisition of the NVUP file constructed by the configuration terminal may include: OTA technology (Over-the-Air Technology, over-the-air download technology) or USB interface (Universal Serial Bus, Universal Serial Bus interface) Download the NVUP file from the configuration terminal.
- OTA technology Over-the-Air Technology, over-the-air download technology
- USB interface Universal Serial Bus, Universal Serial Bus interface
- the embodiment of this application provides an implementation method for obtaining NVUP files from the configuration terminal, that is, technicians can choose to use OTA technology or USB interface to download and obtain NVUP files from the configuration terminal according to the actual situation.
- OTA is a technology for remote management of SIM (Subscriber Identity Module, customer identification module) card data and applications through the air interface of mobile communication.
- updating the configuration parameters in the communication module by using the configuration information above may include: updating the NV file in the communication module by using the configuration information; wherein, the NV file includes the communication module Configuration parameters for the group.
- the embodiment of the present application provides an implementation method for updating a communication module by using configuration information.
- each configuration parameter in the communication module is stored in the form of an independent file (NV file). Therefore, when updating configuration parameters based on configuration information, various configuration information can be updated one by one to the corresponding In the NV file, the update of the NV file in the communication module is realized, thereby, the update of the configuration parameters is realized.
- NV file independent file
- the configuration information before updating the configuration parameters in the communication module by using the configuration information, it may also include: obtaining version information from the configuration information; judging whether the NVUP file is suitable for the communication module according to the version information; If not, delete the NVUP file; if yes, perform the step of updating the configuration parameters in the communication module by using the configuration information.
- the configuration parameter update method provided by the embodiment of the present application can also realize the NVUP file verification function. Specifically, in order to effectively improve the success rate of communication module updates, after obtaining the configuration information from the NVUP file and before using the configuration information to update the configuration parameters, the version information can be screened and determined from the configuration information (the version information is the configuration information), and then judge whether the current NVUP file is suitable for its own software environment according to the version information. If it is suitable, it can use the configuration information to update its own configuration parameters. If it is not suitable, it can be deleted. NVUP file, and exit the update process. When the NVUP file adapted to itself is obtained, the configuration parameters are updated to realize the update of the communication module.
- NVUP file before parsing the NVUP file and obtaining configuration information, it may also include: storing the NVUP file in a preset storage area; when receiving a power-on signal, calling NVUP files to memory.
- the configuration parameter update method provided by the embodiment of the present application can also implement the NVUP file storage function, so as to execute the update operation of the communication module when the communication module is started.
- a storage area ie, the above-mentioned preset storage area, can be created in advance in the communication module, so that after the NVUP file is downloaded from the configuration terminal, it can be stored in the preset storage area.
- the communication module receives a power-on signal for self-starting, it can transfer the NVUP file from the preset storage area to its own memory, and then use the NVUP file in the memory to update its own configuration parameters.
- the specific type of the preset storage area does not affect the implementation of the technical solution, as long as the storage of the NVUP file can be realized, which is not limited in the present application, for example, Flash flash memory can be selected to be used.
- the NVUP file after the above-mentioned transfer of the NVUP file from the preset storage area to the internal memory, it may also include: blocking the system startup process; , may also include: restarting the system startup process.
- the NVUP file can be stored in the preset storage area so that the communication module update operation can be performed when the communication module is started. Based on this, the self-starting process of the communication module can be blocked during the configuration information update process. , so that the communication module will start automatically after updating the configuration parameters. Specifically, after the NVUP file is transferred 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 is used to update its own configuration parameters; further, in After updating the configuration parameters, you can restart the system startup process to restart the communication module and make the configuration information in the NVUP file take effect.
- after updating the configuration parameters in the communication module by using the configuration information it may further include: deleting the NVUP file.
- the configuration parameter update method provided by the embodiment of the present application can also realize the function of deleting NVUP files, so as to effectively save storage space, avoid unnecessary waste of storage space, and facilitate the provision of storage space for subsequent new NVUP files. Specifically, after the configuration parameters are updated 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 deleted directly.
- Figure 4 is a schematic structural diagram of a communication module provided by this application, the communication module may include the following parts:
- NVUP file parsing module used for parsing the NVUP file in the memory to obtain configuration information therein;
- NVUP file management module used for downloading, storing, retrieving, verifying, deleting and other operations on NVUP files
- NV configuration execution module used to update its own NV file by using configuration information, so as to realize communication module update;
- Operation command execution module used to implement operations such as communication module startup process blocking, restart, and actual operation after restart.
- Figure 5 is a schematic diagram of a communication module configuration update process provided by this application, and its specific implementation process may include:
- the NVUP task checks whether there is an NVUP file in the NANF Flash, and if so, reads the NVUP file into the memory and blocks the system startup process;
- the NVUP task analyzes the NVUP file, and judges whether the NVUP file is applicable to the current software environment of the communication module according to the version information in the NVUP file. If it does not match, delete the NVUP file, exit the configuration update process and Continue to execute the system startup process; if it matches, enter (4);
- the NVUP task cyclically parses the configuration item information in the NVUP file, and updates the NV file one by one with the new configuration information;
- the NVUP file can be constructed and obtained by the corresponding configuration terminal.
- the implementation process of configuring the NVUP file by the configuration terminal may include: obtaining configuration information, and recording the configuration information to EXCEL file; use EXCEL file to construct NVUP file.
- the EXCEL file can specifically contain the following content:
- configuration item information you can first classify each configuration item according to its purpose, and then store the corresponding configuration information in different forms.
- Table 1 is a configuration provided by this application Information Sheet:
- Table 1 A configuration information table
- the category is used to describe the function of the configuration item, such as GPS (Global Positioning System, Global Positioning System), TLE (Time Limit Exceeded, time exceeded), SMS (Subscriber Manage System, user management system), etc.; configuration description It is used to describe the purpose of the configuration item; the value identifies the value of the configuration required by the configuration item; the path name is used to describe the file path (can include the file name) of the configuration item in the EFS file system; the operation refers to the configuration that needs to be configured The operation performed by the item (may include no operation, delete, write, backup, etc.).
- the terminal device can construct and obtain the NVUP file based on the EXCEL file, and this process can be realized by using the NVUP file generator.
- the NVUP generator reads and parses the EXCEL file, 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. Update the NVUP file of the communication module.
- FIG. 6 is a schematic structural diagram of a terminal device provided in this application.
- the terminal device may include the following parts:
- Configuration file in EXCEL format used to store the information of each configuration item
- NVUP file generator used to utilize EXCEL files to construct NVUP files
- NVUP format file used to update the communication module.
- Figure 7 is a work flow diagram of a NVUP file generator provided by the present application, and its specific implementation process may include:
- Fig. 8 is a working flow chart of a kind of communication module automatic update business provided by the present application, and this business process mainly includes:
- Module configuration management After collecting the configuration information according to the configuration requirements, record the configuration information to an EXCEL format file to form a configuration form; then use the NVUP file generator to process it to generate an NVUP file.
- Module factory deployment Deploy the NVUP file on the generation configuration computer.
- the communication module the cellular module as shown in the figure
- the present application also provides a configuration parameter updating device, please refer to FIG. 9, which is a schematic 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:
- the NVUP file acquisition module 1 is used to acquire the NVUP file, and the NVUP file is a file used to update configuration parameters;
- the NVUP file parsing module 2 is used for parsing the NVUP file to obtain configuration information
- the configuration parameter update module 3 is used to update the configuration parameters in the communication module by using the configuration information.
- the configuration parameter update device pre-constructs the NVUP file (module configuration update file) containing the configuration information of the communication module and sends it to the communication module.
- the communication module can The configuration information is obtained by parsing the NVUP file, and the configuration information is used to update its own configuration parameters.
- 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, through the configuration file (ie NVUP file), the storage of batch configuration information can be realized, and then the communication can be realized.
- Single multiple configuration of the module greatly shortens the configuration time and further improves the update efficiency. It can be seen that this method realizes the update of the communication module with high time efficiency and low cost.
- the above-mentioned NVUP file acquisition module 1 may be specifically configured to download and obtain the NVUP file from the configuration terminal through OTA technology or a USB interface.
- the above-mentioned communication module update module 3 may be specifically configured to use configuration information to update the NV file in the communication module; wherein, the NV file includes configuration parameters of the communication module.
- the device for updating configuration parameters may also include a verification module, which is used to obtain version information from configuration information before updating the configuration parameters in the communication module using configuration information; information to judge whether the NVUP file is suitable for the communication module; if not, delete the NVUP file; if yes, execute the step of updating the configuration parameters in the communication module by using the configuration information.
- a verification module which is used to obtain version information from configuration information before updating the configuration parameters in the communication module using configuration information
- information to judge whether the NVUP file is suitable for the communication module if not, delete the NVUP file; if yes, execute the step of updating the configuration parameters in the communication module by using the configuration information.
- the device for updating configuration parameters 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 configuration information; When the signal is powered on, the NVUP file is called from the preset storage area to the internal memory.
- 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 configuration information; When the signal is powered on, the NVUP file is called from the preset storage area to the internal memory.
- the device for updating configuration parameters may also include a process blocking module, which is used to block the system startup process after the NVUP file is transferred from the preset storage area to the memory; correspondingly, the configuration parameter update
- the device may also include a system restart module, configured to restart the system startup process after the configuration parameters in the communication module are updated using the configuration information.
- the device for updating configuration parameters may further include an NVUP file deletion module, configured to delete the NVUP file after the configuration parameters in the communication module are updated using configuration information.
- Figure 10 is a schematic structural diagram of a communication module provided by this application, the communication module may include:
- the processor is configured to implement the steps of any configuration parameter updating method as described above when executing the computer program.
- 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 .
- the processor 10 may be a central processing unit (Central Processing Unit, CPU), an application-specific integrated circuit, a digital signal processor, a field programmable gate array, or other programmable logic devices.
- CPU Central Processing Unit
- application-specific integrated circuit e.g., an application-specific integrated circuit
- digital signal processor e.g., a digital signal processor
- field programmable gate array e.g., a field programmable gate array
- the processor 10 may call the program stored in the memory 11, specifically, the processor 10 may execute the operations in the embodiment of the method for updating configuration parameters.
- the memory 11 is used to store one or more programs.
- the programs may include program codes, and the program codes include computer operation instructions.
- the memory 11 stores at least programs for realizing the following functions:
- the NVUP file is a file used to update the configuration parameters
- the configuration parameters in the communication module are updated by using the configuration information.
- 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 at least one application program required by a function; the data storage area may store The data created.
- the memory 11 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device or other volatile solid-state storage devices.
- the communication interface 12 may be an interface of a communication module, and is used for connecting with other devices or systems.
- FIG. 10 does not constitute a limitation on the communication module in the embodiment of the present application.
- the communication module may include more or less components than those shown in FIG. 10 . Or combine certain parts.
- the present application also 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 can be realized.
- the computer-readable storage medium may include: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc., which can store program codes. medium.
- each embodiment in the description is described in a progressive manner, each embodiment focuses on the difference from other embodiments, and the same and similar parts of each embodiment can be referred to each other.
- the description is relatively simple, and for relevant details, please refer to the description of the method part.
- the steps of the methods or algorithms described in connection with the embodiments disclosed herein may be directly implemented by hardware, software modules executed by a processor, or a combination of both.
- the software module can be placed in random access memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM or known in the technical field in any other form of storage medium.
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
- Stored Programmes (AREA)
Abstract
A configuration parameter updating method, applied to a communication module and comprising: obtaining an NVUP file, the NVUP file being a file used for updating configuration parameters; parsing the NVUP file to obtain configuration information; and updating the configuration parameters in the communication module by using the configuration information. By using the technical solution, batch configuration information is stored by means of a configuration file (i.e., an NVUP file), such that configuration of multiple items in one time for the communication module can be achieved, the configuration time is greatly shortened, and the updating efficiency is further improved; moreover, the implementation does not rely on a third-party tool chain and can further achieve remote updating, such that the updating cost is effectively reduced, that is, high-efficiency and low-cost communication module updating is achieved. A configuration parameter updating apparatus, a communication module, and a computer readable storage medium all have said beneficial effects.
Description
本申请要求于2021年12月23日提交中国专利局、申请号为202111594069.8、发明名称为“一种配置参数更新方法、装置及相关设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the application number 202111594069.8 and the title of the invention "a configuration parameter update method, device and related equipment" submitted to the China Patent Office on December 23, 2021, the entire contents of which are incorporated by reference in this application.
本申请涉及通信技术领域,特别涉及一种配置参数更新方法、装置、通讯模组及计算机可读存储介质。The present application relates to the technical field of communication, and in particular to a configuration parameter updating method, device, communication module and computer-readable storage medium.
随着蜂窝无线通信技术的发展,单一蜂窝无线通信模组集成了多种通讯模式,也拥有更强大的业务能力,因此导致无线通信参数、系统参数的配置项目急剧增长。如何可靠、高效而且便捷的在生产以及商业部署等多种场景下完成模块的配置工作,便是一个实实在在的问题。With the development of cellular wireless communication technology, a single cellular wireless communication module integrates multiple communication modes and has stronger business capabilities, which leads to a sharp increase in the configuration items of wireless communication parameters and system parameters. How to reliably, efficiently and conveniently complete module configuration in various scenarios such as production and commercial deployment is a real problem.
当前基于高通芯片平台的通信模组使用EFS文件系统(Encrypting File System,加密文件系统)来存储模组的配置参数,每个配置参数以独立文件(NV文件,非易失性配置项文件)的形式存储在EFS文件系统中,需要依靠高通的工具或者相关AT(Attention)命令才能修改配置,在实际生产以及部署中存在以下问题:The current communication module based on the Qualcomm chip platform uses the EFS file system (Encrypting File System, encrypted file system) to store the configuration parameters of the module, and each configuration parameter is stored in an independent file (NV file, non-volatile configuration item file) The form is stored in the EFS file system, and it needs to rely on Qualcomm tools or related AT (Attention) commands to modify the configuration. In actual production and deployment, there are the following problems:
其一、对于通讯模组的开发公司而言,其只能通过高通工具链对配置文件进行逐个处理,对于非高通原始配置项,却难以进行跟踪和管理,另外,使用高通工具来部署配置,需购买高通的授权,成本较高;First, for communication module development companies, they can only process configuration files one by one through the Qualcomm tool chain, but it is difficult to track and manage non-Qualcomm original configuration items. In addition, using Qualcomm tools to deploy configurations, Need to purchase Qualcomm's authorization, the cost is high;
其二,对于通讯模组的生产工厂而言,其需要从每个型号的样板模组中利用高通QPST(Qualcomm Product Support Tool,一个针对高通芯片开发的传输软件)工具导出配置文件作为相应型号的配置基准,在生产过程中再利用高通QPST导入模组,对于差异性部分参数,则需要透过AT命令逐项进行配置,效率低下;Second, for the production factory of the communication module, it needs to use the Qualcomm QPST (Qualcomm Product Support Tool, a transmission software developed for Qualcomm chips) tool to export the configuration file from the model module of each model as the corresponding model. Configure the benchmark, and then use Qualcomm QPST to import modules during the production process. For some parameters with differences, you need to configure them item by item through AT commands, which is inefficient;
其三,在实际应用之后,当需要做配置更新时,由于无法通过远程更新配置,需召回进行逐个更新,成本高昂,时效低下,同时可靠性无法得 到保障。Third, after the actual application, when it is necessary to update the configuration, since the configuration cannot be updated remotely, it needs to be recalled and updated one by one, which is costly, time-efficient, and reliability cannot be guaranteed.
因此,如何实现高时效、低成本的通讯模组更新是本领域技术人员亟待解决的问题。Therefore, how to realize high-timeliness and low-cost update of communication modules is an urgent problem to be solved by those skilled in the art.
发明内容Contents of the invention
本申请的目的是提供一种配置参数更新方法,该配置参数更新方法实现了高时效、低成本的通讯模组更新;本申请的另一目的是提供一种配置参数更新装置、通讯模组及计算机可读存储介质,均具有上述有益效果。The purpose of this application is to provide a configuration parameter update method, the configuration parameter update method achieves high timeliness, low-cost communication module update; another purpose of this application is to provide a configuration parameter update device, communication module and Computer-readable storage media all have the above-mentioned beneficial effects.
第一方面,本申请提供了一种配置参数更新方法,应用于通讯模组,包括:In the first aspect, the present application provides a method for updating configuration parameters, which is applied to a communication module, including:
获取NVUP文件,所述NVUP文件为用于对配置参数进行更新的文件;Obtain an NVUP file, the NVUP file is a file used to update configuration parameters;
对所述NVUP文件进行解析,获得配置信息;Analyzing the NVUP file to obtain configuration information;
利用所述配置信息对所述通讯模组中的配置参数进行更新。The configuration parameters in the communication module are updated by using the configuration information.
优选的,所述获取配置终端构建的NVUP文件,包括:Preferably, said obtaining the NVUP file constructed by the configuration terminal includes:
通过OTA技术或USB接口从所述配置终端下载获得所述NVUP文件。The NVUP file is obtained by downloading from the configuration terminal through OTA technology or a USB interface.
优选的,所述利用所述配置信息对所述通讯模组中的配置参数进行更新,包括:Preferably, updating the configuration parameters in the communication module by using the configuration information includes:
利用所述配置信息对所述通讯模组中的NV文件进行更新;其中,所述NV文件中包括有所述通讯模组的配置参数。Using the configuration information to update the NV file in the communication module; wherein, the NV file includes configuration parameters of the communication module.
优选的,所述利用所述配置信息对所述通讯模组中的配置参数进行更新之前,还包括:Preferably, before using the configuration information to update the configuration parameters in the communication module, it further includes:
从所述配置信息中获取版本信息;obtain version information from the configuration information;
根据所述版本信息判断所述NVUP文件是否适配所述通讯模组;judging whether the NVUP file is compatible with the communication module according to the version information;
若否,则删除所述NVUP文件;If not, then delete the NVUP file;
若是,则执行所述利用所述配置信息对所述通讯模组中的配置参数进行更新的步骤。If yes, execute the step of using the configuration information to update the configuration parameters in the communication module.
优选的,所述对所述NVUP文件进行解析,获得配置信息之前,还包括:Preferably, the parsing of the NVUP file, before obtaining the configuration information, further includes:
将所述NVUP文件存储至预设存储区域;Storing the NVUP file to a preset storage area;
当接收到上电信号时,从所述预设存储区域调取所述NVUP文件至内存。When a power-on signal is received, the NVUP file is transferred from the preset storage area to the internal memory.
优选的,所述从所述预设存储区域调取所述NVUP文件至内存之后,还包括:Preferably, after calling the NVUP file from the preset storage area to the internal memory, it also includes:
阻塞系统启动进程;Block the system startup process;
相应地,所述利用所述配置信息对所述通讯模组中的配置参数进行更新之后,还包括:Correspondingly, after updating the configuration parameters in the communication module by using the configuration information, it further includes:
重启所述系统启动进程。Restart the system startup process.
优选的,所述利用所述配置信息对所述通讯模组中的配置参数进行更新之后,还包括:Preferably, after updating the configuration parameters in the communication module by using the configuration information, the method further includes:
删除所述NVUP文件。Delete said NVUP file.
第二方面,本申请还提供了一种配置参数更新装置,应用于通讯模组,包括:In the second aspect, the present application also provides a device for updating configuration parameters, which is applied to communication modules, including:
NVUP文件获取模块,用于获取NVUP文件,所述NVUP文件为用于对配置参数进行更新的文件;The NVUP file obtaining module is used to obtain the NVUP file, and the NVUP file is a file for updating configuration parameters;
NVUP文件解析模块,用于对所述NVUP文件进行解析,获得配置信息;The NVUP file analysis module is used to analyze the NVUP file to obtain configuration information;
配置参数更新模块,用于利用所述配置信息对所述通讯模组中的配置参数进行更新。A configuration parameter update module, configured to use the configuration information to update the configuration parameters in the communication module.
第三方面,本申请还提供了一种通讯模组,包括:In a third aspect, the present application also provides a communication module, including:
存储器,用于存储计算机程序;memory for storing computer programs;
处理器,用于执行所述计算机程序时实现如上所述的任一种配置参数更新方法的步骤。A processor, configured to implement the steps of any configuration parameter updating method described above when executing the computer program.
第四方面,本申请还提供了一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如上所述的任一种配置参数更新方法的步骤。In the fourth aspect, the present application also provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, any configuration parameter update as described above is implemented. method steps.
本申请所提供的一种配置参数更新方法,包括获取NVUP文件,所述NVUP文件为用于对配置参数进行更新的文件;对所述NVUP文件进行解析,获得配置信息;利用所述配置信息对所述通讯模组中的配置信息进行更新。A method for updating configuration parameters provided by the present application includes obtaining an NVUP file, the NVUP file is a file used to update configuration parameters; parsing the NVUP file to obtain configuration information; using the configuration information to The configuration information in the communication module is updated.
可见,本申请所提供的配置参数更新方法,预先构建包含有通讯模组配置信息的NVUP文件(模组配置更新文件),并下发至通讯模组,由此,通讯模组即可通过对NVUP文件进行解析获得其中的配置信息,并利用该配置信息对自身的配置参数进行更新。显然,该种实现方式摆脱了对第三方工具链的依赖,还可以进行远程更新,有效地降低了更新成本;并且,通过配置文件(即NVUP文件)可以实现批量配置信息的存储,进而实现通讯模组的单次多项配置,极大地缩短了配置时间,进一步提高了更新效率。可见,该方法实现了高时效、低成本的通讯模组更新。It can be seen that the configuration parameter update method provided by this application pre-constructs the NVUP file (module configuration update file) containing the configuration information of the communication module and sends it to the communication module. The NVUP file is parsed to obtain the configuration information therein, and the configuration information is used 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, through the configuration file (ie NVUP file), the storage of batch configuration information can be realized, and then the communication can be realized. Single multiple configuration of the module greatly shortens the configuration time and further improves the update efficiency. It can be seen that this method realizes the update of the communication module with high time efficiency and low cost.
本申请所提供的配置参数更新装置、通讯模组及计算机可读存储介质,均具有上述有益效果,在此不再赘述。The configuration parameter updating device, the communication module and the computer-readable storage medium provided in the present application all have the above-mentioned beneficial effects, and will not be repeated here.
为了更清楚地说明现有技术和本申请实施例中的技术方案,下面将对现有技术和本申请实施例描述中需要使用的附图作简要的介绍。当然,下面有关本申请实施例的附图描述的仅仅是本申请中的一部分实施例,对于本领域普通技术人员来说,在不付出创造性劳动的前提下,还可以根据提供的附图获得其他的附图,所获得的其他附图也属于本申请的保护范围。In order to more clearly illustrate the prior art and the technical solutions in the embodiments of the present application, the following briefly introduces the drawings that need to be used in the description of the prior art and the embodiments of the present application. Of course, the following drawings related to the embodiments of the application describe only a part of the embodiments of the application, and those of ordinary skill in the art can obtain other The accompanying drawings, and other obtained drawings also belong to the protection scope of the present application.
图1为本申请所提供的一种配置参数更新方法的流程示意图;FIG. 1 is a schematic flow diagram of a method for updating configuration parameters provided by the present application;
图2为本申请所提供的一种NVUP文件的文件结构示意图;Fig. 2 is the file structure schematic diagram of a kind of NVUP file provided by the present application;
图3为本申请所提供的一种NVUP文件的配置项结构示意图;Fig. 3 is a schematic diagram of the configuration item structure of a kind of NVUP file provided by the present application;
图4为本申请所提供的一种通讯模组的结构示意图;FIG. 4 is a schematic structural diagram of a communication module provided by the present application;
图5为本申请所提供的一种通讯模组配置更新流程示意图;FIG. 5 is a schematic diagram of a communication module configuration update process provided by the present application;
图6为本申请所提供的一种终端设备的结构示意图;FIG. 6 is a schematic structural diagram of a terminal device provided by the present application;
图7为本申请所提供的一种NVUP文件生成器的工作流程图;Fig. 7 is the workflow diagram of a kind of NVUP file generator provided by the application;
图8为本申请所提供的一种通讯模组自动更新业务的工作流程图;Fig. 8 is a working flow chart of a communication module automatic update service provided by the present application;
图9为本申请所提供的一种配置参数更新装置的结构示意图;FIG. 9 is a schematic structural diagram of a device for updating configuration parameters provided by the present application;
图10为本申请所提供的一种通讯模组的结构示意图。FIG. 10 is a schematic structural diagram of a communication module provided by the present application.
本申请的核心是提供一种配置参数更新方法,该配置参数更新方法实现了高时效、低成本的通讯模组更新;本申请的另一核心是提供一种配置参数更新装置、通讯模组及计算机可读存储介质,均具有上述有益效果。The core of this application is to provide a configuration parameter update method, which realizes high time-efficiency and low-cost communication module update; another core of this application is to provide a configuration parameter update device, communication module and Computer-readable storage media all have the above-mentioned beneficial effects.
为了对本申请实施例中的技术方案进行更加清楚、完整地描述,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行介绍。显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。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. Apparently, the described embodiments are only some of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.
本申请实施例提供了一种配置参数更新方法。The embodiment of the present application provides a method for updating configuration parameters.
请参考图1,图1为本申请所提供的一种配置参数更新方法的流程示意图,该配置参数更新方法应用于通讯模组,可包括:Please refer to Figure 1. Figure 1 is a schematic flowchart of a configuration parameter update method provided in this application. The configuration parameter update method is applied to a communication module and may include:
S101:获取NVUP文件,NVUP文件为用于对配置参数进行更新的文件;S101: Obtain an NVUP file, where the NVUP file is a file for updating configuration parameters;
本步骤旨在实现NVUP文件的获取,该NVUP文件为用于对通讯模组中的配置参数进行更新的文件,其中包含有各类配置参数对应的配置信息。其中,NVUP文件是一种文件格式,是一种具有一些附加功能的存档类型,用于设备配置。这种格式的文件通常用于以下两个目的之一:This step aims to obtain the NVUP file, which is a file used to update the configuration parameters in the communication module, which contains configuration information corresponding to various configuration parameters. Among them, NVUP file is a file format, which is an archive type with some additional functions, and is used for device configuration. Files in this format are typically used for one of two purposes:
(1)通过下载由外部工具(如上述配置终端)构建的NVUP文件来更新设备配置;(1) Update the device configuration by downloading the NVUP file built by an external tool (such as the above-mentioned configuration terminal);
(2)从固件内部备份和恢复设备配置。(2) Backup and restore device configuration from within the firmware.
在此基础上,请参考图2,图2为本申请所提供的一种NVUP文件的文件结构示意图,具体包括NV管理报头和各配置项(Item 0至Item N-1),其中,NV管理报头包括NVUP文件版本号、配置项总数(N个)、运营商ID以及NV版本。On this basis, please refer to Fig. 2, Fig. 2 is a schematic diagram of the file structure of a kind of NVUP file provided by this application, specifically including NV management header and each configuration item (Item 0 to Item N-1), wherein, NV management The header includes NVUP file version number, total number of configuration items (N), operator ID and NV version.
其中,NVUP文件可以由相应的配置终端构建获得。具体而言,配置终端可以获取关于通讯模组的各类配置信息,然后基于这些配置信息构建NVUP文件。由此,通讯模组即可从配置终端中获得包含有关于自身配置信息的NVUP文件,以便于利用NVUP文件实现自身配置参数的更新。当然,该配置终端即为用于获取通讯模组配置信息并构建NVUP文件的终端 设备,如服务器、计算机等,其具体类型并不影响本技术方案的实施,本申请对此不做限定。Wherein, the NVUP file can be obtained by constructing the corresponding configuration terminal. Specifically, the configuration terminal can obtain various configuration information about the communication module, and then build an NVUP file based on the configuration information. Thus, the communication module can obtain the NVUP file containing configuration information about itself from the configuration terminal, so as to update its own configuration parameters by using the NVUP file. Of course, the configuration terminal is a terminal device for obtaining communication module configuration information and constructing an NVUP file, such as a server, a computer, etc., and its specific type does not affect the implementation of the technical solution, and the application does not limit this.
S102:对NVUP文件进行解析,获得配置信息;S102: Analyze the NVUP file to obtain configuration information;
本步骤旨在实现NVUP文件的解析。如上所述,NVUP文件由配置终端基于通讯模组的配置信息构建获得,因此,NVUP文件中必然包含有关于通讯模组的各类配置信息,因此,通讯模组在从配置终端获得NVUP文件之后,即可对其进行解析,获得关于自身的各类配置信息。其中,文件解析过程可以参考现有技术中的任意一种,本申请在此不再赘述。This step aims to realize the parsing of NVUP files. 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 , you can parse it to obtain various configuration information about itself. Wherein, the file parsing process can refer to any one of the prior art, and the present application will not repeat it here.
NVUP文件中包含有关于通讯模组的各类配置信息,该配置信息即为通讯模组中各类配置项的配置信息,进一步,请参考图3,图3为本申请所提供的一种NVUP文件的配置项结构示意图。The NVUP file contains various configuration information about the communication module. The configuration information is the configuration information of various configuration items in the communication module. Further, please refer to Figure 3, which is a kind of NVUP provided by this application Schematic diagram of the configuration item structure of the file.
S103:利用配置信息对通讯模组中的配置参数进行更新。S103: Utilize the configuration information to update the configuration parameters in the communication module.
本步骤旨在实现通讯模组更新。具体而言,在从NVUP文件中解析获得关于自身的配置信息后,即可利用这些配置信息对自身的配置参数进行更新,即将各类配置信息填充至相应的存储路径之下,由此,完成通讯模组更新。This step is to update the communication module. Specifically, after analyzing and obtaining the configuration information about itself from the NVUP file, you can use the configuration information to update your own configuration parameters, that is, to fill in various configuration information under the corresponding storage path, thus completing Communication module update.
可见,本申请所提供的配置参数更新方法,预先构建包含有通讯模组配置信息的NVUP文件(模组配置更新文件),并下发至通讯模组,由此,通讯模组即可通过对NVUP文件进行解析获得其中的配置信息,并利用该配置信息对自身的配置参数进行更新。显然,该种实现方式摆脱了对第三方工具链的依赖,还可以进行远程更新,有效地降低了更新成本;并且,通过配置文件(即NVUP文件)可以实现批量配置信息的存储,进而实现通讯模组的单次多项配置,极大地缩短了配置时间,进一步提高了更新效率。可见,该方法实现了高时效、低成本的通讯模组更新。It can be seen that the configuration parameter update method provided by this application pre-constructs the NVUP file (module configuration update file) containing the configuration information of the communication module and sends it to the communication module. The NVUP file is parsed to obtain the configuration information therein, and the configuration information is used 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, through the configuration file (ie NVUP file), the storage of batch configuration information can be realized, and then the communication can be realized. Single multiple configuration of the module greatly shortens the configuration time and further improves the update efficiency. It can be seen that this method realizes the update of the communication module with high time efficiency and low cost.
在本申请的一个实施例中,上述获取配置终端构建的NVUP文件,可以包括:通过OTA技术(Over-the-Air Technology,空中下载技术)或USB接口(Universal Serial Bus,通用串行总线接口)从配置终端下载获得NVUP文件。In one embodiment of the present application, the above-mentioned acquisition of the NVUP file constructed by the configuration terminal may include: OTA technology (Over-the-Air Technology, over-the-air download technology) or USB interface (Universal Serial Bus, Universal Serial Bus interface) Download the NVUP file from the configuration terminal.
本申请实施例提供了一种从配置终端获取NVUP文件的实现方法,即技术人员可以根据实际情况选择使用OTA技术或者USB接口从配置终端 下载获得NVUP文件。其中,OTA是通过移动通信的空中接口对SIM(Subscriber Identity Module,客户识别模块)卡数据及应用进行远程管理的技术。The embodiment of this application provides an implementation method for obtaining NVUP files from the configuration terminal, that is, technicians can choose to use OTA technology or USB interface to download and obtain NVUP files from the configuration terminal according to the actual situation. Among them, OTA is a technology for remote management of SIM (Subscriber Identity Module, customer identification module) card data and applications through the air interface of mobile communication.
在本申请的一个实施例中,上述利用配置信息对通讯模组中的配置参数进行更新,可以包括:利用配置信息对通讯模组中的NV文件进行更新;其中,NV文件中包括有通讯模组的配置参数。In one embodiment of the present application, updating the configuration parameters in the communication module by using the configuration information above may include: updating the NV file in the communication module by using the configuration information; wherein, the NV file includes the communication module Configuration parameters for the group.
本申请实施例提供了一种利用配置信息进行通讯模组更新的实现方法。如上所述,通讯模组中的每个配置参数均以独立文件(NV文件)的形式进行存储,因此,在基于配置信息进行配置参数更新时,则可以将各类配置信息逐一更新至对应的NV文件中,实现通讯模组中NV文件的更新,由此,实现配置参数的更新。The embodiment of the present application provides an implementation method for updating a communication module by using configuration information. As mentioned above, each configuration parameter in the communication module is stored in the form of an independent file (NV file). Therefore, when updating configuration parameters based on configuration information, various configuration information can be updated one by one to the corresponding In the NV file, the update of the NV file in the communication module is realized, thereby, the update of the configuration parameters is realized.
在本申请的一个实施例中,上述利用配置信息对通讯模组中的配置参数进行更新之前,还可以包括:从配置信息中获取版本信息;根据版本信息判断NVUP文件是否适配通讯模组;若否,则删除NVUP文件;若是,则执行利用配置信息对通讯模组中的配置参数进行更新的步骤。In an embodiment of the present application, before updating the configuration parameters in the communication module by using the configuration information, it may also include: obtaining version information from the configuration information; judging whether the NVUP file is suitable for the communication module according to the version information; If not, delete the NVUP file; if yes, perform the step of updating the configuration parameters in the communication module by using the configuration information.
本申请实施例所提供的配置参数更新方法还可以实现NVUP文件校验功能。具体而言,为有效提高通讯模组更新的成功率,在从NVUP文件中解析获得配置信息之后,利用配置信息进行配置参数更新之前,可以先从配置信息中筛选确定版本信息(版本信息为配置信息中的一种),进而根据该版本信息判断当前NVUP文件是否适配自身的软件环境,若适配,则可以利用配置信息对自身的配置参数进行更新,若不适配,则可以删除该NVUP文件,并退出更新流程,当获取到适配自身的NVUP文件时,再进行配置参数更新,从而实现通讯模组更新。The configuration parameter update method provided by the embodiment of the present application can also realize the NVUP file verification function. Specifically, in order to effectively improve the success rate of communication module updates, after obtaining the configuration information from the NVUP file and before using the configuration information to update the configuration parameters, the version information can be screened and determined from the configuration information (the version information is the configuration information), and then judge whether the current NVUP file is suitable for its own software environment according to the version information. If it is suitable, it can use the configuration information to update its own configuration parameters. If it is not suitable, it can be deleted. NVUP file, and exit the update process. When the NVUP file adapted to itself is obtained, the configuration parameters are updated to realize the update of the communication module.
在本申请的一个实施例中,上述对NVUP文件进行解析,获得配置信息之前,还可以包括:将NVUP文件存储至预设存储区域;当接收到上电信号时,从预设存储区域调取NVUP文件至内存。In one embodiment of the present application, before parsing the NVUP file and obtaining configuration information, it may also include: storing the NVUP file in a preset storage area; when receiving a power-on signal, calling NVUP files to memory.
本申请实施例所提供的配置参数更新方法还可以实现NVUP文件存储功能,以便于在通讯模组启动时执行通讯模组更新操作。具体而言,可以预先在通讯模组中创建存储区域,即上述预设存储区域,由此,当从配置终端下载获得NVUP文件后,即可将其存储至该预设存储区域。进一步, 当通讯模组接收到上电信号进行自启动时,即可从预设存储区域调取NVUP文件至自身内存,然后利用内存中的NVUP文件对自身的配置参数进行更新。The configuration parameter update method provided by the embodiment of the present application can also implement the NVUP file storage function, so as to execute the update operation of the communication module when the communication module is started. Specifically, a storage area, ie, the above-mentioned preset storage area, can be created in advance in the communication module, 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, it can transfer the NVUP file from the preset storage area to its own memory, and then use the NVUP file in the memory to update its own configuration parameters.
其中,预设存储区域的具体类型并不影响本技术方案的实施,可实现NVUP文件的存储即可,本申请对此不做限定,例如,可以选择使用Flash闪存。Wherein, the specific type of the preset storage area does not affect the implementation of the technical solution, as long as the storage of the NVUP file can be realized, which is not limited in the present application, for example, Flash flash memory can be selected to be used.
在本申请的一个实施例中,上述从预设存储区域调取NVUP文件至内存之后,还可以包括:阻塞系统启动进程;相应地,上述利用配置信息对通讯模组中的配置信息进行更新之后,还可以包括:重启系统启动进程。In an embodiment of the present application, after the above-mentioned transfer of the NVUP file from the preset storage area to the internal memory, it may also include: blocking the system startup process; , may also include: restarting the system startup process.
如上所述,可以利用预设存储区域对NVUP文件进行存储,以便于在通讯模组启动时执行通讯模组更新操作,有基于此,可以在配置信息更新流程中,阻塞通讯模组自启动流程,使得通讯模组在完成配置参数更新之后再进行自启动。具体而言,在从预设存储区域调取NVUP文件至内存之后,可以先阻塞系统启动进程,以避免通讯模组启动,然后利用内存中的NVUP文件对自身的配置参数进行更新;进一步,在完成配置参数更新之后,则可以重新启动系统启动进程,以实现通讯模组重启,使得NVUP文件中的配置信息生效。As mentioned above, the NVUP file can be stored in the preset storage area so that the communication module update operation can be performed when the communication module is started. Based on this, the self-starting process of the communication module can be blocked during the configuration information update process. , so that the communication module will start automatically after updating the configuration parameters. Specifically, after the NVUP file is transferred 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 is used to update its own configuration parameters; further, in After updating the configuration parameters, you can restart the system startup process to restart the communication module and make the configuration information in the NVUP file take effect.
在本申请的一个实施例中,上述利用配置信息对通讯模组中的配置参数进行更新之后,还可以包括:删除NVUP文件。In an embodiment of the present application, after updating the configuration parameters in the communication module by using the configuration information, it may further include: deleting the NVUP file.
本申请实施例所提供的配置参数更新方法还可以实现NVUP文件删除功能,以有效节省存储空间,避免不必要的存储空间浪费,同时也方便为后续新的NVUP文件提供存储空间。具体而言,在利用配置信息完成配置参数更新之后,也即通讯模组的更新流程执行完毕之后,NVUP文件中的配置信息不再使用,此时,直接将该NVUP文件删除即可。The configuration parameter update method provided by the embodiment of the present application can also realize the function of deleting NVUP files, so as to effectively save storage space, avoid unnecessary waste of storage space, and facilitate the provision of storage space for subsequent new NVUP files. Specifically, after the configuration parameters are updated 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 deleted directly.
基于上述各实施例:Based on the above examples:
请参考图4,图4为本申请所提供的一种通讯模组的结构示意图,该通讯模组可以包括如下部分:Please refer to Figure 4, Figure 4 is a schematic structural diagram of a communication module provided by this application, the communication module may include the following parts:
(1)存储器:用于存储从配置终端获取的NVUP文件;(1) memory: used to store the NVUP file obtained from the configuration terminal;
(2)NVUP文件解析模块:用于对存储器中的NVUP文件进行解析,获取其中的配置信息;(2) NVUP file parsing module: used for parsing the NVUP file in the memory to obtain configuration information therein;
(3)NVUP文件管理模块:用于对NVUP文件进行下载、存储、调取、校验、删除等操作;(3) NVUP file management module: used for downloading, storing, retrieving, verifying, deleting and other operations on NVUP files;
(4)NV配置执行模块:用于利用配置信息对自身的NV文件进行更新,以实现通讯模组更新;(4) NV configuration execution module: used to update its own NV file by using configuration information, so as to realize communication module update;
(5)操作命令执行模块:用于实现通讯模组启动流程阻塞、重启、重启之后的实际运行等操作。(5) Operation command execution module: used to implement operations such as communication module startup process blocking, restart, and actual operation after restart.
基于图4所示的通讯模组,请参考图5,图5为本申请所提供的一种通讯模组配置更新流程示意图,其具体实现流程可包括:Based on the communication module shown in Figure 4, please refer to Figure 5. Figure 5 is a schematic diagram of a communication module configuration update process provided by this application, and its specific implementation process may include:
(1)在通讯模组的固件中创建一个叫NVUP的任务;(1) Create a task called NVUP in the firmware of the communication module;
(2)当通讯模组上电初始化时,NVUP任务检查NANF Flash中是否存在NVUP文件,如果存在,则将NVUP文件读取到内存中,并阻塞系统启动流程;(2) When the communication module is powered on and initialized, the NVUP task checks whether there is an NVUP file in the NANF Flash, and if so, reads the NVUP file into the memory and blocks the system startup process;
(3)NVUP任务对NVUP文件进行解析,并根据NVUP文件内的版本信息,判断该NVUP文件是否适用于通讯模组当前的软件环境,如果不匹配,则删除该NVUP文件,退出配置更新流程并继续执行系统启动流程;如果匹配,则进入(4);(3) The NVUP task analyzes the NVUP file, and judges whether the NVUP file is applicable to the current software environment of the communication module according to the version information in the NVUP file. If it does not match, delete the NVUP file, exit the configuration update process and Continue to execute the system startup process; if it matches, enter (4);
(4)NVUP任务循环解析NVUP文件中的配置项信息,并利用新的配置信息逐一更新NV文件;(4) The NVUP task cyclically parses the configuration item information in the NVUP file, and updates the NV file one by one with the new configuration information;
(5)当所有配置信息处理完毕后,将NVUP文件从NAND Flash中删除,并重启系统,使得新的配置信息生效。(5) After all the configuration information is processed, delete the NVUP file from the NAND Flash, and restart the system to make the new configuration information take effect.
如上所述,NVUP文件可以由相应的配置终端构建获得,在此基础上,在本申请的一个实施例中,配置终端构建NVUP文件的实现过程可以包括:获取配置信息,并将配置信息记录至EXCEL文件;利用EXCEL文件构建NVUP文件。As mentioned above, the NVUP file can be constructed and obtained by the corresponding configuration terminal. On this basis, in one embodiment of the present application, the implementation process of configuring the NVUP file by the configuration terminal may include: obtaining configuration information, and recording the configuration information to EXCEL file; use EXCEL file to construct NVUP file.
具体而言,技术人员可以根据实际需求在终端设备(即上述配置终端)上设置各类配置信息,并采用EXCEL文件对其进行保存和管理。其中,EXCEL文件具体可以包含如下内容:Specifically, technicians can set various configuration information on the terminal device (ie, the above-mentioned configuration terminal) according to actual needs, and use EXCEL files to save and manage it. Among them, the EXCEL file can specifically contain the following content:
(1)配置文件的版本号信息;(1) Version number information of the configuration file;
(2)所适用的通讯模组固件的版本号信息;(2) Version number information of the applicable communication module firmware;
(3)各配置项信息。(3) Information about each configuration item.
其中,对于配置项信息,可以先将各配置项根据用途进行分类,然后将对应的配置信息存放入不同的表单中,例如,请参参考表1,表1为本申请所提供的一种配置信息表:Among them, for configuration item information, you can first classify each configuration item according to its purpose, and then store the corresponding configuration information in different forms. For example, please refer to Table 1, which is a configuration provided by this application Information Sheet:
表1 一种配置信息表Table 1 A configuration information table
类别category | 配置描述configuration description | 值value | 路径名字path name | 操作operate |
其中,类别用于描述该配置项所属的功能,如GPS(Global Positioning System,全球定位系统)、TLE(Time Limit Exceeded,时间超限)、SMS(Subscriber Manage System,用户管理系统)等;配置描述用于描述该配置项的用途;值标识该配置项所需配置的值;路径名字用于描述该配置项在EFS文件系统中的文件路径(可包含文件名称);操作是指需要对该配置项进行的操作(可包括无操作、删除、写入、备份等操作)。Among them, the category is used to describe the function of the configuration item, such as GPS (Global Positioning System, Global Positioning System), TLE (Time Limit Exceeded, time exceeded), SMS (Subscriber Manage System, user management system), etc.; configuration description It is used to describe the purpose of the configuration item; the value identifies the value of the configuration required by the configuration item; the path name is used to describe the file path (can include the file name) of the configuration item in the EFS file system; the operation refers to the configuration that needs to be configured The operation performed by the item (may include no operation, delete, write, backup, etc.).
进一步,终端设备在获得EXCEL文件之后,即可基于该EXCEL文件构建获得NVUP文件,该过程可利用NVUP文件生成器实现。在具体实现过程中,NVUP生成器读取并解析EXCEL文件,然后根据NVUP文件格式,将EXCEL文件中的解析数据对应填充至NVUP文件,最后将NVUP文件进行输出,由此,即可获得用于更新通讯模组的NVUP文件。Further, after the terminal device obtains the EXCEL file, it can construct and obtain the NVUP file based on the EXCEL file, and this process can be realized by using the NVUP file generator. In the specific implementation process, the NVUP generator reads and parses the EXCEL file, 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. Update the NVUP file of the communication module.
基于该实施例:Based on this example:
请参考图6,图6为本申请所提供的一种终端设备的结构示意图,该终端设备可以包括如下部分:Please refer to FIG. 6. FIG. 6 is a schematic structural diagram of a terminal device provided in this application. The terminal device may include the following parts:
(1)EXCEL格式的配置文件:用于存储各配置项信息;(1) Configuration file in EXCEL format: used to store the information of each configuration item;
(2)NVUP文件生成器:用于利用EXCEL文件构建NVUP文件;(2) NVUP file generator: used to utilize EXCEL files to construct NVUP files;
(4)NVUP格式文件:用于实现通讯模组更新。(4) NVUP format file: used to update the communication module.
基于图6所示的终端设备,请参考图7,图7为本申请所提供的一种NVUP文件生成器的工作流程图,其具体实现流程可包括:Based on the terminal device shown in Figure 6, please refer to Figure 7, Figure 7 is a work flow diagram of a NVUP file generator provided by the present application, and its specific implementation process may include:
(1)读取EXCEL格式的配置文件;(1) Read the configuration file in EXCEL format;
(2)解析配置文件内容;(2) Parsing the content of the configuration file;
(3)根据NVUP文件格式,将解析数据填充至相应位置;(3) According to the NVUP file format, fill the analysis data to the corresponding position;
(4)输出保存NVUP文件。(4) Output and save the NVUP file.
在上述各实施例的基础上:On the basis of above-mentioned each embodiment:
请参考图8,图8为本申请所提供的一种通讯模组自动更新业务的工 作流程图,该业务流程主要包括:Please refer to Fig. 8, Fig. 8 is a working flow chart of a kind of communication module automatic update business provided by the present application, and this business process mainly includes:
(1)模组配置管理:在根据配置需求收集获得配置信息之后,将配置信息记录至EXCEL格式文件,形成配置表单;然后利用NVUP文件生成器对其进行处理,生成NVUP文件。(1) Module configuration management: After collecting the configuration information according to the configuration requirements, record the configuration information to an EXCEL format file to form a configuration form; then use the NVUP file generator to process it to generate an NVUP file.
(2)模组工厂部署:将NVUP文件部署于生成配置电脑中,当需要进行通讯模组(如图所示蜂窝模组)更新时,通过USB接口从生成配置电脑中下载NVUP文件,并基于该NVUP文件进行自动更新。(2) Module factory deployment: Deploy the NVUP file on the generation configuration computer. When the communication module (the cellular module as shown in the figure) needs to be updated, download the NVUP file from the generation configuration computer through the USB interface, and based on The NVUP file is automatically updated.
(3)商用部署:将NVUP文件部署于配置部署服务器中,当需要对实际设备(如图所示车辆)中的通讯模组进行更新时,则可以通过蜂窝基站从配置部署服务器中无线下载获得NVUP文件,并基于该NVUP文件进行自动更新。(3) Commercial deployment: Deploy the NVUP file in the configuration deployment server. When it is necessary to update the communication module in the actual device (vehicle shown in the figure), it can be wirelessly downloaded from the configuration deployment server through the cellular base station. NVUP file, and automatically update based on the NVUP file.
本申请还提供了一种配置参数更新装置,请参考图9,图9为本申请所提供的一种配置参数更新装置的结构示意图,该配置参数更新装置应用于通讯模组,可包括:The present application also provides a configuration parameter updating device, please refer to FIG. 9, which is a schematic 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:
NVUP文件获取模块1,用于获取NVUP文件,NVUP文件为用于对配置参数进行更新的文件;The NVUP file acquisition module 1 is used to acquire the NVUP file, and the NVUP file is a file used to update configuration parameters;
NVUP文件解析模块2,用于对NVUP文件进行解析,获得配置信息;The NVUP file parsing module 2 is used for parsing the NVUP file to obtain configuration information;
配置参数更新模块3,用于利用配置信息对通讯模组中的配置参数进行更新。The configuration parameter update module 3 is used to update the configuration parameters in the communication module by using the configuration information.
可见,本申请实施例所提供的配置参数更新装置,预先构建包含有通讯模组配置信息的NVUP文件(模组配置更新文件),并下发至通讯模组,由此,通讯模组即可通过对NVUP文件进行解析获得其中的配置信息,并利用该配置信息对自身的配置参数进行更新。显然,该种实现方式摆脱了对第三方工具链的依赖,还可以进行远程更新,有效地降低了更新成本;并且,通过配置文件(即NVUP文件)可以实现批量配置信息的存储,进而实现通讯模组的单次多项配置,极大地缩短了配置时间,进一步提高了更新效率。可见,该方法实现了高时效、低成本的通讯模组更新。It can be seen that the configuration parameter update device provided by the embodiment of the present application pre-constructs the NVUP file (module configuration update file) containing the configuration information of the communication module and sends it to the communication module. Thus, the communication module can The configuration information is obtained by parsing the NVUP file, and the configuration information is used 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, through the configuration file (ie NVUP file), the storage of batch configuration information can be realized, and then the communication can be realized. Single multiple configuration of the module greatly shortens the configuration time and further improves the update efficiency. It can be seen that this method realizes the update of the communication module with high time efficiency and low cost.
在本申请的一个实施例中,上述NVUP文件获取模块1可具体用于通过OTA技术或USB接口从配置终端下载获得NVUP文件。In an embodiment of the present application, the above-mentioned NVUP file acquisition module 1 may be specifically configured to download and obtain the NVUP file from the configuration terminal through OTA technology or a USB interface.
在本申请的一个实施例中,上述通讯模组更新模块3可具体用于利用配置信息对通讯模组中的NV文件进行更新;其中,NV文件中包括有通讯模组的配置参数。In an embodiment of the present application, the above-mentioned communication module update module 3 may be specifically configured to use configuration information to update the NV file in the communication module; wherein, the NV file includes configuration parameters of the communication module.
在本申请的一个实施例中,该配置参数更新装置还可以包括校验模块,用于在上述利用配置信息对通讯模组中的配置参数进行更新之前,从配置信息中获取版本信息;根据版本信息判断NVUP文件是否适配通讯模组;若否,则删除NVUP文件;若是,则执行利用配置信息对通讯模组中的配置参数进行更新的步骤。In an embodiment of the present application, the device for updating configuration parameters may also include a verification module, which is used to obtain version information from configuration information before updating the configuration parameters in the communication module using configuration information; information to judge whether the NVUP file is suitable for the communication module; if not, delete the NVUP file; if yes, execute the step of updating the configuration parameters in the communication module by using the configuration information.
在本申请的一个实施例中,该配置参数更新装置还可以包括NVUP文件存储模块,用于在上述对NVUP文件进行解析,获得配置信息之前,将NVUP文件存储至预设存储区域;当接收到上电信号时,从预设存储区域调取NVUP文件至内存。In one embodiment of the present application, the device for updating configuration parameters 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 configuration information; When the signal is powered on, the NVUP file is called from the preset storage area to the internal memory.
在本申请的一个实施例中,该配置参数更新装置还可以包括进程堵塞模块,用于在上述从预设存储区域调取NVUP文件至内存之后,阻塞系统启动进程;相应地,该配置参数更新装置还可以包括系统重启模块,用于在上述利用配置信息对通讯模组中的配置参数进行更新之后,重启系统启动进程。In an embodiment of the present application, the device for updating configuration parameters may also include a process blocking module, which is used to block the system startup process after the NVUP file is transferred from the preset storage area to the memory; correspondingly, the configuration parameter update The device may also include a system restart module, configured to restart the system startup process after the configuration parameters in the communication module are updated using the configuration information.
在本申请的一个实施例中,该配置参数更新装置还可以包括NVUP文件删除模块,用于在上述利用配置信息对通讯模组中的配置参数进行更新之后,删除NVUP文件。In an embodiment of the present application, the device for updating configuration parameters may further include an NVUP file deletion module, configured to delete the NVUP file after the configuration parameters in the communication module are updated using configuration information.
对于本申请提供的装置的介绍请参照上述方法实施例,本申请在此不做赘述。For the introduction of the device provided in this application, please refer to the above method embodiment, and this application will not repeat it here.
本申请还提供了一种通讯模组,请参考图10,图10为本申请所提供的一种通讯模组的结构示意图,该通讯模组可包括:This application also provides a communication module, please refer to Figure 10, Figure 10 is a schematic structural diagram of a communication module provided by this application, the communication module may include:
存储器,用于存储计算机程序;memory for storing computer programs;
处理器,用于执行计算机程序时可实现如上述任意一种配置参数更新方法的步骤。The processor is configured to implement the steps of any configuration parameter updating method as described above when executing the computer program.
如图10所示,为通讯模组的组成结构示意图,通讯模组可以包括:处理器10、存储器11、通信接口12和通信总线13。处理器10、存储器11、 通信接口12均通过通信总线13完成相互间的通信。As shown in FIG. 10 , it is a schematic diagram of the composition and 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 .
在本申请实施例中,处理器10可以为中央处理器(Central Processing Unit,CPU)、特定应用集成电路、数字信号处理器、现场可编程门阵列或者其他可编程逻辑器件等。In the embodiment of the present application, the processor 10 may be a central processing unit (Central Processing Unit, CPU), an application-specific integrated circuit, a digital signal processor, a field programmable gate array, or other programmable logic devices.
处理器10可以调用存储器11中存储的程序,具体的,处理器10可以执行配置参数更新方法的实施例中的操作。The processor 10 may call the program stored in the memory 11, specifically, the processor 10 may execute the operations in the embodiment of the method for updating configuration parameters.
存储器11中用于存放一个或者一个以上程序,程序可以包括程序代码,程序代码包括计算机操作指令,在本申请实施例中,存储器11中至少存储有用于实现以下功能的程序:The memory 11 is used to store one or more programs. The programs may include program codes, and the program codes include computer operation instructions. In the embodiment of the present application, the memory 11 stores at least programs for realizing the following functions:
获取NVUP文件,NVUP文件为用于对配置参数进行更新的文件;Obtain the NVUP file, the NVUP file is a file used to update the configuration parameters;
对NVUP文件进行解析,获得配置信息;Parse the NVUP file to obtain configuration information;
利用配置信息对通讯模组中的配置参数进行更新。The configuration parameters in the communication module are updated by using the configuration information.
在一种可能的实现方式中,存储器11可包括存储程序区和存储数据区,其中,存储程序区可存储操作系统,以及至少一个功能所需的应用程序等;存储数据区可存储使用过程中所创建的数据。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 at least one application program required by a function; the data storage area may store The data created.
此外,存储器11可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件或其他易失性固态存储器件。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 magnetic disk storage device or other volatile solid-state storage devices.
通信接口12可以为通信模块的接口,用于与其他设备或者系统连接。The communication interface 12 may be an interface of a communication module, and is used for connecting with other devices or systems.
当然,需要说明的是,图10所示的结构并不构成对本申请实施例中通讯模组的限定,在实际应用中通讯模组可以包括比图10所示的更多或更少的部件,或者组合某些部件。Of course, it should be noted that the structure shown in FIG. 10 does not constitute a limitation on the communication module in the embodiment of the present application. In practical applications, the communication module may include more or less components than those shown in FIG. 10 . Or combine certain parts.
本申请还提供了一种计算机可读存储介质,该计算机可读存储介质上存储有计算机程序,计算机程序被处理器执行时可实现如上述任意一种配置参数更新方法的步骤。The present application also 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 can be realized.
该计算机可读存储介质可以包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。The computer-readable storage medium may include: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc., which can store program codes. medium.
对于本申请提供的计算机可读存储介质的介绍请参照上述方法实施例,本申请在此不做赘述。For the introduction of the computer-readable storage medium provided by the present application, please refer to the foregoing method embodiments, and the present application does not repeat it here.
说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似部分互相参见即可。对于实施例公开的装置而言,由于其与实施例公开的方法相对应,所以描述的比较简单,相关之处参见方法部分说明即可。Each embodiment in the description is described in a progressive manner, each embodiment focuses on the difference from other embodiments, and the same and similar parts of each embodiment can be referred to each other. As for the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and for relevant details, please refer to the description of the method part.
专业人员还可以进一步意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Professionals can further realize that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, computer software or a combination of the two. In order to clearly illustrate the possible For interchangeability, in the above description, the composition and steps of each example have been generally described according to their functions. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present application.
结合本文中所公开的实施例描述的方法或算法的步骤可以直接用硬件、处理器执行的软件模块,或者二者的结合来实施。软件模块可以置于随机存储器(RAM)、内存、只读存储器(ROM)、电可编程ROM、电可擦除可编程ROM、寄存器、硬盘、可移动磁盘、CD-ROM或技术领域内所公知的任意其它形式的存储介质中。The steps of the methods or algorithms described in connection with the embodiments disclosed herein may be directly implemented by hardware, software modules executed by a processor, or a combination of both. The software module can be placed in random access memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM or known in the technical field in any other form of storage medium.
以上对本申请所提供的技术方案进行了详细介绍。本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想。应当指出,对于本技术领域的普通技术人员来说,在不脱离本申请原理的前提下,还可以对本申请进行若干改进和修饰,这些改进和修饰也落入本申请的保护范围内。The technical solution provided by the present application has been introduced in detail above. In this paper, specific examples are used to illustrate the principles and implementation methods of the present application, and the descriptions of the above embodiments are only used to help understand the methods and core ideas of the present application. It should be pointed out that those skilled in the art can make some improvements and modifications to the application without departing from the principle of the application, and these improvements and modifications also fall within the protection scope of the application.
Claims (10)
- 一种配置参数更新方法,其特征在于,应用于通讯模组,包括:A method for updating configuration parameters, characterized in that it is applied to a communication module, including:获取NVUP文件,所述NVUP文件为用于对配置参数进行更新的文件;Obtain an NVUP file, the NVUP file is a file used to update configuration parameters;对所述NVUP文件进行解析,获得配置信息;Analyzing the NVUP file to obtain configuration information;利用所述配置信息对所述通讯模组中的配置参数进行更新。The configuration parameters in the communication module are updated by using the configuration information.
- 根据权利要求1所述的配置参数更新方法,其特征在于,所述获取配置终端构建的NVUP文件,包括:The configuration parameter updating method according to claim 1, wherein said obtaining the NVUP file constructed by the configuration terminal comprises:通过OTA技术或USB接口从所述配置终端下载获得所述NVUP文件。The NVUP file is obtained by downloading from the configuration terminal through OTA technology or a USB interface.
- 根据权利要去1所述的配置参数更新方法,其特征在于,所述利用所述配置信息对所述通讯模组中的配置参数进行更新,包括:According to the method for updating configuration parameters described in claim 1, the method for updating configuration parameters in the communication module by using the configuration information includes:利用所述配置信息对所述通讯模组中的NV文件进行更新;其中,所述NV文件中包括有所述通讯模组的配置参数。Using the configuration information to update the NV file in the communication module; wherein, the NV file includes configuration parameters of the communication module.
- 根据权利要求1至3任意一项所述的配置参数更新方法,其特征在于,所述利用所述配置信息对所述通讯模组中的配置参数进行更新之前,还包括:The method for updating configuration parameters according to any one of claims 1 to 3, characterized in that before updating the configuration parameters in the communication module by using the configuration information, it further includes:从所述配置信息中获取版本信息;obtain version information from the configuration information;根据所述版本信息判断所述NVUP文件是否适配所述通讯模组;judging whether the NVUP file is compatible with the communication module according to the version information;若否,则删除所述NVUP文件;If not, then delete the NVUP file;若是,则执行所述利用所述配置信息对所述通讯模组中的配置参数进行更新的步骤。If yes, execute the step of using the configuration information to update the configuration parameters in the communication module.
- 根据权利要去1所述的配置参数更新方法,其特征在于,所述对所述NVUP文件进行解析,获得配置信息之前,还包括:According to the method for updating configuration parameters described in claim 1, it is characterized in that, before analyzing the NVUP file and obtaining configuration information, it also includes:将所述NVUP文件存储至预设存储区域;Storing the NVUP file to a preset storage area;当接收到上电信号时,从所述预设存储区域调取所述NVUP文件至内存。When a power-on signal is received, the NVUP file is transferred from the preset storage area to the internal memory.
- 根据权利要求5所述的配置参数更新方法,其特征在于,所述从所述预设存储区域调取所述NVUP文件至内存之后,还包括:The configuration parameter update method according to claim 5, characterized in that, after the NVUP file is transferred from the preset storage area to the internal memory, further comprising:阻塞系统启动进程;Block the system startup process;相应地,所述利用所述配置信息对所述通讯模组进行更新之后,还包括:Correspondingly, after updating the communication module by using the configuration information, it further includes:重启所述系统启动进程。Restart the system startup process.
- 根据权利要求1所述的配置参数更新方法,其特征在于,所述利用所述配置信息对所述通讯模组中的配置参数进行更新之后,还包括:The configuration parameter update method according to claim 1, characterized in that, after updating the configuration parameters in the communication module by using the configuration information, further comprising:删除所述NVUP文件。Delete said NVUP file.
- 一种配置参数更新装置,其特征在于,应用于通讯模组,包括:A configuration parameter updating device, characterized in that it is applied to a communication module, including:NVUP文件获取模块,用于获取NVUP文件,所述NVUP文件为用于对配置参数进行更新的文件;The NVUP file obtaining module is used to obtain the NVUP file, and the NVUP file is a file for updating configuration parameters;NVUP文件解析模块,用于对所述NVUP文件进行解析,获得配置信息;The NVUP file analysis module is used to analyze the NVUP file to obtain configuration information;配置参数更新模块,用于利用所述配置信息对所述通讯模组中的配置参数进行更新。A configuration parameter update module, configured to use the configuration information to update the configuration parameters in the communication module.
- 一种通讯模组,其特征在于,包括:A communication module, characterized in that it comprises:存储器,用于存储计算机程序;memory for storing computer programs;处理器,用于执行所述计算机程序时实现如权利要求1至7任一项所述的配置参数更新方法的步骤。A processor, configured to implement the steps of the method for updating configuration parameters according to any one of claims 1 to 7 when executing the computer program.
- 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1至7任一项所述的配置参数更新方法的步骤。A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the configuration parameter update according to any one of claims 1 to 7 is realized method steps.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111594069.8 | 2021-12-23 | ||
CN202111594069.8A CN114302427A (en) | 2021-12-23 | 2021-12-23 | Configuration parameter updating method and device and related equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2023116104A1 true WO2023116104A1 (en) | 2023-06-29 |
Family
ID=80969040
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2022/121952 WO2023116104A1 (en) | 2021-12-23 | 2022-09-28 | Configuration parameter updating method and apparatus, and related device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN114302427A (en) |
WO (1) | WO2023116104A1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114302427A (en) * | 2021-12-23 | 2022-04-08 | 锐凌无线通讯科技(深圳)有限公司 | Configuration parameter updating method and device and related equipment |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1805367A (en) * | 2005-01-12 | 2006-07-19 | 华为技术有限公司 | Method of updating configuration file for embedded media terminal adapter |
US7519690B1 (en) * | 2002-02-28 | 2009-04-14 | Sprint Communications Company L.P. | Dynamically updateable parameters in integrated services hub |
CN103412769A (en) * | 2013-07-25 | 2013-11-27 | 华为技术有限公司 | External card parameter configuration method, equipment and system |
CN104077159A (en) * | 2014-04-08 | 2014-10-01 | 京信通信系统(广州)有限公司 | Small cell system parameter attribute configuration method and device |
CN108958772A (en) * | 2018-07-03 | 2018-12-07 | 武汉精测电子集团股份有限公司 | A kind of batch upgrading method and system of more board equipment |
CN111367585A (en) * | 2020-03-13 | 2020-07-03 | 苏州浪潮智能科技有限公司 | BMC configuration method, device, equipment and medium |
CN114302427A (en) * | 2021-12-23 | 2022-04-08 | 锐凌无线通讯科技(深圳)有限公司 | Configuration parameter updating method and device and related equipment |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105743698A (en) * | 2016-01-27 | 2016-07-06 | 宇龙计算机通信科技(深圳)有限公司 | Parameter processing method and terminal |
CN106102083B (en) * | 2016-05-19 | 2020-02-07 | 青岛海信移动通信技术股份有限公司 | Configuration method and equipment |
CN107957916A (en) * | 2017-12-06 | 2018-04-24 | 广东欧珀移动通信有限公司 | Terminal restorative procedure and device, electronic equipment, computer-readable recording medium |
CN111290802B (en) * | 2020-02-13 | 2022-07-08 | 苏州浪潮智能科技有限公司 | Information analysis method and device for BMC internal device and readable storage medium |
CN112533193B (en) * | 2020-11-30 | 2022-12-27 | 福州汇思博信息技术有限公司 | Configuration method and terminal for realizing different network requirements |
-
2021
- 2021-12-23 CN CN202111594069.8A patent/CN114302427A/en active Pending
-
2022
- 2022-09-28 WO PCT/CN2022/121952 patent/WO2023116104A1/en unknown
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7519690B1 (en) * | 2002-02-28 | 2009-04-14 | Sprint Communications Company L.P. | Dynamically updateable parameters in integrated services hub |
CN1805367A (en) * | 2005-01-12 | 2006-07-19 | 华为技术有限公司 | Method of updating configuration file for embedded media terminal adapter |
CN103412769A (en) * | 2013-07-25 | 2013-11-27 | 华为技术有限公司 | External card parameter configuration method, equipment and system |
CN104077159A (en) * | 2014-04-08 | 2014-10-01 | 京信通信系统(广州)有限公司 | Small cell system parameter attribute configuration method and device |
CN108958772A (en) * | 2018-07-03 | 2018-12-07 | 武汉精测电子集团股份有限公司 | A kind of batch upgrading method and system of more board equipment |
CN111367585A (en) * | 2020-03-13 | 2020-07-03 | 苏州浪潮智能科技有限公司 | BMC configuration method, device, equipment and medium |
CN114302427A (en) * | 2021-12-23 | 2022-04-08 | 锐凌无线通讯科技(深圳)有限公司 | Configuration parameter updating method and device and related equipment |
Also Published As
Publication number | Publication date |
---|---|
CN114302427A (en) | 2022-04-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102232304B (en) | Method, system and terminal for system update between mobile communication terminals | |
CN105763602A (en) | Data request processing method, server and cloud interactive system | |
CN111142905B (en) | OTA upgrading method, OTA server and OTA upgrading system | |
WO2021164462A1 (en) | Data encryption method, data decryption method, computer device, and medium | |
WO2020248375A1 (en) | Method and system for synchronizing data between databases, computer device and storage medium | |
CN114416121A (en) | Firmware burning method and device, burning equipment and firmware burning system | |
WO2023116104A1 (en) | Configuration parameter updating method and apparatus, and related device | |
CN111651468A (en) | Data updating method and device based on SQL analysis, electronic equipment and storage medium | |
CN105468422A (en) | Method and system for optimizing operation system | |
CN104239041A (en) | Method device and system for generating processing scheme and configuration and deleting preinstalled application | |
CN109683948A (en) | System data introduction method, device, electronic product and storage medium | |
CN113961226B (en) | Software development kit repairing method, terminal, server and equipment | |
CN110769411A (en) | Method, device, equipment and system for stably realizing batch OTA (over the air) upgrade of terminal equipment | |
CN114356864A (en) | Method and system for importing excel files in batch in domestic environment | |
CN113590161A (en) | Memory-controllable NB-IOT module differential upgrading method and system | |
CN113485952A (en) | Data batch transmission method and device | |
CN110928946A (en) | Document editing method and device and terminal equipment | |
WO2023231565A1 (en) | Mirror image file processing method and apparatus, and storage medium and electronic apparatus | |
CN111949298A (en) | Generation method and device of upgrade package, server and computer storage medium | |
CN106648784A (en) | OTA upgrading method and system based on android system and android terminal | |
CN111338644A (en) | Task script deployment method and system | |
WO2011006385A1 (en) | Statistical method and device for bill information performance | |
WO2014180194A1 (en) | Mobile terminal configuration method and system | |
CN104714856A (en) | Software repairing method and terminal equipment | |
CN110399160B (en) | Channel package packaging method, device, server and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 22909422 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |