CN106209656A - Router upgrade system, method and router - Google Patents
Router upgrade system, method and router Download PDFInfo
- Publication number
- CN106209656A CN106209656A CN201610608294.5A CN201610608294A CN106209656A CN 106209656 A CN106209656 A CN 106209656A CN 201610608294 A CN201610608294 A CN 201610608294A CN 106209656 A CN106209656 A CN 106209656A
- Authority
- CN
- China
- Prior art keywords
- upgrading
- router
- prompting message
- upgrade
- user
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/56—Routing software
- H04L45/563—Software download or update
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
Abstract
The present invention proposes a kind of router upgrade system, method and router, and upgrade-system includes: server, in order to push upgrade information;Router, including: communication module, in order to receive upgrade information;Application module, in order to process upgrade information to generate upgrading prompting configuration file, upgrading is reminded in configuration file containing upgrading prompting message;Kernel module, in order to be injected into upgrading prompting message in user to access pages;Client, shows in user to access pages in the client that upgrading is reminded, to remind customer router to need upgrading.In the present invention, server push upgrade information, upgrade information is then processed by router, upgrading prompting message can be obtained, and upgrading prompting message is injected in user to access pages, thus user to access pages in the client carries out upgrading and reminds display so that user is not required to log in router, also can learn that router has new version to need to update in time, improve real-time.
Description
Technical field
The present invention relates to electricity and the communications field, particularly relate to a kind of router upgrade system, method and router.
Background technology
Router, is to connect each LAN, the equipment of wide area network in the Internet, and it can automatically select according to the situation of channel
It route with setting, with optimal path, send signal by tandem.Router is the hinge of internet, " traffic-police ".Mesh
Front router has been widely used for all trades and professions, and the product of various different class has become and realizes connecting inside various backbone network
Connect, the main force of key internetworking and backbone network and internet interconnection business.
Router, also known as gateway device, is for connecting multiple logically separate network, and so-called logic network is to represent
One single network or a subnet.When data are transferred to another subnet from a subnet, can be by router
Routing function completes.Therefore, router has the function judging the network address with selecting IP path, and it can interconnect at Multi net voting
In environment, setting up and connect flexibly, available diverse packet and media access method connect various subnets, router
Only accept the information of source station or other routers, belong to a kind of InterWorking Equipment of Internet.
For router, usual software has renewal, because new software version often has reparation BUG, increases New function
More renewing the various changes such as UI, these changes are beyond doubt in order to provide the user with preferably experience, or preferably embody manufacturer
Culture.
But, for the general user of router, it is generally only when beginning to use router, configures the most basic online
Function, afterwards, may seldom go to log in router, and when there being new software version to occur, user does not know.
At present, the most actively there is new software version to occur with prompting user to user reminding and can carry out router liter
Level, is only just appreciated that new software when user signs in the router page or passes through mobile phone A PP management router
Version, this does not the most possess real-time and initiative.
Summary of the invention
In view of above-mentioned, it is necessary to carry for the problem not possessing real-time and initiative existing for the upgrading of existing route device
Go out a kind of router upgrade system, method and router.
The one side of present aspect proposes a kind of router upgrade system, including:
Server, in order to push upgrade information;
Router, including:
Communication module, in order to receive described upgrade information;
Application module, in order to process described upgrade information to generate upgrading prompting configuration file, described upgrading carries
Containing upgrading prompting message in awake configuration file;
Kernel module, in order to be injected into described upgrading prompting message in user to access pages;
Client, shows in the user to access pages in described client that upgrading is reminded, and route described in user to remind
Device needs upgrading.
In one embodiment, perform in described application module:
Resolve described upgrade information to obtain described upgrading prompting message;
Described upgrading prompting message is preserved and reminds configuration literary composition to schemeupgrade configuration file to generate described upgrading
Part;And
The described upgrading prompting message in configuration file is reminded to send to described kernel mould described upgrading by NETLINK
Block.
In one embodiment, perform in described kernel module:
Kernel module initializes;
Create NETLINK socket, in order to open the described upgrading prompting message of injection;
Hook Function is registered at POST_ROUTING chain;
HTTP request data bag, reply data bag are processed by Hook Function, and insert in HTTP reply data bag
The JS script of described upgrading prompting message, and start intervalometer;And
Calculate " checksum " value of TCP to reach the amendment to HTTP packet.
In one embodiment, when selecting according in described upgrading prompting message user to access pages in described client
When selecting upgrading, then described router is upgraded.
Another aspect of the present invention proposes the router of a kind of router upgrade system used described in any of the above-described item
Upgrade method, including:
Described server push upgrade information;
Described communication module receives described upgrade information;
Described upgrade information is processed to generate upgrading prompting configuration file by described application module, and described upgrading is reminded
Containing upgrading prompting message in configuration file;
Described upgrading prompting message is injected in user to access pages by described kernel module;And
User to access pages in described client showing, upgrading is reminded, rises to remind router described in user to need
Level.
In one embodiment, perform in described application module:
Resolve described upgrade information to obtain described upgrading prompting message;
Described upgrading prompting message is preserved and reminds configuration literary composition to schemeupgrade configuration file to generate described upgrading
Part;And
The described upgrading prompting message in configuration file is reminded to send to described kernel mould described upgrading by NETLINK
Block.
In one embodiment, perform in described kernel module:
Kernel module initializes;
Create NETLINK socket, in order to open the described upgrading prompting message of injection;
Hook Function is registered at POST_ROUTING chain;
HTTP request data bag, reply data bag are processed by Hook Function, and insert in HTTP reply data bag
The JS script of described upgrading prompting message, and start intervalometer;And
Calculate " checksum " value of TCP to reach the amendment to HTTP packet.
In one embodiment, when selecting according in described upgrading prompting message user to access pages in described client
When selecting upgrading, then described router is upgraded.
Another aspect of the invention proposes a kind of router, including:
Communication module, in order to receive the upgrade information that server is sent;
Application module, in order to process described upgrade information to generate upgrading prompting configuration file, described upgrading carries
Containing upgrading prompting message in awake configuration file;
Kernel module, in order to be injected into described upgrading prompting message in user to access pages, to remind road described in user
Upgrading is needed by device.
In one embodiment, perform in described application module:
Resolve described upgrade information to obtain described upgrading prompting message;
Described upgrading prompting message is preserved and reminds configuration literary composition to schemeupgrade configuration file to generate described upgrading
Part;And
The described upgrading prompting message in configuration file is reminded to send to described kernel mould described upgrading by NETLINK
Block.
In one embodiment, perform in described kernel module:
Kernel module initializes;
Create NETLINK socket, in order to open the described upgrading prompting message of injection;
Hook Function is registered at POST_ROUTING chain;
HTTP request data bag, reply data bag are processed by Hook Function, and insert in HTTP reply data bag
The JS script of described upgrading prompting message, and start intervalometer;And
Calculate " checksum " value of TCP to reach the amendment to HTTP packet.
In one embodiment, when selecting according in described upgrading prompting message user to access pages in described client
When selecting upgrading, then described router is upgraded.
To sum up, router upgrade system, method and router proposed by the invention, server can be upgraded with active push
Information, upgrade information then can be processed by router, can obtain upgrading prompting message after treatment, and can will upgrade
Prompting message is injected in user to access pages, reminds aobvious such that it is able to carry out upgrading in user to access pages in the client
Show so that user be not required to log in router, also can learn in time router have new version need update, improve real-time with
Initiative.
Accompanying drawing explanation
Fig. 1 depicts the structural representation of the router upgrade system of one embodiment of the present invention;
Fig. 2 depicts the interface schematic diagram that display upgrading is reminded;And
Fig. 3 depicts the flow chart of the router upgrade method of another embodiment of the present invention.
Detailed description of the invention
In order to make relevant technical staff in the field be more fully understood that technical scheme, real below in conjunction with the present invention
Execute the accompanying drawing of mode, the technical scheme in embodiment of the present invention is clearly and completely described, it is clear that described reality
The mode of executing is only a part of embodiment of the present invention rather than whole embodiments.
The structural representation of the router upgrade system of one embodiment of the present invention is depicted with reference to Fig. 1, Fig. 1.
As it is shown in figure 1, upgrade-system 100 includes server 110, router 120 and client 130, wherein, router
120 include communication module 121, application module 122 and kernel module 123.
Server 110, in order to push upgrade information, in one embodiment, the message format of upgrade information such as table one:
Table one
It should be noted that, for the message format of upgrade information, be not limited to this, in other embodiments, Ke Yizeng
Add or adjust field, such as, input field, issuing time (pubTime) can be increased.
Communication module 121, in order to receive upgrade information, can be WAN mouth here, now, then can pass through router 120
WAN mouth receive upgrade information.
Application module 122, in order to process upgrade information to generate upgrading prompting configuration file, configuration is reminded in upgrading
Containing upgrading prompting message in file.
Here application module 122, refers to application layer, about the process to upgrade information, in one embodiment, Ke Yi
Application module 122 performs as follows:
1) resolve upgrade information to obtain upgrading prompting message, specifically, by sending to server 110
Also have upgrade information data be decrypted, extract again after deciphering, so that it may obtain a series of upgrading prompting message, than
As, can get software version number (softwareVer), Description of ××× (Release name) (verDescribe), issuing time (pubTime),
Repetition time/timing cycle (repeatTime) etc..
2) upgrading prompting message preservation is reminded configuration file to schemeupgrade configuration file to generate upgrading,
In one embodiment, by uci mode, upgrading prompting message can be saved in " schemeupgrade " configuration file.
3) the upgrading prompting message in configuration file is reminded to send to kernel module upgrading by NETLINK, i.e. permissible
By NETLINK mode, upgrading prompting message is sent to kernel module 123.
Kernel module 123, in order to be injected into upgrading prompting message in user to access pages.
Here kernel module 123, refers to operating system nucleus, accesses page in order to upgrading prompting message is injected into user
In face, in one embodiment, can perform in kernel module 123 as follows:
1) kernel module initializes.
2) create NETLINK socket, in order to open injection upgrading prompting message, i.e. can be used to be turned on and off injecting
Upgrading prompting message.
3) Hook Function is registered at POST_ROUTING chain.
4) HTTP request bag, response bag are processed by Hook Function, and insert upgrading prompting letter in HTTP response bag
The JS script of breath, and start intervalometer;
For HTTP request data bag, primary operational is to be " Accept:*/* by the content modification of ACCEPT field;Q=
, and delete " TE ", " Upgrade " and " Accept-Encoding " field in HTTP message head 0 ".
For HTTP reply data bag, a treated length is more than 100, and conditional code is 200,402,404,500 and
" Content-type " is the packet of " text/html " type, and " Content-Encoding " field value is not " gzip "
And " deflate ", " Via " field value is not " Bright ", does not has " identity " value in heading.Delete HTTP the most successively
" Server " in Tou, " X-Cache ", " X-Cache-Lookup ", " X-Cache-Hits ", " Via ", " X-Via ", " X-
CAChe-LookuP ", " X-Cache-Hits ", " X-", " Etag ", " Age ", " Vary ", " Accept-Ranges ",
" Connection ", " Pragma ", " Cache-Control ", " Last-Modified " field attempts inserting below at<head>
Containing the JS script of upgrading prompting message, after inserting successfully, recalculate " Content-Length " and " chunked " length, and
Now start inner core timer, calculate according to timing cycle and upgrade the time reminded next time.
5) " checksum " value of TCP is calculated to reach the amendment to HTTP packet.
Client 130, shows in user to access pages in the client that upgrading is reminded, to remind customer router needs
Upgrading, user to access pages, refer to any accession page accessed on browser, client 130 here, can be to calculate
Machine, it is also possible to mobile terminal, such as mobile phone, panel computer etc..
Owing to, in router 120, HTTP packet is modified by kernel module 123 so that in client 130
Accession page can show that upgrading is reminded.
The interface schematic diagram that display upgrading is reminded is depicted with reference to Fig. 2, Fig. 2.
As in figure 2 it is shown, in client 130, user is currently in use browser, now, user is without logging into router 120
Go to check whether router 120 has redaction to need upgrading, but directly can remind on the current accessed page of browser
Customer router 120 needs upgrading, such as, display reminding language " this upgrading of router software ", it is possible to show the softest
The information such as part version, recent software version, update content (i.e. the description of recent software version), it is, of course, also possible to show other
The issuing time of information, such as recent software version and the next reminder time of prompting upgrading, i.e. upgrading prompting message is adjustable
Whole, do not limit.
In present embodiment, when selecting upgrading according in upgrading prompting message user to access pages in client 130
Time, then router is upgraded, such as, in fig. 2, click on upgrade button, the most scalable, specifically, can be turning initially to
Router log-in interface, after logging in successfully, then downloads firmware and upgrades.Certainly, user can also be according to the closedown in the upper right corner
Key directly turns off prompting.
In present embodiment, server 110, can with active push upgrade information, router 120 to upgrade information at
Upgrading prompting message can be obtained after reason, and upgrading prompting message can be injected in user to access pages, such that it is able to
User to access pages in client 130 is carried out upgrading remind display so that user be not required to log in router 120, also can and
Shi get Zhi router 120 has new version to need to update, and improves real-time and initiative.
The flow chart of the router upgrade method of another embodiment of the present invention is depicted with reference to Fig. 3, Fig. 3.
Below in conjunction with Fig. 1, Fig. 2, Fig. 3, present embodiment is described in detail, specific as follows:
First, in step S310, server 110 pushes upgrade information.
Then, in step s 320, communication module 121 receives upgrade information.
Afterwards, in step S330, upgrade information is processed to generate upgrading prompting configuration literary composition by application module 122
Part, upgrading is reminded in configuration file containing upgrading prompting message.
About the process to upgrade information, in one embodiment, can perform in application module 122 as follows:
1) resolve upgrade information to obtain upgrading prompting message, specifically, by sending to server 110
Also have upgrade information data be decrypted, extract again after deciphering, so that it may obtain a series of upgrading prompting message, than
As, can get software version number (softwareVer), Description of ××× (Release name) (verDescribe), issuing time (pubTime),
Repetition time/timing cycle (repeatTime) etc..
2) upgrading prompting message preservation is reminded configuration file to schemeupgrade configuration file to generate upgrading,
In one embodiment, by uci mode, upgrading prompting message can be saved in " schemeupgrade " configuration file.
3) the upgrading prompting message in configuration file is reminded to send to kernel module upgrading by NETLINK, i.e. permissible
By NETLINK mode, upgrading prompting message is sent to kernel module 123.
Then, in step S340, upgrading prompting message is injected in user to access pages by kernel module 123;And
In order to upgrading prompting message is injected in user to access pages, in one embodiment, can be at kernel module 123
Middle execution is as follows:
1) kernel module initializes.
2) create NETLINK socket, in order to open injection upgrading prompting message, i.e. can be used to be turned on and off injecting
Upgrading prompting message.
3) Hook Function is registered at POST_ROUTING chain.
4) HTTP request bag, response bag are processed by Hook Function, and insert upgrading prompting letter in HTTP response bag
The JS script of breath, and start intervalometer;
For HTTP request data bag, primary operational is to be " Accept:*/* by the content modification of ACCEPT field;Q=
, and delete " TE ", " Upgrade " and " Accept-Encoding " field in HTTP message head 0 ".
For HTTP reply data bag, a treated length is more than 100, and conditional code is 200,402,404,500 and
" Content-type " is the packet of " text/html " type, and " Content-Encoding " field value is not " gzip "
And " deflate ", " Via " field value is not " Bright ", does not has " identity " value in heading.Delete HTTP the most successively
" Server " in Tou, " X-Cache ", " X-Cache-Lookup ", " X-Cache-Hits ", " Via ", " X-Via ", " X-
CAChe-LookuP ", " X-Cache-Hits ", " X-", " Etag ", " Age ", " Vary ", " Accept-Ranges ",
" Connection ", " Pragma ", " Cache-Control ", " Last-Modified " field attempts inserting below at<head>
Containing the JS script of upgrading prompting message, after inserting successfully, recalculate " Content-Length " and " chunked " length, and
Now start inner core timer, calculate according to timing cycle and upgrade the time reminded next time.
5) " checksum " value of TCP is calculated to reach the amendment to HTTP packet.
Then, in step S350, the user to access pages in client 130 showing, upgrading is reminded, to remind use
Family router 120 needs upgrading, and such as, upgrading shown in Fig. 2 is reminded.
In step S360, when selecting upgrading according in upgrading prompting message user to access pages in client 130
Time, then router 120 is upgraded, specifically, after logging in successfully, then can download turning initially to router log-in interface
Firmware is upgraded.
In yet, it is proposed that a kind of router, its structure router 120 as shown in Figure 1, including communication
Module 121, application module 122 and kernel module 123.
Below in conjunction with Fig. 1, Fig. 2, the router 120 in present embodiment is described in detail, specific as follows:
Communication module 121, in order to receive upgrade information, can be WAN mouth here, now, then can pass through router 120
WAN mouth receive upgrade information.
Application module 122, in order to process upgrade information to generate upgrading prompting configuration file, configuration is reminded in upgrading
Containing upgrading prompting message in file.
Here application module 122, refers to application layer, about the process to upgrade information, in one embodiment, Ke Yi
Application module 122 performs as follows:
1) resolve upgrade information to obtain upgrading prompting message, specifically, by sending to server 110
Also have upgrade information data be decrypted, extract again after deciphering, so that it may obtain a series of upgrading prompting message, than
As, can get software version number (softwareVer), Description of ××× (Release name) (verDescribe), issuing time (pubTime),
Repetition time/timing cycle (repeatTime) etc..
2) upgrading prompting message preservation is reminded configuration file to schemeupgrade configuration file to generate upgrading,
In one embodiment, by uci mode, upgrading prompting message can be saved in " schemeupgrade " configuration file.
3) the upgrading prompting message in configuration file is reminded to send to kernel module upgrading by NETLINK, i.e. permissible
By NETLINK mode, upgrading prompting message is sent to kernel module 123.
Kernel module 123, in order to be injected into upgrading prompting message in user to access pages.
Here kernel module 123, refers to operating system nucleus, accesses page in order to upgrading prompting message is injected into user
In face, in one embodiment, can perform in kernel module 123 as follows:
1) kernel module initializes.
2) create NETLINK socket, in order to open injection upgrading prompting message, i.e. can be used to be turned on and off injecting
Upgrading prompting message.
3) Hook Function is registered at POST_ROUTING chain.
4) HTTP request bag, response bag are processed by Hook Function, and insert upgrading prompting letter in HTTP response bag
The JS script of breath, and start intervalometer;
For HTTP request data bag, primary operational is to be " Accept:*/* by the content modification of ACCEPT field;Q=
, and delete " TE ", " Upgrade " and " Accept-Encoding " field in HTTP message head 0 ".
For HTTP reply data bag, a treated length is more than 100, and conditional code is 200,402,404,500 and
" Content-type " is the packet of " text/html " type, and " Content-Encoding " field value is not " gzip "
And " deflate ", " Via " field value is not " Bright ", does not has " identity " value in heading.Delete HTTP the most successively
" Server " in Tou, " X-Cache ", " X-Cache-Lookup ", " X-Cache-Hits ", " Via ", " X-Via ", " X-
CAChe-LookuP ", " X-Cache-Hits ", " X-", " Etag ", " Age ", " Vary ", " Accept-Ranges ",
" Connection ", " Pragma ", " Cache-Control ", " Last-Modified " field attempts inserting below at<head>
Containing the JS script of upgrading prompting message, after inserting successfully, recalculate " Content-Length " and " chunked " length, and
Now start inner core timer, calculate according to timing cycle and upgrade the time reminded next time.
5) " checksum " value of TCP is calculated to reach the amendment to HTTP packet.
Client 130, shows in user to access pages in the client that upgrading is reminded, to remind customer router needs
Upgrading, user to access pages, refer to any accession page accessed on browser, client 130 here, can be to calculate
Machine, it is also possible to mobile terminal, such as mobile phone, panel computer etc..
Owing to, in router 120, HTTP packet is modified by kernel module 123 so that in client 130
Accession page can show that upgrading is reminded, as shown in Figure 2.
In present embodiment, when the user to access pages in client 130 selects upgrading, then router is carried out
Upgrading, such as, in fig. 2, clicks on upgrade button, the most scalable, specifically, can step on turning initially to router log-in interface
After Lu Chenggong, then download firmware and upgrade.
To sum up, router upgrade system, method and router proposed by the invention, server can be upgraded with active push
Information, upgrade information then can be processed by router, can obtain upgrading prompting message after treatment, and can will upgrade
Prompting message is injected in user to access pages, reminds aobvious such that it is able to carry out upgrading in user to access pages in the client
Show so that user be not required to log in router, also can learn in time router have new version need update, improve real-time with
Initiative.
Below only have expressed embodiments of the present invention, it describes more concrete and detailed, but can not therefore understand
For the restriction to the scope of the claims of the present invention.It should be pointed out that, for the person of ordinary skill of the art, without departing from this
On the premise of inventive concept, it is also possible to make some deformation and improvement, these broadly fall into protection scope of the present invention.Therefore, originally
The protection domain of patent of invention should be as the criterion with claims.
Claims (10)
1. a router upgrade system, it is characterised in that including:
Server, in order to push upgrade information;
Router, including:
Communication module, in order to receive described upgrade information;
Application module, in order to process described upgrade information to generate upgrading prompting configuration file, described upgrading is reminded and is joined
Put in file containing upgrading prompting message;
Kernel module, in order to be injected into described upgrading prompting message in user to access pages;
Client, shows in the user to access pages in described client that upgrading is reminded, to remind router described in user to need
Upgrade.
Router upgrade system the most according to claim 1, it is characterised in that perform in described application module:
Resolve described upgrade information to obtain described upgrading prompting message;
Described upgrading prompting message is preserved and reminds configuration file to schemeupgrade configuration file to generate described upgrading;
And
The described upgrading prompting message in configuration file is reminded to send to described kernel module described upgrading by NETLINK.
Router upgrade system the most according to claim 2, it is characterised in that perform in described kernel module:
Kernel module initializes;
Create NETLINK socket, in order to open the described upgrading prompting message of injection;
Hook Function is registered at POST_ROUTING chain;
HTTP request data bag, reply data bag are processed by Hook Function, and insert described in HTTP reply data bag
The JS script of upgrading prompting message, and start intervalometer;And
Calculate " checksum " value of TCP to reach the amendment to HTTP packet.
4. the router upgrade method of the router upgrade system that a kind uses according to any one of right 1-3, it is characterised in that
Including:
Described server push upgrade information;
Described communication module receives described upgrade information;
Described upgrade information is processed to generate upgrading prompting configuration file by described application module, and configuration is reminded in described upgrading
Containing upgrading prompting message in file;
Described upgrading prompting message is injected in user to access pages by described kernel module;And
User to access pages in described client showing, upgrading is reminded, to remind router described in user to need upgrading.
Router upgrade method the most according to claim 4, it is characterised in that perform in described application module:
Resolve described upgrade information to obtain described upgrading prompting message;
Described upgrading prompting message is preserved and reminds configuration file to schemeupgrade configuration file to generate described upgrading;
And
The described upgrading prompting message in configuration file is reminded to send to described kernel module described upgrading by NETLINK.
Router upgrade method the most according to claim 5, it is characterised in that perform in described kernel module:
Kernel module initializes;
Create NETLINK socket, in order to open the described upgrading prompting message of injection;
Hook Function is registered at POST_ROUTING chain;
HTTP request data bag, reply data bag are processed by Hook Function, and insert described in HTTP reply data bag
The JS script of upgrading prompting message, and start intervalometer;And
Calculate " checksum " value of TCP to reach the amendment to HTTP packet.
Router upgrade method the most according to claim 6, it is characterised in that when according to described upgrading prompting message in institute
When stating selection upgrading in the user to access pages in client, then described router is upgraded.
8. a router, it is characterised in that including:
Communication module, in order to receive the upgrade information that server is sent;
Application module, in order to process described upgrade information to generate upgrading prompting configuration file, described upgrading is reminded and is joined
Put in file containing upgrading prompting message;
Kernel module, in order to be injected into described upgrading prompting message in user to access pages, to remind router described in user
Need upgrading.
Router the most according to claim 8, it is characterised in that perform in described application module:
Resolve described upgrade information to obtain described upgrading prompting message;
Described upgrading prompting message is preserved and reminds configuration file to schemeupgrade configuration file to generate described upgrading;
And
The described upgrading prompting message in configuration file is reminded to send to described kernel module described upgrading by NETLINK.
Router the most according to claim 9, it is characterised in that perform in described kernel module:
Kernel module initializes;
Create NETLINK socket, in order to open the described upgrading prompting message of injection;
Hook Function is registered at POST_ROUTING chain;
HTTP request data bag, reply data bag are processed by Hook Function, and insert described in HTTP reply data bag
The JS script of upgrading prompting message, and start intervalometer;And
Calculate " checksum " value of TCP to reach the amendment to HTTP packet.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610608294.5A CN106209656A (en) | 2016-07-29 | 2016-07-29 | Router upgrade system, method and router |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610608294.5A CN106209656A (en) | 2016-07-29 | 2016-07-29 | Router upgrade system, method and router |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106209656A true CN106209656A (en) | 2016-12-07 |
Family
ID=57495849
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610608294.5A Pending CN106209656A (en) | 2016-07-29 | 2016-07-29 | Router upgrade system, method and router |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106209656A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107291520A (en) * | 2017-08-14 | 2017-10-24 | 深圳市兆驰数码科技股份有限公司 | A kind of software automatic updating method |
CN109257291A (en) * | 2018-11-14 | 2019-01-22 | 北京馨瑞源科技有限公司 | A kind of novel intelligent router |
CN110325962A (en) * | 2017-02-27 | 2019-10-11 | 株式会社自动网络技术研究所 | Method for updating program |
CN115002096A (en) * | 2021-10-29 | 2022-09-02 | 荣耀终端有限公司 | Equipment upgrading method and system and electronic equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103024773A (en) * | 2012-12-10 | 2013-04-03 | 上海斐讯数据通信技术有限公司 | Method, management device and system for upgrading software of wireless router |
CN104301383A (en) * | 2014-09-05 | 2015-01-21 | 小米科技有限责任公司 | Upgrading method, device and upgrading equipment |
CN105099756A (en) * | 2015-06-05 | 2015-11-25 | 乐视致新电子科技(天津)有限公司 | Method and system for prompting upgrading of router |
US20160110181A1 (en) * | 2014-10-16 | 2016-04-21 | Xiaomi Inc. | Method and device for upgrading a router |
-
2016
- 2016-07-29 CN CN201610608294.5A patent/CN106209656A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103024773A (en) * | 2012-12-10 | 2013-04-03 | 上海斐讯数据通信技术有限公司 | Method, management device and system for upgrading software of wireless router |
CN104301383A (en) * | 2014-09-05 | 2015-01-21 | 小米科技有限责任公司 | Upgrading method, device and upgrading equipment |
US20160110181A1 (en) * | 2014-10-16 | 2016-04-21 | Xiaomi Inc. | Method and device for upgrading a router |
CN105099756A (en) * | 2015-06-05 | 2015-11-25 | 乐视致新电子科技(天津)有限公司 | Method and system for prompting upgrading of router |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110325962A (en) * | 2017-02-27 | 2019-10-11 | 株式会社自动网络技术研究所 | Method for updating program |
CN107291520A (en) * | 2017-08-14 | 2017-10-24 | 深圳市兆驰数码科技股份有限公司 | A kind of software automatic updating method |
CN109257291A (en) * | 2018-11-14 | 2019-01-22 | 北京馨瑞源科技有限公司 | A kind of novel intelligent router |
CN115002096A (en) * | 2021-10-29 | 2022-09-02 | 荣耀终端有限公司 | Equipment upgrading method and system and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11363452B2 (en) | Systems and methods for real-time remote control of mobile applications | |
CN106209656A (en) | Router upgrade system, method and router | |
CN102474432A (en) | Social network virtual private network | |
CN105917613B (en) | Method for upgrading software and equipment | |
CN104391687A (en) | Method and system for realizing internet APP (application) public platform of enterprise and association | |
CN106933839A (en) | A kind of method for page jump and device | |
CN103577180B (en) | Data processing method and device | |
CN109246138A (en) | Resource access method and device, VPN terminal and medium based on Virtual Private Network | |
CN108712320A (en) | Information push method and device | |
CN106605231A (en) | Accounts control | |
CN106713951A (en) | Digital media content playing transfer method and related equipment | |
CN107423446A (en) | New media based on cloud storage automates credible deployment system and method | |
JP2010523038A (en) | Internet telephone service system and internet telephone service method using user-defined soft horn | |
CN103634348A (en) | Terminal device and method for releasing information | |
CN109698974A (en) | A kind of method, apparatus, electronic equipment and the medium of display progress | |
WO2017197889A1 (en) | Keyword link method, device and system | |
CN102005001B (en) | Login method, device and system of internet bank | |
CN108737337A (en) | Equipment processing method, device, server and system | |
CN103685470B (en) | Remote control thereof and system, browser, application server based on browser | |
CN112449057A (en) | Message prompting method and device, storage medium and electronic device | |
US10404665B2 (en) | Terminal management method and system, server and terminal | |
CN103826154A (en) | Routing attribute setting method, digital television receiving terminal and routing server | |
US9374332B2 (en) | Distribution list creation and subscription | |
CN106648782A (en) | Method and apparatus for updating APK file | |
CN116886757A (en) | Method, device, storage medium, server and system for migrating stock equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20161207 |
|
WD01 | Invention patent application deemed withdrawn after publication |