CN105072044B - Utilize the system and method for router guiding system remote restoration route device - Google Patents

Utilize the system and method for router guiding system remote restoration route device Download PDF

Info

Publication number
CN105072044B
CN105072044B CN201510452386.4A CN201510452386A CN105072044B CN 105072044 B CN105072044 B CN 105072044B CN 201510452386 A CN201510452386 A CN 201510452386A CN 105072044 B CN105072044 B CN 105072044B
Authority
CN
China
Prior art keywords
router
firmware
subregion
nvram
subregions
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.)
Active
Application number
CN201510452386.4A
Other languages
Chinese (zh)
Other versions
CN105072044A (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.)
Huzhou YingLie Intellectual Property Operation Co.,Ltd.
Original Assignee
Shanghai Feixun Data Communication Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Feixun Data Communication Technology Co Ltd filed Critical Shanghai Feixun Data Communication Technology Co Ltd
Priority to CN201510452386.4A priority Critical patent/CN105072044B/en
Publication of CN105072044A publication Critical patent/CN105072044A/en
Application granted granted Critical
Publication of CN105072044B publication Critical patent/CN105072044B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The present invention provides a kind of system and method that system remote restoration route device is guided using router, comprises the following steps:NVRAM configuration subregions and firmware partition are spatially set in the FLASH of router, NVRAM configuration subregions are used to deposit route configuration information, and firmware partition is used to deposit router firmware;When router startup exception, router rests on guiding system;Router guides system to be configured from NVRAM and the setting of router WAN mouths is read in subregion;Router guides system to be set according to WAN mouths to firmware server and downloads router firmware;Router guiding system is recovered automatically according to the router firmware of acquisition.The present invention's guides the system and method for system remote restoration route device to increase extra Flash spaces using router, is not influenceed by firmware partition;Router firmware can be downloaded automatically when starting extremely, without manual intervention.

Description

