CN107809333A - The upgrade method and cable modem of a kind of cable modem - Google Patents

The upgrade method and cable modem of a kind of cable modem Download PDF

Info

Publication number
CN107809333A
CN107809333A CN201711130995.3A CN201711130995A CN107809333A CN 107809333 A CN107809333 A CN 107809333A CN 201711130995 A CN201711130995 A CN 201711130995A CN 107809333 A CN107809333 A CN 107809333A
Authority
CN
China
Prior art keywords
cable modem
information
upgrade
address
configuration information
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.)
Granted
Application number
CN201711130995.3A
Other languages
Chinese (zh)
Other versions
CN107809333B (en
Inventor
袁满
朱楚高
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Skyworth Digital Technology Co Ltd
Original Assignee
Shenzhen Skyworth Digital Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shenzhen Skyworth Digital Technology Co Ltd filed Critical Shenzhen Skyworth Digital Technology Co Ltd
Priority to CN201711130995.3A priority Critical patent/CN107809333B/en
Publication of CN107809333A publication Critical patent/CN107809333A/en
Application granted granted Critical
Publication of CN107809333B publication Critical patent/CN107809333B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/085Retrieval of network configuration; Tracking network configuration history

Abstract

The embodiment of the invention discloses a kind of upgrade method of cable modem and cable modem.Cable modem includes cable modem system and route system, and this method includes:Cable modem system obtains configuration information, and wherein configuration information includes the first configuration information of cable modem system and the second configuration information of route system;If cable modem system detects that the first current version information and the version information in the first configuration information are inconsistent, the first firmware updating information is downloaded, and carry out firmware upgrade;Route system is when cable modem system is not in upgrade status, obtain the second configuration information, if the second current version information and the version information in the second configuration information are inconsistent, the second firmware updating information is downloaded based on cable modem system, and carry out firmware upgrade.To realize unified management upgrading, so as to reduce the upgrading risk of system.

Description

The upgrade method and cable modem of a kind of cable modem
Technical field
The present embodiments relate to communication and network technique field, more particularly to a kind of upgrading side of cable modem Method and cable modem.
Background technology
With the rapid development of Internet technology, people are increasing to the demand of radio communication, so as to generate one kind Cable modem with wireless routing.This cable modem can reduce net group equipment and wiring, Yi Jijian Change network environment.
In the prior art, this cable modem has two independent systems, is cable modem system respectively System and route system, and the two systems correspond to a upgrade server.Generally, cable modem system utilizes TFTP (Trivial File Transfer Protocol, TFTP) server carries out firmware upgrade.And road It is that firmware upgrade is carried out by the way of TR069 webmasters by system, its upgrade server is access control corresponding to TR069 agreements Server.Because access control server is more independent, it is necessary to which professional's deployment and maintenance, its application cost are high.And road It is non-security mechanism by system upgrade mode, relative to the safety upgrade mechanism of cable modem system, lacks safety and protect Barrier.
Due to the independence of the two systems, i.e., without interaction and communication between system, so the upgrading of the two systems And it is independent, it can not be managed collectively and upgrade the two systems.And it also is difficult to ensure the pairing between the two system versions Relation, it is possible to making equipment operation irregularity.When the two systems are all carrying out firmware upgrade, it is also possible to cause system Hang extremely, bring huge upgrading risk.
The content of the invention
The invention provides a kind of upgrade method of cable modem and cable modem, to realize unified pipe Reason upgrading, so as to reduce the maintenance management expense of upgrade server, improves the reliability of upgrade-system, and reduce and be The upgrading risk of system.
In a first aspect, the embodiments of the invention provide a kind of upgrade method of cable modem, it is characterised in that institute Stating cable modem includes cable modem system and route system, and methods described includes:
The cable modem system obtains configuration information, wherein the configuration information includes the cable modulatedemodulate Adjust the first configuration information of device system and the second configuration information of the route system;
If the cable modem system is detected in the first current version information and first configuration information Version information is inconsistent, then downloads the first firmware updating information, and carry out firmware upgrade;
The route system obtains second configuration when cable modem system is not in upgrade status Information, if the second current version information and the version information in second configuration information are inconsistent, adjusted based on the cable Modulator-demodulator system downloads the second firmware updating information, and carries out firmware upgrade.
Second aspect, the embodiment of the present invention additionally provide a kind of cable modem, it is characterised in that the cable is adjusted Modulator-demodulator includes cable modem system and route system, wherein,
The cable modem system is used to obtain configuration information, wherein the configuration information is adjusted including the cable First configuration information of modulator-demodulator system and the second configuration information of the route system;If detecting, the first current version is believed Breath is inconsistent with the version information in first configuration information, then downloads the first firmware updating information, and carry out firmware upgrade;
The route system obtains described second to when the cable modem system is not in upgrade status Configuration information, if the second current version information and the version information in second configuration information are inconsistent, based on the electricity Cable modem system downloads the second firmware updating information, and carries out firmware upgrade.
The embodiment of the present invention obtains configuration information by cable modem system, and wherein configuration information is adjusted including cable First configuration information of modulator-demodulator system and the second configuration information of the route system;If cable modem system is examined Measure the first current version information and the version information in the first configuration information be inconsistent, then download the first firmware updating information, And carry out firmware upgrade;Route system obtains the second configuration when the cable modem system is not in upgrade status Information, if the second current version information and the version information in the second configuration information are inconsistent, based on cable modem System downloads the second firmware updating information, and carries out firmware upgrade.Route system is obtained based on cable modem system The second firmware updating information of second configuration information and download, the controllability of route system upgrading is enhanced, so as to avoid two The situation of individual system in parallel upgrading, realizes unified management upgrading, while reduces the maintenance management expense of upgrade server, carries The reliability of upgrade-system has been risen, and has reduced the upgrading risk of system.
Brief description of the drawings
Fig. 1 is a kind of flow chart of the upgrade method for cable modem that the embodiment of the present invention one provides.
Fig. 2 is a kind of flow chart of the upgrade method for cable modem that the embodiment of the present invention two provides.
Fig. 3 is the exhibition that a kind of upgrade method using cable modem that the embodiment of the present invention two provides handles request Diagram.
Fig. 4 is a kind of structural representation for cable modem that the embodiment of the present invention three provides.
Embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention, rather than limitation of the invention.It also should be noted that in order to just Part related to the present invention rather than entire infrastructure are illustrate only in description, accompanying drawing.
Embodiment one
Fig. 1 be the embodiment of the present invention one provide a kind of cable modem upgrade method flow chart, this implementation Example is applicable to the situation that the cable modem with routing function is uniformly upgraded, and this method can be by with route The cable modem of function performs, and specifically comprises the following steps:
Step 110, cable modem system obtain configuration information, and wherein configuration information includes cable modem First configuration information of system and the second configuration information of route system.
Wherein, cable modem system is in registration process of reaching the standard grade, by under Cable Modem Terminal System The configuration file of hair obtains configuration information, or passes through liter corresponding to Cable Modem Terminal System after reaching the standard grade successfully Level server obtains configuration information.Optionally, upgrade server is TFTP (Trivial File Transfer Protocol, TFTP) server.Do not include in original configuration information of cable modem system Second configuration information of route system, the second configuration information of route system are to be added to cable modulatedemodulate by Virtual network operator In the original configuration information for adjusting device system, it is to obtain the first configuration information for including cable modem system and route The configuration information of second configuration information of system.Match somebody with somebody so that route system can inquire about second to cable modem system Confidence ceases, and without being inquired about to upgrade server, effectively reduces the information inquiry pressure of upgrade server.Cable modem The IP (Internet Protocol, the agreement interconnected between network) of first configuration information of device system including upgrade server The version information of firmware in address and cable modem system.Second configuration information of route system includes cable modulatedemodulate Adjust device system corresponding to upgrade server IP address, and in route system firmware version information.Wherein version information bag Include the file name of firmware and corresponding version number.Exemplary, it shown below is the second configuration information of route system:
Tftp_server_ip=192.168.43.241
Firmware_filename=fw_rtl8196.bin
Firmware_version=2.2.1.6
Wherein, what tftp_server_ip was represented is the IP address of HFTP servers;What firmware_filename was represented It is the file name of firmware, what firmware_version was represented is the version number of firmware.
Optionally, after cable modem system obtains configuration information, in addition to:
Cable modem system is to upgrade server timing send configuration information query message, according to upgrade server Feedback information renewal cable modem system the first configuration information and route system the second configuration information.
Wherein, it is necessary at regular intervals just to cable modem after cable modem system is reached the standard grade successfully Upgrade server send configuration information query message corresponding to device system, to update the first version of cable modem system The second edition information of information and route system, configuration file can not be obtained again by solving after being reached the standard grade due to equipment, cause electricity The problem of cable modem can not upgrade in time.
If step 120, cable modem system are detected in the first current version information and the first configuration information Version information is inconsistent, then downloads the first firmware updating information, and carry out firmware upgrade;
Wherein, the first current version information refers to the currently used version information of cable modem system.Work as inspection Measure version information in the first current version information and the first configuration information it is inconsistent when, cable modem system is to right The upgrade server answered sends upgrade request, and downloads the first firmware updating information of upgrade server feedback, after download The first firmware updating information carry out firmware upgrade.
Step 130, route system obtain second and match somebody with somebody confidence when cable modem system is not in upgrade status Breath, if the second current version information and the version information in the second configuration information are inconsistent, based on cable modem system System downloads the second firmware updating information, and carries out firmware upgrade.
Wherein, the upgrading priority of cable modem system is more than the upgrading priority of route system.If cable is adjusted When modulator-demodulator system is in upgrade status, route system can not obtain the second configuration information.Only when cable is modulated After the completion of demodulator system upgrade, the second configuration information could be obtained, so as to detect whether route system needs to upgrade.It can be seen that By controlling the acquisition of the second configuration information, when further controlling the upgrading of cable modem system and route system Sequence, so as to avoid the situation of the two system in parallel upgrading.
It should be noted that the first firmware updating information is by upgrade server corresponding to cable modem system Obtain, the second firmware updating information is also to be obtained by the upgrade server.Cable modem system and route are The upgrading of system be common cable modem system corresponding to upgrade server, eliminate upgrade service corresponding to route system Device, it is achieved thereby that unified management upgrading, reduces equipment cost.The pairing between the two system versions is also ensure that simultaneously Relation, improve the reliability of system upgrade.And route system has the safety liter similar to cable modem system Level mechanism, so as to reduce the upgrading risk of system.
Optionally, route system obtains the second configuration information when cable modem system is not in upgrade status, Including:
Route system obtains the static ip address in the first address pool in cable modem system;
Route system sends version inquiry request according to static ip address to cable modem system timing;
Route system receive cable modem system send the second configuration information, wherein, the second configuration information in Cable modem system is not in sending during upgrade status.
Wherein, the first address pool is the internal address of the 100 fixed network segments, and fixes a static ip address.Route system System is based on DOCSIS (Data Over Cable Service Interface Specifications, data over cable clothes Business interface specification) bridge mode obtain static ip address in cable modem system in the first address pool.According to first The internal address of 100 network segments distributes to sub- WAN (Wide Area Network, wide area network) mouth in route system in address pool One fixed IP address.Wherein, sub- WAN mouths are the sub-interfaces of WAN mouths in route system.Exemplary, static ip address is 192.168.100.1 the IP address of sub- WAN mouths can be 192.168.100.253.Cable modem system and route are System carries out internal interaction and communication by the two fixing address.Route system is by sub- WAN mouths to cable modem system System sends version inquiry request at regular intervals, to obtain the second configuration information.
Optionally, route system is based on cable modem system and downloads the second firmware updating information, and carries out firmware Upgrading, including:
Route system sends upgrade request according to the IP address of upgrade server in the second configuration information;
Whether the target ip address for the upgrade request that cable modem system detection receives is upgrade server IP address, if so, then recording the source port of upgrade request, and the address information of upgrade request is replaced according to the first preset rules, Upgrade request after replacement is sent to upgrade server;
Cable modem system receives the firmware updating information of upgrade server feedback, and detects firmware updating information Target ip address whether be radio frequency interface IP address, and whether destination interface is source port, if so, then default according to second Rule replaces the address information of firmware updating information, and the firmware updating information after replacement is defined as into the second firmware updating letter Breath, sends to route system;
Route system downloads the second firmware updating information, and carries out firmware upgrade.
Wherein, upgrade request and firmware updating information are transmitted and received in the form of message, exemplary, Upgrade request can be HTTP (Hyper Text Transfer Protocol, HTTP) message form, upgrading Firmware information can be TFTP message forms.Cable modem system is led to based on radio frequency interface with upgrade server Letter.Because upgrade server is upgrade server corresponding to cable modem system, so route system is needed based on electricity Cable modem system sends and receives the second firmware updating information to upgrade server.Route system by sub- WAN mouths to Cable modem system sends upgrade request.After monitor in cable modem system receives upgrade request, Need to detect upgrade request target ip address whether be upgrade server IP address, to judge that the upgrade request that receives is No is the upgrade request for being sent to upgrade server, if so, the source port of upgrade request is then recorded, and to the address of upgrade request Information is replaced;If it is not, then direct transparent transmission, without any operation.The source port for wherein recording upgrade request is for area / after the firmware updating information that receives be itself the first firmware updating information or route system the second firmware updating Information.It is because route system can not directly access upgrade server that the address information of upgrade request, which is replaced, is needed Source address conversion is carried out, otherwise upgrade request can not be transmitted.Accordingly, to the ground of satisfactory firmware updating information Location information is replaced, also for route system can be allowd to receive the second firmware updating information, to carry out firmware Upgrading.
In the present embodiment, the upgrade request address information sent by cable modem system to route system is carried out Replace, realize the communication between route system and upgrade server.
It should be noted that the monitor in cable modem system can detect all reports of route system transmission Text, message IP address is obtained, and the processing mode of the message is determined according to IP address.Exemplary, if IP address takes for upgrading The IP address of business device, then replace the address information of the message;If IP address is that interface IP address is believed in cable modem system Breath, then it is without any processing to the message.
Optionally, cable modem system replaces the address information of upgrade request according to the first preset rules, including:
The source IP address of upgrade request and source MAC are replaced with to the IP address and current MAC address of radio frequency interface;Will The destination-mac address of upgrade request replaces with the default gateway MAC Address of radio frequency interface.
Wherein, because upgrade request is to be sent by sub- WAN mouths to cable modem system, so source IP address The IP address and MAC Address of sub- WAN mouths are referred to source MAC.The current MAC address of radio frequency interface is that radio frequency interface is current The MAC Address used.Default gateway MAC Address is the MAC Address of the upper level of radio frequency interface, different from the current of radio frequency interface MAC Address.
Accordingly, the address information of firmware updating information is replaced according to the second preset rules, including:
The target ip address of firmware updating information and destination-mac address are replaced with to the IP of route system neutron WAN mouths Location and MAC Address.
Wherein, because firmware updating information is that upgrade server is sent to cable modem system, so target IP address and destination-mac address refer to the IP address and current MAC address of radio frequency interface.
It should be noted that the second address pool includes the IP address of radio frequency interface in cable modem system.Work as electricity After cable modem online implementing, WAN mouths in route system distribute to obtain same network segment by the second address pool IP address.When route system by LAN (Local Area Network, LAN) mouth send outward service ask when, it is necessary to By NAT (Network Address Translation, network address translation) technologies by the address conversion of LAN mouths into WAN mouths Address, such service request could be sent in internet by radio frequency interface.
Exemplary, Fig. 3 gives the displaying figure that a kind of upgrade method using cable modem handles request.Figure In solid line be the approach that upgrade request is handled using the upgrade method of cable modem, dotted line is utilizes cable modulatedemodulate Adjust the approach of the upgrade method processing outward service request of device.When handling upgrade request, upgraded module is by sub- WAN mouths to electricity The Ethernet interface of cable modem system sends upgrade request, and the monitor of cable modem system detects reception Request when being upgrade request, row address information processing is entered to upgrade request, the upgrade request after processing is passed through into DOCSIS bridges RF interfaces are sent to, then are sent by RF interfaces to upgrade server.When handling outward service request, route system will be external The LAN port address of service request is converted to WAN port address by NAT technologies, by WAN port address to Ethernet interface send pair Outer service request, when the monitor of cable modem system detects that the request of reception is asked for outward service, do not appoint Where is managed, direct transparent transmission, is sent to RF interfaces by DOCSIS bridges, then sent to deserved server by RF interfaces.
Further, before route system carries out firmware upgrade, in addition to:
The status information upgraded is sent to cable modem system;
Accordingly, after route system upgrading is completed, in addition to:
Route system is restarted, and the status information of upgrading end is sent to cable modem system.
Wherein, due to there is no the status lamp of display status information on route system, so needing to utilize cable modem Status lamp in device system carrys out the upgrade status of explicit routing system, so that user understands the upgrade status of router.
The technical scheme of the present embodiment, configuration information, wherein configuration information bag are obtained by cable modem system Include the first configuration information of cable modem system and the second configuration information of the route system;Cable modem If system detects that the first current version information and the version information in the first configuration information are inconsistent, it is solid to download the first upgrading Part information, and carry out firmware upgrade;Route system obtains the when the cable modem system is not in upgrade status Two configuration informations, if the second current version information and the version information in the second configuration information are inconsistent, modulated based on cable Demodulator system downloads the second firmware updating information, and carries out firmware upgrade.Route system is based on cable modem system To obtain the second configuration information and download the second firmware updating information, the controllability of route system upgrading is enhanced, so as to keep away Exempt from the situation of two systems parallel upgrade, realize unified management upgrading, while reduce the maintenance management of upgrade server Expense, improves the reliability of upgrade-system, and reduces the upgrading risk of system.
Embodiment two
Fig. 2 is a kind of flow chart of the upgrade method for cable modem that the embodiment of the present invention two provides.This implementation Example is optimized on the basis of above-described embodiment:First firmware updating is downloaded in the cable modem system After information and before progress firmware upgrade, in addition to:If the first firmware updating information failed download, judgement retries down Number is carried whether more than the first preset times, is upgraded next time if so, then waiting, if it is not, then re-downloading first upgrading Firmware information;After the route system downloads the second firmware updating information and before progress firmware upgrade, in addition to: If the second firmware updating information failed download, whether judgement retries download time more than the second preset times, if so, then Wait upgrades next time, if it is not, then re-downloading the second firmware updating information.
After optimization, a kind of upgrade method of cable modem specifically includes following steps:
Step 210, cable modem system obtain configuration information, and wherein configuration information includes cable modem First configuration information of system and the second configuration information of route system.
If step 211, cable modem system are detected in the first current version information and the first configuration information Version information is inconsistent, then downloads the first firmware updating information.
Step 212, judge whether the first firmware updating information downloads success, if so, then entering step 213, if it is not, then entering Enter step 215.
Step 213, the first firmware updating information is performed, carry out firmware upgrade.And enter step 214.
Step 214, cable modem system upgrading are completed.And enter step 217
Whether step 215, judgement retry download time more than the first preset times, if so, then enter step 216, if it is not, Then enter step 211.
Step 216, wait cable modem system upgrading next time.
Step 217, route system obtain the second configuration information.
If step 218, the second current version information and the version information in the second configuration information are inconsistent, based on cable Modem system downloads the second firmware updating information.
Step 219, judge whether the second firmware updating information downloads success, if so, then entering step 220, if it is not, then entering Enter step 222.
Step 220, the first firmware updating information is performed, carry out firmware upgrade.And enter step 221.
Step 221, route system upgrading are completed.
Whether step 222, judgement retry download time more than the second preset times, if so, then enter step 223, if it is not, Then enter step 218.
Step 223, wait route system upgrading next time.
Wherein, due to unstable networks, so downloading the first firmware updating information or the second upgrading admittedly from upgrade server Be likely to occur during part information causes the situation of failed download because downloading time-out, it is therefore desirable to which judgement retries download time, when retrying When download time exceedes preset times next time, it is necessary to wait and upgrading.First preset times and the second preset times can be with Identical numerical value is arranged to, it can also be provided that different numerical value, depending on actual conditions.
The technical scheme of the present embodiment, cable modem system or route system are believed in firmware updating corresponding to download After breath, if failed download, need judgement to retry whether download time exceedes preset times, upgrade next time if so, then waiting, If it is not, then re-download the first firmware updating information.So as to solve because that can not be upgraded automatically after failed download Situation, while the controllability of route system upgrading is enhanced, the situation of two systems parallel upgrade is avoided, realizes unified pipe Reason upgrading, reduces the maintenance management expense of upgrade server, improves the reliability of upgrade-system, and reduce system Upgrade risk.
Embodiment three
Fig. 4 show a kind of structural representation of cable modem of the offer of the embodiment of the present invention three, the present embodiment The situation that cable modem is uniformly upgraded is applicable to, the concrete structure of the cable modem includes:Cable Modem system 410 and route system 420.
Wherein, cable modem system 410 is used to obtain configuration information, and wherein configuration information includes cable modulatedemodulate Adjust the first configuration information of device system and the second configuration information of route system;If detect the first current version information and first Version information in configuration information is inconsistent, then downloads the first firmware updating information, and carry out firmware upgrade;
Route system 420 obtains the second configuration information to when cable modem system is not in upgrade status, If the second current version information and the version information in the second configuration information are inconsistent, based under cable modem system The second firmware updating information is carried, and carries out firmware upgrade.
Wherein, the WAN mouths of the Ethernet interface of cable modem system 410 and route system 420 carry out physical connection, So that two systems are communicated.
Optionally, route system 420 is additionally operable to:
Obtain the static ip address in the first address pool in cable modem system;
Version inquiry request is sent to cable modem system timing according to static ip address;
Route system receive cable modem system send the second configuration information, wherein, the second configuration information in Cable modem system is not in sending during upgrade status.
Wherein, aforesaid operations are completed by the intercommunication module in route system 420, accordingly, cable modem Also there is a corresponding intercommunication module in device system 410, for being communicated with the intercommunication module in route system.
Optionally, route system 420 is additionally operable to send upgrading according to the IP address of upgrade server in the second configuration information Request;And the second firmware updating information is downloaded, and carry out firmware upgrade.
Wherein, aforesaid operations can also be completed by the intercommunication module in route system 420.
Whether the target ip address that cable modem system 410 is additionally operable to the upgrade request that detection receives is upgrading The IP address of server, if so, then recording the source port of upgrade request, and the ground of upgrade request is replaced according to the first preset rules Location information, the upgrade request after replacement is sent to upgrade server;And receive the firmware updating letter of upgrade server feedback Breath, and detect firmware updating information target ip address whether be radio frequency interface IP address, and whether destination interface is source Mouthful, if so, the address information of firmware updating information is then replaced according to the second preset rules, and by the firmware updating information after replacement It is defined as the second firmware updating information, sends to route system.
Wherein, aforesaid operations can be completed by the monitor in cable modem system 410.
Optionally, the monitor in cable modem system 410 is specifically used for:
The source IP address of upgrade request and source MAC are replaced with to the IP address and current MAC address of radio frequency interface;Will The destination-mac address of upgrade request replaces with the default gateway MAC Address of radio frequency interface;And the target by firmware updating information IP address and destination-mac address replace with the IP address and MAC Address of route system neutron WAN mouths.
Optionally, cable modem system 410 is additionally operable to:After the first firmware updating information is downloaded and consolidated Before part upgrading, if the first firmware updating information failed download, whether judgement retries download time more than the first preset times, Upgrade next time if so, then waiting, if it is not, then re-downloading the first firmware updating information.
Optionally, route system 420 is additionally operable to:After the second firmware updating information is downloaded and carry out firmware upgrade it Before, if the second firmware updating information failed download, whether judgement retries download time more than the second preset times, if so, then Wait upgrades next time, if it is not, then re-downloading the second firmware updating information.
Optionally, cable modem system 410 is additionally operable to:After configuration information is obtained, cable modem System is modulated to upgrade server timing send configuration information query message according to the feedback information of upgrade server more new cable First configuration information of demodulator system and the second configuration information of route system.
Optionally, route system 420 is additionally operable to:Before firmware upgrade is carried out, sent to cable modem system The status information upgraded;Accordingly, after upgrading is completed, route system is restarted, and to cable modem System sends the status information that upgrading terminates.
The said goods can perform the upgrade method that any embodiment of the present invention provides cable modem, possess execution The corresponding functional module of upgrade method and beneficial effect of cable modem.
Pay attention to, above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that The invention is not restricted to specific embodiment here, can carry out various significantly change, again for a person skilled in the art Adjustment and replacement are without departing from protection scope of the present invention.Therefore, although the present invention has been carried out by above example compared with For detailed description, but the present invention is not limited only to above example, without departing from the inventive concept, can be with Including other more equivalent embodiments, and the scope of the present invention is determined by scope of the appended claims.

Claims (10)

1. a kind of upgrade method of cable modem, it is characterised in that the cable modem is modulated including cable Demodulator system and route system, methods described include:
The cable modem system obtains configuration information, wherein the configuration information includes the cable modem First configuration information of system and the second configuration information of the route system;
If the cable modem system detects the first current version information and the version in first configuration information Information is inconsistent, then downloads the first firmware updating information, and carry out firmware upgrade;
The route system obtains described second and matches somebody with somebody confidence when the cable modem system is not in upgrade status Breath, if the second current version information and the version information in second configuration information are inconsistent, modulated based on the cable Demodulator system downloads the second firmware updating information, and carries out firmware upgrade.
2. according to the method for claim 1, it is characterised in that the route system is in the cable modem system When being not in upgrade status, second configuration information is obtained, including:
The route system obtains the static ip address in the first address pool in the cable modem system;
The route system sends version inquiry according to the static ip address to cable modem system timing please Ask;
The route system receives second configuration information that the cable modem system is sent, wherein, described the Two configuration informations are sent when the cable modem system is not in upgrade status.
3. according to the method for claim 1, it is characterised in that the route system is based on the cable modem system System downloads the second firmware updating information, and carries out firmware upgrade, including:
The route system sends upgrade request according to the IP address of upgrade server in second configuration information;
Whether the target ip address for the upgrade request that the cable modem system detection receives is the upgrading The IP address of server, if so, then recording the source port of the upgrade request, and the upgrading is replaced according to the first preset rules The address information of request, the upgrade request after replacement is sent to the upgrade server;
The cable modem system receives the firmware updating information of the upgrade server feedback, and detects the upgrading The target ip address of firmware information whether be radio frequency interface IP address, and whether destination interface is the source port, if so, then The address information of the firmware updating information is replaced according to the second preset rules, and the firmware updating information after replacement is defined as The second firmware updating information, send to the route system;
The route system downloads the second firmware updating information, and carries out firmware upgrade.
4. according to the method for claim 3, it is characterised in that the cable modem system is according to the first default rule The address information of the upgrade request is then replaced, including:
By the source IP address of the upgrade request and source MAC with replacing with the IP address of the radio frequency interface and current MAC Location;The destination-mac address of the upgrade request is replaced with to the default gateway MAC Address of the radio frequency interface;
Accordingly, the address information of the firmware updating information is replaced according to the second preset rules, including:
The target ip address of the firmware updating information and destination-mac address are replaced with into the route system neutron WAN mouths IP address and MAC Address.
5. according to the method for claim 1, it is characterised in that download described first in the cable modem system After firmware updating information and before progress firmware upgrade, in addition to:
If the first firmware updating information failed download, whether judgement retries download time more than the first preset times, if It is then to wait and upgrading next time, if it is not, then re-downloading the first firmware updating information;
After the route system downloads the second firmware updating information and before progress firmware upgrade, in addition to:
If the second firmware updating information failed download, whether judgement retries download time more than the second preset times, if It is then to wait and upgrading next time, if it is not, then re-downloading the second firmware updating information.
6. according to the method for claim 1, it is characterised in that obtain configuration information in the cable modem system Afterwards, in addition to:
The cable modem system takes to upgrade server timing send configuration information query message according to the upgrading The feedback information of business device updates the first configuration information of the cable modem system and the second of the route system is matched somebody with somebody Confidence ceases.
7. according to the method for claim 1, it is characterised in that before the route system carries out firmware upgrade, in addition to:
The status information upgraded is sent to the cable modem system;
Accordingly, after route system upgrading is completed, in addition to:
The route system is restarted, and the status information of upgrading end is sent to the cable modem system.
8. a kind of cable modem, it is characterised in that the cable modem includes cable modem system And route system, wherein,
The cable modem system is used to obtain configuration information, wherein the configuration information includes the cable modulatedemodulate Adjust the first configuration information of device system and the second configuration information of the route system;If detect the first current version information with Version information in first configuration information is inconsistent, then downloads the first firmware updating information, and carry out firmware upgrade;
The route system configures when the cable modem system is not in upgrade status, to obtain described second Information, if the second current version information and the version information in second configuration information are inconsistent, adjusted based on the cable Modulator-demodulator system downloads the second firmware updating information, and carries out firmware upgrade.
9. cable modem according to claim 8, it is characterised in that the route system is additionally operable to:
Obtain the static ip address in the first address pool in the cable modem system;
Version inquiry request is sent to cable modem system timing according to the static ip address;
The route system receives second configuration information that the cable modem system is sent, wherein, described the Two configuration informations are sent when the cable modem system is not in upgrade status.
10. cable modem according to claim 8, it is characterised in that
The route system is additionally operable to send upgrade request according to the IP address of upgrade server in second configuration information;With And the second firmware updating information is downloaded, and carry out firmware upgrade;
Whether the target ip address that the cable modem system is additionally operable to the upgrade request that detection receives is institute The IP address of upgrade server is stated, if so, then recording the source port of the upgrade request, and institute is replaced according to the first preset rules The address information of upgrade request is stated, the upgrade request after replacement is sent to the upgrade server;And receive the upgrading The firmware updating information of server feedback, and detect the firmware updating information target ip address whether be radio frequency interface IP Address, and whether destination interface is the source port, if so, then replacing the firmware updating information according to the second preset rules Address information, and the firmware updating information after replacement is defined as the second firmware updating information, send to the route system System.
CN201711130995.3A 2017-11-15 2017-11-15 Upgrading method of cable modem and cable modem Active CN107809333B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711130995.3A CN107809333B (en) 2017-11-15 2017-11-15 Upgrading method of cable modem and cable modem

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711130995.3A CN107809333B (en) 2017-11-15 2017-11-15 Upgrading method of cable modem and cable modem

Publications (2)

Publication Number Publication Date
CN107809333A true CN107809333A (en) 2018-03-16
CN107809333B CN107809333B (en) 2020-10-13

Family

ID=61580253

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711130995.3A Active CN107809333B (en) 2017-11-15 2017-11-15 Upgrading method of cable modem and cable modem

Country Status (1)

Country Link
CN (1) CN107809333B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108667676A (en) * 2018-08-17 2018-10-16 四川长虹电器股份有限公司 Radio-type cable modem upgrade method

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101060427A (en) * 2006-04-19 2007-10-24 华为技术有限公司 A system and method for realizing the remote software updating
US20120324065A1 (en) * 2010-03-08 2012-12-20 Zte Corporation Method and system for upgrading network device
US20140282484A1 (en) * 2013-03-15 2014-09-18 Netgear, Inc. System and method for remotely updating cable modem software
CN104506942A (en) * 2014-12-23 2015-04-08 深圳市九洲电器有限公司 Set-top box and upgrading method of cable modem system of set-top box
CN105024843A (en) * 2014-04-29 2015-11-04 国基电子(上海)有限公司 Cable modem, server and firmware upgrading method
CN105045611A (en) * 2015-06-24 2015-11-11 深圳市兰丁科技有限公司 Upgrading method and apparatus
CN105704036A (en) * 2014-11-27 2016-06-22 华为技术有限公司 Message forwarding method, apparatus, and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101060427A (en) * 2006-04-19 2007-10-24 华为技术有限公司 A system and method for realizing the remote software updating
US20120324065A1 (en) * 2010-03-08 2012-12-20 Zte Corporation Method and system for upgrading network device
US20140282484A1 (en) * 2013-03-15 2014-09-18 Netgear, Inc. System and method for remotely updating cable modem software
CN105024843A (en) * 2014-04-29 2015-11-04 国基电子(上海)有限公司 Cable modem, server and firmware upgrading method
CN105704036A (en) * 2014-11-27 2016-06-22 华为技术有限公司 Message forwarding method, apparatus, and system
CN104506942A (en) * 2014-12-23 2015-04-08 深圳市九洲电器有限公司 Set-top box and upgrading method of cable modem system of set-top box
CN105045611A (en) * 2015-06-24 2015-11-11 深圳市兰丁科技有限公司 Upgrading method and apparatus

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
宋军: ""有线电视宽带综合业务网的服务质量保证机制研究"", 《万方博士学位论文全文数据库》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108667676A (en) * 2018-08-17 2018-10-16 四川长虹电器股份有限公司 Radio-type cable modem upgrade method
CN108667676B (en) * 2018-08-17 2020-07-28 四川长虹电器股份有限公司 Wireless cable modem upgrading method

Also Published As

Publication number Publication date
CN107809333B (en) 2020-10-13

Similar Documents

Publication Publication Date Title
US20210119862A1 (en) Provisioning network devices using a vendor-neutral platform
WO2016149908A1 (en) Method for updating terminal system, terminal and system
US20190171435A1 (en) Distributed upgrade in virtualized computing environments
CN108377207A (en) A kind of access of platform of internet of things equipment and configuration method
EP3588859B1 (en) Network device configuration versioning
CN106911729A (en) A kind of operating system remote installation method suitable for domestic processor
CN101877650A (en) Method and system for updating software version automatically
AU779536B2 (en) Method and apparatus for hierarchical software distribution packages
CN102231675A (en) Protocol adaptation network element and using method thereof in communication sub-network
CN107294785A (en) The automatic deployment method and device, computer-readable recording medium of CDN node service
CN106412064A (en) Remote upgrade method of power utilization information acquisition terminal
CN107819657A (en) A kind of method based on central controlled dynamic analysis Modbus agreements, things-internet gateway equipment and system
CN104167822A (en) Parameter configuration method for distribution network automation terminal device
CN107193605A (en) The installation method and system of a kind of operating system
CN108804321A (en) A kind of automatic test software update system and method
CN104092732A (en) Intelligent terminal software updating method and device
CN109743372A (en) Gateway attaches device updating method and device
CN106160852A (en) The network system of a kind of transmission equipment and remote upgrade method thereof
CN107809333A (en) The upgrade method and cable modem of a kind of cable modem
US20170033982A1 (en) Telecommunications node configuration management
WO2016074412A1 (en) Compatibility administration method based on network configuration protocol, storage medium and device
CN103546563B (en) terminal software intelligent updating method and system
US9063963B2 (en) Method and system for migration of managed devices
CN109218462A (en) A kind of IP distribution method of cloud data center physical host
CN103593203B (en) The programming of programmable logic controller (PLC) and firmware update

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