CN105897421A - Router offline upgrading method and system - Google Patents

Router offline upgrading method and system Download PDF

Info

Publication number
CN105897421A
CN105897421A CN201510790490.4A CN201510790490A CN105897421A CN 105897421 A CN105897421 A CN 105897421A CN 201510790490 A CN201510790490 A CN 201510790490A CN 105897421 A CN105897421 A CN 105897421A
Authority
CN
China
Prior art keywords
checking information
router
check code
upgrading
checking
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
Application number
CN201510790490.4A
Other languages
Chinese (zh)
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.)
Leshi Zhixin Electronic Technology Tianjin Co Ltd
Original Assignee
Leshi Zhixin Electronic Technology Tianjin 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 Leshi Zhixin Electronic Technology Tianjin Co Ltd filed Critical Leshi Zhixin Electronic Technology Tianjin Co Ltd
Priority to CN201510790490.4A priority Critical patent/CN105897421A/en
Publication of CN105897421A publication Critical patent/CN105897421A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3247Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving digital signatures
    • H04L9/3249Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving digital signatures using RSA or related signature schemes, e.g. Rabin scheme
    • 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/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/06Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols the encryption apparatus using shift registers or memories for block-wise or stream coding, e.g. DES systems or RC4; Hash functions; Pseudorandom sequence generators
    • H04L9/0643Hash functions, e.g. MD5, SHA, HMAC or f9 MAC

Abstract

The invention discloses a router offline upgrading method and a system used for router offline upgrading. An upgrading authentication mechanism is set in a router. An uploaded router offline upgrading package is received and stored. The router offline upgrading package carries authentication information. The upgrading authentication mechanism authenticates the authentication information. If authentication is passed, the router offline upgrading package carries out offline upgrading on the router. The invention provides the technical scheme of router offline upgrading.

Description

