Private network terminal firmware upgrading method, device, equipment, medium and program product

By receiving and sending firmware packages from remote servers to the private network module via the public network module, the problem of cumbersome firmware upgrades for private network terminals is solved, enabling simplified upgrades without on-site operation and reducing maintenance costs.

CN120857098APending Publication Date: 2025-10-28FUJIAN KIRISUN ELECTRONICS
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202510667165.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-22
Publication Date
2025-10-28

AI Technical Summary

Technical Problem

Upgrading firmware for private network terminals is a complicated process that requires maintenance personnel to go to the site, increasing maintenance costs.

Method used

The firmware package is received from the remote server by the public network module of the private network terminal and sent to the private network module through the serial communication interface to achieve firmware upgrade, thus avoiding the use of USB programming cable.

Benefits of technology

It simplifies the firmware upgrade process for private network terminals, reduces maintenance costs, and decreases the need for on-site operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120857098A_ABST
    Figure CN120857098A_ABST
Patent Text Reader

Abstract

The invention relates to a private network terminal firmware upgrading method, device and equipment, a medium and a program product, the method is applied to a private network terminal, the private network terminal comprises a public network module and a private network module, and the method comprises the following steps: receiving a firmware package from a remote server through the public network module, the firmware package is used for upgrading firmware of the private network terminal; the public network module sends the firmware packet to the private network module; and the private network module upgrades the firmware of the private network terminal through the firmware package. Therefore, in the technical scheme of the invention, the public network module receives the firmware package from the remote server and sends the firmware package to the private network module so as to realize firmware upgrading of the private network terminal. The firmware package does not need to be obtained through a USB frequency writing line, so that maintenance personnel do not need to upgrade on site, the firmware upgrading process of the private network terminal is effectively simplified, and the maintenance cost of the private network terminal is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of private network terminals, and in particular to a method, apparatus, device, medium and program product for firmware upgrade of private network terminals. Background Technology

[0002] Private network terminals refer to communication devices used in specific dedicated networks. They are widely used in emergency rescue, public safety, transportation, and energy and chemical industries. To optimize the performance of private network terminals, continuous firmware upgrades are necessary.

[0003] Currently, in the technical solution for firmware upgrades of private network terminals, users connect the private network terminal and the computer via a USB programming cable. The user loads the private network terminal firmware on the computer using an upgrade tool and then writes the firmware into the private network terminal via USB serial communication to achieve the firmware upgrade.

[0004] However, private network terminals require a USB programming cable to connect to a computer. Therefore, maintenance personnel need to go on-site to upgrade the firmware of the private network terminals, making the firmware upgrade process cumbersome and increasing maintenance costs. Summary of the Invention

[0005] This application provides a method, apparatus, device, medium, and program product for upgrading firmware of private network terminals, aiming to solve the technical problem of the cumbersome firmware upgrade process for private network terminals.

[0006] Firstly, embodiments of this application provide a relatively cumbersome method for upgrading firmware of private network terminals, which includes:

[0007] The method is applied to a private network terminal, the private network terminal including a public network module and a private network module, and the method includes:

[0008] The public network module receives a firmware package from a remote server, which is used to upgrade the firmware of the private network terminal.

[0009] The public network module sends the firmware package to the private network module;

[0010] The private network module upgrades the firmware of the private network terminal through the firmware package.

[0011] Optionally, the public network module sends the firmware package to the private network module, including:

[0012] The public network module sends the firmware package to the private network module through a serial communication interface.

[0013] Optionally, the public network module sends the firmware package to the private network module, including:

[0014] The firmware package is split into multiple smaller packages;

[0015] Send the multiple small packets to the private network module.

[0016] Optionally, the plurality of small packets includes a target small packet, the target small packet includes a checksum, and after sending the plurality of small packets to the private network module, the method further includes:

[0017] The private network module determines whether the data of the target packet is abnormal based on the verification code.

[0018] If so, the public network module sends the target packet according to the preset number of retransmissions.

[0019] Optionally, the target packet further includes an index number and a total number of packets. After splitting the firmware package into multiple packets, the method further includes:

[0020] The upgrade progress of the firmware package is calculated based on the index number and the total number of packages.

[0021] Optionally, the private network module upgrades the firmware of the private network terminal using the firmware package, including:

[0022] The private network module extracts the payload of each small packet from the multiple small packets;

[0023] The firmware of the private network terminal is upgraded based on the payload of each of the plurality of small packets.

[0024] Secondly, embodiments of this application also provide a private network terminal firmware upgrade device, which includes a unit for performing the above-described method.

[0025] Thirdly, embodiments of this application also provide a computer device, which includes a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the above-described method.

[0026] Fourthly, embodiments of this application also provide a computer-readable storage medium storing a computer program that, when executed by a processor, can implement the above-described method.

