WO2019024385A1 - 一种路由器配置信息备份方法及系统、恢复方法及系统 - Google Patents

一种路由器配置信息备份方法及系统、恢复方法及系统 Download PDF

Info

Publication number
WO2019024385A1
WO2019024385A1 PCT/CN2017/116428 CN2017116428W WO2019024385A1 WO 2019024385 A1 WO2019024385 A1 WO 2019024385A1 CN 2017116428 W CN2017116428 W CN 2017116428W WO 2019024385 A1 WO2019024385 A1 WO 2019024385A1
Authority
WO
WIPO (PCT)
Prior art keywords
configuration information
router
module
disk
compression package
Prior art date
Application number
PCT/CN2017/116428
Other languages
English (en)
French (fr)
Inventor
李茂源
Original Assignee
上海斐讯数据通信技术有限公司
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 上海斐讯数据通信技术有限公司 filed Critical 上海斐讯数据通信技术有限公司
Publication of WO2019024385A1 publication Critical patent/WO2019024385A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0659Management of faults, events, alarms or notifications using network fault recovery by isolating or reconfiguring faulty entities
    • H04L41/0661Management of faults, events, alarms or notifications using network fault recovery by isolating or reconfiguring faulty entities by reconfiguring faulty entities
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03LAUTOMATIC CONTROL, STARTING, SYNCHRONISATION OR STABILISATION OF GENERATORS OF ELECTRONIC OSCILLATIONS OR PULSES
    • H03L7/00Automatic control of frequency or phase; Synchronisation