Method and system for router drop off-line upgrading
Technical field
The present invention relates to electronic information technology, upgrade for router drop off-line more particularly, to one Method, a kind of for router drop off-line upgrading system.
Background technology
Router the most on the market has to rely on network can complete upgrading, because router needs Go to download local to router and to router the server end of AKU by network and carry out verification Updating operation can be carried out, say, that router only has online upgrading function.Due to online upgrading Depending critically upon network, once do not have network, router can only forever rest on current version, then Some problems that router current version exists cannot be solved timely, some new routes Device New function can not be applied timely by user, has had a strong impact on Consumer's Experience.
Summary of the invention
It is an object of the present invention to provide the new solution of a kind of router drop off-line upgrading.
According to the first aspect of the invention, it is provided that a kind of method for router drop off-line upgrading, bag Include following steps: upgrading authentication mechanism is set in the router;Receive and store the router uploaded from Line AKU, carries checking information in described router drop off-line AKU;Described upgrading authentication mechanism Described checking information is verified, if by checking, with described router drop off-line AKU to institute State router and carry out upgraded in offline.
Preferably, described checking information includes: product identification, firmware version, producer identification, state Family mark, language identification, firmware size, MD5 check code, RSA signature PKI.
Preferably, described upgrading authentication mechanism carries out checking to described checking information and includes, checking is described Whether the every content in checking information meets pre-defined rule, if do not met, not by checking.
Preferably, described checking information is verified and is also included by described upgrading authentication mechanism, if institute The every content stated in checking information meets pre-defined rule, selects mechanism from described according to set in advance Checking information selects partial information carry out MD5 verification and obtain MD5 check code, verification is obtained MD5 check code in MD5 check code and described checking information mates, if mating unsuccessful The most not by checking.
Preferably, described checking information is verified and is also included by described upgrading authentication mechanism, if school The match is successful to test the MD5 check code in the MD5 check code of acquirement and described checking information, then use institute MD5 check code in described checking information is signed by the RSA signature PKI stated in checking information, If sign by; by checking.
According to the second aspect of the invention, additionally provide a kind of system for router drop off-line upgrading, Including with lower module: receiver module, for receiving the router drop off-line AKU uploaded, described route Device upgraded in offline bag carries checking information;Memory module, the router drop off-line uploaded for storage AKU;Upgrading authentication mechanism module, for verifying described checking information, if by testing Card then carries out upgraded in offline with described router drop off-line AKU to described router.
Preferably, described checking information includes: product identification, firmware version, producer identification, state Family mark, language identification, firmware size, MD5 check code, RSA signature PKI.
Preferably, described upgrading authentication mechanism module includes pre-defined rule authentication module;Described pre-set pattern Then authentication module, for verifying whether the every content in described checking information meets pre-defined rule, as Fruit does not meets the most not by checking.
Preferably, described upgrading authentication mechanism module also includes MD5 authentication module;Described MD5 tests Card module, if the every content in described checking information meets pre-defined rule, according to setting in advance Fixed selection mechanism selects partial information to carry out MD5 verification from described checking information and obtains MD5 school Testing code, the MD5 check code in the MD5 check code obtaining verification and described checking information is carried out Join, if mating unsuccessful, not by checking.
Preferably, described upgrading authentication mechanism module also includes RSA signature authentication module;Described RSA Signature verification module, if the MD5 in the MD5 check code and described checking information of verification acquirement The match is successful for check code, then with the RSA signature PKI in described checking information in described checking information MD5 check code sign, if signature by; by checking.
The invention provides the technical scheme of router drop off-line upgrading, the technology that the present invention is to be realized is appointed Business or the those skilled in the art of technical problem is that to be solved never expect or it is not expected that , therefore the present invention is a kind of new technical scheme.
By detailed description to the exemplary embodiment of the present invention referring to the drawings, its of the present invention Its feature and advantage thereof will be made apparent from.
Accompanying drawing explanation
Combined in the description and the accompanying drawing of the part that constitutes description shows the reality of the present invention Execute example, and together with its explanation for explaining the principle of the present invention.
Fig. 1 is the flow chart of the method for router drop off-line upgrading that the embodiment of the present invention provides.
Fig. 2 is the stream that upgraded in offline bag is verified by the upgrading authentication mechanism that the embodiment of the present invention provides Cheng Tu.
Fig. 3 is the block diagram of the system for router drop off-line upgrading that the embodiment of the present invention provides.
Fig. 4 is the block diagram of the upgrading authentication mechanism module that the embodiment of the present invention provides.
Detailed description of the invention
The various exemplary embodiments of the present invention are described in detail now with reference to accompanying drawing.It should also be noted that Unless specifically stated otherwise, the parts that illustrate the most in these embodiments and step positioned opposite, Numerical expression and numerical value do not limit the scope of the invention.
Description only actually at least one exemplary embodiment is illustrative below, never makees For to the present invention and application thereof or any restriction of use.
May not beg in detail for technology, method and apparatus known to person of ordinary skill in the relevant Opinion, but in the appropriate case, described technology, method and apparatus should be considered a part for description.
Shown here with in all examples discussed, any occurrence should be construed as merely example Property rather than as limit.Therefore, other example of exemplary embodiment can have different Value.
It should also be noted that similar label and letter represent similar terms, therefore, one in following accompanying drawing A certain Xiang Yi the accompanying drawing of denier is defined, then need not it is carried out further in accompanying drawing subsequently Discuss.
With reference to Fig. 1, the method for router drop off-line upgrading that the embodiment of the present invention provides is described, including Following steps:
100, upgrading authentication mechanism is set in the router;In a step 101, upgrading authentication mechanism Can be placed in the operating system of router.
200, receive and store the router drop off-line AKU uploaded, described router drop off-line AKU In carry checking information;In a step 102, user can by the modes such as USB flash disk by router from Line AKU copy uploads in router, and router upgraded in offline bag is stored by router.
300, described checking information is verified by described upgrading authentication mechanism, if by checking, With described router drop off-line AKU, described router is carried out upgraded in offline.
Preferably, described checking information includes: product identification, firmware version, producer identification, state Family mark, language identification, firmware size, MD5 check code, RSA signature PKI.
Illustrate that upgraded in offline bag is tested by the upgrading authentication mechanism that the embodiment of the present invention provides with reference to Fig. 2 The process of card, comprises the following steps:
301, verify whether the every content in described checking information meets pre-defined rule, if be not inconsistent Close and do not pass through checking and point out this upgraded in offline bag of user to be illegal.
If the every content in 302 described checking information meets pre-defined rule, according to presetting Selection mechanism from described checking information select partial information carry out MD5 verification obtain MD5 verification Code, the MD5 check code in the MD5 check code obtaining verification and described checking information mates, If mating unsuccessful, do not pass through to verify and point out this upgraded in offline bag of user to be illegal.
If the MD5 check code in the MD5 check code that 303 verifications obtain and described checking information The match is successful, then with the RSA signature PKI in described checking information to the MD5 in described checking information Check code is signed, if signature by; by checking.
In this embodiment, upgrading authentication mechanism uses three step verifications, and first whether inspection checking information Meeting pre-defined rule, just further checking information being carried out MD5 verification if met (Message-Digest Algorithm, Message Digest 5), successfully just uses if MD5 verifies MD5 is verified by RSA Algorithm (Ron Rivest, Adi Shamir, Leonard Adleman algorithm) Code carries out signature check, can perform upgraded in offline work by checking after three step complete verification successes Make.This upgrading authentication mechanism can be good at verifying legitimacy and the integrity of upgraded in offline bag, anti- Only upgraded in offline is coated and distorts, and improves the safety of router.
The block diagram of the system upgraded for router drop off-line that the embodiment of the present invention provides is described with reference to Fig. 3, Including with lower module:
Receiver module 1, for receiving the router drop off-line AKU uploaded, described router drop off-line liter Level bag carries checking information;
Memory module 2, the router drop off-line AKU uploaded for storage;
Upgrading authentication mechanism module 3, for verifying described checking information, if by checking Then with described router drop off-line AKU, described router is carried out upgraded in offline.
Preferably, described checking information includes: product identification, firmware version, producer identification, state Family mark, language identification, firmware size, MD5 check code, RSA signature PKI.
With reference to Fig. 4, the upgrading authentication mechanism module that the embodiment of the present invention provides, described liter of level verification are described Mechanism module 3 includes pre-defined rule authentication module 31, MD5 authentication module 32 and RSA signature Authentication module 33;
Described pre-defined rule authentication module 31, for verifying every content in described checking information whether Meeting pre-defined rule, if do not met, not passing through to verify and point out this upgraded in offline bag of user to be illegal.
Described MD5 authentication module 32, if the every content in described checking information meets pre- Set pattern then, selects mechanism to select partial information to carry out from described checking information according to set in advance MD5 verification obtains MD5 check code, in the MD5 check code obtaining verification and described checking information MD5 check code mate, if mating unsuccessful, by checking and point out user this off-line AKU is illegal.
Described RSA signature authentication module 33, if the MD5 check code and described obtained for verification The match is successful for MD5 check code in checking information, then public with the RSA signature in described checking information MD5 check code in described checking information is signed by key, if signature by; by checking.
In this embodiment, upgrading authentication mechanism module 3 uses three step verifications, first inspection checking letter Whether breath meets pre-defined rule, just further checking information is carried out MD5 verification if met, if MD5 verifies and successfully just uses RSA Algorithm that MD5 check code carries out signature check, the three whole schools of step Upgraded in offline work can be performed by checking after testing successfully.This upgrading authentication mechanism can be very The legitimacy of good verification upgraded in offline bag and integrity, prevent upgraded in offline to be coated and distort, and improves road By the safety of device.
Present invention provide for the technical scheme of router drop off-line upgrading, as long as user has upgraded in offline Oneself router just can be upgraded by bag anywhere or anytime.Preferably or alternatively, whole from Line escalation process is safe and reliable.
Although some specific embodiments of the present invention being described in detail by example, but It should be appreciated by those skilled in the art, example above is merely to illustrate rather than in order to limit The scope of the present invention processed.It should be appreciated by those skilled in the art, can be without departing from the scope of the present invention In the case of spirit, above example is modified.The scope of the present invention is by claims Limit.