Utilize the system and method for router guiding system remote restoration route device
Technical field
It is extensive using router guiding system remote more particularly to one kind the present invention relates to the technical field that router recovers The system and method for multiple router.
Background technology
Similar to computer system, route system can encounter abnormal power-down, start exception unavoidably during day-to-day operation Situations such as.Computer system can realize that system is reset by measures such as boot cd-roms, but router is due to space limitation and system Ability, after there is starting exception often can only depot repair, used to user and producer safeguard bring it is very big constant.
In the prior art, in order to prevent route system damage the following two methods of generally use:
(1) router dual system is built
Router newly-built subregion in Flash spaces, specially deposits standby system.Each route system is restarted When, it is both needed to detect whether primary subregion damages, starts if damage from spare partitions;Standby system is copied to after into system Primary subregion.Although this method can be efficiently solved due to router can not start caused by system failure the problem of, It needs extra increase Flash spaces, and needs to detect active and standby subregion before every time starting, and causes the startup time elongated.If Active and standby subregion damages simultaneously, and the problem of cannot be introduced into system still occurs.
(2) router firmware is upgraded manually
Increase web interface in router guiding system uboot, in router startup exception by accessing web interface Manual firmware updating recovers.But this method needs manually to obtain firmware, and it is typically the method or interface hidden, commonly User is difficult come restoration route device by the method.
In summary, existing router restoration methods are primarily present following shortcoming:
1) extra increase Flash spaces are needed;
2) can not recover when active and standby subregion damages;
3) need to download router firmware in advance;
4) domestic consumer is difficult operation.
The content of the invention
In view of the above the shortcomings that prior art, it is an object of the invention to provide one kind to utilize router guiding system The system and method for remote recovery router, in the case of router startup exception, system (uboot) is guided by router The automatic configuration information for obtaining router, and into network, fixed position obtains corresponding router firmware automatically, without people Work intervention, realize the automatic recovery of router.
In order to achieve the above objects and other related objects, the present invention is provided one kind and recovered using router guiding system remote The method of router, comprises the following steps:Step S1, NVRAM configuration subregions and firmware are spatially set in the FLASH of router Subregion, NVRAM configuration subregions are used to deposit route configuration information, and firmware partition is used to deposit router firmware;Step S2, when During router startup exception, router rests on guiding system;Step S3, router guides system to be configured from NVRAM in subregion Router WAN mouths are read to set;Step S4, router guiding system is set to firmware server according to WAN mouths downloads router Firmware;Step S5, router guiding system is recovered automatically according to the router firmware of acquisition.
According to the above-mentioned method that system remote restoration route device is guided using router, wherein:, will in the step S1 The FLASH spaces of router are divided into this four points of uboot subregions, NVRAM configurations subregion, firmware partition and Default Value subregion Area;The uboot subregions enter system, the configuration subregion storage router Default Value letter that dispatches from the factory for bootstrap router Breath.
According to the above-mentioned method that system remote restoration route device is guided using router, wherein:The WAN mouths set bag Include net playing mode of router and corresponding internet account and online password.
According to the above-mentioned method that system remote restoration route device is guided using router, wherein:In the step S4, road By device guiding system according to the WAN mouths of acquisition set obtain firmware server address, and to firmware server initiate request with Router firmware corresponding to acquisition.
According to the above-mentioned method that system remote restoration route device is guided using router, wherein:Also include step S6, incite somebody to action The router firmware of download is backuped in the firmware partition, to ensure the normal startup of router next time.
Meanwhile the present invention also provides a kind of system that system remote restoration route device is guided using router, including firmware Server, NVRAM configuration subregions and firmware partition;
The NVRAM configurations subregion is arranged on the FLASH of router, for depositing route configuration information;
The firmware partition is arranged on the FLASH of router, for depositing router firmware;
The firmware server is used for the firmware for storing router;
When router startup exception, router rests on guiding system, is configured from NVRAM in subregion and reads router WAN mouths are set, and are set further according to WAN mouths to firmware server and are downloaded router firmware with automatic restoration route device.
According to the above-mentioned system that system remote restoration route device is guided using router, wherein:The FLASH of router is empty Between be divided into uboot subregions, NVRAM configurations subregion, firmware partition and Default Value subregion this four subregions;The uboot subregions Enter system, the configuration subregion storage router Default Value information of dispatching from the factory for bootstrap router.
According to the above-mentioned system that system remote restoration route device is guided using router, wherein:The WAN mouths set bag Include net playing mode of router and corresponding internet account and online password.
According to the above-mentioned system that system remote restoration route device is guided using router, wherein:Router guides system The address for obtaining firmware server is set according to the WAN mouths of acquisition, and request is initiated to obtain corresponding road to firmware server By device firmware.
According to the above-mentioned system that system remote restoration route device is guided using router, wherein:By the router of download Firmware is backuped in firmware partition, to ensure the normal startup of router next time.
As described above, the present invention using router guide system remote restoration route device system and method, have with Lower beneficial effect:
(1) guide system (uboot) to download router firmware automatically by router and write current Flash spaces, so as to Extra Flash spaces need not be increased, reduce router hardware cost;
(2) configuration of routers is stored in nonvolatile random access memory (Non-Volatile Random Access Memory, NVRAM) configuration subregion, do not influenceed by firmware partition;When router firmware subregion damages, WAN mouths are set It is unaffected the route configuration information such as to put, can be called by router boot partition (uboot);
(3) it is automatic to obtain address and download router firmware when router startup exception, without manual intervention;
(4) firmware is recovered without downloading router in advance.
Brief description of the drawings
Fig. 1 is shown as the flow chart of the method that system remote restoration route device is guided using router of the present invention;
Fig. 2 is shown as the structural representation in the FLASH spaces of the router of the present invention;
Fig. 3 is shown as the structural representation of the system that system remote restoration route device is guided using router of the present invention.
Component label instructions
1 firmware server
2 NVRAM configure subregion
3 firmware partitions
Embodiment
Illustrate embodiments of the present invention below by way of specific instantiation, those skilled in the art can be by this specification Disclosed content understands other advantages and effect of the present invention easily.The present invention can also pass through specific realities different in addition The mode of applying is embodied or practiced, the various details in this specification can also be based on different viewpoints with application, without departing from Various modifications or alterations are carried out under the spirit of the present invention.
It should be noted that the diagram provided in the present embodiment only illustrates the basic conception of the present invention in a schematic way, Then the component relevant with the present invention is only shown in schema rather than is painted according to component count, shape and the size during actual implement System, kenel, quantity and the ratio of each component can be a kind of random change during its actual implementation, and its assembly layout kenel also may be used Can be increasingly complex.
The present invention's guides the method and system of system remote restoration route device to utilize router guiding system using router Unite (uboot), router firmware is remotely obtained by the configuration of routers of backup, so as to realize the automatic recovery of router, fit For all SOHO wireless routers products.
Reference picture 1, it is of the invention to guide the method for system remote restoration route device to comprise the following steps using router:
Step S1, NVRAM configuration subregions and firmware (Firmware) subregion are spatially set in the FLASH of router, NVRAM configuration subregions are used to deposit route configuration information, and Firmware subregions are used to deposit router firmware.
Preferably, as shown in Fig. 2 by the FLASH spaces of router be divided into uboot subregions, NVRAM configure subregion, Firmware subregions and Default Value (Factory) subregion this four subregions;Wherein, uboot subregions enter for bootstrap router Enter system, Factory subregions storage router Default Value information.
Step S2, when router startup exception, router rests on guiding system (uboot).
Specifically, when router Firmware subregions damage, router can not normally enter system, that is, it is different startup occur Often.
Step S3, router guides system to be configured from NVRAM and the setting of router WAN mouths is read in subregion.
Specifically, router guiding system (uboot) reads the router WAN mouths stored in NVRAM subregions and set.Its In, WAN mouths, which are set, includes net playing mode of router and corresponding internet account and online password.Such as net playing mode of router is PPPoE, username and password feixun/feixun.
Step S4, router guiding system is set to firmware server according to WAN mouths downloads router firmware.
Specifically, router guiding system sets the address for obtaining firmware server according to the WAN mouths of acquisition, and to firmware Server initiates request to obtain corresponding router firmware.
In a preferred embodiment of the invention, router guiding system (uboot) calls pppoecd processes automatically (pppoecd vlan2-u feixun-p feixun-r-r 1480-i) is come with obtaining the outer net IP to be communicated with firmware server Location, then pass through fixed route (such as http://www.phicomm.com/cn/recover/hge618.bin) download correspondingly Router firmware.
Step S5, router guiding system is recovered automatically according to the router firmware of acquisition.
Preferably, in addition to step S6, the router firmware of download backuped in firmware partition, to ensure under router Secondary normal startup.
In a preferred embodiment of the invention, in router guiding system (uboot) embedded dhcpc and This 2 processes of pppoecd.When router startup exception, configured from NVRAM and WAN mouth configuration informations are obtained in subregion, initiated DHCP or PPPoE dialing, get behind address again to router firmware corresponding to downloading on fixed server, so as to automatic real The recovery of existing router.
Reference picture 3, it is of the invention to guide the system of system remote restoration route device to include firmware server using router 1st, NVRAM configures subregion 2, firmware partition 3.
NVRAM configuration subregions 2 are arranged on the FLASH of router, for depositing route configuration information.
Firmware subregions 3 are arranged on the FLASH of router, for depositing router firmware.
Firmware server 1 is used for the firmware for storing router.
When router startup exception, router rests on guiding system (uboot), configures in subregion and reads from NVRAM Router WAN mouths are set, and are set further according to WAN mouths to firmware server and are downloaded router firmware with automatic restoration route device.
Preferably, the router firmware of download is backuped in firmware partition, to ensure the normal startup of router next time.
In a preferred embodiment of the invention, in router guiding system (uboot) embedded dhcpc and This 2 processes of pppoecd.When router startup exception, configured from NVRAM and WAN mouth configuration informations are obtained in subregion, initiated DHCP or PPPoE dialing, get behind address again to router firmware corresponding to downloading on fixed server, so as to automatic real The recovery of existing router.
In summary, it is of the invention to guide the system and method for system remote restoration route device by router using router Guiding system (uboot) downloads router firmware and writes current Flash spaces automatically, without increasing extra Flash Space, reduce router hardware cost;Configuration of routers is stored in NVRAM configuration subregions, not influenceed by firmware partition;Work as road When being damaged by device firmware partition, the route configuration informations such as WAN mouths are set are unaffected, can be by router boot partition (uboot) call;It is automatic to obtain address and download router firmware when router startup exception, without manual intervention;Need not Router is downloaded in advance recovers firmware.So the present invention effectively overcomes various shortcoming of the prior art and has high industrial Value.
The above-described embodiments merely illustrate the principles and effects of the present invention, not for the limitation present invention.It is any ripe Know the personage of this technology all can carry out modifications and changes under the spirit and scope without prejudice to the present invention to above-described embodiment.Cause This, those of ordinary skill in the art is complete without departing from disclosed spirit and institute under technological thought such as Into all equivalent modifications or change, should by the present invention claim be covered.

Claims (8)

  1. A kind of 1. method that system remote restoration route device is guided using router, it is characterised in that:Comprise the following steps:
    Step S1, NVRAM configuration subregions and firmware partition are spatially set in the FLASH of router, NVRAM configuration subregions are used for Route configuration information is deposited, firmware partition is used to deposit router firmware;
    Step S2, when router startup exception, router rests on guiding system;
    Step S3, router guides system to be configured from NVRAM and the setting of router WAN mouths is read in subregion;
    Step S4, router guiding system sets the address for obtaining firmware server according to the WAN mouths of acquisition, and to firmware service Device initiates request to obtain corresponding router firmware;
    Step S5, router guiding system is recovered automatically according to the router firmware of acquisition.
  2. 2. the method according to claim 1 that system remote restoration route device is guided using router, it is characterised in that:Institute State in step S1, the FLASH spaces of router are divided into uboot subregions, NVRAM configures subregion, firmware partition and Default Value This four subregions of subregion;The uboot subregions enter system for bootstrap router, and the Default Value subregion deposits router Default Value information.
  3. 3. the method according to claim 1 that system remote restoration route device is guided using router, it is characterised in that:Institute Stating WAN mouths and setting includes net playing mode of router and corresponding internet account and online password.
  4. 4. the method according to claim 1 that system remote restoration route device is guided using router, it is characterised in that:Also Backuped to including step S6, by the router firmware of download in the firmware partition, to ensure the normal startup of router next time.
  5. A kind of 5. system that system remote restoration route device is guided using router, it is characterised in that:Including firmware server, NVRAM configures subregion and firmware partition;
    The NVRAM configurations subregion is arranged on the FLASH of router, for depositing route configuration information;
    The firmware partition is arranged on the FLASH of router, for depositing router firmware;
    The firmware server is used for the firmware for storing router;
    When router startup exception, router rests on guiding system, is configured from NVRAM and router WAN mouths are read in subregion Set, the address for obtaining firmware server is set further according to WAN mouths, and request is initiated to obtain corresponding road to firmware server By device firmware with automatic restoration route device.
  6. 6. the system according to claim 5 that system remote restoration route device is guided using router, it is characterised in that:Road Uboot subregions, NVRAM configurations subregion, firmware partition and Default Value subregion this four subregions are divided into by the FLASH spaces of device; The uboot subregions enter system for bootstrap router, and the Default Value subregion deposits router Default Value information.
  7. 7. the system according to claim 5 that system remote restoration route device is guided using router, it is characterised in that:Institute Stating WAN mouths and setting includes net playing mode of router and corresponding internet account and online password.
  8. 8. the system according to claim 5 that system remote restoration route device is guided using router, it is characterised in that:Will The router firmware of download is backuped in firmware partition, to ensure the normal startup of router next time.
CN201510452386.4A 2015-07-28 2015-07-28 Utilize the system and method for router guiding system remote restoration route device Active CN105072044B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510452386.4A CN105072044B (en) 2015-07-28 2015-07-28 Utilize the system and method for router guiding system remote restoration route device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510452386.4A CN105072044B (en) 2015-07-28 2015-07-28 Utilize the system and method for router guiding system remote restoration route device

Publications (2)

Publication Number Publication Date
CN105072044A CN105072044A (en) 2015-11-18
CN105072044B true CN105072044B (en) 2018-01-16

Family

ID=54501330

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510452386.4A Active CN105072044B (en) 2015-07-28 2015-07-28 Utilize the system and method for router guiding system remote restoration route device

Country Status (1)

Country Link
CN (1) CN105072044B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105897475B (en) * 2016-04-08 2019-01-04 叶欣泉 A kind of remote configuring method and router of router
CN107491322A (en) * 2017-07-04 2017-12-19 上海斐讯数据通信技术有限公司 A kind of control method and device of parameter storage
CN108768731A (en) * 2018-05-31 2018-11-06 安徽电信器材贸易工业有限责任公司 A kind of method and its system of remote recovery router
CN109257291A (en) * 2018-11-14 2019-01-22 北京馨瑞源科技有限公司 A kind of novel intelligent router

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101610499A (en) * 2009-07-13 2009-12-23 中兴通讯股份有限公司 The upgrade method of wireless data card and system
CN101770386B (en) * 2010-03-08 2013-06-19 飞天诚信科技股份有限公司 Safe startup method for Linux embedded system
CN102420754B (en) * 2011-11-28 2018-06-01 中兴通讯股份有限公司 A kind of method and system of configuration of routers conversion
CN103678030A (en) * 2012-09-04 2014-03-26 杭州海康威视数字技术股份有限公司 Multi-system equipment start system and method thereof
CN104407886B (en) * 2014-11-05 2017-11-14 中国航天科技集团公司第九研究院第七七一研究所 It is a kind of to guide the embedded software solidification separated with target, loading method

Also Published As

Publication number Publication date
CN105072044A (en) 2015-11-18

Similar Documents

Publication Publication Date Title
CN105072044B (en) Utilize the system and method for router guiding system remote restoration route device
CN104166561B (en) Electronic apparatus system starts method and electronic equipment
CN102033790B (en) Method and device for upgrading embedded-type system BOOTROM
CN103761124B (en) Embedded Linux system for protection supervisory equipment starts method
CN103544031B (en) The android system upgrade method and system of multi partition peripheral storage device
CN102929768B (en) Prompting fills method and the client terminal of software by mistake
CN104461786B (en) The restoration methods of android system and the recovery system of android system
CN103034803B (en) Dress software prompt system by mistake
CN107005435B (en) Network service descriptor shelving method and device
CN104156279B (en) A kind of backup method of router configuration data
CN104915226A (en) Network device software starting method, device and network device
CN105721941A (en) Over-the-air upgrading control method and device of cloud television
CN109298877A (en) Game renewal method and system, terminal and computer readable storage medium
CN102541595A (en) Method and device for upgrading intelligent device and intelligent device
CN108984198A (en) A kind of upgrade method and device of android system
CN107491322A (en) A kind of control method and device of parameter storage
CN104346279A (en) Method and device for software testing
CN109324918A (en) Processing method and processing device, terminal and the storage medium of application exception
CN103079108B (en) The method of starter motor top box and Set Top Box
CN111124601B (en) Automatic host container discovery method based on automatic initialization
CN103019752B (en) The upgrade method of application program and device
CN105893076A (en) Over the air upgrade method and device
CN106874029A (en) image file loading method and device
CN103731301A (en) Dual backup achieving method of remote network system
CN107229495A (en) A kind of system and method for preventing EMS remote upgrade from failing

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20201125

Address after: Room 10242, No. 260, Jiangshu Road, Xixing street, Binjiang District, Hangzhou City, Zhejiang Province

Patentee after: Hangzhou Jiji Intellectual Property Operation Co., Ltd

Address before: 201616 Shanghai city Songjiang District Sixian Road No. 3666

Patentee before: Phicomm (Shanghai) Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20201215

Address after: 233000 3rd floor, Dong'an Market, Fengyang West Road, Longzihu District, Bengbu City, Anhui Province

Patentee after: Bengbu 309 Technology Consulting Co.,Ltd.

Address before: Room 10242, No. 260, Jiangshu Road, Xixing street, Binjiang District, Hangzhou City, Zhejiang Province

Patentee before: Hangzhou Jiji Intellectual Property Operation Co., Ltd

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210202

Address after: 313001 room 1019, Xintiandi office building, Yishan street, Wuxing District, Huzhou, Zhejiang, China

Patentee after: Huzhou YingLie Intellectual Property Operation Co.,Ltd.

Address before: 233000 3rd floor, Dong'an Market, Fengyang West Road, Longzihu District, Bengbu City, Anhui Province

Patentee before: Bengbu 309 Technology Consulting Co.,Ltd.

TR01 Transfer of patent right