A firmware upgrade method and router based on openwrt

A firmware upgrade and router technology, which is applied in the direction of instruments, electrical components, software engineering design, etc., can solve the problems of not being able to use normally, the preset commands of the router to be upgraded cannot be used, and the router to be upgraded cannot be used, etc.

Active Publication Date: 2021-04-09
台州市吉吉知识产权运营有限公司
View PDF4 Cites 0 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
  • A firmware upgrade method and router based on openwrt
  • A firmware upgrade method and router based on openwrt
  • A firmware upgrade method and router based on openwrt

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 also 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] OpenW...

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 present invention provides a firmware upgrade method based on openwrt and a router, the method comprising: S100 runs a preset upgrade script, and the preset upgrade script starts to create a ramfs file system in RAM; S200 generates a preset path and a ramfs file system in the ramfs file system Soft link; the preset path is the path to call the target firmware file from ROM; the soft link is the link address of the preset command; S300 erases Flash, and writes the target firmware file to Flash according to the preset path; S400 calls it in the ramfs file system The soft link performs a restart operation to complete the upgrade of the target firmware. The present invention avoids the problem that the device crashes and turns into a brick and cannot be restarted due to Flash destruction conflicts during the device upgrade process, greatly improves the stability of the upgrade, and makes the upgrade of the router to be upgraded 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 Patents(China)
IPC IPC(8): H04L12/24H04L12/771G06F8/654H04L45/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