Claims (10)

1. the method for router drop off-line upgrading, it is characterised in that comprise the following steps:
Upgrading authentication mechanism is set in the router;
Receive and store the router drop off-line AKU uploaded, described router drop off-line AKU carries There is checking information;
Described checking information is verified by described upgrading authentication mechanism, if by checking, with described Router drop off-line AKU carries out upgraded in offline to described router.
Method the most according to claim 1, it is characterised in that described checking information includes: produce Product mark, firmware version, producer identification, country identification, language identification, firmware size, MD5 Check code, RSA signature PKI.
Method the most according to claim 2, it is characterised in that described upgrading authentication mechanism is to institute State checking information to carry out checking and include,
Verify whether the every content in described checking information meets pre-defined rule, if do not met, no By checking.
Method the most according to claim 3, it is characterised in that described upgrading authentication mechanism is to institute State checking information to carry out verifying and also include,
If the every content in described checking information meets pre-defined rule, according to selection set in advance Mechanism selects partial information to carry out MD5 verification from described checking information and obtains MD5 check code, right MD5 check code in the MD5 check code of verification acquirement and described checking information mates, if Mate unsuccessful the most not by checking.
Method the most according to claim 4, it is characterised in that described upgrading authentication mechanism is to institute State checking information to carry out verifying and also include,
If the MD5 check code that verification obtains mates into the MD5 check code in described checking information Merit, then verify the MD5 in described checking information with the RSA signature PKI in described checking information Code sign, if signature by; by checking.
6. the system for router drop off-line upgrading, it is characterised in that include with lower module:
Receiver module, for receiving the router drop off-line AKU uploaded, described router drop off-line is upgraded Bag carries checking information;
Memory module, the router drop off-line AKU uploaded for storage;
Upgrading authentication mechanism module, for described checking information is verified, if by checking, With described router drop off-line AKU, described router is carried out upgraded in offline.
System the most according to claim 6, it is characterised in that described checking information includes: produce Product mark, firmware version, producer identification, country identification, language identification, firmware size, MD5 Check code, RSA signature PKI.
System the most according to claim 7, it is characterised in that described upgrading authentication mechanism module Including pre-defined rule authentication module;
Described pre-defined rule authentication module, for verifying whether the every content in described checking information accords with Close pre-defined rule, if do not met, not by checking.
System the most according to claim 8, it is characterised in that described upgrading authentication mechanism module Also include MD5 authentication module;
Described MD5 authentication module, if the every content in described checking information meets predetermined Rule, selects mechanism to select partial information to carry out MD5 from described checking information according to set in advance Verification obtains MD5 check code, in the MD5 check code obtaining verification and described checking information MD5 check code mates, if mating unsuccessful, not by checking.
System the most according to claim 9, it is characterised in that described upgrading proof machine molding Block also includes RSA signature authentication module;
Described RSA signature authentication module, if the MD5 check code obtained for verification and described test The match is successful for MD5 check code in card information, then with the RSA signature PKI in described checking information MD5 check code in described checking information is signed, if signature by; by checking.
CN201510790490.4A 2015-11-17 2015-11-17 Router offline upgrading method and system Pending CN105897421A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510790490.4A CN105897421A (en) 2015-11-17 2015-11-17 Router offline upgrading method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510790490.4A CN105897421A (en) 2015-11-17 2015-11-17 Router offline upgrading method and system