Definitions

  • the present invention relates to the field of router backup and recovery, and in particular, to a router configuration information backup method and system, a recovery method, and a system domain.
  • Intelligent routers not only have the routing and Internet access functions of traditional routers, but also more intelligent service functions, such as offline download and data sharing. These functions often require an external USB storage device on the router for implementation.
  • the backup method is to log in to the router, enter the “Backup Recovery” page, click the backup recovery button, and select to save to a local location. And then backed up.
  • you perform the recovery operation you also need to enter the "Backup Recovery” page of the router, click the "Restore Configuration” button, select the configuration file saved to the local, and then restore.
  • the operation process is more complicated.
  • a Chinese patent publication number 104506429A discloses a method, router and system for managing a router backup group.
  • the method includes: after the virtual routing function of each router is triggered, generating a backup group information, and saving the backup group information and the local router in the backup group indicated by the backup group information as status information of the primary router to Each of the routers periodically sends an advertisement packet to the other routers that form the backup group.
  • the advertisement packet carries the backup group record stored by the router.
  • Each router receives the other routers.
  • the backup group record stored by the router is updated according to the notification message.
  • the invention is used to solve the problem that an artificial configuration backup group is prone to errors.
  • the object of the present invention is to provide a router configuration information backup method, a backup system, a configuration information recovery method, and a recovery system, which can be simple and convenient, and can backup the router without logging in to the router configuration page.
  • the method of recovery is to provide a router configuration information backup method, a backup system, a configuration information recovery method, and a recovery system, which can be simple and convenient, and can backup the router without logging in to the router configuration page. The method of recovery.
  • a router configuration information backup method includes the following steps:
  • the step S2 includes:
  • the configuration information configuration process prompt module is opened.
  • the step S4 includes:
  • a router configuration information recovery method after step S4, further includes:
  • the step S7 includes:
  • the configuration information is stopped and the configuration process prompter module is closed.
  • a router configuration information backup system includes:
  • Receiving an instruction module configured to determine whether a reset instruction is received
  • Determining a configuration information module configured to determine whether there is a configuration information compression package in the U disk
  • a backup module configured to extract configuration information, and back up the configuration information to the U disk
  • the backup module includes:
  • a packaging module configured to package configuration information into a configuration information compression package
  • the backup compression package module is configured to back up the configuration information compression package to the U disk.
  • a router configuration information recovery system includes:
  • Reading a decompression module configured to read and decompress the configuration information compression package in the U disk
  • a matching module configured to determine whether the router model corresponding to the configuration information matches
  • the recovery module is configured to restore the configuration information when the router model corresponding to the configuration information matches.
  • the recovery module includes:
  • a deleting module configured to delete the read configuration information compression package
  • the module is restarted, and the read configuration information compression package is deleted, and then restarted.
  • the invention has the beneficial effects that the backup and recovery actions of the router configuration can be realized without the user logging in to the router page, and the operation is convenient. Moreover, the present invention uses the U disk and the reset button to cooperate to implement backup and recovery operations of the router, and the configuration information prompting module is used to prompt the user to perform backup and recovery actions.
  • FIG. 1 is a flowchart of a combination of a backup method and a recovery method of a router configuration information according to the present invention.
  • FIG. 2 is a schematic structural diagram of a router configuration information backup system and a recovery system according to the present invention.
  • Embodiment 3 is a system frame diagram of Embodiment 2 of the present invention.
  • FIG. 4 is a schematic diagram of configuration information of a backup and recovery router of a USB flash drive according to the present invention.
  • This embodiment provides a router configuration information backup method and a router configuration information recovery method, as shown in FIG. 1 , FIG. 2 and FIG. 4 :
  • the router configuration information backup method and the recovery method include the following steps:
  • the USB flash drive which is called a USB flash drive, is a micro-high-capacity mobile storage product that uses a USB interface and does not require a physical drive. It is connected to a computer or other device through a USB interface for plug-and-play functions.
  • a router also known as a pathfinder, is a computer network device that transmits packets to a destination (selecting the transmission path of data) over a network. This process is called routing.
  • the router typically stores the current configuration parameters of the router in a non-volatile memory.
  • the configuration information generating unit acquires the configuration parameter, and configures the router configuration information composed of the parameter and the corresponding time value.
  • step S1 it is determined whether the U disk is connected to determine whether the U disk is inserted into the preset interface of the router. If the U disk is inserted into the preset interface of the router, step S2 is performed.
  • step S2 it is determined whether a reset command is received; specifically, the steps include:
  • the preset action of the reset button on the router may be pressing the reset button twice, and if it is detected that the reset button is pressed twice, it is determined that the reset command is received.
  • the router in this embodiment After receiving the reset command, the router in this embodiment opens the configuration information configuration process prompting module.
  • the configuration information configuration process prompting module in this embodiment is an LED disposed on the router. The light flashes. That is, after receiving the reset command, the LED light set on the router starts to flash, prompting the user to start the backup configuration.
  • the router After the backup starts, the router reads the USB disk inserted into the router, and determines whether there is a configuration information compression package in the U disk. If there is no configuration information compression package in the U disk, the configuration information of the router is extracted, and The configuration information of the router is backed up to the U disk.
  • the foregoing backup process specifically includes: if it is determined that there is no configuration information compression package in the U disk, extracting configuration information of the router, and compressing and packaging the configuration information of the router to form a configuration information compression package, where The configuration information compression package is copied to the U disk inserted into the router, thereby completing the backup.
  • the configuration information configuration process prompting module set on the router that is, the LED light, is blinking, and after the configuration is completed, the LED light stops blinking.
  • the embodiment provides a router configuration information backup method, and the user can implement the router backup operation without logging in to the router page, that is, the backup action of the router can be realized by using the U disk and the reset button button action, and the flashing LED is adopted.
  • the light prompts the user that the router is performing a backup action and prompts the user to complete the backup.
  • step S5 after the router determines that there is a configuration information compression packet in the U disk, the router can perform a configuration information recovery operation on the router through the U disk.
  • the configuration information compression package in the U disk is read, the configuration information compression package is copied into the router, and then the configuration information compression package is decompressed to obtain the configuration information.
  • the router matches the model of the router that decompresses the configuration information, and determines whether the router model of the configuration information in the U disk matches the model of the router;
  • the configuration information recovery operation of the router is stopped, and the LED light on the router is set to stop blinking.
  • the recovery operation of the router configuration information is continued; that is, the decompressed configuration information is restored to the router configuration information.
  • the LED indicator light on the router stops blinking, prompting the user to complete the backup of the configuration information.
  • the information compression package is configured to clear the memory and restart, thereby terminating the running version of the configuration information of the router before the new configuration information is loaded by the operating system, so that the router runs the restored configuration information.
  • the embodiment provides a router configuration information recovery method, and the user can implement the router configuration information recovery action without logging in to the router page, that is, the configuration information recovery action of the router can be implemented by using the U disk and the reset key button action.
  • the flashing LED light prompts the user that the router is performing the configuration information recovery action, and prompts the user to complete the configuration information recovery.
  • FIG. 2 is a schematic structural diagram of a router configuration information backup system and a recovery system according to the present invention, including:
  • Determining an access module configured to determine whether a U disk is accessed, and sending the determined U disk access signal to the receiving instruction module and the receiving determining configuration information module, and entering the configuration information preparation phase;
  • Receiving an instruction module configured to determine whether a USB flash drive is inserted into the router, and determining whether a reset command is received
  • the reset command in this embodiment is that the user presses the reset button set on the router according to the preset action.
  • the configuration information set on the router is set.
  • the configuration process prompting module performs backup or recovery of the router configuration information.
  • a blinking LED prompt light is provided, that is, when it is determined that the reset command is received, the LED light set on the router blinks.
  • Determining a configuration information module configured to receive a reset command, and determine whether there is a configuration information compression package in the U disk;
  • the judging configuration information module performs screening to determine whether there is a configuration information compression package in the U disk by reading information in the U disk, and sends the determined result of whether the U disk contains the configuration information compression package to the backup. Module.
  • the backup module is configured to receive a result of determining whether the U disk that is determined by the configuration information module includes a configuration information compression package, and if it is determined that the U disk includes a configuration information compression package, the router extracts configuration information that is included in the router. And backing up the configuration information to the U disk;
  • the backup of the router configuration information in the U disk is completed.
  • the configuration information configuration process prompting module on the router prompts that the included LED light stops blinking, prompting the user to configure the information. Complete the backup action.
  • the embodiment provides a router configuration information backup system, and determines whether the U disk is accessed according to the judgment access module; determines whether the user inputs a reset instruction according to the receiving instruction module; and determines whether the U disk is determined according to the judgment configuration information module.
  • the system realizes the action of backing up the router configuration information through the U disk and the reset command without the login page, which is convenient, quick and simple, and improves the user operation experience.
  • the embodiment further includes a router configuration information recovery system, which includes the foregoing determining access module, receiving the instruction module, and determining the configuration information module, and the router configuration information recovery system further includes the following:
  • the read decompression module is configured to receive information that is sent by the configuration information module to determine whether there is configuration information in the U disk. When it is determined that the U disk includes a configuration information compression package, the read decompression module reads Take the configuration information in the U disk, and decompress the configuration information compression package in the U disk to the router;
  • a matching module configured to determine whether the router model corresponding to the configuration information matches
  • the matching module determines that the router model corresponding to the configuration information is matched, the configuration information of the corresponding router model can be accurately restored to the router, and the accuracy of the restored configuration information is improved.
  • a recovery module configured to restore the configuration information to the router when the matching module obtains that the router model corresponding to the configuration information matches the router model.
  • the embodiment provides a router configuration information recovery system, and determines whether the U disk is accessed according to the judgment access module; determines whether the user inputs a reset instruction according to the receiving instruction module; and determines whether the U disk is determined according to the judgment configuration information module.
  • There is a configuration information compression package ; according to the read decompression module, the configuration information in the U disk is read, and the configuration information compression package in the U disk is decompressed into the router; according to the matching module, the router corresponding to the configuration information is determined. Whether the models match; according to the recovery module, restore the configuration information to the router.
  • the system realizes the action of restoring the router configuration information through the U disk and the reset command without the login page, which is convenient, quick and simple.
  • the embodiment provides a combined system for backing up and restoring the configuration information of the router. As shown in FIG. 3 and FIG. 4, the embodiment is refined on the basis of the first embodiment.
  • Some modules including:
  • the backup module in the router configuration information backup system further includes:
  • a packaging module configured to package configuration information into a configuration information compression package
  • the backup compression package module is configured to back up the configuration information compression package to the U disk.
  • the configuration information in the router can be compressed and packaged to form a configuration information compression package, and the configuration information compression package is backed up into the U disk through the backup compression package module.
  • the configuration information in the router can be compressed and packaged to form a configuration information compression package, and the configuration information compression package is backed up into the U disk through the backup compression package module.
  • the recovery module in the router configuration information backup system further includes:
  • a deleting module configured to delete the read configuration information compression package
  • the module is restarted, and the read configuration information compression package is deleted, and then restarted.
  • the deleting module deletes the configuration information compression package of the U disk read by the router, and triggers a restarting module to restart the router.
  • the module by deleting the module, deleting the configuration information compression package, increasing the storage space of the router, and restarting, thereby terminating the running version of the configuration information before the router, so that the new configuration information is loaded by the operating system, thereby
  • the router runs the recovery configuration information, and on the basis of the backup and recovery actions of the router configuration without logging in to the router, the packaging module and the deletion module and the restarting module are added, and the transmission efficiency of the router through the U disk backup and recovery is improved. , to improve the user experience.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

