CN103336698A - Wifi equipment software upgrading method, wifi equipment and system - Google Patents

Wifi equipment software upgrading method, wifi equipment and system Download PDF

Info

Publication number
CN103336698A
CN103336698A CN2013102202395A CN201310220239A CN103336698A CN 103336698 A CN103336698 A CN 103336698A CN 2013102202395 A CN2013102202395 A CN 2013102202395A CN 201310220239 A CN201310220239 A CN 201310220239A CN 103336698 A CN103336698 A CN 103336698A
Authority
CN
China
Prior art keywords
upgrading
upgrade data
verification
upgrade
wifi equipment
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
CN2013102202395A
Other languages
Chinese (zh)
Other versions
CN103336698B (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
Shenzhen Skyworth Software Co Ltd
Original Assignee
Shenzhen Skyworth Digital Technology Co Ltd
Shenzhen Skyworth Software 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, Shenzhen Skyworth Software Co Ltd filed Critical Shenzhen Skyworth Digital Technology Co Ltd
Priority to CN201310220239.5A priority Critical patent/CN103336698B/en
Publication of CN103336698A publication Critical patent/CN103336698A/en
Application granted granted Critical
Publication of CN103336698B publication Critical patent/CN103336698B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses a wifi (Wireless Fidelity) equipment software upgrading method which comprises the following steps that wifi equipment is started; upgrading data in an upgrading available area of a flash storage unit is verified; if verification is successful, a network server program in the upgrading available area is executed for monitoring an upgrading request; when the upgrading request is monitored, the data in the upgrading available area is upgraded; if the verification is not successful, a network server program in a starting guide area is executed for monitoring an upgrading request; and when the upgrading request is monitored, the data in the upgrading available area is upgraded. The invention further provides wifi equipment and a system using the upgrading method. With the adoption of the technical scheme, the wifi equipment can still be started normally after software upgrading is not successful due to reasons such as unexpected power outage in an upgrading process of the wifi equipment, so that the problem that working cannot be continued due to the unexpected power outage in the upgrading process of the wifi equipment is solved.

Description

A kind of method of wifi equipment software upgrading and wifi equipment and system
Technical field
The present invention relates to the software upgrading field, relate in particular to method and wifi equipment and the system of wifi equipment software upgrading.
Background technology
Along with wifi(Wireless Fidelity, Wireless Fidelity) the reaching its maturity of technology, the increasing application embodied by software, identical hardware device, the software that operates on the wifi equipment is different, and the function that has is also different.If wifi device support facilities upgradings can provide the more application of horn of plenty for user's update software so, can dispose flexibly again for operator and to want the business of carrying out.
After the wifi router dispatches from the factory, most of producers do not provide software upgrade service, because in software upgrade process, software need be wiped the data in the flash storage unit earlier, then upgrade file is written to the flash storage unit again, in this operation implementation if the equipment accident power-off takes place, will cause the data in the flash storage unit illegal, if during equipment start next time from flash illegal zone start, to cause system in case of system halt, equipment is operate as normal again.Crash in escalation process, and cause and need equipment be keeped in repair, a lot of manufacturers do not provide software upgrade service; In addition, minority provides the producer of software upgrade service for fear of system in case of system halt, general solution is to increase a flash storage unit again to come stand-by program in wifi equipment, if the data that detect after the device power wherein in the flash storage unit are destroyed, then can start from an other backup flash storage unit, but this mode has increased the cost of product owing to increased a flash storage unit in addition.
Summary of the invention
Embodiment of the invention technical matters to be solved is, a kind of method of wifi equipment software upgrading is provided, and wifi equipment is restarted in unexpected outage in wifi device upgrade process, and wifi equipment still can be worked and be finished upgrading.
The method of a kind of wifi equipment software upgrading provided by the invention comprises the steps:
Start wifi equipment;
Upgrade data in the scalable zone of verification flash storage unit;
Verification succeeds is then carried out the network server program in the scalable zone of described flash storage unit; Monitor upgrade request by the network server program in the described scalable zone, and when listening to upgrade request, the data in the scalable zone of the flash storage unit of then upgrading;
If verification is unsuccessful, then carry out the network server program in the startup boot in the startup guidance field of flash storage unit; Monitor upgrade request by the described network server program that starts in the guidance field, and when listening to upgrade request, the data in the scalable zone of the flash storage unit of then upgrading
Wherein, the data in the scalable zone of described upgrading flash storage unit comprise the steps:
Send upgrading beginning message to set-top box;
Wipe the data in the scalable zone;
Upgrade data is saved in scalable zone;
Send upgrading and finish message to set-top box;
Restart the wifi equipment after the upgrading.
Wherein, describedly upgrade data be saved in scalable zone comprise:
Described upgrade data is generated image file, and described image file is saved in the described scalable zone, wherein, described image file comprises two parts of mirror image head and upgrade data district; Described mirror image head comprise the length in version information, upgrade data district of upgrade data and upgrade data verification and; Described upgrade data district comprises upgrade data, described upgrading data packet includes network server program.
Wherein, the upgrade data in the scalable zone of described verification flash storage unit; Comprise the steps:
According to upgrade data calculate a verification and, with this verification with write in the mirror image head of described image file;
From the scalable zone of flash storage unit, read the mirror image head, and read upgrade data in the upgrade data district according to the length information in the upgrade data district in the mirror image head, and according to the upgrade data in the upgrade data district that reads calculate a verification and;
Relatively the verification in the mirror image head and with the verification that calculates according to the upgrade data in the described upgrade data district and, the verification succeeds if both are identical, verification is unsuccessful if both are inequality.
On the other hand, embodiments of the invention also provide a kind of wifi equipment, and described wifi equipment comprises: flash storage unit, the module that starts, verification module, the first upgrading module and the second upgrading module;
Described flash storage unit comprises scalable zone and starts the guidance field; Described scalable zone comprises the image file that is generated by upgrade data, and described image file comprises two parts of mirror image head and upgrade data district; Described mirror image head comprise the length in version information, upgrade data district of upgrade data and upgrade data verification and; Described upgrade data district comprises upgrade data, described upgrading data packet includes network server program; Described startup guidance field comprises and starts boot, also comprises network server program;
Described startup module is used for starting described wifi equipment;
Described verification module is used for obtaining the upgrade data in the upgrade data district of image file, and the upgrade data that obtains is carried out verification;
The described first upgrading module is used for starting the network server program in the described scalable zone when described verification module during to the upgrade data verification succeeds in the described upgrade data district that obtains; Monitor upgrade request by the network server program in the described scalable zone, and when listening to upgrade request, the data in the scalable zone of then upgrading;
The described second upgrading module is used for starting the described network server program in the described startup guidance field when described verification module gets nowhere to the upgrade data verification in the described upgrade data district that obtains; Monitor upgrade request by the described network server program in the described startup guidance field, and when listening to upgrade request, the data in the scalable zone of then upgrading.
Wherein, described first the upgrading module and described second the upgrading module all comprise for the upgrading scalable zone data first message sending unit, erase unit, upgrading unit, second message sending unit and restart the unit;
Described first message sending unit is used for sending upgrading beginning message to set-top box;
Described erase unit is used for sending the data of wiping scalable zone after upgrading begins message to set-top box when described first message sending unit;
Described upgrading unit is used for upgrade data being generated image file being saved in scalable zone after described erase unit is wiped the data in scalable zone;
Described second message sending unit is used for sending the message of upgrading and finishing to set-top box after image file that described upgrading unit generates upgrade data is saved in scalable zone;
Describedly restart the unit, be used for after described second message sending unit sends the message of finishing of upgrading to set-top box, restarting wifi equipment.
Wherein, described upgrading unit comprises mirror image unit;
Described mirror image unit is used for the image file that described upgrade data generates is saved in scalable zone, and described image file comprises two parts of mirror image head and upgrade data district; Described mirror image head comprise the length in version information, upgrade data district of upgrade data and upgrade data verification and; Described upgrade data district comprises upgrade data, described upgrading data packet includes network server program, and when upgrading successfully, the upgrade data in the described upgrade data district is identical with upgrade data; When in the escalation process outage taking place, the upgrade data in the described upgrade data district is different with upgrade data.
Wherein, described verification module comprises first computing module, second computing module and comparison module;
Described first computing module, be used for according to upgrade data calculate a verification and, with this verification with write in the mirror image head of the image file in the scalable zone of described flash storage unit;
Described second computing module is used for reading the mirror image head from scalable zone, and reads content in the upgrade data district according to the length information in the upgrade data district in the mirror image head, and according to the upgrade data in the upgrade data district that reads calculate a verification and;
Described comparison module, the verification of the verification that is used for the upgrade data that more described first computing module calculates and the upgrade data that calculates with described second computing module and whether identical, the verification succeeds if both are identical, verification is unsuccessful if both are inequality.
Wherein, described wifi equipment is the wifi router.
Embodiments of the invention also provide a kind of upgrade-system, comprise the front network, set-top box and the wifi equipment that are electrically connected successively;
Described set-top box is used for obtaining from described front network the upgrade data of described wifi equipment, and sends upgrade request to described wifi equipment;
Described wifi equipment is foregoing wifi equipment; After the network server program in the wifi equipment listens to the upgrade request of described set-top box transmission, the software of wifi equipment is upgraded.
Adopt technical solutions according to the invention, by in the startup guidance field in the flash of wifi equipment storage unit network server program being set, make when the wifi equipment software upgrading if fortuitous events such as outage cause upgrading when getting nowhere, still can upgrade data by the network server program that carry out to start in the guidance field, avoided in the wifi equipment software upgrading process unexpected outage to cause the problem that to work again, in addition owing to do not increase the flash storage unit in addition, so with respect to the mode that backups by the increase storage unit in the prior art, saved hardware cost.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, to do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below, apparently, accompanying drawing in describing below is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of method of the wifi equipment software upgrading of the embodiment of the invention;
Fig. 2 is the schematic flow sheet of the data in the scalable zone of middle upgrading embodiment illustrated in fig. 1;
Fig. 3 is the structural representation of the flash storage unit in the embodiment of the invention;
Fig. 4 is the storage format synoptic diagram of the data in the scalable zone among Fig. 3;
Fig. 5 is the structural representation of a kind of wifi equipment of the embodiment of the invention;
Fig. 6 is the structural representation of the upgrading of first among Fig. 5 module;
Fig. 7 is the structural representation of the upgrading of second among Fig. 5 module;
Fig. 8 is the structural representation of the verification module among Fig. 5;
Fig. 9 is the structural representation of a kind of upgrade-system of the embodiment of the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
Seeing also Fig. 1, is the process flow diagram of the method for a kind of wifi equipment software upgrading of the present invention, may further comprise the steps:
S101, startup wifi equipment, the startup boot in the startup guidance field of execution flash storage unit, initialization wifi equipment;
Upgrade data in the scalable zone of S102, verification flash storage unit;
Wherein, the structure of flash storage unit as shown in Figure 3, comprise starting guidance field and scalable zone, preserved the startup boot that begins to carry out behind the wifi device start in the described startup guidance field, the program that starts in the guidance field only allows visit not delete; Preserved the image file that upgrade data generates in the described scalable zone, upgrade data comprises and can write new data after the data in the scalable zone allow to be wiped free of by kernel program and the application program of described startup boot guiding loading; The network server program that comprises the scalable zone data of for the monitoring upgrade request, also after listening to upgrade request, upgrading in the application program in the described scalable zone; The network server program that also comprises the scalable zone data of for the monitoring upgrade request, also after listening to upgrade request, upgrading in the startup boot in the described startup guidance field, behind the wifi device start, do not carry out earlier the network server program that starts in the guidance field, have only when the upgrade data in the scalable zone of subsequent check is unsuccessful, just carry out the network server program that starts in the guidance field.Owing in starting the guidance field, also be provided with network server program, when so outage causes the data upgrading in scalable zone to get nowhere when the wifi device upgrade, wifi equipment can utilize to start the upgrading that the network server program that arranges in the guidance field is monitored upgrade request and then finished wifi equipment after restarting; Upgrade data generates the image file form and is saved in described scalable zone, and wherein, the storage format of described image file comprises two parts in mirror image head and upgrade data district as shown in Figure 4; Described mirror image head comprise upgrade data the length in version information, upgrade data district and the verification of upgrade data and; Described upgrade data district is used for preserving upgrade data, comprises network server program in the described upgrade data.When upgrading successfully, the content in the described upgrade data district is identical with upgrade data; When in the escalation process outage taking place, the content in the described upgrade data district is with different with upgrade data.
Upgrade data in the scalable zone of described verification flash storage unit; Comprise the steps:
According to upgrade data by CRC(Cyclic Redundancy Check, cyclic redundancy check (CRC) code) calculate a verification and, with this verification with write in the mirror image head;
From scalable zone, read the mirror image head, and read upgrade data in the upgrade data district according to the length information in the upgrade data district in the mirror image head, and according to the upgrade data in the upgrade data district that reads by CRC calculate a verification and;
More above-mentioned according to the verification that calculates according to the upgrade data in the upgrade data district and with the verification that calculates according to upgrade data and, the verification succeeds if both are identical is carried out S103; Verification gets nowhere if both are inequality, carries out S104.
Network server program in S103, the described scalable zone of execution; Monitor upgrade request by the network server program in the described scalable zone, and when listening to upgrade request, the data in the scalable zone of then upgrading;
Network server program in S104, the described startup of the execution guidance field; Monitor upgrade request by the network server program in the described startup guidance field, and when listening to upgrade request, the data in the scalable zone of then upgrading.
Wherein, the data in the scalable zone of described upgrading as shown in Figure 2, comprise the steps:
S201, transmission upgrading beginning message are to set-top box;
S202, wipe the data in the scalable zone;
S203, upgrade data is saved in scalable zone;
S204, transmission upgrading are finished message to set-top box;
S205, restart the wifi equipment after the upgrading.
This embodiment is by arranging network server program in starting the guidance field, make when in the wifi device upgrade if fortuitous events such as outage cause upgrading when unsuccessful, still can upgrade data by the network server program of carrying out in the startup guidance field.Avoided in the prior art owing to only in scalable zone, network server program is set, unexpected outage in wifi equipment software upgrading process, the problem that causes wifi equipment to work again, in addition owing to do not increase storage unit in addition, so with respect to increasing the mode that storage unit backups in the prior art, saved hardware cost.
The embodiment of the invention also provides a kind of wifi equipment, and as shown in Figure 5, wifi equipment comprises: flash storage unit, the module that starts, verification module, the first upgrading module and the second upgrading module; Wherein, described flash storage unit comprises scalable zone and starts the guidance field; Upgrade data generates image file and is saved in the scalable zone, and described image file comprises two parts of mirror image head and upgrade data district; Described mirror image head comprise the length in version information, upgrade data district of upgrade data and upgrade data verification and; Described upgrade data district comprises upgrade data, described upgrading data packet includes network server program; Described startup guidance field comprises starting in boot, the described startup boot and also comprises network server program;
Wherein, described startup module is used for starting described wifi equipment, by calling the startup boot in the flash storage unit, wifi equipment is carried out initialization; Described verification module is used for obtaining the upgrade data in the upgrade data district of image file, and the upgrade data that obtains is carried out verification, and as shown in Figure 8, described verification module comprises first computing module, second computing module and comparison module; Wherein, described first computing module, be used for according to upgrade data calculate a verification and, with this verification with write in the mirror image head of the image file in the scalable zone of described flash storage unit; Described second computing module is used for reading the mirror image head from scalable zone, and reads content in the upgrade data district according to the length information in the upgrade data district in the mirror image head, and according to the upgrade data in the upgrade data district that reads calculate a verification and; Described comparison module, the verification of the verification that is used for the upgrade data that more described first computing module calculates and the upgrade data that calculates with described second computing module and whether identical, the verification succeeds if both are identical, verification is unsuccessful if both are inequality.The described first upgrading module is used for starting the network server program in the described scalable zone when described verification module during to the actual saved upgrade data verification succeeds in the described scalable zone that obtains; Monitor upgrade request by the network server program in the described scalable zone, and when listening to upgrade request, the data in the scalable zone of then upgrading; The described second upgrading module is used for starting the described network server program in the described startup guidance field when described verification module is unsuccessful to the actual saved upgrade data verification in the described scalable zone that obtains; Monitor upgrade request by the network server program in the described startup guidance field, and when listening to upgrade request, the data in the scalable zone of then upgrading.Wherein, described Wifi equipment is the wifi router.
Particularly, as shown in Figure 6 and Figure 7, the described first upgrading module and the described second upgrading module all comprise for first message sending unit, erase unit, upgrading unit, second message sending unit of the data in the scalable zone of upgrading and restart the unit.Described first message sending unit is used for sending upgrading beginning message to set-top box; Described erase unit is used for sending the data of wiping scalable zone after upgrading begins message to set-top box when described first message sending unit; Described upgrading unit is used for upgrade data being generated image file being saved in scalable zone after described erase unit is wiped the data in scalable zone; Described second message sending unit is used for sending the message that upgrading is finished to set-top box after described upgrading unit is saved in scalable zone with upgrade data; Describedly restart the unit, be used for after described second message sending unit sends the message of finishing of upgrading to set-top box, restarting wifi equipment.Described upgrading unit comprises mirror image unit; Described mirror image unit is used for the image file that described upgrade data generates is saved in scalable zone, and described image file comprises two parts of mirror image head and upgrade data district; Described mirror image head comprise the length in version information, upgrade data district of upgrade data and upgrade data verification and; Described upgrade data district comprises upgrade data, described upgrading data packet includes network server program, and when upgrading successfully, the content in the described upgrade data district is identical with upgrade data; When in the escalation process outage taking place, the content in the described upgrade data district is with different with upgrade data.
As shown in Figure 9, the embodiment of the invention also provides a kind of upgrade-system, comprises the front network, set-top box and the wifi equipment that are electrically connected successively; Wherein, described set-top box is used for obtaining from described front network the upgrade data of described wifi equipment, and sends upgrade request to described wifi equipment; Described wifi equipment is used for receiving upgrade request and the upgrading that described set-top box sends; Described wifi equipment comprises: flash storage unit, the module that starts, verification module, the first upgrading module and the second upgrading module; Described startup module is used for starting described wifi equipment; Described verification module is used for after described startup module starts described wifi equipment, obtains the upgrade data in the scalable zone of described flash storage unit, and the upgrade data that obtains is carried out verification; The described first upgrading module is used for carrying out the network server program in the described scalable zone when described verification module during to the upgrade data verification succeeds obtained; Monitor upgrade request by the network server program in the described scalable zone, and when listening to upgrade request, the data in the scalable zone of then upgrading; The described second upgrading module is used for carrying out the network server program in the described startup guidance field when described verification module is unsuccessful to the upgrade data verification of obtaining; Monitor upgrade request by the network server program in the described startup guidance field, and when listening to upgrade request, the data in the scalable zone of then upgrading.
Wherein, described wifi equipment is the wifi router, and described front network is CHINA RFTCOM Co Ltd.
Wherein, described set-top box links to each other by Ethernet with described wifi equipment; Described set-top box links to each other by cable of cable TV with described front network.
Wherein, described set-top box is with OTA(Over The Air Technology, aerial download technology), TR069(subscriber terminal equipment wide area network management agreement) or SNMP(Simple Network Management Protocol, Simple Network Management Protocol) mode obtains upgrade data from front network.
More than cited only be preferred embodiment of the present invention, can not limit the present invention's interest field certainly with this, therefore the equivalent variations of doing according to claim of the present invention still belongs to the scope that the present invention is contained.

Claims (10)

1. the method for a wifi equipment software upgrading is characterized in that, comprises the steps:
Start wifi equipment;
Upgrade data in the scalable zone of verification flash storage unit;
Verification succeeds is then carried out the network server program in the scalable zone of described flash storage unit; Monitor upgrade request by the network server program in the described scalable zone, and when listening to upgrade request, the data in the scalable zone of the flash storage unit of then upgrading;
If verification is unsuccessful, then carry out the network server program in the startup boot in the startup guidance field of flash storage unit; Monitor upgrade request by the described network server program that starts in the guidance field, and when listening to upgrade request, the data in the scalable zone of the flash storage unit of then upgrading.
2. according to the method for the described wifi equipment software upgrading of claim 1, it is characterized in that,
Data in the scalable zone of described upgrading flash storage unit comprise the steps:
Send upgrading beginning message to set-top box;
Wipe the data in the scalable zone;
Upgrade data is saved in scalable zone;
Send upgrading and finish message to set-top box;
Restart the wifi equipment after the upgrading.
3. the method for wifi equipment software upgrading according to claim 2 is characterized in that, describedly upgrade data is saved in scalable zone comprises:
Described upgrade data is generated image file, and described image file is saved in the described scalable zone, wherein, described image file comprises two parts of mirror image head and upgrade data district; Described mirror image head comprise the length in version information, upgrade data district of upgrade data and upgrade data verification and; Described upgrade data district comprises upgrade data, described upgrading data packet includes network server program.
4. the method for wifi equipment software upgrading according to claim 3 is characterized in that, the upgrade data in the scalable zone of described verification flash storage unit; Comprise the steps:
According to upgrade data calculate a verification and, with this verification with write in the mirror image head of described image file;
From the scalable zone of flash storage unit, read the mirror image head, and read upgrade data in the upgrade data district according to the length information in the upgrade data district in the mirror image head, and according to the upgrade data in the upgrade data district that reads calculate a verification and;
Relatively the verification in the mirror image head and with the verification that calculates according to the upgrade data in the described upgrade data district and, the verification succeeds if both are identical, verification is unsuccessful if both are inequality.
5. a wifi equipment is characterized in that, described wifi equipment comprises: flash storage unit, the module that starts, verification module, the first upgrading module and the second upgrading module;
Described flash storage unit comprises scalable zone and starts the guidance field; Described scalable zone comprises the image file that is generated by upgrade data, and described image file comprises two parts of mirror image head and upgrade data district; Described mirror image head comprise the length in version information, upgrade data district of upgrade data and upgrade data verification and; Described upgrade data district comprises upgrade data, described upgrading data packet includes network server program; Described startup guidance field comprises starting in boot, the described startup boot and also comprises network server program;
Described startup module is used for starting described wifi equipment, by calling the startup boot initialization wifi equipment in the flash storage unit;
Described verification module is used for obtaining the upgrade data in the upgrade data district of image file, and the upgrade data that obtains is carried out verification;
The described first upgrading module is used for starting the network server program in the described scalable zone when described verification module during to the upgrade data verification succeeds in the described upgrade data district that obtains; Monitor upgrade request by the network server program in the described scalable zone, and when listening to upgrade request, the data in the scalable zone of then upgrading;
The described second upgrading module is used for starting the described network server program in the described startup guidance field when described verification module gets nowhere to the upgrade data verification in the described upgrade data district that obtains; Monitor upgrade request by the described network server program in the described startup guidance field, and when listening to upgrade request, the data in the scalable zone of then upgrading.
6. wifi equipment according to claim 5, it is characterized in that the described first upgrading module and the described second upgrading module all comprise for first message sending unit, erase unit, upgrading unit, second message sending unit of the data in the scalable zone of upgrading and restart the unit;
Described first message sending unit is used for sending upgrading beginning message to set-top box;
Described erase unit is used for sending the data of wiping scalable zone after upgrading begins message to set-top box when described first message sending unit;
Described upgrading unit is used for upgrade data being generated image file being saved in scalable zone after described erase unit is wiped the data in scalable zone;
Described second message sending unit is used for sending the message of upgrading and finishing to set-top box after image file that described upgrading unit generates upgrade data is saved in scalable zone;
Describedly restart the unit, be used for after described second message sending unit sends the message of finishing of upgrading to set-top box, restarting wifi equipment.
7. wifi equipment according to claim 6 is characterized in that, described upgrading unit comprises mirror image unit;
Described mirror image unit is used for the image file that described upgrade data generates is saved in scalable zone, and described image file comprises two parts of mirror image head and upgrade data district; Described mirror image head comprise the length in version information, upgrade data district of upgrade data and upgrade data verification and; Described upgrade data district comprises upgrade data, described upgrading data packet includes network server program.
8. wifi equipment according to claim 7 is characterized in that, described verification module comprises first computing module, second computing module and comparison module;
Described first computing module, be used for according to upgrade data calculate a verification and, with this verification with write in the mirror image head of the image file in the scalable zone of described flash storage unit;
Described second computing module is used for reading the mirror image head from scalable zone, and reads content in the upgrade data district according to the length information in the upgrade data district in the mirror image head, and according to the upgrade data in the upgrade data district that reads calculate a verification and;
Described comparison module, the verification of the verification that is used for the upgrade data that more described first computing module calculates and the upgrade data that calculates with described second computing module and whether identical, the verification succeeds if both are identical, verification is unsuccessful if both are inequality.
9. according to any described wifi equipment of claim 5-8, it is characterized in that described Wifi equipment is the wifi router.
10. a upgrade-system is characterized in that, comprises the front network, set-top box and the wifi equipment that are electrically connected successively;
Described set-top box is used for obtaining from described front network the upgrade data of described wifi equipment, and sends upgrade request to described wifi equipment;
Described wifi equipment is as any described wifi equipment of claim 5-8; After the network server program in the wifi equipment listens to the upgrade request of described set-top box transmission, the software of wifi equipment is upgraded.
CN201310220239.5A 2013-06-05 2013-06-05 A kind of method of wifi equipment software upgrading and wifi equipment and system Active CN103336698B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310220239.5A CN103336698B (en) 2013-06-05 2013-06-05 A kind of method of wifi equipment software upgrading and wifi equipment and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310220239.5A CN103336698B (en) 2013-06-05 2013-06-05 A kind of method of wifi equipment software upgrading and wifi equipment and system

Publications (2)

Publication Number Publication Date
CN103336698A true CN103336698A (en) 2013-10-02
CN103336698B CN103336698B (en) 2016-06-29

Family

ID=49244874

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310220239.5A Active CN103336698B (en) 2013-06-05 2013-06-05 A kind of method of wifi equipment software upgrading and wifi equipment and system

Country Status (1)

Country Link
CN (1) CN103336698B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104463018A (en) * 2014-12-19 2015-03-25 上海斐讯数据通信技术有限公司 Encryption method for upgraded file and detection method for upgraded file
CN105357572A (en) * 2015-12-14 2016-02-24 福建新大陆通信科技股份有限公司 Set top box built-in wifi automatic upgrade system and method based on integration of three networks
WO2018086478A1 (en) * 2016-11-08 2018-05-17 深圳创维数字技术有限公司 Method and device for upgrading wifi module in set top box, set top box and system
CN108809647A (en) * 2017-04-26 2018-11-13 国基电子(上海)有限公司 The startup method and system of cable modem
CN109189461A (en) * 2018-11-27 2019-01-11 上海辛格林纳新时达电机有限公司 The programme upgrade method and elevator control system and lift facility of elevator control system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101656949A (en) * 2009-09-21 2010-02-24 中兴通讯股份有限公司 Method and terminals for aerial upgrade of firmware
CN102761653A (en) * 2011-04-29 2012-10-31 晨讯科技(沈阳)有限公司 Method for on-line upgrading software of handheld terminal equipment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101656949A (en) * 2009-09-21 2010-02-24 中兴通讯股份有限公司 Method and terminals for aerial upgrade of firmware
CN102761653A (en) * 2011-04-29 2012-10-31 晨讯科技(沈阳)有限公司 Method for on-line upgrading software of handheld terminal equipment

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104463018A (en) * 2014-12-19 2015-03-25 上海斐讯数据通信技术有限公司 Encryption method for upgraded file and detection method for upgraded file
CN104463018B (en) * 2014-12-19 2017-08-04 上海斐讯数据通信技术有限公司 The encryption method of upgrade file and the method for inspection of upgrade file
CN105357572A (en) * 2015-12-14 2016-02-24 福建新大陆通信科技股份有限公司 Set top box built-in wifi automatic upgrade system and method based on integration of three networks
CN105357572B (en) * 2015-12-14 2018-08-07 福建新大陆通信科技股份有限公司 Based on wifi automatic updating systems and method built in the set-top box of the integration of three networks
WO2018086478A1 (en) * 2016-11-08 2018-05-17 深圳创维数字技术有限公司 Method and device for upgrading wifi module in set top box, set top box and system
CN108809647A (en) * 2017-04-26 2018-11-13 国基电子(上海)有限公司 The startup method and system of cable modem
CN108809647B (en) * 2017-04-26 2021-02-19 国基电子(上海)有限公司 Starting method and system of cable modem
CN109189461A (en) * 2018-11-27 2019-01-11 上海辛格林纳新时达电机有限公司 The programme upgrade method and elevator control system and lift facility of elevator control system

Also Published As

Publication number Publication date
CN103336698B (en) 2016-06-29

Similar Documents

Publication Publication Date Title
CN101377744B (en) Method and apparatus for recovering terminal equipment software upgrade
CN107179909A (en) Method for upgrading software, device and computer-readable recording medium
CN100525206C (en) Realizing method and system for automatic restoring equipment fault
CN103336698A (en) Wifi equipment software upgrading method, wifi equipment and system
US20120117557A1 (en) Method and system for upgrading wireless data card
CN104166577B (en) A kind of method and apparatus of mobile terminal system upgrading
CN102541604B (en) The terminal device of a kind of remote upgrade method, remote upgrade and remote update system
CN101594613A (en) The method of terminal equipment and upgrading thereof, system
US20170068585A1 (en) Method and Apparatus for Recovering System Software of Intelligent Terminal
CN106612192A (en) An equipment upgrading method, apparatus and system
CN105072398B (en) A kind of device updating method and device
CN101593119A (en) A kind of aerial firmware upgrade method of flash memory unit equipment and device monopolized
CN110764812B (en) Intelligent device, intelligent wearable device and software upgrading system and method thereof
CN101883254A (en) IP unicast loading upgrading device and method for interactive television set top box
CN102137154A (en) Method and device for upgrading customer premise equipment (CPE)
CN108170457A (en) Firmware upgrade method, device and VR head-mounted displays
CN110399150B (en) Bios upgrading method, system, device and computer storage medium
CN107995033B (en) ONU configuration file upgrading method and device
CN112486733B (en) System restoration method, device, terminal and storage medium
CN104580360A (en) System and method for updating firmware through heterogeneous network
CN100464520C (en) Method and system for realizing distributed data loading
KR20080070963A (en) Method and apparatus for updating firmware in mobile communication terminal
CN104506942A (en) Set-top box and upgrading method of cable modem system of set-top box
CN104348646A (en) Configuration data processing method, device and system
CN105791514B (en) Application starting monitoring method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 518000 Guangdong city of Shenzhen province Nanshan District Gao Xin Road Building A14, SKYWORTH

Applicant after: Shenzhen Skyworth Digital Technology Co., Ltd.

Applicant after: Shenzhen Skyworth Software Co., Ltd.

Address before: 518000 Guangdong city of Shenzhen province Nanshan District Gao Xin Road Building A14, SKYWORTH

Applicant before: Shenzhen Skyworth Digital Technology Co., Ltd.

Applicant before: Shenzhen Skyworth Software Co., Ltd.

COR Change of bibliographic data
C14 Grant of patent or utility model
GR01 Patent grant