[0027] Fifthly, embodiments of this application also provide a computer program product, including a computer program or computer instructions, which, when executed by a computer, implement the above-described method.

[0028] This application provides a method, apparatus, device, medium, and program product for firmware upgrade of a private network terminal. The method is applied to a private network terminal, which includes a public network module and a private network module. The method includes: receiving a firmware package from a remote server through the public network module, the firmware package being used to upgrade the firmware of the private network terminal; the public network module sending the firmware package to the private network module; and the private network module upgrading the firmware of the private network terminal using the firmware package. Therefore, in this application's technical solution, the public network module receives the firmware package from the remote server and sends the firmware package to the private network module to achieve firmware upgrade of the private network terminal. It eliminates the need to obtain the firmware package via a USB programming cable, thus eliminating the need for maintenance personnel to perform on-site upgrades, effectively simplifying the firmware upgrade process for private network terminals and reducing maintenance costs. Attached Figure Description

[0029] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0030] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0031] One or more embodiments are illustrated by way of example with reference numerals in the accompanying drawings. These illustrations do not constitute a limitation on the embodiments. Elements with the same reference numerals in the drawings are denoted as similar elements. Unless otherwise stated, the figures in the drawings are not to be limited by scale.

[0032] Figure 1a A schematic diagram of a private network terminal firmware upgrade process provided in this application embodiment;

[0033] Figure 1b A schematic block diagram illustrating serial communication between the public network module and the private network module of the converged dual-mode terminal provided in this application embodiment;

[0034] Figure 2 A schematic block diagram of a private network terminal firmware upgrade device provided in this application embodiment;

[0035] Figure 3 A computer device provided in an embodiment of this application. Detailed Implementation

[0036] To make the purpose, technical solutions, and advantages of the embodiments of this application more clear, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.

[0037] The following disclosure provides numerous different embodiments or examples for implementing various structures of this application. To simplify the disclosure, specific examples of components and arrangements are described below. These are merely examples and are not intended to limit the scope of this application. Furthermore, reference numerals and / or letters may be repeated in different examples. Such repetition is for simplification and clarity and does not in itself indicate a relationship between the various embodiments and / or arrangements discussed.

[0038] It should be understood that, when used in this specification and the appended claims, the terms "comprising" and "including" indicate the presence of the described features, integrals, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or collections thereof.

[0039] It should also be understood that the terms used in this specification are for the purpose of describing specific embodiments only and are not intended to limit the present application. As used in this specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms unless the context clearly indicates otherwise.

[0040] It should also be further understood that the term “and / or” as used in this application specification and the appended claims means any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.

[0041] As used in this specification and the appended claims, the term "if" may be interpreted, depending on the context, as "when," "once," "in response to determination," or "in response to detection." Similarly, the phrases "if determined" or "if [described condition or event] is detected" may be interpreted, depending on the context, as "once determined," "in response to determination," "once [described condition or event] is detected," or "in response to detection of [described condition or event]."

[0042] To address the cumbersome technical issues associated with firmware upgrades for private network terminals in existing technologies, this application provides a firmware upgrade device for private network terminals that simplifies the firmware upgrade process.

[0043] Figure 1a This is a flowchart illustrating a firmware upgrade method for a private network terminal provided in an embodiment of this application. In one embodiment, the method is applied to a private network terminal, which includes a public network module and a private network module. The method includes:

[0044] S1. Receive firmware packages from remote servers via the public network module.

[0045] Private network terminals are communication devices that use dedicated networks. They are widely used in fields such as emergency rescue, public safety, transportation, and energy and chemical industries.

[0046] Please see Figure 1b The private network terminal includes a public network module and a private network module. The public network module provides access to public networks, while the private network module provides access to dedicated networks. The remote server can be a server located on the public network. Firmware packages are used to upgrade the firmware of the private network terminal. Typically, the bandwidth of a private network is smaller than that of a public network. Therefore, in this embodiment, the public network module receives firmware packages from a remote server via a public network to upgrade the firmware of the private network terminal. The public network can be Wi-Fi or a 4G network. Of course, the public network can also be other public networks, such as 5G or 6G networks. This application does not impose any restrictions on this.

[0047] S2, the public network module sends the firmware package to the private network module.

[0048] It should be noted that the storage of the private network module is isolated from that of the public network module. Therefore, after receiving the firmware package, the public network module sends the firmware package to the private network module.

[0049] S3, the private network module upgrades the firmware of the private network terminal through a firmware package.

[0050] After receiving the firmware package, the private network module writes the firmware package into the corresponding memory to upgrade the firmware of the private network terminal.