本发明公开了一种路由器配置信息备份方法、备份系统以及配置信息恢复方法、恢复系统,该备份方法包括:S1:判断是否有U盘接入;S2:若有U盘接入,判断是否接收到重置指令;S3:若接收到重置指令,读取U盘并判断U盘内是否有配置信息压缩包;S4:若U盘内无配置信息压缩包,提取配置信息,并将该配置信息备份到所述U盘内。该恢复方法包括:S5:读取并解压所述配置信息压缩包;S6:判断所述配置信息对应的路由器型号是否匹配;S7:若所述配置信息对应的路由器型号匹配,则恢复该配置信息;S8:恢复完配置信息后,删除配置信息压缩包并重新启动。本发明能够无需登陆路由器页面即可实现路由器配置的备份与恢复动作,操作便捷。

Description

一种路由器配置信息备份方法及系统、恢复方法及系统 技术领域
本发明涉及路由器备份与恢复领域,尤其涉及一种路由器配置信息备份方法及系统、恢复方法及系统领域。
背景技术
如今智能路由器越来越普及,智能路由器不仅具有传统路由器的路由及上网功能,还有更多智能的服务功能,如离线下载、数据共享功能。这些功能往往都需要路由器上外接USB存储设备进行实现。
当用户需要重置路由器或者更换新的路由器时往往需要将老的路由器的配置进行备份,备份的方式为登陆路由器,进入“备份恢复”页面,点击备份恢复按钮,选择保存到本地的某个位置,然后备份。进行恢复操作时也需要进入路由器“备份恢复”页面点击“恢复配置”按钮,选择保存到本地的配置文件,然后进行恢复。操作过程较为复杂。
如公开号为104506429A的中国专利,公开了一种管理路由器备份组的方法、路由器及系统。该方法包括:每个路由器的虚拟路由功能被触发后,生成一条备份组信息并将所述备份组信息及本路由器在所述备份组信息指示的备份组中,作为主路由器的状态信息保存到本地存储的备份组记录中;每个路由器定期发送通告报文给组成备份组的其它路由器,所述通告报文中携带本路由器存储的备份组记录;每个路由器接收到其它路由器发送的所述通告报文后,根据所述通告报文更新本路由器存储的备份组记录。该发明用于解决人为配置备份组易出现错误的问题。
上述现有技术中,目前路由器上执行备份与恢复动作都是通过页面来完成,需要用户登录到路由器并进入到指定页面进行操作,操作流程较为复杂。且针对新的路由器需要配置完基本信息才可进入恢复页面进行恢复,增加了恢复备份的时间。
发明内容
本发明的目的是针对现有技术的缺陷,提供一种路由器配置信息备份方法、备份系统以及配置信息恢复方法、恢复系统,能够简单、方便并且不需登录路由器配置页面就能对路由器进行备份与恢复的方法。
为了实现以上目的,本发明采用以下技术方案:
一种路由器配置信息备份方法,包括步骤:
S1:判断是否有U盘接入;
S2:若有U盘接入,判断是否接收到重置指令;
S3:若接收到重置指令,读取U盘并判断U盘内是否有配置信息压缩包;
S4:若U盘内无配置信息压缩包,提取配置信息,并将该配置信息备份到所述U盘内;
所述步骤S2包括:
S21:判断设置在路由器上的重置键是否有预设动作;
S22:若所述重置键有预设动作,则判断为接收到重置指令。
接收到重置指令后,打开配置信息配置过程提示模块。
所述步骤S4包括:
S41:若U盘内无配置信息压缩包,提取配置信息;
S42:将配置信息打包成配置信息压缩包;
S43:将配置信息压缩包备份到所述U盘内;
S44:配置信息压缩包备份完成后,关闭所述配置过程提示模块。
一种路由器配置信息恢复方法,于步骤S4后还包括:
S5:若U盘内有配置信息压缩包,读取并解压所述配置信息压缩包;
S6:判断所述配置信息对应的路由器型号是否匹配;
S7:若所述配置信息对应的路由器型号匹配,则恢复该配置信息;
S8:恢复完配置信息后,删除配置信息压缩包并重新启动。
所述步骤S7包括:
若所述配置信息对应的路由器型号不匹配,则停止恢复配置信息,关闭所述配置过程提示器模块。
一种路由器配置信息备份系统,包括:
判断接入模块,用于判断是否有U盘接入;
接收指令模块,用于判断是否接收到重置指令;
判断配置信息模块,用于判断U盘内是否有配置信息压缩包;
备份模块,用于提取配置信息,并将该配置信息备份到所述U盘内;
所述备份模块包括:
打包模块,用于将配置信息打包成配置信息压缩包;
备份压缩包模块,用于将配置信息压缩包备份至所述U盘内。
一种路由器配置信息恢复系统,包括:
读取解压模块,用于读取并解压所述U盘内的配置信息压缩包;
匹配模块,用于判断所述配置信息对应的路由器型号是否匹配;
恢复模块,用于当所述配置信息对应的路由器型号匹配,恢复该配置信息。
所述恢复模块包括:
删除模块,用于删除读取的所述配置信息压缩包;
重新启动模块,用于删除读取的所述配置信息压缩包后,进行重新启动。
本发明的有益效果是无需用户登陆路由器页面即可实现路由器配置的备份与恢复动作,操作便捷。并且本发明使用U盘和重置键配合实现路由器的备份和恢复动作,且通过配置信息配置过程提示模块来提示用户正在备份与恢复动作。
附图说明
图1为本发明路由器配置信息备份方法、恢复方法的组合流程图。
图2为本发明路由器配置信息备份系统、恢复系统的组合结构图。
图3为本发明实施例二系统框架图。
图4为本发明通过U盘备份与恢复路由器配置信息示意图。
具体实施方式
以下是本发明的具体实施例并结合附图,对本发明的技术方案作进一步的描述,但本发明并不限于这些实施例。
实施例一
本实施例提供了一种路由器配置信息备份方法以及一种路由器配置信息恢复方法,如图1、图2以及图4所示:
本路由器配置信息备份方法以及恢复方法包括步骤:
S1:判断是否有U盘接入;
S2:若有U盘接入,判断是否接收到重置指令;
S3:若接收到重置指令,读取U盘并判断U盘内是否有配置信息压缩包;
S4:若U盘内无配置信息压缩包,提取配置信息,并将该配置信息备份到所述U盘内;
S5:若U盘内有配置信息压缩包,读取并解压所述配置信息压缩包;
S6:判断所述配置信息对应的路由器型号是否匹配;
S7:若所述配置信息对应的路由器型号匹配,则恢复该配置信息;
S8:恢复完配置信息后,删除配置信息压缩包并重新启动。
U盘,全称为USB闪存盘,它是一种使用USB接口的无需物理驱动器的微型高容量移动存储产品,通过USB接口与电脑或者其他设备连接,实现即插即用的功能。
路由器又称路径器,是一种计算机网络设备,它能将数据包通过一个个网络传送至目的地(选择数据的传输路径),这个过程称为路由。路由器通常在一个非易失性存储器存储路由器的当前配置参数。所述配置信息生成单元获取所述的配置参数,并且将配置参数以及对应的时间值所组成的路由器配置信息。
步骤S1中,判断是否有U盘接入具体为判断U盘是否插入路由器的预设接口内,若U盘插入路由器的预设接口内,进行步骤S2。
步骤S2中,判断是否接收到重置指令;具体包括步骤:
S21:判断设置在路由器上的重置键是否有预设动作;
S22:若所述重置键有预设动作,则判断为接收到重置指令。
本实施例中在路由器上的重置键的预设动作可以为按两下重置键按键,若监测到重置键上有按两下,则判断为接收到重置指令。
并且接收到重置指令后,本实施例中的路由器即打开配置信息配置过程提示模块。本实施例中的配置信息配置过程提示模块为设置在路由器上的LED 灯进行闪烁。即接收到重置指令后,设置在路由器上的LED灯开始闪烁,提示用户备份配置开始。
备份开始后,所述路由器读取插入该路由器的U盘,并判断U盘内是否有配置信息压缩包,若所述U盘内无配置信息压缩包,则提取该路由器的配置信息,并将该路由器的配置信息备份到所述U盘内。
上述备份过程中,具体包括,若判断出所述U盘内无配置信息压缩包,则提取该路由器的配置信息,并将该路由器的配置信息进行压缩打包,形成配置信息压缩包,将所述配置信息压缩包拷贝到所述插入路由器的U盘内,从而完成备份。
在上述备份过程中,设置在路由器上的配置信息配置过程提示模块,即LED灯,一直在闪烁,配置完成后,所述LED灯停止闪烁。
本实施例提供了一种路由器配置信息备份方法,用户无需登陆路由器页面即可实现路由器备份动作,即通过使用U盘和重置键按键动作配合就可以实现路由器的备份动作,且通过闪烁的LED灯提示用户所述路由器正在进行备份动作,以及提示用户备份完成。
步骤S5中,当路由器判断所述U盘内有配置信息压缩包后即可以通过U盘对所述路由器进行配置信息恢复动作。
首先读取U盘内的配置信息压缩包,将所述配置信息压缩包拷贝到路由器内,然后将所述配置信息压缩包进行解压得到所述配置信息。
所述路由器,将所述解压的配置信息的路由器的型号进行匹配,判断所述U盘内的配置信息的路由器型号是否和路由器的型号匹配;
若所述解压的配置信息的路由器的型号与所述路由器型号不匹配,则停止该路由器的配置信息恢复动作,并设置在路由器上的LED灯,停止闪烁。
若所述解压的配置信息的路由器的型号与所述路由器型号匹配,则继续该路由器配置信息的恢复动作;即将该解压后的配置信息对所述路由器进行配置信息恢复。
当所述路由器配置信息恢复完成后,该设置在路由器上的LED提示灯停止闪烁,提示用户所述配置信息备份恢复完成。
当所述路由器配置信息恢复完成后,该路由器删除读取的所述U盘内的 配置信息压缩包,清除内存并且重新启动,从而终止该路由器之前的配置信息的运行版本,让新的配置信息被操作系统加载,从而该路由器运行恢复的配置信息。
本实施例提供了一种路由器配置信息恢复方法,用户无需登陆路由器页面即可实现路由器配置信息恢复动作,即通过使用U盘和重置键按键动作配合就可以实现路由器的配置信息恢复动作,且通过闪烁的LED灯提示用户所述路由器正在进行配置信息恢复动作,以及提示用户配置信息恢复完成。
如图2本发明路由器配置信息备份系统、恢复系统的组合结构图所示,包括:
判断接入模块,用于判断是否有U盘接入,并将判断得出的U盘接入信号发送至接收指令模块以及接收判断配置信息模块,并进入配置信息准备阶段;
接收指令模块,用于确定好U盘插入路由器后,判断是否接收到重置指令;
本实施例中的重置指令为用户按照预设的动作按压设置在路由器上的重置键,当用户按照预设的动作按压设置在路由器上的重置键后,设置在路由器上的配置信息配置过程提示模块会进行路由器配置信息备份或者恢复提示,本实施例中提供的是一种会闪烁的LED提示灯,即当判断接收到重置指令后,设置在路由器上的LED灯会进行闪烁。
判断配置信息模块,用于接收重置指令,并判断U盘内是否有配置信息压缩包;
该判断配置信息模块,通过读取U盘内的信息,进行筛选判断所述U盘内是否有配置信息压缩包,并将判断的所述U盘内是否含有配置信息压缩包的结果发送至备份模块。
备份模块,用于接收判断配置信息模块判断的U盘内是否含有配置信息压缩包的结果,若判断出所述U盘内含有配置信息压缩包,则所述路由器,提取路由器自带的配置信息,并将该配置信息备份到所述U盘内;
即完成路由器配置信息在U盘内的备份,备份完成后,设置在路由器上的配置信息配置过程提示模块即包括的LED灯停止闪烁,提示用户配置信息 完成备份动作。
本实施例提供了一种路由器配置信息备份系统,根据判断接入模块,判断U盘是否接入;根据接收指令模块判断用户是否输入重置指令;根据判断配置信息模块判断所述U盘内是否有配置信息压缩包;根据备份模块,在U盘内无配置信息压缩包时进行配置信息备份。该系统实现了无需登陆页面,通过U盘和重置指令即可完成路由器配置信息备份的动作,方便快捷、简单,提高了用户操作体验。
本实施例中还包括一种路由器配置信息恢复系统,除了包括上述判断接入模块;接收指令模块;判断配置信息模块,本路由器配置信息恢复系统还包括以下:
读取解压模块,用于接收判断配置信息模块发送的判断所述U盘内是否有配置信息的信息,当确定所述U盘内包含有配置信息压缩包时,所述读取解压模块,读取U盘内的配置信息,并解压所述U盘内的配置信息压缩包至路由器内;
匹配模块,用于判断所述配置信息对应的路由器型号是否匹配;
根据匹配模块确定配置信息对应的路由器型号匹配后,能够准确将对应的路由器型号的配置信息恢复到路由器中,提高的恢复配置信息的准确性。
恢复模块,用于当匹配模块得出所述配置信息对应的路由器型号与该路由器型号匹配时,恢复该配置信息至所述路由器。
本实施例提供了一种路由器配置信息恢复系统,根据判断接入模块,判断U盘是否接入;根据接收指令模块判断用户是否输入重置指令;根据判断配置信息模块判断所述U盘内是否有配置信息压缩包;根据读取解压模块,读取U盘内的配置信息,并解压所述U盘内的配置信息压缩包至路由器内;根据匹配模块,判断出所述配置信息对应的路由器型号是否匹配;根据恢复模块,恢复该配置信息至所述路由器。该系统实现了无需登陆页面,通过U盘和重置指令即可完成路由器配置信息恢复的动作,方便快捷、简单。
实施例二
本实施例提供了一种路由器配置信息备份以及恢复的组合系统,如图3和图4所示,相比实施例一所示,本实施例在实施例一的基础上细化了其中的 一些模块,具体包括:
所述一种路由器配置信息备份系统中的备份模块,还包括:
打包模块,用于将配置信息打包成配置信息压缩包;
备份压缩包模块,用于将配置信息压缩包备份至所述U盘内。
本实施例能够将所述路由器内的配置信息进行压缩打包,形成配置信息压缩包,通过备份压缩包模块将所述配置信息压缩包备份至所述U盘内。本实施例通过对配置信息进行压缩,能够使原本文件体积大幅度减少,减少了传输时间;避免了在路由器和U盘传输文件过程中被病毒感染,增加了数据的安全性,方便;并且在需要传输多个文件时,压缩后只需要传输一个,提高了传输效率。
所述一种路由器配置信息备份系统中的恢复模块,还包括:
删除模块,用于删除读取的所述配置信息压缩包;
重新启动模块,用于删除读取的所述配置信息压缩包后,进行重新启动。
本实施例中,所述删除模块,在所述路由器配置信息恢复完成后,删除所述路由器读取的U盘的配置信息压缩包,并触发重新启动模块,对所述路由器进行重新启动。本实施例通过删除模块,删除所述配置信息压缩包,增加了路由器的储存空间,并重新启动,从而终止该路由器之前的配置信息的运行版本,让新的配置信息被操作系统加载,从而该路由器运行恢复的配置信息,在无需登陆路由器即可实现路由器的配置的备份与恢复动作的基础上,增加了打包模块和删除模块以及重新启动模块,提高了路由器通过U盘备份和恢复的传输效率,提高了用户的体验。
本文中所描述的具体实施例仅仅是对本发明精神作举例说明。本发明所属技术领域的技术人员可以对所描述的具体实施例做各种各样的修改或补充或采用类似的方式替代,但并不会偏离本发明的精神或者超越所附权利要求书所定义的范围。

