CN105072044A - System and method for remotely recovering router by using router guide system - Google Patents

System and method for remotely recovering router by using router guide system Download PDF

Info

Publication number
CN105072044A
CN105072044A CN201510452386.4A CN201510452386A CN105072044A CN 105072044 A CN105072044 A CN 105072044A CN 201510452386 A CN201510452386 A CN 201510452386A CN 105072044 A CN105072044 A CN 105072044A
Authority
CN
China
Prior art keywords
router
firmware
partition
guidance system
nvram
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
CN201510452386.4A
Other languages
Chinese (zh)
Other versions
CN105072044B (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 invention provides a system and a method for remotely recovering a router by using a router guide system. The method comprises the following steps: an NVRAM configuration partition and a firmware partition are set in a FLASH space of a router, wherein the NVRAM configuration partition is used to store router configuration information, and the firmware partition is used to store router firmware; when abnormality occurs during startup of the router, the router stays in the guide system; the router guide system reads router WAN port setting from the NVRAM configuration partition; the router guide system downloads router firmware from a firmware server according to the WAN port setting; and the router guide system automatically recovers the router according to the acquired router firmware. By adopting the system and the method for remotely recovering a router by using a router guide system of the invention, no additional Flash space is needed, router recovery is not affected by the firmware partition, router firmware can be automatically downloaded under the condition of abnormal startup, and no human intervention is needed.

Description

Utilize the system and method for router guidance system remote recovery router
Technical field
The present invention relates to the technical field that router recovers, particularly relate to a kind of system and method utilizing router guidance system remote recovery router.
Background technology
Similar to computer system, route system can be encountered abnormal power-down unavoidably, start the situations such as abnormal in day-to-day operation process.Computer system can realize system refitting by measures such as boot cd-roms, but router is due to spatial limitation and system capability, appearance start abnormal after often can only depot repair, to use to user and producer's maintenance brings constant very greatly.
In prior art, damage to prevent route system and usually adopt following two kinds of methods:
(1) router dual system is built
Router is a newly-built subregion in Flash space, deposits standby system specially.When each route system is restarted, all need to detect primary subregion and whether damage, if damage, start from spare partitions; After entering system, standby system is copied to primary subregion.Although the method can solve the problem that the router that causes due to system failure cannot start effectively, it needs extra increase Flash space, and each start before need to detect active and standby subregion, cause start-up time elongated.If active and standby subregion damages simultaneously, still there will be the problem that cannot enter system.
(2) manually to upgrade router firmware
In router guidance system uboot, increase web interface, recovered by the manual firmware updating of access web interface when router startup is abnormal.But the method needs to obtain firmware manually, and the method normally hidden or interface, domestic consumer is difficult to carry out restoration route device by the method.
In sum, mainly there is following shortcoming in existing router restoration methods:
1) extra increase Flash space is needed;
2) cannot recover when active and standby subregion all damages;
3) need to download router firmware in advance;
4) domestic consumer is difficult to operation.
Summary of the invention
The shortcoming of prior art in view of the above, the object of the present invention is to provide a kind of system and method utilizing router guidance system remote recovery router, when router startup exception, by the configuration information of router guidance system (uboot) automatic acquisition router, and automatically obtain corresponding router firmware to fixed position place in network, without the need to manual intervention, realize the automatic recovery of router.
For achieving the above object and other relevant objects, the invention provides a kind of method utilizing router guidance system remote recovery router, comprise the following steps: step S1, NVRAM configure partition and firmware partition are spatially set at the FLASH of router, NVRAM configure partition is used for depositing route configuration information, and firmware partition is used for depositing router firmware; Step S2, when router startup is abnormal, router rests on guidance system; Step S3, router guidance system read router WAN mouth and arrange from NVRAM configure partition; Step S4, router guidance system are set to firmware server according to WAN mouth and download router firmware; Step S5, router guidance system are recovered automatically according to the router firmware obtained.
According to the above-mentioned method utilizing router guidance system remote recovery router, wherein: in described step S1, the FLASH space of router is divided into these four subregions of uboot subregion, NVRAM configure partition, firmware partition and Default Value subregion; Described uboot subregion is used for bootstrap router and enters system, described in the configure partition that dispatches from the factory deposit router Default Value information.
According to the above-mentioned method utilizing router guidance system remote recovery router, wherein: described WAN mouth arranges and comprises net playing mode of router and corresponding internet account and online password.
According to the above-mentioned method utilizing router guidance system remote recovery router, wherein: in described step S4, router guidance system arranges the address obtaining firmware server according to the WAN mouth obtained, and initiates request to obtain corresponding router firmware to firmware server.
According to the above-mentioned method utilizing router guidance system remote recovery router, wherein: also comprise step S6, the router firmware of download is backuped in described firmware partition, to ensure the normal startup of router next time.
Meanwhile, the present invention also provides a kind of system utilizing router guidance system remote recovery router, comprises firmware server, NVRAM configure partition and firmware partition;
Described NVRAM configure partition is arranged on the FLASH of router, for depositing route configuration information;
Described firmware partition is arranged on the FLASH of router, for depositing router firmware;
Described firmware server is used for the firmware of storage router;
When router startup is abnormal, router rests on guidance system, reads router WAN mouth and arrange from NVRAM configure partition, then is set to firmware server download router firmware with automatic restoration route device according to WAN mouth.
According to the above-mentioned system utilizing router guidance system remote recovery router, wherein: the FLASH space of router is divided into these four subregions of uboot subregion, NVRAM configure partition, firmware partition and Default Value subregion; Described uboot subregion is used for bootstrap router and enters system, described in the configure partition that dispatches from the factory deposit router Default Value information.
According to the above-mentioned system utilizing router guidance system remote recovery router, wherein: described WAN mouth arranges and comprises net playing mode of router and corresponding internet account and online password.
According to the above-mentioned system utilizing router guidance system remote recovery router, wherein: router guidance system arranges according to the WAN mouth obtained and obtains the address of firmware server, and initiate request to obtain corresponding router firmware to firmware server.
According to the above-mentioned system utilizing router guidance system remote recovery router, wherein: the router firmware of download is backuped in firmware partition, to ensure the normal startup of router next time.
As mentioned above, the system and method utilizing router guidance system remote recovery router of the present invention, has following beneficial effect:
(1) automatically download router firmware by router guidance system (uboot) and write current Flash space, thus without the need to increasing extra Flash space, reducing router hardware cost;
(2) configuration of routers is kept at nonvolatile random access memory (Non-VolatileRandomAccessMemory, NVRAM) configure partition, does not affect by firmware partition; When router firmware subregion damages, it is unaffected that WAN mouth such as to arrange at the route configuration information, and can be routed device boot partition (uboot) calls;
(3) when router startup is abnormal, router firmware is also downloaded, without the need to manual intervention in automatic acquisition address;
(4) firmware is recovered without the need to downloading router in advance.
Accompanying drawing explanation
Fig. 1 is shown as the flow chart utilizing the method for router guidance system remote recovery router of the present invention;
Fig. 2 is shown as the structural representation in the FLASH space of router of the present invention;
Fig. 3 is shown as the structural representation utilizing the system of router guidance system remote recovery router of the present invention.
Element numbers explanation
1 firmware server
2NVRAM configure partition
3 firmware partition
Embodiment
Below by way of specific instantiation, embodiments of the present invention are described, those skilled in the art the content disclosed by this specification can understand other advantages of the present invention and effect easily.The present invention can also be implemented or be applied by embodiments different in addition, and the every details in this specification also can based on different viewpoints and application, carries out various modification or change not deviating under spirit of the present invention.
It should be noted that, the diagram provided in the present embodiment only illustrates basic conception of the present invention in a schematic way, then only the assembly relevant with the present invention is shown in graphic but not component count, shape and size when implementing according to reality is drawn, it is actual when implementing, and the kenel of each assembly, quantity and ratio can be a kind of change arbitrarily, and its assembly layout kenel also may be more complicated.
The method and system of router guidance system remote recovery router that utilize of the present invention utilize router guidance system (uboot), by the configuration of routers Remote Acquisitioning router firmware of backup, thus realize the automatic recovery of router, be applicable to all SOHO wireless router products.
With reference to Fig. 1, the method for router guidance system remote recovery router that utilizes of the present invention comprises the following steps:
Step S1, spatially arrange NVRAM configure partition and firmware (Firmware) subregion at the FLASH of router, NVRAM configure partition is used for depositing route configuration information, and Firmware subregion is used for depositing router firmware.
Preferably, as shown in Figure 2, the FLASH space of router is divided into these four subregions of uboot subregion, NVRAM configure partition, Firmware subregion and Default Value (Factory) subregion; Wherein, uboot subregion is used for bootstrap router and enters system, and Factory subregion deposits router Default Value information.
Step S2, when router startup is abnormal, router rests on guidance system (uboot).
Particularly, when router Firmware subregion damages, router normally can not enter system, namely occurs starting extremely.
Step S3, router guidance system read router WAN mouth and arrange from NVRAM configure partition.
Particularly, router guidance system (uboot) reads the router WAN mouth setting stored in NVRAM subregion.Wherein, WAN mouth arranges and comprises net playing mode of router and corresponding internet account and online password.Such as net playing mode of router is PPPoE, and username and password is feixun/feixun.
Step S4, router guidance system are set to firmware server according to WAN mouth and download router firmware.
Particularly, router guidance system arranges the address obtaining firmware server according to the WAN mouth obtained, and initiates request to obtain corresponding router firmware to firmware server.
In a preferred embodiment of the invention, router guidance system (uboot) Automatically invoked pppoecd process (pppoecdvlan2-ufeixun-pfeixun-r-r1480-i) obtains the outer net IP address communicated with firmware server, then downloads corresponding router firmware by fixed route (such as http://www.phicomm.com/cn/recover/hge618.bin).
Step S5, router guidance system are recovered automatically according to the router firmware obtained.
Preferably, also comprise step S6, 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 guidance system (uboot), these 2 processes of dhcpc and pppoecd are embedded.When router startup is abnormal, from NVRAM configure partition, obtain WAN mouth configuration information, initiate DHCP or PPPoE dialing, to fixing server, download corresponding router firmware again after getting address, thus automatically realize the recovery of router.
With reference to Fig. 3, the system of router guidance system remote recovery router that utilizes of the present invention comprises firmware server 1, NVRAM configure partition 2, firmware partition 3.
NVRAM configure partition 2 is arranged on the FLASH of router, for depositing route configuration information.
Firmware subregion 3 is arranged on the FLASH of router, for depositing router firmware.
Firmware server 1 is for the firmware of storage router.
When router startup is abnormal, router rests on guidance system (uboot), reads router WAN mouth and arrange from NVRAM configure partition, then is set to firmware server download router firmware with automatic restoration route device according to WAN mouth.
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 guidance system (uboot), these 2 processes of dhcpc and pppoecd are embedded.When router startup is abnormal, from NVRAM configure partition, obtain WAN mouth configuration information, initiate DHCP or PPPoE dialing, to fixing server, download corresponding router firmware again after getting address, thus automatically realize the recovery of router.
In sum, the system and method for router guidance system remote recovery router that utilizes of the present invention is automatically downloaded router firmware by router guidance system (uboot) and writes current Flash space, thus without the need to increasing extra Flash space, reduce router hardware cost; Configuration of routers is kept at NVRAM configure partition, does not affect by firmware partition; When router firmware subregion damages, it is unaffected that WAN mouth such as to arrange at the route configuration information, and can be routed device boot partition (uboot) calls; When router startup is abnormal, router firmware is also downloaded, without the need to manual intervention in automatic acquisition address; Firmware is recovered without the need to downloading router in advance.So the present invention effectively overcomes various shortcoming of the prior art and tool high industrial utilization.
Above-described embodiment is illustrative principle of the present invention and effect thereof only, but not for limiting the present invention.Any person skilled in the art scholar all without prejudice under spirit of the present invention and category, can modify above-described embodiment or changes.Therefore, such as have in art usually know the knowledgeable do not depart from complete under disclosed spirit and technological thought all equivalence modify or change, must be contained by claim of the present invention.

Claims (10)

1. utilize a method for router guidance system remote recovery router, it is characterized in that: comprise the following steps:
Step S1, spatially arrange NVRAM configure partition and firmware partition at the FLASH of router, NVRAM configure partition is used for depositing route configuration information, and firmware partition is used for depositing router firmware;
Step S2, when router startup is abnormal, router rests on guidance system;
Step S3, router guidance system read router WAN mouth and arrange from NVRAM configure partition;
Step S4, router guidance system are set to firmware server according to WAN mouth and download router firmware;
Step S5, router guidance system are recovered automatically according to the router firmware obtained.
2. the method utilizing router guidance system remote recovery router according to claim 1, it is characterized in that: in described step S1, the FLASH space of router is divided into these four subregions of uboot subregion, NVRAM configure partition, firmware partition and Default Value subregion; Described uboot subregion is used for bootstrap router and enters system, described in the configure partition that dispatches from the factory deposit router Default Value information.
3. the method utilizing router guidance system remote recovery router according to claim 1, is characterized in that: described WAN mouth arranges and comprises net playing mode of router and corresponding internet account and online password.
4. the method utilizing router guidance system remote recovery router according to claim 1, it is characterized in that: in described step S4, router guidance system arranges the address obtaining firmware server according to the WAN mouth obtained, and initiates request to obtain corresponding router firmware to firmware server.
5. the method utilizing router guidance system remote recovery router according to claim 1, is characterized in that: also comprise step S6, backup in described firmware partition by the router firmware of download, to ensure the normal startup of router next time.
6. utilize a system for router guidance system remote recovery router, it is characterized in that: comprise firmware server, NVRAM configure partition and firmware partition;
Described NVRAM configure partition is arranged on the FLASH of router, for depositing route configuration information;
Described firmware partition is arranged on the FLASH of router, for depositing router firmware;
Described firmware server is used for the firmware of storage router;
When router startup is abnormal, router rests on guidance system, reads router WAN mouth and arrange from NVRAM configure partition, then is set to firmware server download router firmware with automatic restoration route device according to WAN mouth.
7. the system utilizing router guidance system remote recovery router according to claim 6, is characterized in that: the FLASH space of router is divided into these four subregions of uboot subregion, NVRAM configure partition, firmware partition and Default Value subregion; Described uboot subregion is used for bootstrap router and enters system, described in the configure partition that dispatches from the factory deposit router Default Value information.
8. the system utilizing router guidance system remote recovery router according to claim 6, is characterized in that: described WAN mouth arranges and comprises net playing mode of router and corresponding internet account and online password.
9. the system utilizing router guidance system remote recovery router according to claim 6, it is characterized in that: router guidance system arranges the address obtaining firmware server according to the WAN mouth obtained, and initiate request to obtain corresponding router firmware to firmware server.
10. the system utilizing router guidance system remote recovery router according to claim 6, is characterized in that: backup in firmware partition by the router firmware of download, 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 true CN105072044A (en) 2015-11-18
CN105072044B 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)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105897475A (en) * 2016-04-08 2016-08-24 深圳市延翼通电子有限公司 Remote configuration method of router and 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

