Openwrt-based firmware upgrading method and router

A firmware upgrade and router technology, applied in electrical components, digital transmission systems, program control devices, etc., can solve problems such as the inability to use preset commands of the router to be upgraded, the inability to use the router to be upgraded, and the inability to stably upgrade the device. Write upgrades are safe and reliable, reduce the cost of returning to the factory for repairs or replacing new equipment, and improve the effect of upgrade security

Active Publication Date: 2018-01-09
台州市吉吉知识产权运营有限公司
View PDF4 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The current router to be upgraded directly erases the entire file system of the router to be upgraded. As a result, when the user upgrades the router, if the currently running file system is damaged, the preset commands in the router to be upgraded may become unusable. As a result, the router to be upgraded cannot be used, and the device cannot be upgraded stably, or even used normally.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Openwrt-based firmware upgrading method and router
  • Openwrt-based firmware upgrading method and router
  • Openwrt-based firmware upgrading method and router

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the specific implementation manners of the present invention will be described below with reference to the accompanying drawings. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention, and those skilled in the art can obtain other accompanying drawings based on these drawings and obtain other implementations.

[0027] In order to make the drawing concise, each drawing only schematically shows the parts related to the present invention, and they do not represent the actual structure of the product. In addition, to make the drawings concise and easy to understand, in some drawings, only one of the components having the same structure or function is schematically shown, or only one of them is marked. Herein, "a" not only means "only one", but also means "more than one".

[0028] OpenWRT is...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides an openwrt-based firmware upgrading method and a router. The method comprises the following steps: S100, running a preset upgrading script, and creating a ramfs file system in aRAM by the preset upgrading script; S200, generating a preset path and a soft link in the ramfs file system, wherein the preset path is a path of calling a target firmware file from the ROM, and thesoft link is a link address of a preset command; S300, erasing Flash, and writing the target firmware file in the Flash according to the preset path; and S400, calling the soft link in the ramfs filesystem to execute a restart operation so as to upgrade the target firmware. By adoption of the openwrt-based firmware upgrading method, the situation that the device crashes and cannot be restarted caused by Flash breakage conflict and the like in a device upgrading process, so that the upgrading stability is greatly improved, and the erasing upgrading of the to-be-upgraded router is safer and more reliable.

Description

technical field [0001] The invention relates to the field of router upgrades, in particular to an openwrt-based firmware upgrade method and a router. Background technique [0002] When we use a router, most of us may not realize that this device that distributes the network signal to each computer actually has software running on it. On the router, we call it firmware. When there is a problem with the user's equipment, especially when there is a more complicated problem that cannot be repaired by restoring the factory settings, it is neither economical, convenient, nor suitable for maintenance to replace the hardware and equipment at this time, as long as it is not the hardware. The best way at this time is to flash the machine (also known as flashing the firmware). Reinstalling or upgrading the firmware of the router through the upgrade function in the router management interface can greatly improve the overall performance of the router. [0003] The current router to be u...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): H04L12/24H04L12/771G06F9/445H04L45/60
Inventor 王成长
Owner 台州市吉吉知识产权运营有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products