Claims (10)

  1. 一种路由器配置信息备份方法,其特征在于,包括步骤:
    S1:判断是否有U盘接入;
    S2:若有U盘接入,判断是否接收到重置指令;
    S3:若接收到重置指令,读取U盘并判断U盘内是否有配置信息压缩包;
    S4:若U盘内无配置信息压缩包,提取配置信息,并将该配置信息备份到所述U盘内。
  2. 根据权利要求1所述的一种路由器配置信息备份方法,其特征在于,所述步骤S2包括:
    S21:判断设置在路由器上的重置键是否有预设动作;
    S22:若所述重置键有预设动作,则判断为接收到重置指令。
  3. 根据权利要求2所述的一种路由器配置信息备份方法,其特征在于:接收到重置指令后,打开配置信息配置过程提示模块。
  4. 根据权利要求3所述的一种路由器配置信息备份方法,其特征在于,所述步骤S4包括:
    S41:若U盘内无配置信息压缩包,提取配置信息;
    S42:将配置信息打包成配置信息压缩包;
    S43:将配置信息压缩包备份到所述U盘内;
    S44:配置信息压缩包备份完成后,关闭所述配置过程提示模块。
  5. 一种路由器配置信息恢复方法,基于权利要求1-4任一项所述一种路由器配置信息备份方法,其特征在于,于步骤S4后还包括:
    S5:若U盘内有配置信息压缩包,读取并解压所述配置信息压缩包;
    S6:判断所述配置信息对应的路由器型号是否匹配;
    S7:若所述配置信息对应的路由器型号匹配,则恢复该配置信息;
    S8:恢复完配置信息后,删除配置信息压缩包并重新启动。
  6. 根据权利要求5所述的一种路由器配置信息恢复方法,其特征在于,所述步骤S7包括:
    若所述配置信息对应的路由器型号不匹配,则停止恢复配置信息,关闭所述配置过程提示器模块。
  7. 一种路由器配置信息备份系统,其特征在于,包括:
    判断接入模块,用于判断是否有U盘接入;
    接收指令模块,用于判断是否接收到重置指令;
    判断配置信息模块,用于判断U盘内是否有配置信息压缩包;
    备份模块,用于提取配置信息,并将该配置信息备份到所述U盘内。
  8. 根据权利要求7所述的一种路由器配置信息备份系统,其特征在于,所述备份模块包括:
    打包模块,用于将配置信息打包成配置信息压缩包;
    备份压缩包模块,用于将配置信息压缩包备份至所述U盘内。
  9. 一种路由器配置信息恢复系统,基于如权利要求7至8任一项所述的一种路由器配置信息备份系统,其特征在于,包括:
    读取解压模块,用于读取并解压所述U盘内的配置信息压缩包;
    匹配模块,用于判断所述配置信息对应的路由器型号是否匹配;
    恢复模块,用于当所述配置信息对应的路由器型号匹配,恢复该配置信息。
  10. 根据权利要求9所述的一种路由器配置信息恢复系统,其特征在于,所述恢复模块包括:
    删除模块,用于删除读取的所述配置信息压缩包;
    重新启动模块,用于删除读取的所述配置信息压缩包后,进行重新启动。
