CN108667676B - Wireless cable modem upgrading method - Google Patents
Wireless cable modem upgrading method Download PDFInfo
- Publication number
- CN108667676B CN108667676B CN201810939482.5A CN201810939482A CN108667676B CN 108667676 B CN108667676 B CN 108667676B CN 201810939482 A CN201810939482 A CN 201810939482A CN 108667676 B CN108667676 B CN 108667676B
- Authority
- CN
- China
- Prior art keywords
- cable modem
- software
- upgrade
- wireless
- module
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims description 36
- 238000004891 communication Methods 0.000 claims description 24
- 238000012795 verification Methods 0.000 claims description 15
- KKIMDKMETPPURN-UHFFFAOYSA-N 1-(3-(trifluoromethyl)phenyl)piperazine Chemical compound FC(F)(F)C1=CC=CC(N2CCNCC2)=C1 KKIMDKMETPPURN-UHFFFAOYSA-N 0.000 claims description 10
- 238000004458 analytical method Methods 0.000 claims description 7
- 238000012545 processing Methods 0.000 claims description 3
- 238000012423 maintenance Methods 0.000 abstract description 3
- 238000005516 engineering process Methods 0.000 abstract description 2
- 238000005457 optimization Methods 0.000 description 7
- 125000004122 cyclic group Chemical group 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 3
- 230000002159 abnormal effect Effects 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000005192 partition Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0813—Configuration setting characterised by the conditions triggering a change of settings
- H04L41/082—Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/04—Arrangements for maintaining operational condition
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/004—Arrangements for detecting or preventing errors in the information received by using forward error control
- H04L1/0056—Systems characterized by the type of code used
- H04L1/0061—Error detection codes
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer And Data Communications (AREA)
Abstract
The invention relates to a wireless cable modem upgrading technology, which solves the technical problems of high software upgrading cost and complex operation and maintenance of a wireless cable modem with mutually independent cable modem and wireless module resources. The technical scheme is summarized as follows: according to the configuration file sent by the head end system, if the upgrading is needed, the cable modem downloads upgrading software, the head of the upgrading software is analyzed, if the upgrading software is the upgrading software of the cable modem, the cable modem is upgraded, if the upgrading software is the upgrading software of the wireless module, the cable modem sends upgrading parameters to the wireless module, and the wireless module downloads corresponding upgrading software from the cable modem according to the received upgrading parameters for upgrading. The invention does not need to build an additional upgrading server, saves cost, is easy to manage and maintain, and is particularly suitable for the wireless cable modem with mutually independent wireless module and cable modem resources.
Description
Technical Field
The invention relates to the technical field of wireless cable modem upgrading, in particular to the technical field of wireless cable modem upgrading with mutually independent wireless module and cable modem module resources.
Background
The Cable modem part strictly follows the Data Over Cable Service Interface Specifications (DOCSIS), and the wireless module follows the IEEE 802.11 standard. Since the DOCSIS standard specifies a standard software upgrade procedure, the software upgrade of the cable modem only needs to follow the DOCSIS standard upgrade procedure directly, but the wireless module does not have any software upgrade specification. If the cable modem and the wireless module share resources (such as sharing a CPU, a DDR, a flash, an operating system, and the like), software of the wireless module and software of the cable modem may be integrated and upgraded uniformly by directly using a DOCSIS standard upgrade flow, but if the cable modem and the wireless module are independent from each other, that is, each runs its own software and hardware system (such as having its own independent CPU, DDR, a flash, an operating system, and the like), software upgrade cannot be performed directly on the wireless module by using a DOCSIS standard upgrade scheme.
For a wireless module with independent resources, the current main upgrading method is as follows: the method is characterized in that an upgrade server is independently built to upgrade software of a wireless module, for example, a separate HTTP, FTP or TFTP server is built to upgrade, so that an operator is required to build another upgrade server, and operation and network management personnel are required to be familiar with various technologies, so that the cost is increased and the operation and maintenance threshold is improved undoubtedly; meanwhile, in the prior art, the upgrade software is not digitally signed, so that potential safety hazards exist.
Disclosure of Invention
The invention provides a wireless cable modem upgrading method, aiming at solving the technical problems of high software upgrading cost and complex operation and maintenance of the wireless cable modem with mutually independent cable modem module and wireless module resources.
In order to solve the technical problems, the invention adopts the technical scheme that: the wireless cable modem upgrading method is applied to a wireless cable modem system, the wireless cable modem system comprises a head end system and a wireless cable modem, the wireless cable modem comprises a cable modem module and a wireless module, the cable modem module is respectively connected with the head end system and the wireless module, the cable modem module and the wireless module at least do not share a central processing unit, a memory and an operating system, and the method comprises the following steps:
after the wireless cable modem is normally started, the cable modem module analyzes a configuration file issued by a head end system to judge whether upgrading is needed, if the upgrading is not needed, the wireless cable modem enters a normal working flow, if the upgrading is needed, the cable modem module downloads upgrading software, and after the upgrading is finished, the second step is executed;
secondly, the cable modem module analyzes the head of the upgrade software, judges whether the upgrade software is the upgrade software of the cable modem module or the upgrade software of the wireless module according to the analysis result, if the upgrade software is the upgrade software of the cable modem module, writes the upgrade software into a storage module of the cable modem module for upgrading, if the upgrade software is the upgrade software of the wireless module, the cable modem module creates a socket according to the internal communication parameters agreed in advance, establishes communication with the wireless module through the socket, then the cable modem module generates upgrade parameters according to self configuration information and the upgrade software, and sends the upgrade parameters to the wireless module;
and step three, the wireless module downloads corresponding upgrading software from the cable modem module according to the received upgrading parameters, and then writes the upgrading software into a storage module of the wireless module for upgrading.
As further optimization, in order to solve the problem of potential safety hazard caused by the fact that digital signature is not carried out on upgrade software in the prior art, in the first step, if the upgrade is needed, the cable modem module downloads the head part of the upgrade software and carries out signature verification, if the signature verification is successful, the main body of the upgrade software is downloaded, and otherwise, the wireless cable modem enters a normal working flow. When the head end system issues the upgrade software, the digital signature is needed, then the cable modem module downloads the head part of the upgrade software and verifies the signature information, and then downloads the main body of the upgrade software after the verification is passed, thereby avoiding the wrong download of the upgrade software with unknown source and improving the upgrade safety.
As a further optimization, after the wireless cable modem is normally started, the wireless module starts an upgrade daemon to passively monitor whether a connection request and an upgrade parameter exist. After the wireless module is started, the wireless module passively monitors whether the cable modem module sends a connection request and an upgrade parameter through an upgrade daemon process, the daemon process runs in a background and is not controlled by any terminal, and when the cable modem module requires to establish connection and send data, the wireless module can quickly respond.
As a further optimization, in the second step, if the cable modem module fails to establish communication with the wireless module through the socket or is overtime, the connection is repeated, the connection time interval changes according to the increasing geometric progression, if the cable modem module fails to send the upgrade parameters to the wireless module or is overtime, the connection is repeated, and the sending time interval changes according to the increasing geometric progression. When the communication is established and the upgrade parameters are sent in failure or overtime, probably because relevant software and hardware are not ready, the reconnection and the retransmission are carried out by adopting the method for gradually prolonging the interval time, the reconnection or the retransmission can be carried out more quickly, and the situation that too much resources are occupied due to too high connection or retransmission frequency can be avoided, so that the system is more stable and reliable.
As a further optimization, in the third step, the wireless module checks the downloaded upgrade software header, if the upgrade software header fails to be checked, the upgrade software is downloaded again and the upgrade software header is checked, and if the upgrade software header fails to be checked for a specified number of times, the upgrade is terminated. And verifying whether the downloaded upgrade software is the upgrade software of the wireless module or not through checking the header, so as to avoid the system from being abnormal due to the operation of wrong files.
As a further optimization, the upgrade software header includes: software type, chip ID, software version, software compile time, software body size, header check value, reserved field, and body check value. The software type is used for marking whether the upgrading software is the upgrading software of a cable modem module or the upgrading software of a wireless module; the chip ID is used for identifying the specific main chip model for upgrading, the parameters in the head part of the upgrading software show the main information of the upgrading software, and the cable modem module and the wireless module can carry out rapid and accurate analysis through the head part of the upgrading software to rapidly obtain a reliable judgment result.
As a further optimization, the internal communication parameters include: a cable modem module local IP address, a wireless module local IP address, a transport layer port number, and a socket type. The cable modem module establishes a socket through the internal communication parameters, then establishes connection with the wireless module, and adopts a private protocol for communication, so that the wireless module can acquire data from the cable modem module, thereby avoiding establishing a separate upgrade server for the wireless module and saving cost.
As a further optimization, the upgrade parameters include: the upgrade software name, the upgrade software size, and the IP address and port number of the TFTP server inside the cable modem module. The wireless module downloads the upgrading software from the cable modem module directly through the TFTP according to the name and the size of the upgrading software, so that the existing resources are fully utilized, and the cost is saved.
The beneficial effects are that: the invention is directed at the wireless cable modem with mutually independent wireless module and cable modem module resources, the upgrade software is downloaded from the server through the cable modem module, and the judged upgrade software of the wireless module is sent to the wireless module, the wireless module is only connected with the cable modem module for communication in the whole upgrade process, the existing resources are fully utilized, no additional upgrade server is required to be built, the cost is saved, the upgrade process is relatively simple, the technical personnel can easily manage and maintain, meanwhile, the source of the upgrade software is verified through digital signatures at the head of the upgrade software, and the upgrade safety is improved. The invention is especially suitable for wireless cable modem with independent wireless module and cable modem module resources.
Drawings
Fig. 1 is a hardware system configuration diagram of the embodiment of the present invention.
Detailed Description
The technical scheme of the invention is further explained by combining the attached drawings and the embodiment.
The technical scheme of the invention is as follows: the wireless cable modem upgrading method is applied to a wireless cable modem system, the wireless cable modem system comprises a head end system and a wireless cable modem, the wireless cable modem comprises a cable modem module and a wireless module, the cable modem module is respectively connected with the head end system and the wireless module, the cable modem module and the wireless module at least do not share a central processing unit, a memory and an operating system, and the method comprises the following steps:
after the wireless cable modem is normally started, the cable modem module analyzes a configuration file issued by a head end system to judge whether upgrading is needed, if the upgrading is not needed, the wireless cable modem enters a normal working flow, if the upgrading is needed, the cable modem module downloads upgrading software, and after the upgrading is finished, the second step is executed;
secondly, the cable modem module analyzes the head of the upgrade software, judges whether the upgrade software is the upgrade software of the cable modem module or the upgrade software of the wireless module according to the analysis result, if the upgrade software is the upgrade software of the cable modem module, writes the upgrade software into a storage module of the cable modem module for upgrading, if the upgrade software is the upgrade software of the wireless module, the cable modem module creates a socket according to the internal communication parameters agreed in advance, establishes communication with the wireless module through the socket, then the cable modem module generates upgrade parameters according to self configuration information and the upgrade software, and sends the upgrade parameters to the wireless module;
and step three, the wireless module downloads corresponding upgrading software from the cable modem module according to the received upgrading parameters, and then writes the upgrading software into a storage module of the wireless module for upgrading.
The wireless cable modem is based on the wireless cable modem with mutually independent wireless module and cable modem module resources, an upgrade server is not required to be additionally built for the wireless module, connection is established between the cable modem module and the wireless module, communication is carried out through a private protocol, the wireless module can download corresponding upgrade software from the cable modem module, and the upgrade of the wireless cable modem can be completed by utilizing the existing resources.
The steps are further optimized, and in order to solve the problem that the upgrade software is not digitally signed in the prior art and potential safety hazards exist, if the upgrade is needed in the first step, the cable modem module can download the upgrade software header firstly and carry out signature verification, if the signature verification is successful, the upgrade software main body is downloaded, otherwise, the wireless cable modem enters a normal working flow. The upgrade software at least comprises an upgrade software head part and an upgrade software main body, and signature information can be optimized, the signature information can be arranged at the initial part of the upgrade software, the upgrade software head part is used for identifying basic configuration information of the upgrade software, such as software type, version and the like, the upgrade software main body is used for storing specific upgrade content, digital signature is required when the head end system issues the upgrade software, then the cable modem module downloads the upgrade software head part and verifies the signature information, and then the upgrade software main body is downloaded after the verification is passed, thereby avoiding mistaken downloading of upgrade software with unknown sources, and improving the upgrade safety.
After the wireless cable modem is normally started, the wireless module starts an upgrade daemon process to passively monitor whether a connection request and upgrade parameters exist. After the wireless module is started, the wireless module passively monitors whether the cable modem module sends a connection request and an upgrade parameter through an upgrade daemon process, the daemon process runs in a background and is not controlled by any terminal, and when the cable modem module requires to establish connection and send data, the wireless module can quickly respond.
In the second step, if the cable modem module fails to establish communication with the wireless module through the socket or is overtime, the repeated connection can be performed, and the time interval of the connection can be changed according to an increasing geometric progression, for example, when the connection is repeated for 5 times, the reconnection can be performed at 2 nd, 4 th, 8 th, 16 th and 32 th seconds respectively; if the cable modem module fails to transmit the upgrade parameters to the radio module or times out, the transmission may be repeated, and the transmission time interval may be changed according to an increasing geometric series, for example, when the transmission is repeated 5 times, the retransmission may be performed at 2 nd, 4 th, 8 th, 16 th and 32 th seconds, respectively. When the communication is established and the upgrade parameters are sent in failure or overtime, probably because relevant software and hardware are not ready, the reconnection and the retransmission are carried out by adopting the method for gradually prolonging the interval time, the reconnection or the retransmission can be carried out more quickly, and the situation that too much resources are occupied due to too high connection or retransmission frequency can be avoided, so that the system is more stable and reliable.
In the third step, the wireless module can check the downloaded upgrade software header, if the upgrade software header fails to check, the upgrade software is downloaded again and the upgrade software header is checked, and if the upgrade software header fails to check for a specified number of times, the upgrade is terminated. And verifying whether the downloaded upgrade software is the upgrade software of the wireless module or not through checking the header, so as to avoid the system from being abnormal due to the operation of wrong files.
The upgrade software header may include: software type, chip ID, software version, software compile time, software body size, header check value, reserved field, and body check value. The software type is used for marking whether the upgrading software is the upgrading software of the cable modem module or the upgrading software of the wireless module, for example, the software type can adopt 0 to represent the upgrading software of the cable modem module, and can adopt 1 to represent the upgrading software of the wireless module; the chip ID is used for identifying the specific main chip model for upgrading, the parameters in the head part of the upgrading software show the main information of the upgrading software, and the cable modem module and the wireless module can carry out rapid and accurate analysis through the head part of the upgrading software to rapidly obtain a reliable judgment result.
The internal communication parameters may include: a cable modem module local IP address, a wireless module local IP address, a transport layer port number, and a socket type. The cable modem module establishes a socket through the internal communication parameters, then establishes connection with the wireless module, and adopts a private protocol for communication, so that the wireless module can acquire data from the cable modem module, thereby avoiding establishing a separate upgrade server for the wireless module and saving cost.
Upgrade parameters may include: the upgrade software name, the upgrade software size, and the IP address and port number of the TFTP server inside the cable modem module. The wireless module downloads the upgrading software from the cable modem module directly through the TFTP according to the name and the size of the upgrading software, so that the existing resources are fully utilized, and the cost is saved.
Examples
The technical solution of the present invention is specifically illustrated in the following with reference to the accompanying drawings.
Based on the wireless cable modem with independent wireless module and cable modem module resources, as shown in fig. 1, the wireless cable modem system of the present embodiment includes a head end system and a wireless cable modem, the wireless cable modem includes a cable modem module and a wireless module, the cable modem module is connected with the head end system and the wireless module, the wireless module and the cable modem module resources are independent, and the cable modem module and the wireless module have their own CPU, DDR, flash and operating system. The specific upgrading process of the embodiment is as follows:
after the wireless cable modem is powered on and normally started, the cable modem module enters a standard DOCSIS on-line process, and meanwhile, the wireless module starts an upgrade daemon process to monitor whether upgrade parameters exist.
The cable modem module receives the configuration file sent by the head end system, analyzes the option of the upgrade software name in the configuration file, if the option is not enabled, the wireless cable modem enters the normal working process, if the option is enabled, the upgrade is required, the cable modem module downloads the head of the upgrade software and verifies the DOCSIS signature, if the DOCSIS signature is verified successfully, the main body of the upgrade software is downloaded, if the DOCSIS signature is verified unsuccessfully, the upgrade is terminated, and the wireless cable modem enters the normal working process.
After the upgrade software is downloaded successfully, the cable modem module analyzes the header information of the upgrade software, and the header of the upgrade software comprises the following information: software type, chip ID, software version, software compile time, software body size, header check value, reserved field, and body check value. The software type is used for marking whether the upgrading software is the upgrading software of the cable modem module or the upgrading software of the wireless module; the chip ID is used for identifying the specific main chip model for upgrading; the software version represents a software version of the upgraded software; the compiling time represents the compiling time of the upgrading software; the software body size represents the size of the upgraded software body; the header check value represents an upgrade software header CRC (cyclic Redundancy check) check value; the main body check value represents the CRC check value of the main body of the upgrade software; the reserved field is used in the future for reservation.
The cable modem module executes CRC check on the head of the upgrade software, if the result of the check calculation is the same as the head check value in the head information, the check is passed, otherwise, the check is not passed, the upgrade is directly terminated, and the wireless cable modem enters a normal working flow.
After the header check is passed, the software type is judged, when the software type is 0, the software is represented as the upgrading software of the cable modem module, when the software type is 1, the software is represented as the upgrading software of the wireless module, and other values are represented as other types of software.
If the upgrading software of the cable modem module is adopted, performing CRC (cyclic redundancy check) on an upgrading software main body, comparing a calculated result with a main body check value, if the result is the same as the main body check value, indicating that the upgrading software main body check is successful, directly writing the upgrading software into a flash partition corresponding to the cable modem module, restarting the cable modem module for upgrading, if the main body check is failed, terminating the upgrading, and enabling the wireless cable modem to enter a normal working flow.
If the software is of other types, which is expressed as the software type which is not supported temporarily, the upgrading is terminated, and the wireless cable modem enters a normal working flow.
If the wireless module is upgrading software, the cable modem module creates a socket according to internal communication parameters appointed in advance, if the creation fails, the creation is retried, if the creation fails, the upgrading is terminated, and the wireless cable modem enters a normal working flow. The internal communication parameters of this example include the following information: a cable modem module local IP address, a wireless module local IP address, a transport layer port number, and a socket type; the local IP address of the cable modem module represents the local IP address maintained by the cable modem module, is used for communicating with the wireless module, belongs to a static private IP address, is invisible to the outside and needs to be defined by two communication parties in advance; the wireless module local IP address represents a local IP address maintained by the wireless module, is used for communicating with the cable modem module, belongs to a static private IP address, is invisible to the outside and needs to be defined by two communication parties in advance; the transport layer port number means a transport layer port which the cable modem module and the radio module agree to use, for example 38000; the socket type indicates a socket type, such as SOCK _ STREAM, used by the cable modem module and the wireless module to communicate.
The cable modem module tries to establish connection with the wireless module through a socket, if the connection is failed to be established or overtime happens, repeated connection is carried out, if the repeated connection is not successful for 5 times, the upgrade is terminated, and the wireless cable modem enters a normal working flow; after the connection is failed or timed out, the present example reconnects at 2 nd, 4 th, 8 th, 16 th and 32 th seconds, respectively.
After the connection is successful, the cable modem module packages the upgrade parameters and sends the upgrade parameters to the wireless module through the socket, if the sending fails or is overtime, the repeated sending is carried out, if the repeated sending is not successful for 5 times, the upgrade is terminated, and the wireless cable modem enters a normal working flow; after failing to transmit the upgrade parameters or overtime, the present example retransmits at 2 nd, 4 th, 8 th, 16 th, and 32 th seconds, respectively. The upgrading parameters comprise the following information: the name of the upgrading software, the size of the upgrading software and the IP address and the port number of a TFTP server in the cable modem module; the upgrading software name is used when the wireless module downloads upgrading software from the cable modem module; the IP address and port number of the TFTP Server inside the cable modem module are maintained by the cable modem module and are used for connecting the TFTP Server when the wireless module downloads data from the cable modem module.
The upgrading daemon of the wireless module passively monitors the connection request and the upgrading parameters, analyzes after receiving the upgrading parameters, discards the message and continues to monitor if the analysis fails or the parameters are incomplete; after the analysis is successful, the wireless module requests the cable modem module to download the upgrading software by using the TFTP protocol through the analyzed upgrading parameters.
After the wireless module finishes downloading the upgrading software, CRC (cyclic redundancy check) is carried out on the head of the downloaded upgrading software, if the CRC fails, the upgrading software is downloaded from the cable modem module again, if the CRC of the head of the upgrading software fails to be checked for 3 times, the data is considered to be wrong, the upgrading is terminated, and the wireless cable modem enters a normal working flow.
If the CRC of the head of the upgrade software in the wireless module passes, analyzing related parameters of the head of the upgrade software, and judging whether the related parameters of the head meet the upgrade requirement, specifically judging whether the ID of a chip is the same as that of an actual chip, whether the version of the software is higher than that of the current version, and whether the compiling time of the software is newer than that of the current version; if the upgrade requirements are not met, the downloaded upgrade software is discarded and interception continues.
When the related parameters of the head part meet the upgrading requirement, the upgrading software main body is verified and compared with the main body verification value stored in the head part, if the verification is not passed, the downloaded data is wrong, the upgrading is directly terminated, and the wireless cable modem enters a normal working flow; and if the verification is passed, writing the upgrading software into the flash of the wireless module.
The wireless module reads the upgrading software from the flash, CRC (cyclic redundancy check) is carried out on the head part of the upgrading software and the main body of the upgrading software, and if the CRC passes, the wireless module is directly restarted to be upgraded; if the verification of the head part or the main body of the upgrading software fails, the upgrading software is rewritten once again and the verification is read out, if the verification is successful, the wireless module is restarted directly for upgrading, and if the verification is still failed, the related indicator light of the wireless module is enabled to flash, and the user is prompted that the upgrading fails.
Claims (8)
1. The wireless cable modem upgrading method is applied to a wireless cable modem system, the wireless cable modem system comprises a head end system and a wireless cable modem, the wireless cable modem comprises a cable modem module and a wireless module, the cable modem module is respectively connected with the head end system and the wireless module, the cable modem module and the wireless module at least do not share a central processing unit, a memory and an operating system, and the wireless cable modem upgrading method is characterized in that: the method comprises the following steps:
after the wireless cable modem is normally started, the cable modem module analyzes a configuration file issued by a head end system to judge whether upgrading is needed, if the upgrading is not needed, the wireless cable modem enters a normal working flow, if the upgrading is needed, the cable modem module downloads upgrading software, and after the upgrading is finished, the second step is executed;
secondly, the cable modem module analyzes the head of the upgrade software, judges whether the upgrade software is the upgrade software of the cable modem module or the upgrade software of the wireless module according to the analysis result, if the upgrade software is the upgrade software of the cable modem module, writes the upgrade software into a storage module of the cable modem module for upgrading, if the upgrade software is the upgrade software of the wireless module, the cable modem module creates a socket according to the internal communication parameters agreed in advance, establishes communication with the wireless module through the socket, then the cable modem module generates upgrade parameters according to self configuration information and the upgrade software, and sends the upgrade parameters to the wireless module;
and step three, the wireless module downloads corresponding upgrading software from the cable modem module according to the received upgrading parameters, and then writes the upgrading software into a storage module of the wireless module for upgrading.
2. The wireless-type cable modem upgrade method of claim 1, wherein: if the upgrade is needed in the first step, the cable modem module downloads the upgrade software head part and carries out signature verification, if the signature verification is successful, the upgrade software main body is downloaded, otherwise, the wireless cable modem enters a normal working flow.
3. The wireless-type cable modem upgrade method of claim 1, wherein: after the wireless cable modem is normally started, the wireless module starts an upgrade daemon process to passively monitor whether a connection request and upgrade parameters exist.
4. The wireless-type cable modem upgrade method of claim 1, wherein: in the second step, if the cable modem module fails to establish communication with the wireless module through the socket or overtime, repeated connection is performed, the time interval of the connection changes according to the increasing geometric progression, if the cable modem module fails to send the upgrade parameters to the wireless module or overtime, repeated sending is performed, and the time interval of the sending changes according to the increasing geometric progression.
5. The wireless-type cable modem upgrade method of claim 1, wherein: in the third step, the wireless module checks the downloaded upgrade software header, if the upgrade software header fails to be checked, the upgrade software is downloaded again and the upgrade software header is checked, and if the upgrade software header fails to be checked for a specified number of times, the upgrade is terminated.
6. The wireless-type cable modem upgrade method of claim 1, wherein: the upgrade software header includes: software type, chip ID, software version, software compile time, software body size, header check value, reserved field, and body check value.
7. The wireless-type cable modem upgrade method of claim 1, wherein: the internal communication parameters include: a cable modem module local IP address, a wireless module local IP address, a transport layer port number, and a socket type.
8. The wireless-type cable modem upgrade method of claim 1, wherein: the upgrade parameters include: the upgrade software name, the upgrade software size, and the IP address and port number of the TFTP server inside the cable modem module.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810939482.5A CN108667676B (en) | 2018-08-17 | 2018-08-17 | Wireless cable modem upgrading method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810939482.5A CN108667676B (en) | 2018-08-17 | 2018-08-17 | Wireless cable modem upgrading method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108667676A CN108667676A (en) | 2018-10-16 |
CN108667676B true CN108667676B (en) | 2020-07-28 |
Family
ID=63789699
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810939482.5A Active CN108667676B (en) | 2018-08-17 | 2018-08-17 | Wireless cable modem upgrading method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108667676B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101694622A (en) * | 2009-09-29 | 2010-04-14 | 中兴通讯股份有限公司 | Remote firmware upgrading method of multi-device combination equipment and system thereof |
CN104506942A (en) * | 2014-12-23 | 2015-04-08 | 深圳市九洲电器有限公司 | Set-top box and upgrading method of cable modem system of set-top box |
CN107809333A (en) * | 2017-11-15 | 2018-03-16 | 深圳创维数字技术有限公司 | The upgrade method and cable modem of a kind of cable modem |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8544053B2 (en) * | 2007-12-17 | 2013-09-24 | Broadcom Corporation | System and method for upgrading a multiprocessor set-top box device with a monolithilic firmware image |
US8386643B2 (en) * | 2008-04-04 | 2013-02-26 | Arris Group, Inc. | Automated double firmware upgrade |
CN105072473A (en) * | 2015-08-07 | 2015-11-18 | 成都市斯达鑫辉视讯科技有限公司 | Automatic upgrade type set top box |
-
2018
- 2018-08-17 CN CN201810939482.5A patent/CN108667676B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101694622A (en) * | 2009-09-29 | 2010-04-14 | 中兴通讯股份有限公司 | Remote firmware upgrading method of multi-device combination equipment and system thereof |
CN104506942A (en) * | 2014-12-23 | 2015-04-08 | 深圳市九洲电器有限公司 | Set-top box and upgrading method of cable modem system of set-top box |
CN107809333A (en) * | 2017-11-15 | 2018-03-16 | 深圳创维数字技术有限公司 | The upgrade method and cable modem of a kind of cable modem |
Also Published As
Publication number | Publication date |
---|---|
CN108667676A (en) | 2018-10-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104915237B (en) | Upgrading, upgrade control method and the equipment of bluetooth equipment firmware program | |
CN107239288B (en) | Version upgrading method and device for mobile terminal | |
CN111628967B (en) | Log data transmission method and device, computer equipment and storage medium | |
US8477647B2 (en) | Connection setting apparatus, connection setting method, and computer program product | |
US9100696B2 (en) | System and method for upgrading a multiprocessor set-top box device with a monolithic firmware image | |
US20050149923A1 (en) | System update protocol | |
WO2022142153A1 (en) | Electricity meter upgrading method and system, smart meter, and storage medium | |
CN113312064A (en) | Installation configuration method and device of physical machine and computer readable medium | |
CN104991800A (en) | Method, apparatus and system for upgrading firmware of device that is not networked | |
WO2022257927A1 (en) | Key burning method and apparatus, electronic device board card, and storage medium | |
CN111459524A (en) | Software upgrading method, device and system | |
CN114221866A (en) | Method, device and medium for upgrading terminal | |
CN110147246A (en) | Version checking method and device, storage medium and the terminal of space download technology | |
CN108572847B (en) | Method for upgrading single chip microcomputer software version through USB port | |
CN108667676B (en) | Wireless cable modem upgrading method | |
CN109542474A (en) | A kind of batch upgrading method of patient monitor firmware | |
CN110704080B (en) | Method for upgrading Bluetooth module through Wi-Fi module | |
CN111522571A (en) | Equipment upgrading method and device, terminal equipment and storage medium | |
CN112181461B (en) | Upgrading method, network module, equipment, server and upgrading system | |
CN115454896A (en) | SMBUS-based SSD MCTP control message verification method and device, computer equipment and storage medium | |
US10979287B2 (en) | Method and apparatus for receiving a solution when configuration function verification fails in a terminal | |
CN113032054A (en) | Service execution method, device, storage medium and electronic device | |
CN109271192A (en) | A kind of remote firmware updating method of intelligence piano | |
CN116594803B (en) | MacOS repairing method and device based on processing chip and related medium | |
CN117008935A (en) | OTA upgrading method and device, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
EE01 | Entry into force of recordation of patent licensing contract |
Application publication date: 20181016 Assignee: Sichuan Changhong Xinwang Technology Co.,Ltd. Assignor: SICHUAN CHANGHONG ELECTRIC Co.,Ltd. Contract record no.: X2023980043949 Denomination of invention: Upgrade method for wireless cable modems Granted publication date: 20200728 License type: Common License Record date: 20231030 |
|
EE01 | Entry into force of recordation of patent licensing contract |