[0051] This application provides a method for firmware upgrade of a private network terminal. The method is applied to a private network terminal, which includes a public network module and a private network module. The method includes: receiving a firmware package from a remote server through the public network module, the firmware package being used to upgrade the firmware of the private network terminal; the public network module sending the firmware package to the private network module; and the private network module upgrading the firmware of the private network terminal using the firmware package. Therefore, in this application's technical solution, the public network module receives the firmware package from a remote server and sends the firmware package to the private network module to achieve firmware upgrade of the private network terminal. It eliminates the need to obtain the firmware package via a USB programming cable, thus eliminating the need for maintenance personnel to perform on-site upgrades, effectively simplifying the firmware upgrade process for private network terminals and reducing maintenance costs.

[0052] In one embodiment, the public network module sends a firmware package to the private network module via a serial communication interface. The serial communication interface can be a Serial Peripheral Interface (SPI) or an Inter-Integrated Circuit (I2C) bus. 2 C). Of course, other types of serial communication interfaces can also be used. For example, a Universal Asynchronous Receiver-Transmitter (UART). This application does not limit this.

[0053] In one embodiment, the public network module sends the firmware package to the private network module, including:

[0054] A. Split the firmware package into multiple smaller packages.

[0055] Each packet includes a header, which contains: the total number of packets, the index number of the current packet, the number of bytes in the current packet, and a checksum. Each packet has a unique index number.

[0056] B. Send multiple small packets to the private network module.

[0057] The public network module sends multiple small packets to the private network module in sequence according to the index number of the small packets.

[0058] In one embodiment, the plurality of packets includes a target packet, the target packet includes a checksum, and after sending the plurality of packets to the private network module, the method further includes:

[0059] a. The private network module determines whether the data of the target small packet is abnormal based on the check code.

[0060] The private network module receives the target packet, extracts the checksum from the target packet, and verifies the data of the target packet.

[0061] It should be noted that if the target packet is corrupted or tampered with during data transmission, the data in the target packet will become abnormal.

[0062] If the private network module fails the verification, it notifies the public network module to retransmit the target packet. If the private network module succeeds in the verification, it sends an acknowledgment message to the public network module to inform it that the private network module has successfully received the target packet.

[0063] b. The public network module sends the target packet according to the preset number of retransmissions.

[0064] The preset number of retransmissions was set by the applicant based on experience. Preferably, the preset number of retransmissions is 3. Of course, the preset number of retransmissions can be other positive integers. This application does not impose any restrictions on this.

[0065] If the private network module detects an anomaly in the target packet after verifying it, it will notify the public network module to retransmit the target packet. Upon receiving the retransmission instruction, the public network module will retransmit the target packet.

[0066] If the number of retransmissions of the target packet exceeds the preset number of retransmissions, the firmware upgrade process of the private network terminal will be stopped.

[0067] It should be noted that for each small packet sent from the public network module to the private network module, the packet index number of that small packet is automatically incremented by one. When the public network module successfully sends all the small packets of the firmware package to the private network module, the private network module extracts the payload of each small packet from multiple small packets to upgrade the firmware of the private network terminal. Specifically, the private network terminal startup process writes the payload of each small packet into the corresponding memory. When the payloads of all small packets are successfully written into memory, it indicates that the private network terminal has completed the firmware upgrade.

[0068] In one embodiment, the private network module calculates the firmware package upgrade progress based on the received packet index number and the total number of packets. For example, if the total number of packets is 100 and the received packet index number is 50, then the current firmware package upgrade progress is 50 / 100 = 50%.

[0069] See Figure 2 , Figure 2 This is a schematic block diagram of a private network terminal firmware upgrade device provided in an embodiment of this application. Corresponding to the above-described private network terminal firmware upgrade method, this application also provides a private network terminal firmware upgrade device. This private network terminal firmware upgrade device includes a unit for executing the above-described private network terminal firmware upgrade method, and can be configured in a desktop computer, tablet computer, laptop computer, or other terminal. Specifically, the device is applied to a private network terminal, which includes a public network module and a private network module, and the private network terminal firmware upgrade device includes:

[0070] The receiving unit 201 is used to receive a firmware package from a remote server through the public network module, the firmware package being used to upgrade the firmware of the private network terminal;

[0071] Sending unit 202 is used for the public network module to send the firmware package to the private network module;

[0072] Upgrade unit 203 is used by the private network module to upgrade the firmware of the private network terminal through the firmware package.

[0073] In one embodiment, the sending unit 202 is specifically used for the public network module to send the firmware package to the private network module through a serial communication interface.

[0074] In one embodiment, the sending unit 202 is specifically used to split the firmware package into multiple smaller packets and send the multiple smaller packets to the private network module.

[0075] In one embodiment, the device further includes:

[0076] Judgment unit 204 is used by the private network module to determine whether the data of the target small packet is abnormal based on the verification code;

[0077] The retransmission unit 205 is used by the public network module to send the target small packet according to a preset number of retransmissions.

[0078] In one embodiment, the device further includes:

[0079] The calculation unit 206 is used to calculate the upgrade progress of the firmware package based on the index number and the total number of packages.