Citations (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
CN101770386A (en) * 2010-03-08 2010-07-07 北京飞天诚信科技有限公司 Safe startup method for Linux embedded system
CN102420754A (en) * 2011-11-28 2012-04-18 中兴通讯股份有限公司 Method and system for transiting router configuration
CN103678030A (en) * 2012-09-04 2014-03-26 杭州海康威视数字技术股份有限公司 Multi-system equipment start system and method thereof
CN104407886A (en) * 2014-11-05 2015-03-11 中国航天科技集团公司第九研究院第七七一研究所 Curing and loading method of embedded software guiding separation from target

Patent Citations (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
CN101770386A (en) * 2010-03-08 2010-07-07 北京飞天诚信科技有限公司 Safe startup method for Linux embedded system
CN102420754A (en) * 2011-11-28 2012-04-18 中兴通讯股份有限公司 Method and system for transiting router configuration
CN103678030A (en) * 2012-09-04 2014-03-26 杭州海康威视数字技术股份有限公司 Multi-system equipment start system and method thereof
CN104407886A (en) * 2014-11-05 2015-03-11 中国航天科技集团公司第九研究院第七七一研究所 Curing and loading method of embedded software guiding separation from target

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105897475A (en) * 2016-04-08 2016-08-24 深圳市延翼通电子有限公司 Remote configuration method of router and router
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

Also Published As

Publication number Publication date
CN105072044B (en) 2018-01-16

Similar Documents

Publication Publication Date Title
US9507604B2 (en) Boot method and boot system
CN105072044A (en) System and method for remotely recovering router by using router guide system
WO2013103023A1 (en) Information processing device, information processing method, and computer program
CN103544031B (en) The android system upgrade method and system of multi partition peripheral storage device
CN111669284B (en) OpenStack automatic deployment method, electronic device, storage medium and system
CN106325953A (en) Weblogic cluster one-key automatic deployment method
CN103914302A (en) Webpage loading progress monitoring method and webpage loading progress monitoring device
CN101826026A (en) Embedded equipment and on-line updating system and method of firmware in embedded equipment
CN109639818B (en) Service discovery method and device under cloud environment, server and storage medium
WO2018006702A1 (en) Abnormality processing method, apparatus and system in automation test
CN103064717A (en) Device and method for parallel installation of software for cluster system
CN108984198A (en) A kind of upgrade method and device of android system
CN106201773A (en) The upgrading of instance system, cloud system and instance system or restoration methods
CN105487859A (en) Template based WEB deployment method for big data components
WO2019053636A1 (en) Alternative service pathway for service application
CN111273924A (en) Software updating method and device
CN112988281A (en) Application starting method and device
CN109688427A (en) A kind of smart television and its system repair
US20160321057A1 (en) Electronic apparatus
CN112486718A (en) Database fault automatic switching method and device and computer storage medium
CN104317645B (en) A kind of method and device of Application Instance listening port
JPWO2021002223A5 (en)
WO2016131294A1 (en) Version upgrade processing method and device
CN109376073A (en) A kind of memory of test environment and restoration methods
CN113238778B (en) Method, system, equipment and medium for upgrading BIOS firmware

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
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.