CN107608705A - A kind of wireless WIFI video equipments and its firmware upgrade method - Google Patents
A kind of wireless WIFI video equipments and its firmware upgrade method Download PDFInfo
- Publication number
- CN107608705A CN107608705A CN201710908251.3A CN201710908251A CN107608705A CN 107608705 A CN107608705 A CN 107608705A CN 201710908251 A CN201710908251 A CN 201710908251A CN 107608705 A CN107608705 A CN 107608705A
- Authority
- CN
- China
- Prior art keywords
- subregions
- region
- storage chip
- backup
- firmware
- 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
Landscapes
- Stored Programmes (AREA)
Abstract
The invention provides a kind of wireless WIFI video equipments and its radio firmware upgrade method.This is wireless, and WIFI video equipments use a kind of storage chip for possessing multiple subregions.The storage chip comprises at least 4 subregions, including two can be the B subregions and C subregions of operation area or backup region, select to start from which subregion by A subregions, and data are unpacked and transmit and carry out firmware upgrade.It can meet that the scheme that the radio firmware under several scenes upgrades is realized by the realization, either there is powered-off fault in power supply, or escalation process abnormal end, can automatic realizing system normal startup, upgrading will not be caused the situation that crashes and can not recover occur and occurred.
Description
Technical field
The present invention relates to firmware upgrade field, more particularly to a kind of wireless WIFI video equipments radio firmware and its upgrading side
Method.
Background technology
At present, the application of storage chip is more and more wider, and the firmware upgrade for possessing the product of storage chip also turns into important class
Topic.Especially in wireless WIFI video equipments field, wireless WIFI video classes product is more and more, such as video monitoring
IP Camera, unmanned plane Image transmission equipment, capture apparatus, video conferencing system etc. used in film shooting scene.
These equipment often often use storage chip using based on video product, these products corresponding to LINUX system exploitation, such as
Flash memory (flash), while realize by network WIFI real-time Transmission and the interaction of video.These products will necessarily face one
Problem, it is exactly firmware upgrade.Need to face emergency case at any time in site of deployment, how to realize that stable firmware upgrade is exactly
One unusual stubborn problem.
In traditional way, using LINUX as the embedded device of kernel in storage chip be often divided into it is several not
Same logical partition, for depositing function difference, distinct Various types of data, such as Bootloader (BootLoader), interior
Core, root file system, user data etc..But this partitioned mode will be brought problem, i.e., can not transported when upgrading
Upgraded while row, influence the use of product, improve the use cost of product.
Moreover, when product needs upgrading, the upgrading scheme of product typically has two kinds, and one kind is system worked well
Get up by system update patch, realize the increase of New function;One kind is used by specific TF card either computer tools
Update whole system.The first scheme renewal patch need to cover original system file, can cause the endless all standing of file or
The possibility of file corruption after person's power-off.Second scheme is comparatively laborious, it is necessary to specifically make TF card instrument either electricity
Brain, which coordinates, can just realize more stable upgrading.
Accordingly, there exist such demand, can also be upgraded while operation, and ensures to rise when upgrading
Level file normally covers original file, even if power-off nor affects on the use of product.
The content of the invention
The present invention provides a kind of wireless WIFI video equipments and its firmware upgrade method, and it uses a kind of depositing for multiple subregions
Chip is stored up, optionally, the storage chip can be flash memory.The storage chip comprises at least 4 subregions, including two can be operation
Region or B subregions and the C subregions for backing up region, select to start from which subregion by A subregions, and data are unpacked biography
It is defeated and upgraded.Either there is powered-off fault, or escalation process abnormal end in power supply, can automatic realizing system
It is normal to start.
First aspect present invention provides a kind of storage chip for possessing multiple subregions, it is characterised in that:The storage chip
Including at least A subregions, B subregions, C subregions, D subregions this four subregions;The A subregions are the acquiescence starting region of system;The A
Subregion deposits the B subregions or the mark of the C partition runnings judges information;The mark judges that information starts for system
When, for system as the judgment basis for judging from B subregions to start or from C subregions start;The B subregions are the Operational Zones of system
Domain or backup region;The C subregions are the operation area or backup region of system;The D subregions are common user regions.
Optionally, a subregion can only is in running status in B subregions described in synchronization and the C subregions;If B
Subregion is in running status, then B subregions are operation area, and C subregions are backup region;If C subregions are in running status, C
Subregion is operation area, and B subregions are backup region.
Optionally, the B subregions and the C subregions can call the D subregions at any time.
Second aspect of the present invention provides a kind of firmware upgrade method, it is characterised in that:The upgrading use possesses multiple points
The storage chip in area;The storage chip comprises at least A subregions, B subregions, C subregions, D subregions this four subregions;System electrification is opened
Begin, give tacit consent to the A subregions and start;The A subregions carry out boot partition judgement, and judgement is started from the B subregions, or from institute
State the startup of C subregions;According to the result of the judgement, select the subregion for being used as system operation region and be used as system backup region
Subregion;Whether the system operation regional determination needs to carry out firmware upgrade;If desired upgraded, be then upgraded to the system
System backup region.
Optionally, the result according to the judgement, select the subregion for being used as system operation region and be used as system
The subregion in region is backed up, including:If it is determined that starting from the B subregions, then select the B subregions and be used as system operation region,
The C subregions are used as system backup region;If it is determined that starting from the C subregions, then select the C subregions and be used as system operation
Region, the B subregions are used as system backup region.
Optionally, after the start completion, the operation area determines a need for firmware upgrade;If necessary to rise
Grade, then the backup region, and this are write direct in the system operation region updated contents after verification confirmation is errorless
When system still normal operation in the system operation region.
Optionally, when performing the upgrading, upgrade file is split as the data wrapped, last bag data is
The cryptographic check information of whole firmware updating.
Optionally, when starting the next time after the upgrading is completed, the backup region upgraded before completing
The operation area of system when starting for the next time, the firmware automatically switch to the operation of system when starting the next time
Region is started.
Third aspect present invention provides a kind of wireless WIFI video equipments, it is characterised in that including such as first few items technical side
Storage chip described by any one of case.
Optionally, the storage chip upgrades the nothing according to such as the method described by first few items any one of technical scheme
The radio firmware of line WIFI video equipments.
Using the present invention, it can provide that a kind of partitioned mode is more suitable for the storage chip of upgrading and wireless WIFI videos are set
Standby, either there is powered-off fault, or escalation process abnormal end in power supply, can automatic realizing system normal startup,
The situation that upgrading will not be caused to occur crashing and can not recovering occurs.User experience is greatly improved, while is also reduced
Equipment returns the unnecessary cost that factory etc. brings, and has saved cost.
Brief description of the drawings
Fig. 1 is the upgrade method flow chart of the wireless WIFI video equipments radio firmware of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, rather than whole embodiments.Based on this hair
Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made
Example, belongs to the scope of protection of the invention.
The wireless WIFI video equipments of the present invention use a kind of storage chip with multiple subregions, optionally, the storage
Chip can be flash memory.Storage chip is at least divided into 4 memory space regions, including A subregions, B subregions, C points by the present invention
Area, D subregions.Wherein A subregions are Bootloader regions, are the acquiescence starting region of system.A subregions can deposit B subregions or C
The mark of partition running judges information.System starts judges that information is done judgement and started according to this mark, so as to select from B subregions
Start, or start from C subregions.
B subregions are the operation area or backup region of system, and C subregions are also operation area or the backup area of system
Domain, also, synchronization only has a region to be in running status, is Operational Zone or being that B subregions are in running status
Domain, now C subregions are backup region;It is that C subregions are in running status, is operation area, now B subregions is backup area
Domain.D subregions are common user regions, and B subregions and C subregions can call D subregions at any time.
As shown in figure 1, Fig. 1 is the upgrade method flow chart of the wireless WIFI video equipments radio firmware of the present invention.This hair
The upgrade method of bright wireless WIFI video equipments radio firmware comprises the following steps.
Step S101, system electrification start, and acquiescence A subregions start, i.e., system electrification acquiescence is the A subregions from storage chip
Separately begin to start, Bootloader starts.
Step S102, A subregion carry out boot partition judgement.Selection system is judged by the internal indicator information of A subregions
Initial address.After Bootloader starts, subregion judgement is carried out, selection B subregions are realized also by the parameter configuration in A subregions
It is C subregion loading system codes, and judges it is to distinguish to start from B, or starts from C subregions.If it is determined that B subregions are system
Operation area, then automatic to judge C subregions to back up region.Otherwise and so judge.
According to step S102 result of determination, selection enters step S1031 or step S1032.If selection enters step
S1031, then it is system operation region to select B subregions, and C subregions are backup region;The activation system since B subregions.If select into
Enter step S1032, then it is system operation region to select C subregions, and B subregions are backup region;The activation system since C subregions.
Step S104, in start-up course, system normally starts from operation area, and loads D partition user data.
Step S105, after system starts successfully, determine a need for radio upgrade;If necessary to upgrade, then Operational Zone
Domain system performs automatically writes direct backup region updated contents after verification confirmation is errorless, and now system is still normally transported
Go in system operation region, do not interfere with all normal functions of whole system.
If entering step S104 from step S1031, i.e., selected B subregions are system operation region, judge to produce by B subregions
Whether product need to carry out radio firmware upgrading, if it is determined that result is to need to upgrade, are then upgraded to corresponding region i.e. C points of backup
Area, optionally, the firmware sent by other equipments such as mobile phone or computers are directly upgraded to corresponding region i.e. C points of backup
Area.
If entering step S104 from step S1032, i.e., selected C subregions are system operation region, and B subregions are backup area
Domain;And judge whether product needs to carry out radio firmware upgrading, if it is determined that result is to need to upgrade, then it is upgraded to corresponding backup
Region is B subregions, and optionally, the firmware sent by other equipments such as mobile phone or computers is directly upgraded to corresponding backup area
Domain is B subregions.
When performing radio upgrade, current upgrade file is split as the data wrapped by upgrading tool.Optionally,
It is no more than 1460 bytes per bag data maximum length, the valid data information of 1450 bytes is contained in 1460 bytes, in addition 10
Byte is that the agreement of data judges.It may insure that each bag data does not malfunction by agreement transmission.Data are unpacked after completion
One wraps and is sent to updating apparatus, the current data of equipment be copied directly to corresponding to backup region.Replicate and risen after completing
Last bag data of level instrument is the cryptographic check information of whole firmware updating, and optionally, last bag data can be 12
Byte.Protocol finishes head, whole data length are sent, and completes firmware encrypting verification.It may insure that process does not lose data,
Once there is loss of data to can determine that current data are imperfect, it is determined as upgrading failure, re-request upgrading.Therefore, even if
Powered off in escalation process, can still allow equipment normal work to be got up and firmware updating again.After upgrading is completed, hold
The most important step of row is exactly that whether the file transmitted by cryptographic check algorithm identification decision is complete, if wrong exception
Data.As long as ensuring the very correct information indicating for writing A subregions afterwards of data, startup next time can automatically switch to current
Backup region be system operation area.
Because when to storage chip subregion, there is provided multiple operation areas or backup region, for example there is provided B
Subregion and C subregions, so as to which when starting, a subregion starts therefrom for selection, uses, realizes without influenceing product
The seamless switching upgrading of wireless WIFI video equipment radio firmwares.
Optionally, the product is not limited to wireless WIFI video equipments, but can be it is any possess storage chip and need
Carry out the electronic equipment of firmware upgrade.Optionally, the upgrading is also not limited to radio firmware upgrading, but include it is wireless,
Wired firmware upgrade.
The invention provides a kind of storage chip for possessing multiple subregions and wireless WIFI video equipments, the storage chip is extremely
Include 4 subregions less, including two can be the B subregions and C subregions of operation area or backup region, be selected by A subregions
Start from which subregion, and data are unpacked and transmits and is upgraded.Nothing under several scenes can be met by the realization
The scheme of line firmware upgrade realizes that either powered-off fault, or escalation process abnormal end occurs in power supply, can be automatically real
The normal startup of existing system, the situation that crashing and can not recovering occur in upgrading will not be caused to occur.Ensure that avoiding the occurrence of equipment returns
The unnecessary cost that factory, logistics packaging transport etc. are brought.User experience is greatly improved, while is also greatly saved
The cost of product vendor.
Device embodiment described above is only schematical, and the step in present invention method can basis
The adjustment of carry out order is actually needed, merges and deletes, those of ordinary skill in the art are not paying the situation of performing creative labour
Under, you can to understand and implement.
Embodiments described above, the restriction to the technical scheme protection domain is not formed.It is any in above-mentioned implementation
Modifications, equivalent substitutions and improvements made within the spirit and principle of mode etc., should be included in the protection model of the technical scheme
Within enclosing.
Claims (11)
- A kind of 1. storage chip for possessing multiple subregions, it is characterised in that:The storage chip comprises at least A subregions, B subregions, C subregions, D subregions this four subregions;The A subregions are the acquiescence starting region of system;The A subregions deposit the B subregions or the mark of the C partition runnings Know and judge information;When the mark judges that information is used for system startup, it is used as system and judges to start from B subregions or divide from C The judgment basis that area starts;The B subregions are the operation area or backup region of system;The C subregions are the operation area or backup region of system;The D subregions are common user regions.
- 2. storage chip according to claim 1, it is characterised in that:There can only be a subregion to be in running status in B subregions described in synchronization and the C subregions;If B subregions are in fortune Row state, then B subregions are operation area, and C subregions are backup region;If C subregions are in running status, C subregions are operation Region, B subregions are backup region.
- 3. storage chip according to claim 1, it is characterised in that:The B subregions and the C subregions can call the D subregions at any time.
- A kind of 4. firmware upgrade method, it is characterised in that:The upgrading uses the storage chip for possessing multiple subregions;The storage chip comprise at least A subregions, B subregions, C subregions, This four subregions of D subregions;System electrification starts, and gives tacit consent to the A subregions and starts;The A subregions carry out boot partition judgement, and judgement is started from the B subregions, or is started from the C subregions;According to the result of the judgement, the subregion for being used as system operation region and the subregion for being used as system backup region are selected;Whether the system operation regional determination needs to carry out firmware upgrade;If desired upgraded, be then upgraded to the system backup region.
- 5. according to the method for claim 4, it is characterised in thatThe result according to the judgement, the selected subregion for being used as system operation region and point for being used as system backup region Area, including:If it is determined that starting from the B subregions, then select the B subregions and be used as system operation region, the C subregions are used as system Back up region;If it is determined that starting from the C subregions, then select the C subregions and be used as system operation region, the B subregions are used as system Back up region.
- 6. according to the method for claim 4, it is characterised in thatAfter the start completion, the operation area determines a need for firmware upgrade;If necessary to upgrade, then the system operation region is write direct described updated contents after verification confirmation is errorless Back up region, and now system still normal operation in the system operation region.
- 7. according to the method for claim 6, it is characterised in that when performing the upgrading, upgrade file is split as one The data wrapped, last bag data are the cryptographic check information of whole firmware updating.
- 8. according to the method for claim 4, it is characterised in that described when starting the next time after the upgrading is completed The operation area of system when the backup region before upgrading completion starts for the next time, the firmware automatically switch to The operation area of system when the next time starts is started.
- 9. a kind of electronic equipment for possessing storage chip, it is characterised in that the storage chip is as claims 1 to 3 is any The storage chip of item.
- A kind of 10. electronic equipment as claimed in claim 9, it is characterised in that the storage chip according to such as claim 4~ Method described in 8 any one upgrades the firmware of the electronic equipment.
- 11. a kind of electronic equipment as described in any one of claim 9~10, it is characterised in that the electronic equipment is wireless WIFI video equipments.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710908251.3A CN107608705A (en) | 2017-09-29 | 2017-09-29 | A kind of wireless WIFI video equipments and its firmware upgrade method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710908251.3A CN107608705A (en) | 2017-09-29 | 2017-09-29 | A kind of wireless WIFI video equipments and its firmware upgrade method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107608705A true CN107608705A (en) | 2018-01-19 |
Family
ID=61067190
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710908251.3A Pending CN107608705A (en) | 2017-09-29 | 2017-09-29 | A kind of wireless WIFI video equipments and its firmware upgrade method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107608705A (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109002317A (en) * | 2018-06-27 | 2018-12-14 | 上海有个机器人有限公司 | A kind of PCBA firmware upgrade method and system, PCBA |
CN109032642A (en) * | 2018-07-26 | 2018-12-18 | 昆山岩古风智能科技有限公司 | A kind of DSP based on WIFI and ARM dual-core controller online upgrade system and its method |
CN109117168A (en) * | 2018-08-29 | 2019-01-01 | 拓攻(南京)机器人有限公司 | Unmanned plane firmware update, device, unmanned plane and storage medium |
CN109189445A (en) * | 2018-10-12 | 2019-01-11 | 武汉微智创大科技有限公司 | A kind of method of internet of things equipment program upgrading |
CN109634631A (en) * | 2018-11-01 | 2019-04-16 | 北京锦鸿希电信息技术股份有限公司 | Firmware restoration method, apparatus, electronic equipment and firmware restoration system |
CN110311960A (en) * | 2019-06-19 | 2019-10-08 | 浙江吉利控股集团有限公司 | A kind of method for upgrading software, device, equipment and storage medium |
CN112214360A (en) * | 2020-11-05 | 2021-01-12 | 中国航空工业集团公司西安航空计算技术研究所 | Redundant area data real-time backup starting method for online data loading |
CN112433739A (en) * | 2020-11-11 | 2021-03-02 | 广州鲁邦通物联网科技有限公司 | Firmware upgrading method |
CN115220758A (en) * | 2022-06-24 | 2022-10-21 | 武汉联特科技股份有限公司 | Method for upgrading firmware of single chip microcomputer on line |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102110000A (en) * | 2009-12-25 | 2011-06-29 | 康佳集团股份有限公司 | Method, device and equipment for controlling software for auto-updating |
CN103853565A (en) * | 2012-11-28 | 2014-06-11 | 京信通信系统(中国)有限公司 | Method and device for firmware upgrading based on ARM |
CN104484200A (en) * | 2014-12-09 | 2015-04-01 | 小米科技有限责任公司 | Method and device for updating firmware |
US20170249136A1 (en) * | 2016-02-29 | 2017-08-31 | International Business Machines Corporation | Firmware management of sr-iov adapters |
-
2017
- 2017-09-29 CN CN201710908251.3A patent/CN107608705A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102110000A (en) * | 2009-12-25 | 2011-06-29 | 康佳集团股份有限公司 | Method, device and equipment for controlling software for auto-updating |
CN103853565A (en) * | 2012-11-28 | 2014-06-11 | 京信通信系统(中国)有限公司 | Method and device for firmware upgrading based on ARM |
CN104484200A (en) * | 2014-12-09 | 2015-04-01 | 小米科技有限责任公司 | Method and device for updating firmware |
US20170249136A1 (en) * | 2016-02-29 | 2017-08-31 | International Business Machines Corporation | Firmware management of sr-iov adapters |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109002317A (en) * | 2018-06-27 | 2018-12-14 | 上海有个机器人有限公司 | A kind of PCBA firmware upgrade method and system, PCBA |
CN109002317B (en) * | 2018-06-27 | 2022-01-18 | 上海有个机器人有限公司 | PCBA firmware upgrading method and system and PCBA |
CN109032642A (en) * | 2018-07-26 | 2018-12-18 | 昆山岩古风智能科技有限公司 | A kind of DSP based on WIFI and ARM dual-core controller online upgrade system and its method |
CN109117168A (en) * | 2018-08-29 | 2019-01-01 | 拓攻(南京)机器人有限公司 | Unmanned plane firmware update, device, unmanned plane and storage medium |
CN109189445A (en) * | 2018-10-12 | 2019-01-11 | 武汉微智创大科技有限公司 | A kind of method of internet of things equipment program upgrading |
CN109634631A (en) * | 2018-11-01 | 2019-04-16 | 北京锦鸿希电信息技术股份有限公司 | Firmware restoration method, apparatus, electronic equipment and firmware restoration system |
CN110311960A (en) * | 2019-06-19 | 2019-10-08 | 浙江吉利控股集团有限公司 | A kind of method for upgrading software, device, equipment and storage medium |
CN110311960B (en) * | 2019-06-19 | 2022-05-10 | 浙江吉利控股集团有限公司 | Software upgrading method, system, equipment and storage medium |
CN112214360A (en) * | 2020-11-05 | 2021-01-12 | 中国航空工业集团公司西安航空计算技术研究所 | Redundant area data real-time backup starting method for online data loading |
CN112214360B (en) * | 2020-11-05 | 2023-12-22 | 中国航空工业集团公司西安航空计算技术研究所 | Redundant area data real-time backup starting method oriented to online data loading |
CN112433739A (en) * | 2020-11-11 | 2021-03-02 | 广州鲁邦通物联网科技有限公司 | Firmware upgrading method |
CN115220758A (en) * | 2022-06-24 | 2022-10-21 | 武汉联特科技股份有限公司 | Method for upgrading firmware of single chip microcomputer on line |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107608705A (en) | A kind of wireless WIFI video equipments and its firmware upgrade method | |
EP3147782A1 (en) | Method and device for upgrading software | |
US7991988B2 (en) | Communication device and firmware update method thereof | |
CN103488498A (en) | Computer booting method and computer | |
CN103425506A (en) | Powering off method, starting up method and communication terminal | |
CN104461654A (en) | OBD equipment function unit and firmware classification optional upgrading method | |
CN104166577B (en) | A kind of method and apparatus of mobile terminal system upgrading | |
CN102521289B (en) | File synchronization method, device and system | |
CN106060909A (en) | Network access method and mobile terminal | |
CN104331318B (en) | A kind of Embedded Double system and its method of work | |
CN103688268A (en) | Vehicle unit and method for operating the vehicle unit | |
CN104915226A (en) | Network device software starting method, device and network device | |
CN106020875A (en) | Firmware updating management method and device of embedded terminal | |
CN104932955A (en) | Method for backing up data during factory setting restoring of mobile terminal, and mobile terminal | |
CN104281479A (en) | Firmware upgrading method and device | |
CN103186404A (en) | System firmware update method and server system applying same | |
US9571333B2 (en) | Network device and method for maintaining network connection | |
CN105830021A (en) | Updatable integrated-circuit radio | |
CN106452928A (en) | Firmware upgrading method and firmware upgrading apparatus of router, and router | |
CN102855149B (en) | A kind of chip operating system upgrade method, device and system | |
CN109582332A (en) | The method for upgrading system and device of internet video camera | |
CN106126277A (en) | Multi-microprocessor and the upgrade method of external memory system | |
CN109992280A (en) | A kind of method, terminal installation and the storage device of embedded software upgrading | |
CN109002305A (en) | A kind of update method and its system of device program | |
CN102073523B (en) | Realize the method and device of software version synchronization |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180119 |