[0080] In one embodiment, the upgrade unit 203 is specifically used to extract the payload of each of the plurality of small packets from the private network module; and upgrade the firmware of the private network terminal according to the payload of each of the plurality of small packets.

[0081] like Figure 3 As shown, this application provides a computer device including a processor 31, a communication interface 32, a memory 33, and a communication bus 34. The processor 31, the communication interface 32, and the memory 33 communicate with each other through the communication bus 34. The memory 33 is used to store computer programs.

[0082] In one embodiment of this application, the processor 31, when executing the program stored in the memory 33, implements the control method for upgrading the private network terminal firmware provided in any of the foregoing method embodiments.

[0083] It will be understood by those skilled in the art that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program may be stored in a storage medium, which is a computer-readable storage medium. The computer program is executed by at least one processor in the computer system to implement the process steps of the embodiments of the above methods.

[0084] Therefore, embodiments of this application also provide a computer-readable storage medium storing a computer program thereon, wherein the computer program, when executed by a processor, implements the steps of the private network terminal firmware upgrade method provided in any of the foregoing method embodiments.

[0085] The storage medium is a physical, non-transient storage medium, such as a USB flash drive, external hard drive, read-only memory (ROM), magnetic disk, or optical disk, or any other physical storage medium capable of storing program code. The computer-readable storage medium can be non-volatile or volatile.

[0086] This application also provides a computer program product, including a computer program or computer instructions, which, when executed by a computer, implements a method for upgrading firmware of a private network terminal.

[0087] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this application.

[0088] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative. For example, the division of each unit is merely a logical functional division, and there may be other division methods in actual implementation. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed.

[0089] The steps in the methods of this application embodiment can be adjusted, merged, or deleted according to actual needs. The units in the apparatus of this application embodiment can be merged, divided, or deleted according to actual needs. Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0090] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, a terminal, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application.

[0091] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.

[0092] Obviously, those skilled in the art can make various modifications and variations to this application without departing from the spirit and scope of this application. Since these modifications and variations fall within the scope of the claims and their equivalents, this application also intends to include these modifications and variations.

[0093] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in this application, and these modifications or substitutions should all be covered within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A method for upgrading firmware of a private network terminal, characterized in that, The method is applied to a private network terminal, the private network terminal including a public network module and a private network module, and the method includes: The public network module receives a firmware package from a remote server, which is used to upgrade the firmware of the private network terminal. The public network module sends the firmware package to the private network module; The private network module upgrades the firmware of the private network terminal through the firmware package.

2. The method according to claim 1, characterized in that, The public network module sends the firmware package to the private network module, including: The public network module sends the firmware package to the private network module through a serial communication interface.

3. The method according to claim 1 or 2, characterized in that, The public network module sends the firmware package to the private network module, including: The firmware package is split into multiple smaller packages; Send the multiple small packets to the private network module.

4. The method according to claim 3, characterized in that, The plurality of small packets includes a target small packet, the target small packet includes a checksum, and after sending the plurality of small packets to the private network module, the method further includes: The private network module determines whether the data of the target packet is abnormal based on the verification code. If so, the public network module sends the target packet according to the preset number of retransmissions.

5. The method according to claim 4, characterized in that, The target packet also includes an index number and a total number of packets. After splitting the firmware package into multiple packets, the method further includes: The upgrade progress of the firmware package is calculated based on the index number and the total number of packages.

6. The method according to claim 5, characterized in that, The private network module upgrades the firmware of the private network terminal through the firmware package, including: The private network module extracts the payload of each small packet from the multiple small packets; The firmware of the private network terminal is upgraded based on the payload of each of the plurality of small packets.

7. A firmware upgrade device for a private network terminal, characterized in that, The device is applied to a private network terminal, the private network terminal including a public network module and a private network module, and the device includes: The receiving unit is configured to receive a firmware package from a remote server via the public network module, the firmware package being used to upgrade the firmware of the private network terminal; A sending unit is used for the public network module to send the firmware package to the private network module; An upgrade unit is used by the private network module to upgrade the firmware of the private network terminal using the firmware package.

8. A computer device, characterized in that, The computer device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to implement the method as described in any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that, The storage medium stores a computer program that, when executed by a processor, can implement the method as described in any one of claims 1 to 6.

10. A computer program product, characterized in that, It includes a computer program or computer instructions that, when executed by a computer, implement the method as described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Multimode terminal management upgrading method and device

    CN102917340A

  • Method, terminal and system for dual-mode communication between public network and private network

    CN103024871A

  • Method, device, system, terminal and storage medium for upgrading internet of things terminal

    CN109257197A

  • User side equipment upgrading method, electronic equipment and computer readable storage medium

    CN116166286A

  • Remote firmware upgrading and accident handling method for equipment terminal of rental cabinet

    CN119149074A