CN117785234A - Method, device, medium and equipment for remotely upgrading communication module - Google Patents
Method, device, medium and equipment for remotely upgrading communication module Download PDFInfo
- Publication number
- CN117785234A CN117785234A CN202311567379.XA CN202311567379A CN117785234A CN 117785234 A CN117785234 A CN 117785234A CN 202311567379 A CN202311567379 A CN 202311567379A CN 117785234 A CN117785234 A CN 117785234A
- Authority
- CN
- China
- Prior art keywords
- firmware
- communication module
- upgrading
- upgrade package
- target
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000004891 communication Methods 0.000 title claims abstract description 148
- 238000000034 method Methods 0.000 title claims abstract description 42
- 238000005192 partition Methods 0.000 claims description 16
- 238000004590 computer program Methods 0.000 claims description 9
- 238000010586 diagram Methods 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 4
- 230000009977 dual effect Effects 0.000 description 3
- 238000006467 substitution reaction Methods 0.000 description 1
Landscapes
- Stored Programmes (AREA)
Abstract
The invention relates to a method, a device, a medium and equipment for remotely upgrading a communication module. The method comprises the following steps: remotely downloading a target firmware OTA upgrade package; triggering a module upgrading mark under the condition that the downloading of the target firmware OTA upgrading packet is completed; determining whether the target firmware OTA upgrade package and the communication module are the same base line or not, and obtaining a base line determination result; and according to the base line determination result, a first firmware system and a second firmware system in the communication module, remotely upgrading the communication module, wherein the initial state of the first firmware system is the same as the initial state of the second firmware system, and the first firmware system and the second firmware system can independently support the operation of the communication module. Through the scheme, the problem of remote upgrading of different baselines of the communication module is solved, and the problem that the module is unavailable after power failure in the remote upgrading process is avoided.
Description
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method, an apparatus, a medium, and a device for remotely upgrading a communication module.
Background
With the development of communication Technology, a communication module is used as a basic communication unit, and the upgrade of the communication module becomes more and more frequent, so that the problem is that the SOC (System on Chip) firmware of a Chip manufacturer is continuously updated, the Chip manufacturer only supports remote OTA (Over-the-Air Technology) upgrade of the same modem (modem) base line, when the upgrade of the bottom modem part is related, the remote upgrade is not supported at present, a worker is required to manually lead out a parameter file by a computer, the firmware upgrade is completed to reintroduce the file, the operation is complicated, the manual cooperation with the computer is required, and the upgrade efficiency is low.
Disclosure of Invention
The invention aims to provide a method, a device, a medium and equipment for remotely upgrading a communication module, which are used for solving the problem of remotely upgrading different baselines of the communication module and avoiding the problem that the module is unavailable after power failure in the process of remotely upgrading the module.
In order to achieve the above object, in a first aspect, the present invention provides a method for remotely upgrading a communication module, the method comprising:
remotely downloading a target firmware OTA upgrade package;
triggering a module upgrading mark under the condition that the downloading of the target firmware OTA upgrading packet is completed;
determining whether the target firmware OTA upgrade package and the communication module are the same base line or not, and obtaining a base line determination result;
and according to the base line determination result, a first firmware system and a second firmware system in the communication module, remotely upgrading the communication module, wherein the initial state of the first firmware system is the same as the initial state of the second firmware system, and the first firmware system and the second firmware system can independently support the operation of the communication module.
Optionally, the remote upgrading of the communication module according to the baseline determination result and the first firmware system and the second firmware system in the communication module includes:
acquiring a current starting system of the communication module, wherein the current starting system is the first firmware system or the second firmware system;
under the condition that the determining result represents that the target firmware OTA upgrade package and the communication module are the same base line, remotely upgrading the communication module according to the target firmware OTA upgrade package and the current starting system;
and under the condition that the determining result represents that the target firmware OTA upgrade package and the communication module are not the same base line, backing up the radio frequency parameter file of the communication module, remotely upgrading the communication module according to the target firmware OTA upgrade package and the current starting system, and restoring the radio frequency parameter file.
Optionally, the remote upgrade of the communication module according to the target firmware OTA upgrade package and the current start-up system includes:
if the current starting system is the first firmware system, the target firmware OTA upgrade package is written into the second firmware system, the second firmware system is restarted, and the upgrade result of the second firmware system is marked;
and if the current starting system is the second firmware system, the target firmware OTA upgrade package is written into the first firmware system, the first firmware system is restarted, and the upgrade result of the first firmware system is marked.
Optionally, the backing up the radio frequency parameter file of the communication module includes:
triggering a radio frequency parameter file backup instruction;
backing up the radio frequency parameter file to a non-erasing partition through a modem file system;
the restoring the radio frequency parameter file includes:
triggering a radio frequency parameter file restoring instruction;
and restoring the backed-up radio frequency parameter file into a modem file system, and restarting the modem file system.
Optionally, the determining whether the target firmware OTA upgrade package and the communication module are the same baseline includes:
acquiring first firmware version number format information of the communication module and second firmware version number format information of the target firmware OTA upgrade package;
if the format information of the first firmware version number is the same as the format information of the second firmware version number, determining that the target firmware OTA upgrade package and the communication module are the same base line;
and if the format information of the first firmware version number is different from the format information of the second firmware version number, determining that the target firmware OTA upgrade package and the communication module are different base lines.
Optionally, before the step of remotely downloading the target firmware OTA upgrade package, the method further comprises:
combining the firmware files corresponding to each firmware partition of the communication module to generate a local upgrade package;
and sending the local upgrade package to a remote management platform.
In a second aspect, the present invention provides an apparatus for remotely upgrading a communication module, the apparatus comprising:
the downloading module is used for remotely downloading the target firmware OTA upgrade package;
the triggering module is used for triggering a module upgrading mark under the condition that the downloading of the target firmware OTA upgrading packet is completed;
the determining module is used for determining whether the target firmware OTA upgrade package and the communication module are the same baseline or not, and obtaining a baseline determining result;
and the upgrading module is used for remotely upgrading the communication module according to the base line determination result and the first firmware system and the second firmware system in the communication module, wherein the initial state of the first firmware system is the same as the initial state of the second firmware system, and the first firmware system and the second firmware system can independently support the operation of the communication module.
Optionally, the upgrade module includes:
the first acquisition sub-module is used for acquiring a current starting system of the communication module, wherein the current starting system is the first firmware system or the second firmware system;
the first upgrading sub-module is used for remotely upgrading the communication module according to the target firmware OTA upgrading packet and the current starting system under the condition that the determining result represents that the target firmware OTA upgrading packet and the communication module are the same base line;
and the second upgrading sub-module is used for backing up the radio frequency parameter file of the communication module under the condition that the determining result characterizes that the target firmware OTA upgrading packet and the communication module are not the same base line, remotely upgrading the communication module according to the target firmware OTA upgrading packet and the current starting system, and restoring the radio frequency parameter file.
Optionally, the upgrade sub-module is configured to:
if the current starting system is the first firmware system, the target firmware OTA upgrade package is written into the second firmware system, the second firmware system is restarted, and the upgrade result of the second firmware system is marked;
and if the current starting system is the second firmware system, the target firmware OTA upgrade package is written into the first firmware system, the first firmware system is restarted, and the upgrade result of the first firmware system is marked.
Optionally, the second upgrade sub-module backs up the radio frequency parameter file of the communication module in the following manner:
triggering a radio frequency parameter file backup instruction;
backing up the radio frequency parameter file to a non-erasing partition through a modem file system;
the second upgrading sub-module restores the radio frequency parameter file of the communication module in the following manner:
triggering a radio frequency parameter file restoring instruction;
and restoring the backed-up radio frequency parameter file into a modem file system, and restarting the modem file system.
Optionally, the determining module includes:
the second obtaining submodule is used for obtaining the first firmware version number format information of the communication module and the second firmware version number format information of the target firmware OTA upgrade packet;
the first determining submodule is used for determining that the target firmware OTA upgrade package and the communication module are the same base line if the first firmware version number format information is the same as the second firmware version number format information;
and the second determining submodule is used for determining that the target firmware OTA upgrade package and the communication module are different base lines if the first firmware version number format information and the second firmware version number format information are different.
Optionally, the apparatus further comprises:
the merging module is used for merging the firmware files corresponding to each firmware partition of the communication module before the downloading module remotely downloads the target firmware OTA upgrade package to generate a local upgrade package;
and the sending module is used for sending the local upgrade package to a remote management platform.
In a third aspect, the present invention provides a computer readable storage medium having stored thereon a computer program which when executed by a processor implements the steps of the method provided in the first aspect.
In a fourth aspect, the present invention provides an electronic device comprising:
a memory having a computer program stored thereon;
a processor for executing the computer program in the memory to implement the steps of the method provided in the first aspect.
Through the technical scheme, the target firmware OTA upgrade package is remotely downloaded, whether the target firmware OTA upgrade package and the communication module are the same base line is determined, and the communication module is remotely upgraded according to the base line determination result and the first firmware system and the second firmware system in the communication module, wherein the initial state of the first firmware system is the same as the initial state of the second firmware system, and the first firmware system and the second firmware system can independently support the operation of the communication module. In this way, the problem that the remote upgrading and power-down of the device are unavailable is solved by dividing the dual firmware systems in the device, the first firmware system and the second firmware system refer to two identical firmware systems which are burnt in the device, each system can independently enable the device to operate, the second firmware system is upgraded when the first firmware system is used, the normal operation of the first firmware system is not affected by the power-down, the first firmware system is upgraded when the second firmware system is used, the normal operation of the second firmware system is not affected by the power-down, the normal operation of the current system is not affected by the failure of the upgrading, and the problem that the module is unavailable after the power-down in the remote upgrading process is avoided. In addition, the radio frequency parameter file is automatically backed up in the equipment to the equipment non-erasing partition, and after the firmware OTA upgrading is completed, the radio frequency parameter file is automatically restored, so that the problem of remote OTA upgrading of different baselines is solved.
Drawings
FIG. 1 is a flow chart illustrating a method of remotely upgrading a communication module
Fig. 2 is a schematic diagram of an application scenario of the present invention.
FIG. 3 is a schematic diagram of the main partitions of the firmware system.
Fig. 4 is a schematic diagram of a rf parameter file backup-restore process.
Fig. 5 is a flow chart of a method of remotely upgrading a communication module.
Fig. 6 is a block diagram illustrating an apparatus for remotely upgrading a communication module.
Detailed Description
The present invention will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present invention more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
In the related art, only remote OTA upgrading of the same modem base line is supported, when different modem base lines are upgraded, a computer tool is needed to be used for upgrading manually, remote upgrading is not supported, the upgrading efficiency is low, and when the same modem base line is in remote upgrading, the problem that equipment is unavailable after power failure easily occurs.
In view of the above, the present invention provides a method, apparatus, medium and device for remote upgrade of a communication module, so as to solve the problem of remote upgrade of different baselines of the communication module and avoid the problem that the module is unavailable after power failure in the remote upgrade process.
The technical scheme of the invention is described in detail below.
Fig. 1 is a flow chart illustrating a method for remotely upgrading a communication module, which may include steps 11 to 14 as shown in fig. 1.
Step 11, remotely downloading a target firmware OTA upgrade package;
step 12, triggering a module upgrading mark under the condition that downloading of the target firmware OTA upgrading packet is completed;
step 13, determining whether the target firmware OTA upgrade package and the communication module are the same baseline, and obtaining a baseline determination result;
and 14, remotely upgrading the communication module according to the base line determination result and the first firmware system and the second firmware system in the communication module, wherein the initial state of the first firmware system is the same as the initial state of the second firmware system, and the first firmware system and the second firmware system can independently support the operation of the communication module.
The communication module is, for example, a 5G module. Fig. 2 is a schematic view of an application scenario of the present invention, as shown in fig. 2, the remote management platform 21 and each terminal 22 may communicate wirelessly, e.g. 5G, where the terminal may be a mobile phone, a computer, etc., without limitation,
for example, the device may download a target firmware OTA upgrade package from the remote management platform, the target firmware OTA upgrade package for upgrading the communication module. And under the condition that the downloading of the OTA upgrade package of the target firmware is completed, triggering the upgrade mark of the module, namely setting the upgrade mark to trigger the upgrade. In the invention, the upgrading process is different between the case that the target firmware OTA upgrading packet and the communication module are the same base line and the case that the target firmware OTA upgrading packet and the communication module are different base lines. And then, according to the base line determination result, the first firmware system and the second firmware system in the communication module, remotely upgrading the communication module. In the invention, the initial state of the first firmware system is the same as the initial state of the second firmware system, and the first firmware system and the second firmware system can independently support the operation of the communication module. In the related technology, in the upgrading of different modem baselines, the radio frequency drive or parameters of the bottom layer are changed, the modem is incompatible with the new modem baselines, the direct upgrading can lead to the modem not to work normally, the firmware is not backed up by a double system, and the firmware is lost due to the power failure in the upgrading and the equipment is not available. Therefore, the invention divides the dual firmware system in the device to solve the problem that the remote upgrading and power-down of the device are not available. The first firmware system and the second firmware system refer to the firmware systems A and B which are the same in 2 copies of programming in the equipment, each system can independently enable the equipment to operate, and the system is an AP+MODEM architecture and runs linux+rtos.
Through the technical scheme, the target firmware OTA upgrade package is remotely downloaded, whether the target firmware OTA upgrade package and the communication module are the same base line is determined, and the communication module is remotely upgraded according to the base line determination result and the first firmware system and the second firmware system in the communication module, wherein the initial state of the first firmware system is the same as the initial state of the second firmware system, and the first firmware system and the second firmware system can independently support the operation of the communication module. In this way, the problem that the remote upgrading and power-down of the device are unavailable is solved by dividing the dual firmware systems in the device, the first firmware system and the second firmware system refer to two identical firmware systems which are burnt in the device, each system can independently enable the device to operate, the second firmware system is upgraded when the first firmware system is used, the normal operation of the first firmware system is not affected by the power-down, the first firmware system is upgraded when the second firmware system is used, the normal operation of the second firmware system is not affected by the power-down, the normal operation of the current system is not affected by the failure of the upgrading, and the problem that the module is unavailable after the power-down in the remote upgrading process is avoided. In addition, the radio frequency parameter file is automatically backed up in the equipment to the equipment non-erasing partition, and after the firmware OTA upgrading is completed, the radio frequency parameter file is automatically restored, so that the problem of remote OTA upgrading of different baselines is solved.
In the invention, before remotely downloading the target firmware OTA upgrade package in step 11, the method further comprises:
combining the firmware files corresponding to each firmware partition of the communication module to generate a local upgrade package;
and sending the local upgrade package to a remote management platform.
FIG. 3 is a schematic diagram of main partitions of a firmware system, each partition having its own firmware file, all of the firmware being composed of an upgrade package, the upgrade package being packaged by an upgrade package making tool. The upgrade package is manufactured by the module equipment, uploaded to the remote management platform, and then downloaded from the remote management platform.
In the present invention, in step 13, determining whether the target firmware OTA upgrade package and the communication module are the same baseline includes:
acquiring first firmware version number format information of the communication module and second firmware version number format information of the target firmware OTA upgrade package;
if the format information of the first firmware version number is the same as the format information of the second firmware version number, determining that the target firmware OTA upgrade package and the communication module are the same base line;
and if the format information of the first firmware version number is different from the format information of the second firmware version number, determining that the target firmware OTA upgrade package and the communication module are different base lines.
In step 14, according to the baseline determination result, and the first firmware system and the second firmware system in the communication module, performing remote upgrade on the communication module may include:
acquiring a current starting system of the communication module, wherein the current starting system is the first firmware system or the second firmware system;
under the condition that the determining result represents that the target firmware OTA upgrade package and the communication module are the same base line, remotely upgrading the communication module according to the target firmware OTA upgrade package and the current starting system;
and under the condition that the determining result represents that the target firmware OTA upgrade package and the communication module are not the same base line, backing up the radio frequency parameter file of the communication module, remotely upgrading the communication module according to the target firmware OTA upgrade package and the current starting system, and restoring the radio frequency parameter file.
The remote upgrading of the communication module according to the target firmware OTA upgrade package and the current starting system comprises the following steps:
if the current starting system is the first firmware system, the target firmware OTA upgrade package is written into the second firmware system, the second firmware system is restarted, and the upgrade result of the second firmware system is marked;
and if the current starting system is the second firmware system, the target firmware OTA upgrade package is written into the first firmware system, the first firmware system is restarted, and the upgrade result of the first firmware system is marked.
In an example, the first firmware system is represented by a system a, the second firmware system is represented by a system B, and if the current starting system is a, the OTA firmware is programmed into the system B, the post-programming starting flag bit is the system B, the system is restarted, the starting process will guide the system B to start, after the system is successfully started and operated, the system B upgrading result is set to 1, and the system upgrading is successful. If the current starting system is B, the OTA firmware is programmed into the system A, the post-programming starting flag bit is the system A, the system is restarted, the starting process starts the system A, after the system is successfully started and operated, the upgrading result of the system A is set to be 1, and the system is successfully upgraded.
In the invention, the backup of the radio frequency parameter file of the communication module comprises the following steps:
triggering a radio frequency parameter file backup instruction;
backing up the radio frequency parameter file to a non-erasing partition through a modem file system;
the restoring the radio frequency parameter file includes:
triggering a radio frequency parameter file restoring instruction;
and restoring the backed-up radio frequency parameter file into a modem file system, and restarting the modem file system.
Under the condition of upgrading different modem baselines, firstly executing a QCN (radio frequency parameter file) parameter backup command, setting a QCN backup mark as 1 in a non-erasable/data system caused by QCN backup, and setting a current starting system as A, programming OTA firmware into a system B, setting a starting flag bit as the system B after programming, restarting the system, starting the system B by a starting process, reading the backup mark and carrying out QCN parameter restoration after the system is successfully started and operated, setting a system B upgrading result as 1, and successfully upgrading the system. If the current starting system is B, the OTA firmware is programmed into the system A, the post-programming starting flag bit is the system A, the system is restarted, the starting process starts the system A, after the system is successfully started and operated, the backup mark is read, QCN parameter restoration is carried out, the upgrading result of the system A is set to 1, and the system is successfully upgraded.
Fig. 4 is a schematic diagram of a rf parameter file backup-restore process. As shown in fig. 4, in the QCN backup process, the system determines different baseline upgrades, triggers a QCN backup action command, reads and backs up the key rf files such as/rf/nv_xxx to the non-erasing partition through the modem file system, and upgrades the modem firmware after the backup is completed. QCN reduction: and the system judges that the upgrade is successful, triggers a QCN restoring action command, restores the backed-up radio frequency file parameters to the modem file system through the modem file system, and completes the restoration to restart the modem, so that the system upgrade is completed.
Fig. 5 is a flowchart of a method for remotely upgrading a communication module, and the steps and the execution sequence shown in fig. 5 are only examples, and are not limiting on the embodiments of the present invention.
Step 501, a local upgrade package is generated.
Step 502, sending the local upgrade package to a remote management platform.
Step 503, remotely downloading the target firmware OTA upgrade package.
Step 504, triggering a module upgrade flag.
Step 505, determining whether the target firmware OTA upgrade package and the communication module are the same baseline. If the same baseline is used, go to step 506, step 509 to step 511; if the base lines are different, go to step 506 to step 512.
Step 506, obtaining the current starting system of the communication module.
Step 507, backing up the radio frequency parameter file of the communication module.
Step 508, if the current starting system is the first firmware system, the target firmware OTA upgrade package is updated to the second firmware system.
Step 509, restarting the second firmware system.
Step 510, if the current starting system is the second firmware system, the target firmware OTA upgrade package is written into the first firmware system.
Step 511, restarting the first firmware system.
And step 512, restoring the radio frequency parameter file.
The embodiment of the steps shown in fig. 5 has been described above and will not be described in detail here.
Based on the same inventive concept, the present invention further provides a device for remotely upgrading a communication module, and fig. 6 is a block diagram of an exemplary device for remotely upgrading a communication module, and as shown in fig. 6, the device 600 may include:
the downloading module 601 is configured to remotely download a target firmware OTA upgrade package;
the triggering module 602 is configured to trigger a module upgrade flag when the downloading of the target firmware OTA upgrade package is completed;
a determining module 603, configured to determine whether the target firmware OTA upgrade package and the communication module are the same baseline, and obtain a baseline determination result;
and the upgrading module 604 is configured to remotely upgrade the communication module according to the baseline determination result and the first firmware system and the second firmware system in the communication module, where an initial state of the first firmware system is the same as an initial state of the second firmware system, and the first firmware system and the second firmware system can both independently support the operation of the communication module.
Optionally, the upgrade module includes:
the first acquisition sub-module is used for acquiring a current starting system of the communication module, wherein the current starting system is the first firmware system or the second firmware system;
the first upgrading sub-module is used for remotely upgrading the communication module according to the target firmware OTA upgrading packet and the current starting system under the condition that the determining result represents that the target firmware OTA upgrading packet and the communication module are the same base line;
and the second upgrading sub-module is used for backing up the radio frequency parameter file of the communication module under the condition that the determining result characterizes that the target firmware OTA upgrading packet and the communication module are not the same base line, remotely upgrading the communication module according to the target firmware OTA upgrading packet and the current starting system, and restoring the radio frequency parameter file.
Optionally, the upgrade sub-module is configured to:
if the current starting system is the first firmware system, the target firmware OTA upgrade package is written into the second firmware system, the second firmware system is restarted, and the upgrade result of the second firmware system is marked;
and if the current starting system is the second firmware system, the target firmware OTA upgrade package is written into the first firmware system, the first firmware system is restarted, and the upgrade result of the first firmware system is marked.
Optionally, the second upgrade sub-module backs up the radio frequency parameter file of the communication module in the following manner:
triggering a radio frequency parameter file backup instruction;
backing up the radio frequency parameter file to a non-erasing partition through a modem file system;
the second upgrading sub-module restores the radio frequency parameter file of the communication module in the following manner:
triggering a radio frequency parameter file restoring instruction;
and restoring the backed-up radio frequency parameter file into a modem file system, and restarting the modem file system.
Optionally, the determining module includes:
the second obtaining submodule is used for obtaining the first firmware version number format information of the communication module and the second firmware version number format information of the target firmware OTA upgrade packet;
the first determining submodule is used for determining that the target firmware OTA upgrade package and the communication module are the same base line if the first firmware version number format information is the same as the second firmware version number format information;
and the second determining submodule is used for determining that the target firmware OTA upgrade package and the communication module are different base lines if the first firmware version number format information and the second firmware version number format information are different.
Optionally, the apparatus further comprises:
the merging module is used for merging the firmware files corresponding to each firmware partition of the communication module before the downloading module remotely downloads the target firmware OTA upgrade package to generate a local upgrade package;
and the sending module is used for sending the local upgrade package to a remote management platform.
The present invention also provides a computer readable storage medium having stored thereon a computer program which when executed by a processor implements the steps of the method for remotely upgrading a communication module provided by the present invention.
The present invention also provides an electronic device including:
a memory having a computer program stored thereon;
and the processor is used for executing the computer program in the memory to realize the steps of the method for remotely upgrading the communication module.
The present invention is not limited to the above-mentioned embodiments, and any changes or substitutions that can be easily understood by those skilled in the art within the technical scope of the present invention are intended to be included in the scope of the present invention. Therefore, the protection scope of the present invention should be subject to the protection scope of the claims.
Claims (10)
1. A method for remotely upgrading a communication module, the method comprising:
remotely downloading a target firmware OTA upgrade package;
triggering a module upgrading mark under the condition that the downloading of the target firmware OTA upgrading packet is completed;
determining whether the target firmware OTA upgrade package and the communication module are the same base line or not, and obtaining a base line determination result;
and according to the base line determination result, a first firmware system and a second firmware system in the communication module, remotely upgrading the communication module, wherein the initial state of the first firmware system is the same as the initial state of the second firmware system, and the first firmware system and the second firmware system can independently support the operation of the communication module.
2. The method of claim 1, wherein remotely upgrading the communication module according to the baseline determination result and the first firmware system and the second firmware system in the communication module comprises:
acquiring a current starting system of the communication module, wherein the current starting system is the first firmware system or the second firmware system;
under the condition that the determining result represents that the target firmware OTA upgrade package and the communication module are the same base line, remotely upgrading the communication module according to the target firmware OTA upgrade package and the current starting system;
and under the condition that the determining result represents that the target firmware OTA upgrade package and the communication module are not the same base line, backing up the radio frequency parameter file of the communication module, remotely upgrading the communication module according to the target firmware OTA upgrade package and the current starting system, and restoring the radio frequency parameter file.
3. The method of claim 2, wherein remotely upgrading the communication module according to the target firmware OTA upgrade package and the current boot-up system comprises:
if the current starting system is the first firmware system, the target firmware OTA upgrade package is written into the second firmware system, the second firmware system is restarted, and the upgrade result of the second firmware system is marked;
and if the current starting system is the second firmware system, the target firmware OTA upgrade package is written into the first firmware system, the first firmware system is restarted, and the upgrade result of the first firmware system is marked.
4. The method of claim 2, wherein the backing up the rf parameter file of the communication module comprises:
triggering a radio frequency parameter file backup instruction;
backing up the radio frequency parameter file to a non-erasing partition through a modem file system;
the restoring the radio frequency parameter file includes:
triggering a radio frequency parameter file restoring instruction;
and restoring the backed-up radio frequency parameter file into a modem file system, and restarting the modem file system.
5. The method of claim 1, wherein determining whether the target firmware OTA upgrade package and the communication module are the same baseline comprises:
acquiring first firmware version number format information of the communication module and second firmware version number format information of the target firmware OTA upgrade package;
if the format information of the first firmware version number is the same as the format information of the second firmware version number, determining that the target firmware OTA upgrade package and the communication module are the same base line;
and if the format information of the first firmware version number is different from the format information of the second firmware version number, determining that the target firmware OTA upgrade package and the communication module are different base lines.
6. The method of claim 1, wherein prior to the step of remotely downloading a target firmware OTA upgrade package, the method further comprises:
combining the firmware files corresponding to each firmware partition of the communication module to generate a local upgrade package;
and sending the local upgrade package to a remote management platform.
7. An apparatus for remotely upgrading a communication module, the apparatus comprising:
the downloading module is used for remotely downloading the target firmware OTA upgrade package;
the triggering module is used for triggering a module upgrading mark under the condition that the downloading of the target firmware OTA upgrading packet is completed;
the determining module is used for determining whether the target firmware OTA upgrade package and the communication module are the same baseline or not, and obtaining a baseline determining result;
and the upgrading module is used for remotely upgrading the communication module according to the base line determination result and the first firmware system and the second firmware system in the communication module, wherein the initial state of the first firmware system is the same as the initial state of the second firmware system, and the first firmware system and the second firmware system can independently support the operation of the communication module.
8. The apparatus of claim 7, wherein the upgrade module comprises:
the first acquisition sub-module is used for acquiring a current starting system of the communication module, wherein the current starting system is the first firmware system or the second firmware system;
the first upgrading sub-module is used for remotely upgrading the communication module according to the target firmware OTA upgrading packet and the current starting system under the condition that the determining result represents that the target firmware OTA upgrading packet and the communication module are the same base line;
and the second upgrading sub-module is used for backing up the radio frequency parameter file of the communication module under the condition that the determining result characterizes that the target firmware OTA upgrading packet and the communication module are not the same base line, remotely upgrading the communication module according to the target firmware OTA upgrading packet and the current starting system, and restoring the radio frequency parameter file.
9. A computer readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the steps of the method according to any one of claims 1-7.
10. An electronic device, comprising:
a memory having a computer program stored thereon;
a processor for executing the computer program in the memory to implement the steps of the method of any one of claims 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311567379.XA CN117785234A (en) | 2023-11-22 | 2023-11-22 | Method, device, medium and equipment for remotely upgrading communication module |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311567379.XA CN117785234A (en) | 2023-11-22 | 2023-11-22 | Method, device, medium and equipment for remotely upgrading communication module |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117785234A true CN117785234A (en) | 2024-03-29 |
Family
ID=90378865
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311567379.XA Pending CN117785234A (en) | 2023-11-22 | 2023-11-22 | Method, device, medium and equipment for remotely upgrading communication module |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117785234A (en) |
-
2023
- 2023-11-22 CN CN202311567379.XA patent/CN117785234A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8539471B2 (en) | Updating firmware of an electronic device | |
US7275153B2 (en) | Booting and boot code update system using boot strapper code to select between a loader and a duplicate backup loader | |
CN110083374B (en) | Upgrade rollback method, system and terminal equipment | |
EP1821506A2 (en) | Mobile terminal and software update method | |
US8726259B2 (en) | System and method for preserving device parameters during a FOTA upgrade | |
EP2456257B1 (en) | Method and system for upgrading wireless data card | |
CN102334100A (en) | Program update device, program update method, and information processing device | |
EP3113018A1 (en) | Method and apparatus for running version file | |
KR20080023841A (en) | The method of firmware upgrade and automatic firmware recovery system | |
CN106775874B (en) | System upgrading method of terminal equipment | |
CN102300239B (en) | Base station and self-starting method thereof | |
CN114995852A (en) | Equipment upgrading method, equipment and computer readable storage medium | |
CN110597532A (en) | Data acquisition module, firmware upgrading method thereof and storage medium | |
CN112685068B (en) | Method for remotely upgrading BOOT image file and computer readable medium | |
CN111026417A (en) | Embedded equipment upgrading method and embedded equipment | |
CN112860291A (en) | Firmware upgrading method and device | |
CN113805926A (en) | Software upgrading method, vehicle and computer readable storage medium | |
CN117785234A (en) | Method, device, medium and equipment for remotely upgrading communication module | |
KR100832269B1 (en) | Program update method and system for wireless communication terminal | |
US20230132494A1 (en) | Information processing apparatus, method of controlling the same, and storage medium | |
CN107436783B (en) | Differential upgrading method for mobile terminal, storage medium and mobile terminal | |
CN100484038C (en) | Network element version switching method and device | |
CN110309018B (en) | Charging equipment system switching method, charging equipment and readable storage medium | |
CN114124698A (en) | Upgrading method, device and system of power distribution automation terminal operation system based on cloud master station | |
JP2001331379A (en) | Method and device for rewriting flash memory update program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |