CN1494267A - Firmware renewing method or digital subscriber line device - Google Patents

Firmware renewing method or digital subscriber line device Download PDF

Info

Publication number
CN1494267A
CN1494267A CNA021469571A CN02146957A CN1494267A CN 1494267 A CN1494267 A CN 1494267A CN A021469571 A CNA021469571 A CN A021469571A CN 02146957 A CN02146957 A CN 02146957A CN 1494267 A CN1494267 A CN 1494267A
Authority
CN
China
Prior art keywords
digital subscriber
firmware
subscriber device
identification code
server
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
CNA021469571A
Other languages
Chinese (zh)
Other versions
CN100396033C (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.)
Guoqi Electric Co Ltd
Original Assignee
Guoqi Electric 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 Guoqi Electric Co Ltd filed Critical Guoqi Electric Co Ltd
Priority to CNB021469571A priority Critical patent/CN100396033C/en
Publication of CN1494267A publication Critical patent/CN1494267A/en
Application granted granted Critical
Publication of CN100396033C publication Critical patent/CN100396033C/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The method includes following steps. First, digital subscriber device sends request to server of dynamic host configuration protocol. Next, responding to the request, the server transfers information including address of file server and id code of firmware to digital subscriber device. Then, based on id code of firmware, the digital subscriber device determines whether the firmware in device is needed to update; if yes, the digital subscriber device down loads updated information for the firmware in device from relevant file server based on address of the file server. Finally, based on the updated information, the firmware in device is updated.

Description

The renewal firmware method of digital subscriber device
Technical field
The present invention relates to a kind of digital subscriber device, particularly propose a kind of renewal firmware method of digital subscriber device.
Background technology
Digital Subscriber Line (Digital Subscriber Line, hereinafter referred is xDSL) permission transmission lot of data service data on traditional narrow frequency acoustic network, it comprises asymmetric Digital Subscriber Line (Asymmetric Digital Subscriber Line, be called for short ADSL), high speed transmission digital user line (Veryhigh bit rate Digital Subscriber Line, hereinafter referred VDSL) technology such as, it has the higher data transmission rate, therefore can be used to multi-medium datas such as transmit video audio frequency and high definition image, can be the enterprise customer and family provides the wideband service.
The similar of xDSL systems such as ADSL system, VDSL system is all at the client configuration modulator-demodulator.Telecommunications service provider or system buildup person can provide the firmware update service of client modem, according to known way, telecommunications service provider or system buildup person can be stored in the lastest imformation of firmware in the file server of appointment, the user need link the lastest imformation of the file server of appointment with download firmware voluntarily, use special tool software to carry out the upgrading of firmware then, this will cause user's inconvenience.
Summary of the invention
In view of this, main purpose of the present invention is to propose a kind of renewal firmware method of digital subscriber device, the method of this renewal firmware is utilized DHCP (Dynamic Host ConfigurationProtocol, DHCP) characteristic and can upgrade the firmware of digital subscriber device automatically is to increase the convenience that digital subscriber device is used.
The invention provides a kind of renewal firmware method of digital subscriber device, it comprises the following steps.At first, digital subscriber device is to DHCP (Dynamic Host Configuration Protocol, DHCP) the server request of sending (request).Then, respond this request, this Dynamic Host Configuration Protocol server transmission comprises that the information of file server address and firmware identification code is to this digital subscriber device.Follow, this digital subscriber device judges whether to need to upgrade the firmware of this digital subscriber device according to this firmware identification code again.When this digital subscriber device judgement needs to upgrade firmware,, download the lastest imformation of the firmware of this digital subscriber device to the pairing file server of this document server address.At last, upgrade the firmware of this digital subscriber device according to this lastest imformation.Wherein this firmware identification code comprises firmware version identification code and hardware identification code, whether this firmware version identification code needs this lastest imformation in order to the firmware of distinguishing this digital subscriber device, and this hardware identification code is in order to distinguish whether this digital subscriber device meets the hsrdware requirements of this lastest imformation.
In addition, the present invention also proposes the method for the renewal firmware of another kind of digital subscriber device, and it comprises the following steps.At first, digital subscriber device is to the Dynamic Host Configuration Protocol server request of sending (request).Then, respond this request, this Dynamic Host Configuration Protocol server transmission comprises that the information of file server address is to this digital subscriber device.Follow again,, transmit the information that comprises the firmware identification code to file server requests according to this document server address.This digital subscriber device judges whether to need to upgrade the firmware of this digital subscriber device according to this firmware identification code.When this digital subscriber device judgement needs to upgrade firmware, download the lastest imformation of the firmware of this digital subscriber device to this document server.At last, upgrade the firmware of this digital subscriber device according to this lastest imformation.
For above and other objects of the present invention, feature and advantage can be become apparent, embodiment cited below particularly, and cooperate appended diagram, be described in detail below:
The accompanying drawing simple declaration
Fig. 1 represents the flow chart of the renewal firmware method of digital subscriber device in the first embodiment of the invention.
Fig. 2 represents the flow chart of the renewal firmware method of digital subscriber device in the second embodiment of the invention.
Fig. 3 represents the flow chart of the renewal firmware method of digital subscriber device in the third embodiment of the invention.
Embodiment
The present invention at first discloses a kind of method of upgrading firmware, the method of this renewal firmware is utilized the characteristic of DHCP and can be upgraded the firmware of digital subscriber device automatically, to increase the convenience that digital subscriber device is used, the method of this renewal firmware can be used for as asymmetrical digital subscriber (Asymmetric DigitalSubscriber Line, ADSL) modulator-demodulator and very high speed digital subscriber lines (Very-high Bit RateDigital Subscriber Line, VDSL) in different types of digital subscriber device such as modulator-demodulator, to be example hereinafter with the firmware that upgrades the asymmetrical digital subscriber modulator-demodulator, cooperate diagram, describe embodiments of the invention in detail.
Fig. 1 represents the flow chart of the renewal firmware method of asymmetrical digital subscriber modulator-demodulator in the first embodiment of the invention.At first, the asymmetrical digital subscriber modulator-demodulator is to DHCP (DynamicHost Configuration Protocol, DHCP) the server request of sending (request) (step S101), this action may betide the modulator-demodulator end first to server requests one IP address, or betides the modulator-demodulator end each time when server requests continuity (renew) IP lease.Then, Dynamic Host Configuration Protocol server can respond this request, its transmission comprises that the information of file server address and firmware identification code is to asymmetrical digital subscriber modulator-demodulator (step S102), the firmware identification code comprises firmware version identification code and hardware identification code, whether the firmware version identification code needs lastest imformation in order to the firmware of distinguishing the asymmetrical digital subscriber modulator-demodulator, and hardware identification code is in order to distinguish whether the asymmetrical digital subscriber modulator-demodulator meets the hsrdware requirements of lastest imformation.After receiving the firmware identification code, the asymmetrical digital subscriber modulator-demodulator can judge whether to need to upgrade the firmware (step S103) of asymmetrical digital subscriber modulator-demodulator according to the firmware identification code.When the judgement of asymmetrical digital subscriber modulator-demodulator need not upgraded firmware, finish this flow process.When the judgement of asymmetrical digital subscriber modulator-demodulator needs to upgrade firmware, to the pairing file transfer protocol (FTP) of file server address (File Transfer Protocol, FTP) server, the lastest imformation (step S104) of the firmware of download asymmetrical digital subscriber modulator-demodulator.At last, upgrade the firmware (step S105) of this asymmetrical digital subscriber modulator-demodulator according to lastest imformation.
Be noted that, in this embodiment, the lastest imformation of firmware is stored at file transfer protocol (FTP) (FileTransfer Protocol, FTP) in the server, but the lastest imformation of firmware also can be stored in other file server as: TFTP (Trivial File Transfer Protocol, TFTP) server.
Fig. 2 represents the flow chart of the renewal firmware method of asymmetrical digital subscriber modulator-demodulator in the second embodiment of the invention.At first, the asymmetrical digital subscriber modulator-demodulator is to the Dynamic Host Configuration Protocol server request of sending (step S201).Then, Dynamic Host Configuration Protocol server can respond this request, and its transmission comprises that the information of file server address is to this asymmetrical digital subscriber modulator-demodulator (step S202).According to file server address, the asymmetrical digital subscriber modulator-demodulator transmits the information (step S203) that comprises the firmware identification code to the TFTP server requests, the firmware identification code comprises firmware version identification code and hardware identification code, whether the firmware version identification code needs lastest imformation in order to the firmware of distinguishing the asymmetrical digital subscriber modulator-demodulator, and hardware identification code is in order to distinguish whether the asymmetrical digital subscriber modulator-demodulator meets the hsrdware requirements of lastest imformation.After receiving the firmware identification code, the asymmetrical digital subscriber modulator-demodulator can judge whether to need to upgrade the firmware (step S204) of asymmetrical digital subscriber modulator-demodulator according to the firmware identification code.When the judgement of asymmetrical digital subscriber modulator-demodulator need not upgraded firmware, finish this flow process.When the judgement of asymmetrical digital subscriber modulator-demodulator needs to upgrade firmware, download the lastest imformation (step S205) of the firmware of this asymmetrical digital subscriber modulator-demodulator to the TFTP server.At last, upgrade the firmware (step S206) of asymmetrical digital subscriber modulator-demodulator according to lastest imformation.
Be noted that in this embodiment the lastest imformation of firmware is stored in the TFTP server, but the lastest imformation of firmware also can be stored in other file server as: the file transfer protocol (FTP) server.
Fig. 3 represents the flow chart of the renewal firmware method of digital subscriber device in the third embodiment of the invention.Because in the process of the firmware of downloading and upgrading, may interrupt or other factors because of power interruptions, network, cause the firmware update message file to download not exclusively or upgrade and write not exclusively, can't normal boot-strap when this will cause the asymmetrical digital subscriber modulator-demodulator to restart next time.Therefore, for avoiding the generation of this problem, in third embodiment of the invention, the flash memory that is used to store firmware in the asymmetrical digital subscriber modulator-demodulator is divided into two blocks, wherein a block is used to back up original firmware for upgrading, the firmware of this backup can't be override by the new firmware that the present invention downloads automatically, that is new firmware is written in another block.Therefore, when the firmware of asymmetrical digital subscriber modulator-demodulator was carried out refresh routine, the firmware of this backup can guarantee that the asymmetrical digital subscriber modulator-demodulator can normal running.As shown in Figure 3, before carry out upgrading the program of firmware, must the advanced person be about to the action (step S301) that former firmware backs up.
Then, the asymmetrical digital subscriber modulator-demodulator is to the Dynamic Host Configuration Protocol server request of sending (step S302).Then, Dynamic Host Configuration Protocol server can respond this request, its transmission comprises that the information of file server address and firmware identification code is to asymmetrical digital subscriber modulator-demodulator (step S303), the firmware identification code comprises firmware version identification code and hardware identification code, whether the firmware version identification code needs lastest imformation in order to the firmware of distinguishing the asymmetrical digital subscriber modulator-demodulator, and hardware identification code is in order to distinguish whether the asymmetrical digital subscriber modulator-demodulator meets the hsrdware requirements of lastest imformation.After receiving the firmware identification code, the asymmetrical digital subscriber modulator-demodulator can judge earlier hardware identification code in the firmware identification code whether with the asymmetrical digital subscriber modulator-demodulator in the hardware identification code identical (step S304) of script.If the hardware identification code in the firmware identification code is different with the hardware identification code of script in the asymmetrical digital subscriber modulator-demodulator, promptly represent the lastest imformation of firmware and be not suitable for this asymmetrical digital subscriber modulator-demodulator that then flow process finishes.If hardware identification code in the hardware identification code in the firmware identification code and the asymmetrical digital subscriber modulator-demodulator originally is identical, judge again in the firmware identification code the firmware version identification code whether with the asymmetrical digital subscriber modulator-demodulator in originally firmware version identification code identical (step S305).If the firmware version identification code in the firmware identification code is identical with the firmware version identification code of script in the asymmetrical digital subscriber modulator-demodulator, represent that promptly the asymmetrical digital subscriber modulator-demodulator need not upgrade firmware, then flow process finishes.If the firmware version identification code in the firmware identification code is different with the firmware version identification code of script in the asymmetrical digital subscriber modulator-demodulator, then (FileTransfer Protocol, FTP) server is downloaded the lastest imformation (step S306) of the firmware of asymmetrical digital subscriber modulator-demodulator to the pairing file transfer protocol (FTP) of file server address.Then, judge that whether the lastest imformation of firmware downloads (step S307) fully, if the lastest imformation of firmware is not downloaded fully, then represents the file failed download, still can start shooting when in the case, the asymmetrical digital subscriber modulator-demodulator restarts next time with former firmware.If the lastest imformation of firmware is downloaded fully, then upgrade the firmware (step S308) that is stored in the flash memory according to lastest imformation.Whether success (step S309) of the last renewal of judging firmware in the flash memory again will be if success will use the firmware after the renewal to start shooting when then finishing this flow process and next time and restarting the asymmetrical digital subscriber modulator-demodulator.If there is not firmware in the renewal flash memory of success, the expression file write failure, can start shooting with the aforementioned former firmware of backup in advance when then the asymmetrical digital subscriber modulator-demodulator restarts next time.
According to the above, utilize the method for renewal firmware of the present invention, can upgrade the firmware of digital subscriber device automatically, therefore can reach the purpose that the present invention increases the ease of use of digital subscriber device.Particularly for the device that is sold to the user, the invention provides a kind of function of upgrading firmware reliably by remote auto, and in digital subscriber device each time during to server requests continuity (renew) IP lease, firmwares of renewable latest edition all.
Though the present invention discloses as above with preferred embodiment; right its is not in order to limit the present invention; any those skilled in the art; do not breaking away from the spirit and scope of the invention; should make a little change and retouching, so protection scope of the present invention is as the criterion when looking the accompanying Claim book person of defining.