Publications (1)

Publication Number Publication Date
CN105897421A true CN105897421A (en) 2016-08-24

Family

ID=57002230

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510790490.4A Pending CN105897421A (en) 2015-11-17 2015-11-17 Router offline upgrading method and system

Country Status (1)

Country Link
CN (1) CN105897421A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1917424A (en) * 2006-08-30 2007-02-21 深圳兆日技术有限公司 Method for upgrading function of creditable calculation modules
CN101183312A (en) * 2007-12-12 2008-05-21 中兴通讯股份有限公司 Method for realizing version upgrade and backup of terminal by switch-in USB memory apparatus
CN102222011A (en) * 2011-06-28 2011-10-19 广东中大讯通软件科技有限公司 Software upgrading method for set-top box and set-top box
CN102833745A (en) * 2012-07-17 2012-12-19 华为技术有限公司 Method for safely upgrading software, communication device and communication system
CN103279372A (en) * 2013-05-23 2013-09-04 青岛海信宽带多媒体技术有限公司 Set top box software upgrading method and set top box
CN103997684A (en) * 2014-05-13 2014-08-20 深圳创维数字技术股份有限公司 Method and device for updating operating system
CN104166565A (en) * 2014-08-11 2014-11-26 成都瑞博慧窗信息技术有限公司 Intelligent display terminal firmware updating method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1917424A (en) * 2006-08-30 2007-02-21 深圳兆日技术有限公司 Method for upgrading function of creditable calculation modules
CN101183312A (en) * 2007-12-12 2008-05-21 中兴通讯股份有限公司 Method for realizing version upgrade and backup of terminal by switch-in USB memory apparatus
CN102222011A (en) * 2011-06-28 2011-10-19 广东中大讯通软件科技有限公司 Software upgrading method for set-top box and set-top box
CN102833745A (en) * 2012-07-17 2012-12-19 华为技术有限公司 Method for safely upgrading software, communication device and communication system
CN103279372A (en) * 2013-05-23 2013-09-04 青岛海信宽带多媒体技术有限公司 Set top box software upgrading method and set top box
CN103997684A (en) * 2014-05-13 2014-08-20 深圳创维数字技术股份有限公司 Method and device for updating operating system
CN104166565A (en) * 2014-08-11 2014-11-26 成都瑞博慧窗信息技术有限公司 Intelligent display terminal firmware updating method