PCT/CN2017/116428 2017-08-04 2017-12-15 一种路由器配置信息备份方法及系统、恢复方法及系统 WO2019024385A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710661301.2A CN107566158A (zh) 2017-08-04 2017-08-04 一种路由器配置信息备份方法及系统、恢复方法及系统
CN201710661301.2 2017-08-04

Publications (1)

Publication Number Publication Date
WO2019024385A1 true WO2019024385A1 (zh) 2019-02-07

Family

ID=60973963

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/116428 WO2019024385A1 (zh) 2017-08-04 2017-12-15 一种路由器配置信息备份方法及系统、恢复方法及系统

Country Status (2)

Country Link
CN (1) CN107566158A (zh)
WO (1) WO2019024385A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020206587A1 (en) * 2019-04-08 2020-10-15 Arris Enterprises Llc Device reset function supporting backup and restore of certain settings
CN110417582B (zh) * 2019-07-03 2021-01-29 华为技术有限公司 一种路由器配置方法、终端及路由器
CN115116169B (zh) * 2022-08-29 2023-01-06 深圳市海清视讯科技有限公司 设备控制方法、装置、设备及存储介质

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101183312A (zh) * 2007-12-12 2008-05-21 中兴通讯股份有限公司 终端通过接入usb存储设备实现版本升级及备份的方法
CN101771804A (zh) * 2008-12-29 2010-07-07 深圳市同洲电子股份有限公司 一种数字电视接收终端软件系统的备份还原方法
CN106793012A (zh) * 2017-01-20 2017-05-31 烽火通信科技股份有限公司 一种家庭网关设备中实现wifi配置管理的方法

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101183312A (zh) * 2007-12-12 2008-05-21 中兴通讯股份有限公司 终端通过接入usb存储设备实现版本升级及备份的方法
CN101771804A (zh) * 2008-12-29 2010-07-07 深圳市同洲电子股份有限公司 一种数字电视接收终端软件系统的备份还原方法
CN106793012A (zh) * 2017-01-20 2017-05-31 烽火通信科技股份有限公司 一种家庭网关设备中实现wifi配置管理的方法