Claims (12)

1. the method for the renewal firmware of a digital subscriber device, it comprises the following steps:
One digital subscriber device is sent a request (request) to a Dynamic Host Configuration Protocol server;
Respond this request, this Dynamic Host Configuration Protocol server transmission one comprises that the information of a file server address and a firmware identification code is to this digital subscriber device;
This digital subscriber device judges whether to need to upgrade the firmware of this digital subscriber device according to this firmware identification code;
When this digital subscriber device judgement needs to upgrade firmware,, download a lastest imformation of the firmware of this digital subscriber device to the pairing file server of this document server address; And
Upgrade the firmware of this digital subscriber device according to this lastest imformation.
2. the method for the renewal firmware of digital subscriber device as claimed in claim 1, wherein this firmware identification code comprises a firmware version identification code and a hardware identification code, whether this firmware version identification code needs this lastest imformation in order to the firmware of distinguishing this digital subscriber device, and this hardware identification code is in order to distinguish whether this digital subscriber device meets hsrdware requirements of this lastest imformation.
3. the method for the renewal firmware of digital subscriber device as claimed in claim 1, wherein this digital subscriber device is an asymmetrical digital subscriber (Asymmetric Digital Subscriber Line, an ADSL) modulator-demodulator.
4. the method for the renewal firmware of digital subscriber device as claimed in claim 1, wherein this digital subscriber device is a very high speed digital subscriber lines (Very-high Bit Rate Digital SubscriberLine, a VDSL) modulator-demodulator.
5. the method for the renewal firmware of digital subscriber device as claimed in claim 1, wherein this document server is a file transfer protocol (FTP) (File Transfer Protocol, a FTP) server.
6. the method for the renewal firmware of digital subscriber device as claimed in claim 1, wherein this document server is a TFTP (Trivial File Transfer Protocol, a TFTP) server.
7. the method for the renewal firmware of a digital subscriber device, it comprises the following steps:
One digital subscriber device is sent a request (request) to a Dynamic Host Configuration Protocol server;
Respond this request, this Dynamic Host Configuration Protocol server transmission one comprises that the information of a file server address is to this digital subscriber device;
According to this document server address, comprise the information of a firmware identification code to file server requests transmission one;
This digital subscriber device judges whether to need to upgrade the firmware of this digital subscriber device according to this firmware identification code;
When this digital subscriber device judgement needs to upgrade firmware, download a lastest imformation of the firmware of this digital subscriber device to this document server; And
Upgrade the firmware of this digital subscriber device according to this lastest imformation.
8. the method for the renewal firmware of digital subscriber device as claimed in claim 7, wherein this firmware identification code comprises a firmware version identification code and a hardware identification code, whether this firmware version identification code needs this lastest imformation in order to the firmware of distinguishing this digital subscriber device, and this hardware identification code is in order to distinguish whether this digital subscriber device meets hsrdware requirements of this lastest imformation.
9. the method for the renewal firmware of digital subscriber device as claimed in claim 7, wherein this digital subscriber device is an asymmetrical digital subscriber (Asymmetric Digital Subscriber Line, an ADSL) modulator-demodulator.
10. the method for the renewal firmware of digital subscriber device as claimed in claim 7, wherein this digital subscriber device is a very high speed digital subscriber lines (Very-high Bit Rate Digital SubscriberLine, a VDSL) modulator-demodulator.
11. the method for the renewal firmware of digital subscriber device as claimed in claim 7, wherein this document server is a file transfer protocol (FTP) (File Transfer Protocol, a FTP) server.
12. the method for the renewal firmware of digital subscriber device as claimed in claim 7, wherein this document server is a TFTP (Trivial File Transfer Protocol, a TFTP) server.
CNB021469571A 2002-10-29 2002-10-29 Firmware renewing method or digital subscriber line device Expired - Lifetime CN100396033C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB021469571A CN100396033C (en) 2002-10-29 2002-10-29 Firmware renewing method or digital subscriber line device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB021469571A CN100396033C (en) 2002-10-29 2002-10-29 Firmware renewing method or digital subscriber line device