Similar Documents

Publication Publication Date Title
CN105574398B (en) A kind of verification code verification method and device
US9225728B2 (en) Method and device for anonymous entity identification
CN106484453B (en) Method and device for realizing system upgrading
CN106302379A (en) The authentication method of vehicle mounted electrical apparatus, system and its apparatus
CN109951289A (en) A kind of recognition methods, device, equipment and readable storage medium storing program for executing
CN106789091B (en) Method and device for realizing Open XML document digital signature and signature verification
CN111224788A (en) Electronic contract management method, device and system based on block chain
CN109586920A (en) A kind of trust authentication method and device
CN112689979A (en) Article identity management method, terminal, micro-processing unit, identification equipment and system
US20140215220A1 (en) Application distribution system and method
CN104301875A (en) Short message processing method and device
CN104050431A (en) Self-signing method and self-signing device for RFID chips
CN104320265A (en) Authentication method and device for software platform
CN110020951A (en) A kind of transaction data authentication method, apparatus and storage medium based on block chain
CN105915700A (en) Verification code prompting method and equipment
CN110149625A (en) Phone number verification method and system
CN105574439B (en) A kind of method of calibration and device of system disk
CN112187783B (en) Authentication method and device, electronic equipment and storage medium
CN113535582A (en) Interface testing method, device, equipment and computer readable storage medium
CN105897421A (en) Router offline upgrading method and system
CN109409891B (en) Courseware sharing method and device
CN111639903A (en) Review processing method for architecture change and related equipment
CN114826623B (en) Mock test message processing method and device
CN111611465A (en) Product detection system, method, device, computer equipment and storage medium
CN116501929A (en) Electronic certificate generation method and device and electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160824

WD01 Invention patent application deemed withdrawn after publication