Also Published As

Publication number Publication date
CN107566158A (zh) 2018-01-09

Similar Documents

Publication Publication Date Title
CN107220142B (zh) 执行数据恢复操作的方法及装置
CN110716895A (zh) 目标数据归档方法、装置、计算机设备及介质
WO2019024385A1 (zh) 一种路由器配置信息备份方法及系统、恢复方法及系统
US10108501B2 (en) Terminal backup and recovery method
US10853157B2 (en) Compact binary event log generation
CN103473065A (zh) 一种可快速还原系统盘的虚拟机创建方法
CN107870968A (zh) 对文件系统卷执行实时更新
US20190199775A1 (en) Streaming zip
WO2019120048A1 (zh) 一种mp4文件的处理方法及其相关设备
WO2015081908A2 (zh) 更新参数值的方法、装置和系统
US20190227710A1 (en) Incremental data restoration method and apparatus
WO2016202000A1 (zh) 差分回退升级方法及装置
US8549239B2 (en) Network message logging and archival
CN112632007A (zh) 一种日志存储及提取方法、装置、设备及存储介质
CN114138549A (zh) 基于kubernetes系统的数据备份和恢复方法
CN107623581B (zh) 服务列表生成方法、装置及系统,获取、上报方法及装置
US20170039259A1 (en) Method and Apparatus for Implementing Storage of File in IP Disk
US10157103B2 (en) Efficient processing of file system objects for image level backups
CN110489277A (zh) 一种服务器备份方法、系统、装置及计算机可读存储介质
WO2016011842A1 (zh) 一种基于网页的远程设备管理方法、装置及存储介质
CN102662801B (zh) 通过即时通信工具恢复程序的方法、客户端及系统
CN114281422A (zh) 一种云电脑控制方法、装置、介质
WO2016173136A1 (zh) 一种终端应用处理方法及其装置
CN108710563B (zh) 一种应用程序日志记录方法及装置
WO2020087665A1 (zh) 一种防止文件误删的方法、装置、设备以及存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17919837

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17919837

Country of ref document: EP

Kind code of ref document: A1