Publications (2)

Publication Number Publication Date
CN1494267A true CN1494267A (en) 2004-05-05
CN100396033C CN100396033C (en) 2008-06-18

Family

ID=34232908

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB021469571A Expired - Lifetime CN100396033C (en) 2002-10-29 2002-10-29 Firmware renewing method or digital subscriber line device

Country Status (1)

Country Link
CN (1) CN100396033C (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100340982C (en) * 2005-03-03 2007-10-03 中兴通讯股份有限公司 After-error recovery method of transmission equipment card software on-line update
CN105024843A (en) * 2014-04-29 2015-11-04 国基电子(上海)有限公司 Cable modem, server and firmware upgrading method
CN107220151A (en) * 2017-06-12 2017-09-29 宇龙计算机通信科技(深圳)有限公司 A kind of circuit collocation method, device and computer equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20010106618A (en) * 2000-05-22 2001-12-07 김용만 Advertisement system utilizing terminator for internet service and method thereof
US6944854B2 (en) * 2000-11-30 2005-09-13 International Business Machines Corporation Method and apparatus for updating new versions of firmware in the background

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100340982C (en) * 2005-03-03 2007-10-03 中兴通讯股份有限公司 After-error recovery method of transmission equipment card software on-line update
CN105024843A (en) * 2014-04-29 2015-11-04 国基电子(上海)有限公司 Cable modem, server and firmware upgrading method
CN107220151A (en) * 2017-06-12 2017-09-29 宇龙计算机通信科技(深圳)有限公司 A kind of circuit collocation method, device and computer equipment

Also Published As

Publication number Publication date
CN100396033C (en) 2008-06-18

Similar Documents

Publication Publication Date Title
TWI227441B (en) Firmware upgrade method for digital subscriber line device
CN101656789B (en) Method for managing application information of mobile phone and application program manager
CN1143211C (en) Autoconfigurable method and system having automated downloading
EP3299953B1 (en) System and method for providing automatic firmware update management
US6668374B1 (en) Method and apparatus for upgrading firmware in an embedded system
JP4478417B2 (en) How to install a computer program
US20020078222A1 (en) Updating information in network devices
US20030070063A1 (en) Configuration file caching
US20020078170A1 (en) Method and system for minimizing network bandwidth bottlenecks
WO2000017749A1 (en) Remote firmware upgrade
WO2009117921A1 (en) Distributed network management system, network management server and method
CN111930396B (en) Upgrading method of communication module in 4G router based on notify mechanism
CN109634638B (en) Cluster software upgrading method, device, equipment and medium
JP5395108B2 (en) Apparatus and method for upgrading firmware in embedded systems
CN104978209A (en) Application updating method and application updating device
CN104636159B (en) The method and apparatus that software in virtual machine is upgraded
CN105981332A (en) Broadcasting management information using fountain codes
CN116560904A (en) NAS data backup disaster recovery method, system, terminal and storage medium
CN100396033C (en) Firmware renewing method or digital subscriber line device
CN100476728C (en) Method for updating application program, and mobile communication device using the method
US20090094660A1 (en) Method and apparatus for configuring a device from a network
CN107861761B (en) Starting method and system of physical host
CN110149232B (en) Distributed storage block upgrading iscsi service method, system, device and storage medium
JPH10320184A (en) Software version management system
CN112559126A (en) Implementation method for permanent storage virtual machine restoration based on openstack cloud management platform

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
EE01 Entry into force of recordation of patent licensing contract

Assignee: Ambit Microsystems (Shanghai) Ltd.

Assignor: HON HAI PRECISION INDUSTRY Co.,Ltd.

Contract fulfillment period: 2009.3.1 to 2019.3.1

Contract record no.: 2009990000112

Denomination of invention: Firmware renewing method or digital subscriber line device

Granted publication date: 20080618

License type: Exclusive license

Record date: 20090220

LIC Patent licence contract for exploitation submitted for record

Free format text: EXCLUSIVE LICENSE; TIME LIMIT OF IMPLEMENTING CONTACT: 2009.3.1 TO 2019.3.1; CHANGE OF CONTRACT

Name of requester: GUOJI ELECTRONIC( SHANGHAI ) CO., LTD.

Effective date: 20090220

CX01 Expiry of patent term
CX01 Expiry of patent term

Granted publication date: 20080618