CN108271054A - A kind of firmware upgrade backup method and device - Google Patents
A kind of firmware upgrade backup method and device Download PDFInfo
- Publication number
- CN108271054A CN108271054A CN201710002717.3A CN201710002717A CN108271054A CN 108271054 A CN108271054 A CN 108271054A CN 201710002717 A CN201710002717 A CN 201710002717A CN 108271054 A CN108271054 A CN 108271054A
- Authority
- CN
- China
- Prior art keywords
- firmware
- network element
- top box
- box unit
- system software
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/41—Structure of client; Structure of client peripherals
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1415—Saving, restoring, recovering or retrying at system level
- G06F11/1433—Saving, restoring, recovering or retrying at system level during software upgrading
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/41—Structure of client; Structure of client peripherals
- H04N21/426—Internal components of the client ; Characteristics thereof
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/436—Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
- H04N21/43615—Interfacing a Home Network, e.g. for connecting the client to a plurality of peripherals
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/60—Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client
- H04N21/63—Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
- H04N21/643—Communication protocols
- H04N21/64322—IP
Abstract
This application involves electronic technology field more particularly to a kind of firmware upgrade backup method and device, to solve the problems, such as that the design cost for carrying out firmware upgrade backup to pattern of fusion home gateway in the prior art is higher.Firmware upgrade backup method provided by the embodiments of the present application is applied in the pattern of fusion home gateway for including network element and set-top box unit, network element system software backup subregion is provided in set-top box unit, this method includes:Network element sends update notice after determining to need to perform firmware upgrade, to set-top box unit, wherein the backup firmware of the firmware in the system software main partition of carrying network element;The backup firmware received is stored in the network element system software backup subregion in set-top box unit by set-top box unit, and opens the function that firmware download service is provided for network element.
Description
Technical field
This application involves electronic technology field more particularly to a kind of firmware upgrade backup methods and device.
Background technology
Current home terminal device, such as home gateway, set-top box, the general embedded system for using software and hardware integration
System.Embedded system hardware is generally using dedicated system grade chip (System on Chip, SOC) processing chip, and money is configured
The limited random access memory in source (Random Access Memory, RAM) and flash memory (Flash Memory), size according to
Demand strictly customizes, very sensitive to cost.Built-in system software is generally existed in manufacture by proprietary tool subregion programming
In flash storage, it is standby to be basically divided into Boot loader (Bootloader) subregion, system software subregion, system software
Part subregion, user's application and data partition, as shown in Figure 1.Wherein, Bootloader subregions are performed after terminal device powers up
First segment code completes the initialization of central processing unit (Central Processing Unit, CPU) and related hardware at it
And then operating system mirror image is loaded into memory (i.e. RAM) and start-up operation system operation, Bootloader support from
Flash is read, and can also pass through boot protocol (Bootstrap Protocol, BOOTP) or Simple File Transfer Protocol
(Trivial File Transfer Protocol, TFTP) downloads start-up operation system image.System software is deposited in main partition
There are operating system mirror image and preset application and data.System software backup subregion is the backup to system software subregion.
Embedded device firmware updates, usually in order to solve existing firmware defects or in order to upgrade new function, mainly
Erasing replacement is carried out to the system software area on Flash, operating system is updated, updates preset application and data.In firmware liter
During grade, once breaking down, such as power-off, bad block will lead to system software Flash partition programming failure, and equipment is by nothing
Method normally starts, and operation maintenance personnel is needed to visit and recycles replacement, cost is high.Therefore, firmware upgrade at present generally uses active and standby point
The method in area.By setting active and standby two subregions to system software, so as to ensure when firmware upgrade is broken down, can restore
Roll back to it is former can normal operation firmware version operation.
At present, people have extensive joint demand to home gateway and set-top box.It is more next during house decoration network layout
More domestic consumers reservation networks information panel on video wall so that the possibility of the deployed position overlapping of two terminal devices
It is increasing.The convergent terminal equipment of home gateway and set-top box, abbreviation pattern of fusion home gateway, pattern of fusion home gateway can
Home terminal number is reduced, reduces the cost of investment of operator or user in equipment, while HP M point can be reduced,
O&M efficiency is improved, simplifies maintenance work.
Existing pattern of fusion home gateway includes two formants of network element and set-top box unit, wherein, network element
Main negative offer external network access and home intranet service, set-top box unit are mainly responsible for audio and video live streaming and point multicast function,
Numerous other business are also carried in the form of application in the unit.
Due to currently still existing without network element and the integrated one chip of set-top box unit, therefore pattern of fusion home network
The network of pass currently and set-top box unit independent operating, possesses respectively independent holonomic system, that is, possesses respective independent respectively
The hardware such as CPU, RAM, Flash, Bootloader, system software and user's application and data.Network element and set-top box unit
Between pass through internal network interface connection.Existing pattern of fusion home gateway system block diagram is as shown in Figure 2.
Since network element and set-top box unit are autonomous system in pattern of fusion home gateway, if using existing firmware
Upgrade failure restoration methods that is, using the method for the active and standby subregion of system software, then need network element and set-top box unit to distinguish
Firmware backup subregion is provided simultaneously with, so as to increase the requirement to Flash capacity namely increase setting for pattern of fusion home gateway
Count cost.
Invention content
The embodiment of the present application provides a kind of firmware upgrade backup method and device, to solve in the prior art to pattern of fusion
The problem of design cost of home gateway progress firmware upgrade backup is higher.
The embodiment of the present application provides a kind of firmware upgrade backup method, and this method is applied to include network element and set-top box
In the pattern of fusion home gateway of unit, network element system software backup subregion, this method are provided in the set-top box unit
Including:
The network element sends firmware upgrade after determining to need to perform firmware upgrade, to the set-top box unit and leads to
Know, wherein the backup firmware of the firmware in carrying the system software main partition of the network element;
The backup firmware received is stored in the network element system in the set-top box unit by the set-top box unit
In software backup subregion, and open the function that firmware download service is provided for the network element.
The embodiment of the present application also provides a kind of firmware upgrade backup method, and this method is applied to include network element and machine top
In the pattern of fusion home gateway of housing unit, this method includes:
The set-top box unit sends firmware upgrade after determining to need to perform firmware upgrade, to the network element and leads to
Know;
The network element unlatching provides the function of firmware agent download service for the set-top box unit.
The embodiment of the present application provides a kind of pattern of fusion home gateway, including network element and set-top box unit, the machine top
Network element system software backup subregion is provided in housing unit;Wherein:
The network element, for after determining to need to perform firmware upgrade, firmware liter to be sent to the set-top box unit
Grade notice, wherein the backup firmware of the firmware in carrying the system software main partition of the network element;And receiving
After the update notice for stating set-top box unit transmission, the work(that firmware agent download service is provided for the set-top box unit is opened
Energy;
The set-top box unit, for after determining to need to perform firmware upgrade, firmware liter to be sent to the network element
Grade notice;And after the update notice that the network element is sent is received, described in the update notice
The backup firmware of network element is stored in the network element system software backup subregion in the set-top box unit, and is opened and be
The network element provides the function of firmware download service.
The embodiment of the present application also provides a kind of pattern of fusion home gateway, including network element and set-top box unit, the machine
Network element system software backup subregion is provided in top box unit;Wherein:
The network element, for after determining to need to perform firmware upgrade, firmware liter to be sent to the set-top box unit
Grade notice, wherein the backup firmware of the firmware in carrying the system software main partition of the network element;
The set-top box unit, for after the update notice that the network element is sent is received, by the firmware
The network element system software that the backup firmware of the network element in upgrade notification is stored in the set-top box unit is standby
In part subregion, and open the function that firmware download service is provided for the network element.
The embodiment of the present application also provides a kind of pattern of fusion home gateway, including network element and set-top box unit, wherein:
The set-top box unit, for after determining to need to perform firmware upgrade, firmware liter to be sent to the network element
Grade notice;
The network element, for after the update notice that the set-top box unit is sent is received, opening as institute
State the function that set-top box unit provides firmware agent download service.
The embodiment of the present application eliminates the system software backup subregion in network element in the pattern of fusion home gateway,
Network element system software backup subregion is set on set-top box unit, for storing the original version firmware of network element backup.
Firmware download service is increased in the system software of set-top box unit;When network element carries out firmware upgrade fault recovery,
Whole equipment does not have outer net concatenation ability, at this time can be by the original version firmware that is backed up to set-top box unit acquisition request.
The embodiment of the present application eliminates the system software backup point on set-top box unit in the pattern of fusion home gateway
Area is increased in the system software of network element based on firmware agent download service;When set-top box unit carries out firmware upgrade
During fault recovery, by downloading original version firmware to network element requests.Network element has outer net concatenation ability, network always
Unit is transmitted to set-top box unit after the original version firmware that outer net obtains set-top box unit, then in inside.
Obviously, said program saves the system on system software backup subregion and the set-top box unit in network element
Software backup subregion knows clearly to the requirement of Flash capacity in pattern of fusion home gateway so as to reduce namely reduces pattern of fusion man
The design cost of front yard gateway.
Description of the drawings
Fig. 1 is built-in system software subregion schematic diagram;
Fig. 2 is existing pattern of fusion home gateway system block diagram;
Fig. 3 is the pattern of fusion home gateway system block diagram of the embodiment of the present application;
Fig. 4 is the firmware upgrade backup method flow chart that the embodiment of the present application one provides;
Fig. 5 is the firmware upgrade backup method flow chart that the embodiment of the present application two provides;
Fig. 6 is one of 60 structure diagram of pattern of fusion home gateway provided by the embodiments of the present application;
Fig. 7 is 70 second structural representation of pattern of fusion home gateway provided by the embodiments of the present application;
Fig. 8 is 80 third structural representation of pattern of fusion home gateway provided by the embodiments of the present application.
Specific embodiment
The embodiment of the present application is applied in the pattern of fusion home gateway for including network element and set-top box unit.Such as Fig. 3 institutes
Show, in the pattern of fusion home gateway, eliminating the Flash of network element, (the Flash capacity of network element is small, unit cost
It is high) on system software backup subregion, set-top box unit Flash (the Flash capacity of set-top box unit greatly, unit cost
It is low) on set network element system software backup subregion, for store network element back up original version firmware.In set-top box list
It is increased in the system software of member based on Simple File Transfer Protocol (Trivial File Transfer Protocol, TFTP)
Firmware download service;When network element carries out firmware upgrade fault recovery, whole equipment does not have outer net concatenation ability, this
When original version firmware from the TFTP clients on Bootloader to set-top box unit acquisition request that can be backed up by.In addition,
The system software backup subregion on set-top box unit is eliminated, consolidating based on TFTP is increased in the system software of network element
Part downloads (agency downloads) service;When set-top box unit carries out firmware upgrade fault recovery, by Bootloader
TFTP clients download original version firmware to network element requests.Network element has outer net concatenation ability, network element always
Pass through text transfer protocol (HyperText Transfer Protocol, HTTP)/text transfer protocol (File Transfer
Protocol, FTP) etc. agreements after the original version firmware that outer net obtains set-top box unit, then be transmitted to based on TFTP in inside
Set-top box unit.
The embodiment of the present application is described in further detail with reference to the accompanying drawings of the specification.
Embodiment one
The embodiment of the present application is applied in the pattern of fusion home gateway for including network element and set-top box unit.Such as Fig. 3 institutes
Show, in the pattern of fusion home gateway, eliminating the Flash of network element, (the Flash capacity of network element is small, unit cost
It is high) on system software backup subregion, set-top box unit Flash (the Flash capacity of set-top box unit greatly, unit cost
It is low) on open up network element system software backup subregion, for store network element backup original version firmware.In set-top box list
It is increased in the system software of member based on Simple File Transfer Protocol (Trivial File Transfer Protocol, TFTP)
Firmware download service;When network element carries out firmware upgrade fault recovery, whole equipment does not have outer net concatenation ability, this
When the original version firmware of backup can be downloaded inside the set-top box unit.
As shown in figure 4, for the firmware upgrade backup method flow chart that the embodiment of the present application one provides, include the following steps:
S401 (optionally):After the startup of pattern of fusion home gateway, based on advance between network element and set-top box unit
Static internet protocol (Internet Protocol, IP) address of the two of configuration, establishes dedicated network channel.
Here, it is that network element and set-top box unit are pre- for the ease of the communication between network element and set-top box unit
The IP address of static (fixation) is first configured.Specifically, the intercommunication on internal network interface between two units is established virtual
Network (Virtual Local Area Network, VLAN), and distribute fixed IP address of internal network for two units.Network list
It is based upon their preconfigured IP address between member and set-top box unit mutually to address, establishes internal private network channel.
It is only realized between network element and set-top box unit it should be noted that establishing internal-internal dedicated network channel
A kind of preferred embodiment of communication.It can also be obtained without setting up internal private network channel, network element and set-top box unit dynamic
IP address is taken, communication connection is established in the VLAN marks mutually addressing based on precognition.
S402:Network element sends update notice after determining to need to perform firmware upgrade, to set-top box unit,
The backup firmware of firmware in the middle system software main partition for carrying network element.
Here, network element sends update notice by the dedicated network channel of foundation to the set-top box unit.
In specific implementation, network element can detect that there are the new versions of the network element at terminal management platform
After firmware or after receiving the firmware upgrade instruction that terminal management platform is sent, determine to need to perform firmware upgrade.Network list
Member notice set-top box unit its prepare firmware updating, and by the firmware of normal operation in current network cellular system software main partition
It backups in the network element system software backup subregion in set-top box unit.
S403:The backup firmware received is stored in the network element system software in set-top box unit by set-top box unit
In backup subregion, and open the function that firmware download service is provided for network element.
Here, set-top box unit is opened for the internal interface that the network element provides firmware download service, to be institute
It states network element and the firmware download service based on TFTP is provided.Set-top box unit whenever necessary, can just be held only in network element
The function of firmware download service is opened, it is unwanted in network element, the function can be closed, to save because of monitoring equipment
The overhead that the TFTP of top box unit is asked and brought.
S404:Network element downloads new version firmware from terminal management platform.
S405:The new version firmware is written in the system software main partition in the network element network element, and starts
The new version firmware.
Here, new version firmware is written in the system software main partition in the network element network element, and opens again
It is dynamic.
S406:If starting successfully and new version firmware normal operation, sending firmware upgrade to set-top box unit successfully leads to
Know, into S407.
Here, after network element is restarted, internal private network channel is re-established between set-top box unit, and pass through this
Dedicated network channel sends firmware upgrade success notification to set-top box unit, can also send firmware upgrade to terminal management platform
Success notification.
S407:Set-top box unit closes the function that firmware download service is provided for network element.
S408:If starting failure or the operation of new version firmware being abnormal, ask to download the new edition to set-top box unit
The corresponding original version firmware of this firmware.Here original version firmware is the backup that the network element is sent to set-top box unit
Firmware.
Here, network element establishes internal private network channel with set-top box unit, passes through the TFTP on Bootloader
The original version firmware that client is backed up to set-top box unit acquisition request.
In addition, firmware version rollback can be network element actively triggering or terminal management platform or user
Triggering.
S409:The original version firmware of download is stored in the system software main partition in the network element by network element, and
Start the original version firmware, after starting successfully, send back rolling success notification to set-top box unit, return to S407.
Here, original version firmware is stored in the system software main partition in the network element by network element, is restarted, and is restored
It is run to former firmware version.After network element is restarted, internal private network channel is re-established between set-top box unit, and lead to
It crosses the dedicated network channel and sends firmware rollback success notification to set-top box unit, set-top box unit closing is provided for network element
The function of firmware download service.
Embodiment two
The embodiment of the present application is applied in the pattern of fusion home gateway for including network element and set-top box unit.In the fusion
In type home gateway, the system software backup subregion on set-top box unit is eliminated, is increased in the system software of network element
Firmware agent download service based on TFTP;When set-top box unit carries out firmware upgrade fault recovery, network element is always
With outer net concatenation ability, network element by text transfer protocol (HyperText Transfer Protocol, HTTP)/
The original version that the agreements such as text transfer protocol (File Transfer Protocol, FTP) obtain set-top box unit from outer net is consolidated
After part, then in inside set-top box unit is transmitted to based on TFTP.
As shown in figure 5, for the firmware upgrade backup method flow chart that the embodiment of the present application two provides, include the following steps:
S501:After the startup of pattern of fusion home gateway, preconfigured two are based between network element and set-top box unit
The static ip address of person establishes dedicated network channel.
S502:Set-top box unit sends update notice after determining to need to perform firmware upgrade, to network element.
In specific implementation, set-top box unit can detect that there are the new of the set-top box unit at terminal management platform
After version firmware or after receiving the firmware upgrade instruction that terminal management platform is sent, determine to need to perform firmware upgrade.
Here, set-top box unit is after determining to need to perform firmware upgrade, by the dedicated network channel of foundation, to network
Unit sends update notice.
S503:Network element opens the function that firmware agent download service is provided for set-top box unit.
Here, network element is opened for the internal interface that set-top box unit provides firmware agent download service, to be net
Network unit provides the firmware agent download service based on TFTP.Network element whenever necessary, can just be held only in set-top box unit
The function of firmware agent download service is opened, it is unwanted in network element, the function can be closed, to save because of prison
The overhead that the TFTP of control set-top box unit is asked and brought.
S504:Set-top box unit downloads new version firmware from terminal management platform.
S505:The new version firmware is written in the system software main partition in the set-top box unit set-top box unit, and
Start the new version firmware.
Here, set-top box unit is by new version firmware writing system software main partition, and restarts.
S506:If starting successfully and new version firmware normal operation, sending firmware upgrade to network element successfully leads to
Know, and enter S507.
Here, after set-top box unit is restarted, internal private network channel is re-established between network element, and pass through this
Dedicated network channel to network element send firmware upgrade success notification, can also to terminal management platform send firmware upgrade into
Work(notifies.
S507:Network element closes the function that firmware agent download service is provided for set-top box unit;
S508:If starting failure or the operation of new version firmware being abnormal, the new version is downloaded to network element requests
The corresponding original version firmware of firmware.
Here, set-top box unit establishes internal private network channel with network element, by its Bootloader
TFTP clients download original version firmware to network element requests.
In addition, firmware version rollback can be set-top box unit actively triggering or terminal management platform or use
Family triggering.
S509:Network element obtains the original version firmware from terminal management platform, and sends to set-top box unit.
Here, network element by the agreements such as HTTP/FTP from outer net obtain set-top box unit original version firmware after, then
Set-top box unit is transmitted to based on TFTP in inside.
S510:The original version firmware is stored in the system software main partition in the set-top box unit by set-top box unit,
And start the original version firmware, after starting successfully, rolling success notification is sent back to network element, into S507.
Here, original version firmware is stored in the system software main partition in the set-top box unit by set-top box unit, is restarted,
It is restored to former firmware version operation.After set-top box unit is restarted, internal private network channel is re-established between network element,
And pass through the dedicated network channel and send firmware rollback success notification to network element, network element closing is carried for set-top box unit
For the function of firmware agent download service.
Based on same inventive concept, additionally provided in the embodiment of the present application a kind of corresponding with firmware upgrade backup method solid
Part upgrades back-up device, since the principle that the device solves the problems, such as is similar to the firmware upgrade backup method of the embodiment of the present application,
Therefore the implementation of the device may refer to the implementation of method, and overlaps will not be repeated.
As shown in fig. 6, for one of 60 structure diagram of pattern of fusion home gateway provided by the embodiments of the present application, including network
Unit 61 and set-top box unit 62 are provided with network element system software backup subregion in the set-top box unit 62;Wherein:
Network element 61, for after determining to need to perform firmware upgrade, firmware liter to be sent to the set-top box unit 62
Grade notice, wherein the backup firmware of the firmware in the system software main partition of carrying network element 61;And receiving machine top
After the update notice that housing unit 62 is sent, the function that firmware agent download service is provided for set-top box unit 62 is opened;
Set-top box unit 62, for after determining to need to perform firmware upgrade, sending firmware upgrade to network element 61 and leading to
Know;And after the update notice for receiving the transmission of network element 61, by the network element 61 in the update notice
Backup firmware be stored in the network element system software backup subregion in set-top box unit 62, and open as network element 61
The function of firmware download service is provided.
Optionally, it is based on matching in advance after the startup of pattern of fusion home gateway, between network element 61 and set-top box unit 62
The static internet protocol IP address of the two put, establishes dedicated network channel.
Optionally, network element 61, specifically for detecting that there are the new editions of the network element at terminal management platform
After this firmware or after receiving the firmware upgrade instruction that terminal management platform is sent, determine to need to perform firmware upgrade;With/
Or,
Set-top box unit 62, specifically for detecting that the new version at terminal management platform there are the set-top box unit consolidates
After part or after receiving the firmware upgrade instruction that terminal management platform is sent, determine to need to perform firmware upgrade.
Optionally, set-top box unit 62, specifically for providing firmware download service by being opened for the network element
Internal interface provides the firmware download service based on Simple File Transfer Protocol TFTP for the network element;And/or
Network element 61, specifically for providing the inside of firmware agent download service by being opened for the set-top box unit
Interface provides the firmware agent download service based on Simple File Transfer Protocol TFTP for the network element.
Optionally, network element 61, specifically for downloading new version firmware from terminal management platform, by the new version firmware
It is written in the system software main partition in the network element, and starts the new version firmware;If start successfully and new version firmware
Normal operation then sends firmware upgrade success notification to set-top box unit 62;If start failure or the operation of new version firmware not
Normally, then it asks to download the corresponding original version firmware of the new version firmware to the set-top box unit;By the master of download
This firmware is stored in the system software main partition in the network element, and starts the original version firmware, after starting successfully, to machine
Top box unit sends back rolling success notification;
Set-top box unit 62, specifically for receive network element 61 transmission firmware upgrade success notification or rollback into
After work(notice, the function that firmware download service is provided for the network element is closed;And in the case where receiving the network element
After the request for carrying original version firmware, the original version firmware of the network element is sent to the network element.
Optionally, specifically for downloading new version firmware from terminal management platform, which is consolidated for set-top box unit 62
Part is written in the system software main partition in the set-top box unit, and starts the new version firmware;If start successfully and new version
Firmware normal operation then sends firmware upgrade success notification to the network element;If start failure or new version firmware fortune
Row is abnormal, then downloads the corresponding original version firmware of the new version firmware to the network element requests, the original version is consolidated
Part is stored in the system software main partition in the set-top box unit, and starts the original version firmware, after starting successfully, to network
Unit sends back rolling success notification;
Network element 61, specifically for receiving firmware upgrade success notification or the rollback that the set-top box unit is sent
After success notification, the function that firmware agent download service is provided for the set-top box unit is closed;And receiving the machine
After top box unit downloads the request of original version firmware, the original version firmware, concurrent feeding device top are obtained from terminal management platform
Housing unit.
As shown in fig. 7, for 70 second structural representation of pattern of fusion home gateway provided by the embodiments of the present application, including network
Unit 71 and set-top box unit 72 are provided with network element system software backup subregion in set-top box unit 72;Wherein:
Network element 71, for after determining to need to perform firmware upgrade, firmware upgrade to be sent to the set-top box unit
Notice, wherein the backup firmware of the firmware in carrying the system software main partition of the network element;
Set-top box unit 72, for receive network element 71 transmission update notice after, by the firmware upgrade
The backup firmware of network element 71 in notice is stored in the network element system software backup subregion in set-top box unit 72,
And open the function that firmware download service is provided for the network element.
As shown in figure 8, for 80 third structural representation of pattern of fusion home gateway provided by the embodiments of the present application, including machine top
Housing unit 81 and network element 82, wherein:
Set-top box unit 81, for after determining to need to perform firmware upgrade, sending firmware upgrade to network element 82 and leading to
Know;
Network element 82, for after the update notice for receiving the transmission of set-top box unit 81, opening as the machine
Top box unit provides the function of firmware agent download service.
It should be understood by those skilled in the art that, embodiments herein can be provided as method, system or computer program
Product.Therefore, the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware can be used in the application
Apply the form of example.Moreover, the computer for wherein including computer usable program code in one or more can be used in the application
The computer program production that usable storage medium is implemented on (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)
The form of product.
The application is with reference to according to the method, apparatus (system) of the embodiment of the present application and the flow of computer program product
Figure and/or block diagram describe.It should be understood that it can be realized by computer program instructions every first-class in flowchart and/or the block diagram
The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided
The processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce
A raw machine so that the instruction performed by computer or the processor of other programmable data processing devices is generated for real
The device of function specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that the instruction generation being stored in the computer-readable memory includes referring to
Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or
The function of being specified in multiple boxes.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted
Series of operation steps are performed on calculation machine or other programmable devices to generate computer implemented processing, so as in computer or
The instruction offer performed on other programmable devices is used to implement in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Although the preferred embodiment of the application has been described, those skilled in the art once know basic creation
Property concept, then additional changes and modifications may be made to these embodiments.So appended claims be intended to be construed to include it is excellent
It selects embodiment and falls into all change and modification of the application range.
Obviously, those skilled in the art can carry out the application essence of the various modification and variations without departing from the application
God and range.In this way, if these modifications and variations of the application belong to the range of the application claim and its equivalent technologies
Within, then the application is also intended to include these modifications and variations.
Claims (18)
1. a kind of firmware upgrade backup method, which is characterized in that this method is applied to include network element and set-top box unit
In pattern of fusion home gateway, network element system software backup subregion is provided in the set-top box unit, this method includes:
The network element sends update notice after determining to need to perform firmware upgrade, to the set-top box unit,
The backup firmware of firmware in the middle system software main partition for carrying the network element;
The backup firmware received is stored in the network element system software in the set-top box unit by the set-top box unit
In backup subregion, and open the function that firmware download service is provided for the network element.
2. the method as described in claim 1, which is characterized in that the network element sends firmware liter to the set-top box unit
Before grade notice, further include:
After pattern of fusion home gateway startup, based on both preconfigured between the network element and set-top box unit
Static internet protocol IP address, establish dedicated network channel;
The network element sends update notice to the set-top box unit, including:
The network element sends update notice by the dedicated network channel of foundation to the set-top box unit.
3. the method as described in claim 1, which is characterized in that the network element determines to need to perform firmware upgrade, including:
The network element is after detecting at terminal management platform there are the new version firmware of the network element or receives
After the firmware upgrade instruction that terminal management platform is sent, determine to need to perform firmware upgrade.
4. the method as described in claim 1, which is characterized in that the set-top box unit is opened to be provided admittedly for the network element
The function of part download service, including:
The set-top box unit is opened for the internal interface that the network element provides firmware download service, to be the network
Unit provides the firmware download service based on Simple File Transfer Protocol TFTP.
5. the method as described in claim 1, which is characterized in that the network element sends firmware liter to the set-top box unit
After grade notice, further include:
The network element downloads new version firmware from terminal management platform, which is written in the network element
In system software main partition, and start the new version firmware;
If starting successfully and new version firmware normal operation, firmware upgrade success notification is sent to the set-top box unit;Institute
State the function that set-top box unit closing provides firmware download service for the network element;
If starting failure or the operation of new version firmware being abnormal, ask to download the new version firmware to the set-top box unit
Corresponding original version firmware;The original version firmware is sent to the backup firmware of set-top box unit for the network element;
The original version firmware of download is stored in the system software main partition in the network element, and open by the network element
The original version firmware is moved, after starting successfully, rolling success notification is sent back to set-top box unit;The set-top box unit is closed
The network element provides the function of firmware download service.
6. a kind of firmware upgrade backup method, which is characterized in that this method is applied to include network element and set-top box unit
In pattern of fusion home gateway, this method includes:
The set-top box unit sends update notice after determining to need to perform firmware upgrade, to the network element;
The network element unlatching provides the function of firmware agent download service for the set-top box unit.
7. method as claimed in claim 6, which is characterized in that the set-top box unit sends firmware liter to the network element
Before grade notice, further include:
After pattern of fusion home gateway startup, based on both preconfigured between the network element and set-top box unit
Static internet protocol IP address, establish dedicated network channel;
The set-top box unit sends update notice, packet after determining to need to perform firmware upgrade, to the network element
It includes:
The set-top box unit is after determining to need to perform firmware upgrade, by the dedicated network channel of foundation, to the network
Unit sends update notice.
8. method as claimed in claim 6, which is characterized in that the set-top box unit determines to need to perform firmware upgrade, packet
It includes:
The set-top box unit is after detecting at terminal management platform there are the new version firmware of the set-top box unit, Huo Zhejie
After the firmware upgrade instruction for receiving terminal management platform transmission, determine to need to perform firmware upgrade.
9. method as claimed in claim 6, which is characterized in that the network element is opened to be provided admittedly for the set-top box unit
The function of part download service, including:
The network element is opened for the internal interface that the set-top box unit provides firmware agent download service, to be described
Network element provides the firmware agent download service based on Simple File Transfer Protocol TFTP.
10. method as claimed in claim 6, which is characterized in that the set-top box unit is determining to need to perform firmware upgrade
Afterwards, it after the network element sends update notice, further includes:
The set-top box unit downloads new version firmware from terminal management platform, which is written the set-top box unit
In system software main partition in, and start the new version firmware;
If starting successfully and new version firmware normal operation, firmware upgrade success notification is sent to the network element;It is described
Network element closes the function that firmware agent download service is provided for the network element;
If starting failure or the operation of new version firmware being abnormal, the new version firmware pair is downloaded to the network element requests
The original version firmware answered;The network element obtains the original version firmware from terminal management platform, and sends and give set-top box list
Member;
The original version firmware is stored in the system software main partition in the set-top box unit by the set-top box unit, and is started
After starting successfully, rolling success notification is sent back to network element for the original version firmware;The network element is closed as the machine
Top box unit provides the function of firmware agent download service.
11. a kind of pattern of fusion home gateway, which is characterized in that including network element and set-top box unit, the set-top box unit
In be provided with network element system software backup subregion;Wherein:
The network element, for after determining to need to perform firmware upgrade, sending firmware upgrade to the set-top box unit and leading to
Know, wherein the backup firmware of the firmware in carrying the system software main partition of the network element;And receiving the machine
After the update notice that top box unit is sent, the function that firmware agent download service is provided for the set-top box unit is opened;
The set-top box unit, for after determining to need to perform firmware upgrade, sending firmware upgrade to the network element and leading to
Know;And after the update notice that the network element is sent is received, by the network in the update notice
The backup firmware of unit is stored in the network element system software backup subregion in the set-top box unit, and it is described to open
Network element provides the function of firmware download service.
12. pattern of fusion home gateway as claimed in claim 11, which is characterized in that start in the pattern of fusion home gateway
Afterwards, it is established between the network element and set-top box unit based on both preconfigured static internet protocol IP address
Dedicated network channel.
13. pattern of fusion home gateway as claimed in claim 11, which is characterized in that the network element, specifically for examining
Measure at terminal management platform there are after the new version firmware of the network element or receive terminal management platform transmission consolidate
After part upgrade command, determine to need to perform firmware upgrade;And/or
The set-top box unit, specifically for detecting that there are the new version firmwares of the set-top box unit at terminal management platform
Afterwards or after receiving the firmware upgrade instruction of terminal management platform transmission, it determines to need to perform firmware upgrade.
14. pattern of fusion home gateway as claimed in claim 11, which is characterized in that the set-top box unit, specifically for logical
It crosses and is opened for the internal interface that the network element provides firmware download service, provided for the network element based on simple files
The firmware download service of transport protocol TFTP;And/or
The network element connects specifically for the inside that firmware agent download service is provided by being opened for the set-top box unit
Mouthful, provide the firmware agent download service based on Simple File Transfer Protocol TFTP for the network element.
15. pattern of fusion home gateway as claimed in claim 11, which is characterized in that the network element, specifically for from end
End pipe platform downloads new version firmware, which is written in the system software main partition in the network element, and
Start the new version firmware;If starting successfully and new version firmware normal operation, firmware liter is sent to the set-top box unit
Grade success notification;If starting failure or the operation of new version firmware being abnormal, it is new to download this to set-top box unit request
The corresponding original version firmware of version firmware;The system software master point original version firmware of download being stored in the network element
Qu Zhong, and start the original version firmware, after starting successfully, rolling success notification is sent back to set-top box unit;
The set-top box unit, specifically for receive firmware upgrade success notification that the network element sends or rollback into
After work(notice, the function that firmware download service is provided for the network element is closed;And in the case where receiving the network element
After the request for carrying original version firmware, the original version firmware of the network element is sent to the network element.
16. pattern of fusion home gateway as claimed in claim 11, which is characterized in that the set-top box unit, specifically for from
Terminal management platform downloads new version firmware, which is written to the system software main partition in the set-top box unit
In, and start the new version firmware;If starting successfully and new version firmware normal operation, sent to the network element solid
Part upgrades successfully notice;If starting failure or the operation of new version firmware being abnormal, being downloaded to the network element requests should
The original version firmware, is stored in the system software main partition in the set-top box unit by the corresponding original version firmware of new version firmware
In, and start the original version firmware, after starting successfully, rolling success notification is sent back to network element;
The network element, specifically for receive firmware upgrade success notification that the set-top box unit sends or rollback into
After work(notice, the function that firmware agent download service is provided for the set-top box unit is closed;And receiving the machine top
After housing unit downloads the request of original version firmware, the original version firmware is obtained, and send to set-top box from terminal management platform
Unit.
17. a kind of pattern of fusion home gateway, which is characterized in that including network element and set-top box unit, the set-top box unit
In be provided with network element system software backup subregion;Wherein:
The network element, for after determining to need to perform firmware upgrade, sending firmware upgrade to the set-top box unit and leading to
Know, wherein the backup firmware of the firmware in carrying the system software main partition of the network element;
The set-top box unit, for after the update notice that the network element is sent is received, by the firmware upgrade
The backup firmware of the network element in notice is stored in the network element system software backup point in the set-top box unit
Qu Zhong, and open the function that firmware download service is provided for the network element.
18. a kind of pattern of fusion home gateway, which is characterized in that including network element and set-top box unit, wherein:
The set-top box unit, for after determining to need to perform firmware upgrade, sending firmware upgrade to the network element and leading to
Know;
The network element, for after the update notice that the set-top box unit is sent is received, opening as the machine
Top box unit provides the function of firmware agent download service.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710002717.3A CN108271054A (en) | 2017-01-03 | 2017-01-03 | A kind of firmware upgrade backup method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710002717.3A CN108271054A (en) | 2017-01-03 | 2017-01-03 | A kind of firmware upgrade backup method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108271054A true CN108271054A (en) | 2018-07-10 |
Family
ID=62770767
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710002717.3A Pending CN108271054A (en) | 2017-01-03 | 2017-01-03 | A kind of firmware upgrade backup method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108271054A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109151559A (en) * | 2018-09-14 | 2019-01-04 | 青岛海信宽带多媒体技术有限公司 | A kind of multi-party conversation method and home gateway set-top box integrated machine |
CN109634643A (en) * | 2018-11-19 | 2019-04-16 | 冶金自动化研究设计院 | The three proofings automation equipment firmware upgrade system of people's air defense command post |
CN111522569A (en) * | 2020-05-09 | 2020-08-11 | 中瓴智行(成都)科技有限公司 | Hypervisor-based embedded multi-system upgrading method and computer-readable storage medium |
CN112256338A (en) * | 2020-10-27 | 2021-01-22 | 记忆科技(深圳)有限公司 | SOC starting method and device, computer equipment and storage medium |
CN112995767A (en) * | 2019-12-02 | 2021-06-18 | 中兴通讯股份有限公司 | Set top box upgrade control method, set top box and computer readable storage medium |
CN113064611A (en) * | 2021-03-16 | 2021-07-02 | 上海市共进通信技术有限公司 | Method for realizing data analysis software upgrading aiming at wireless equipment and updating method thereof |
WO2021159301A1 (en) * | 2020-02-12 | 2021-08-19 | Arris Enterprises Llc | Method and system for reducing service impact to users during image and/or firmware changes |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102802083A (en) * | 2012-08-24 | 2012-11-28 | 乐视网信息技术(北京)股份有限公司 | Set top box updating method based on Android system and set top box |
CN102905173A (en) * | 2012-10-16 | 2013-01-30 | 青岛海信信芯科技有限公司 | Method and system for upgrading software of televisions or set-top boxes |
CN104375844A (en) * | 2013-08-12 | 2015-02-25 | 中兴通讯股份有限公司 | Firmware upgrading method and device |
CN104754410A (en) * | 2015-03-16 | 2015-07-01 | 深圳市九洲电器有限公司 | Safety method and system for cable modulating and demodulating device |
CN105072473A (en) * | 2015-08-07 | 2015-11-18 | 成都市斯达鑫辉视讯科技有限公司 | Automatic upgrade type set top box |
CN105429867A (en) * | 2014-09-19 | 2016-03-23 | 中国移动通信集团公司 | Fused type home gateway and access method of application service thereof |
-
2017
- 2017-01-03 CN CN201710002717.3A patent/CN108271054A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102802083A (en) * | 2012-08-24 | 2012-11-28 | 乐视网信息技术(北京)股份有限公司 | Set top box updating method based on Android system and set top box |
CN102905173A (en) * | 2012-10-16 | 2013-01-30 | 青岛海信信芯科技有限公司 | Method and system for upgrading software of televisions or set-top boxes |
CN104375844A (en) * | 2013-08-12 | 2015-02-25 | 中兴通讯股份有限公司 | Firmware upgrading method and device |
CN105429867A (en) * | 2014-09-19 | 2016-03-23 | 中国移动通信集团公司 | Fused type home gateway and access method of application service thereof |
CN104754410A (en) * | 2015-03-16 | 2015-07-01 | 深圳市九洲电器有限公司 | Safety method and system for cable modulating and demodulating device |
CN105072473A (en) * | 2015-08-07 | 2015-11-18 | 成都市斯达鑫辉视讯科技有限公司 | Automatic upgrade type set top box |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109151559A (en) * | 2018-09-14 | 2019-01-04 | 青岛海信宽带多媒体技术有限公司 | A kind of multi-party conversation method and home gateway set-top box integrated machine |
CN109634643A (en) * | 2018-11-19 | 2019-04-16 | 冶金自动化研究设计院 | The three proofings automation equipment firmware upgrade system of people's air defense command post |
CN112995767A (en) * | 2019-12-02 | 2021-06-18 | 中兴通讯股份有限公司 | Set top box upgrade control method, set top box and computer readable storage medium |
WO2021159301A1 (en) * | 2020-02-12 | 2021-08-19 | Arris Enterprises Llc | Method and system for reducing service impact to users during image and/or firmware changes |
CN111522569A (en) * | 2020-05-09 | 2020-08-11 | 中瓴智行(成都)科技有限公司 | Hypervisor-based embedded multi-system upgrading method and computer-readable storage medium |
CN111522569B (en) * | 2020-05-09 | 2023-08-18 | 中瓴智行(成都)科技有限公司 | Hypervisor-based embedded multi-system upgrading method and computer readable storage medium |
CN112256338A (en) * | 2020-10-27 | 2021-01-22 | 记忆科技(深圳)有限公司 | SOC starting method and device, computer equipment and storage medium |
CN112256338B (en) * | 2020-10-27 | 2023-12-05 | 记忆科技(深圳)有限公司 | SOC starting method and device, computer equipment and storage medium |
CN113064611A (en) * | 2021-03-16 | 2021-07-02 | 上海市共进通信技术有限公司 | Method for realizing data analysis software upgrading aiming at wireless equipment and updating method thereof |
CN113064611B (en) * | 2021-03-16 | 2024-02-02 | 太仓市同维电子有限公司 | Method for realizing data analysis software upgrading aiming at wireless equipment and updating method thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108271054A (en) | A kind of firmware upgrade backup method and device | |
US9189221B2 (en) | Consistent operating system servicing for distributed nodes | |
CN108833163B (en) | Linux virtual server creating method and device, computer equipment and storage medium | |
CN104199666B (en) | A kind of application program Dynamic Configuration and device | |
US7869373B2 (en) | High-availability network systems | |
CN102591679B (en) | Quick application software arrangement method for cluster system | |
CN109361555A (en) | The method and apparatus that cloud network service is opened | |
US20120233299A1 (en) | Managing configurations of system management agents in a distributed environment | |
US8037289B1 (en) | Method and apparatus for cloning a configuration of a computer in a data center | |
CN109558212B (en) | Virtualization management method and system of physical equipment, physical equipment and medium | |
CN106484437A (en) | A kind of method of deployment operation system, apparatus and system | |
DE60223237T2 (en) | Method and apparatus for distributing network configuration settings | |
CN103841134A (en) | API-based method for sending and receiving information, API-based apparatus, and API-based system | |
CN111324377B (en) | Application gray level release method, system, device and storage medium | |
CN102662884B (en) | Device driving program configuration method based on network | |
EP4050850A1 (en) | Service upgrading method, device and system | |
CN109922145A (en) | Charging pile method for upgrading software, charging pile and control equipment | |
CN109144776A (en) | Virtual machine image file processing method and processing device | |
CN108280174A (en) | Front end file construction method and server, page access method and terminal | |
CN110489277A (en) | A kind of server backup method, system, device and computer readable storage medium | |
CN101616430B (en) | Management method of gateway software version and home gateway | |
CN105072044A (en) | System and method for remotely recovering router by using router guide system | |
CN115643168B (en) | Node super-fusion upgrading method, device, equipment and storage medium | |
CN108418857B (en) | Zookeeper cluster system and connection method and device thereof | |
CN106254411A (en) | For providing the system of service, server system and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180710 |
|
RJ01 | Rejection of invention patent application after publication |