CN104166599B - A kind of ARM equipment, which is restarted, recovers the method for configuration of dispatching from the factory - Google Patents
A kind of ARM equipment, which is restarted, recovers the method for configuration of dispatching from the factory Download PDFInfo
- Publication number
- CN104166599B CN104166599B CN201410328633.5A CN201410328633A CN104166599B CN 104166599 B CN104166599 B CN 104166599B CN 201410328633 A CN201410328633 A CN 201410328633A CN 104166599 B CN104166599 B CN 104166599B
- Authority
- CN
- China
- Prior art keywords
- reset
- arm equipment
- equipment
- arm
- factory
- 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.)
- Active
Links
Landscapes
- Stored Programmes (AREA)
Abstract
Restart the invention discloses a kind of ARM equipment and recover the method for configuration of dispatching from the factory, this method includes:After ARM equipment receives and resets request signal, the information of the replacement request signal is stored in the kernel of the ARM equipment by the uboot of the ARM equipment;After the userspace of the ARM equipment starts, the userspace of the ARM equipment determines the information that the reset signal in the kernel be present, according to the information of the reset signal by the ARM equipment factory reset parameter.It the method achieve and low level detection just is carried out to reset registers in the uboot stages, thus, it is possible to solve in the prior art to restart catenet equipment recovery dispatch from the factory configuration when, the problem of long-press reset key overlong times, this method greatly shortens the time needed for long-press reset keys, enhances ease for use and operability.
Description
Technical field
The present invention relates to computer systems technology field, and in particular to a kind of ARM equipment, which is restarted, recovers the side of configuration of dispatching from the factory
Method.
Background technology
When user forgets equipment modification logging or thinks that functions of the equipments are unstable faulty, generally by that will set
Standby factory reset, solves some more scabrous problems by equipment replacement, functions of the equipments is recovered normal again.
The method of general networking equipment factory reset has two classes:One kind be by the administration interface of web logging devices,
Selection recovers plant function and recovered therefrom;In addition, forgetting to manage user name password, or be inconvenient to log in pipe
Manage under interface conditions, using hardware operation mode, equipment can be recovered to dispatch from the factory to set by the reset buttons of the long-press network equipment
Put.
Long-press reset keys replacement this mode demand condition of equipment is few, easily operated, is the indispensable work(of general networking equipment
One of can.Its technical principle is also relatively easy:When pressing equipment reset keys, equipment sends hardware reset signal entrance immediately
Replay phase, and the level value of corresponding reset registers can also be dragged down by pinning reset keys, if reset registers are usually height
Level, drop-down is low level after pinning, and reverts to high level after release again;Equipment is entered in restarting process to reset registers
Row judges, if it is determined that low level, then carries out recovery and dispatches from the factory configuration operation.
Such as general home router, equipment toggle speed quickly, reset when, it is only necessary to the long-press reset key 5-10 seconds
Clock, equipment can perceive reset registers and be pulled low.And for the abundanter fire wall of catenet equipment or function
For equipment, the equipment startup time is longer, typically in or so 3-10 minutes.And equipment is perceiving reset register levels height
When, it is necessary to start to certain stage, the time is too short to be likely to perceive and be pulled low less than reset registers.Therefore with setting
The standby growth for starting the time, long-press reset key times are consequently increased, and some equipment (such as ARM firewall boxs) need to grow
Press reset keys 30s, one minute or the longer function that could realize reset factory resets.
This length temporally reaches the operation of more than 30s or one minute, it is not easy to accurately calculates time, more inconvenient use
Family carries out replacement operation, larger problem in ease for use and operability all be present.
The content of the invention
For in the prior art the defects of, restart the invention provides a kind of ARM equipment and recover the method for configuration of dispatching from the factory, greatly
The big operating time for reducing reset long-press.
Recover the method for configuration of dispatching from the factory in a first aspect, restarting the invention provides a kind of ARM equipment, this method includes:
After ARM equipment receives and resets request signal, the uboot of the ARM equipment is by the replacement request signal
Information is stored in the kernel of the ARM equipment;
After the userspace of the ARM equipment starts, the userspace of the ARM equipment is determined in the kernel
The information of the reset signal be present, according to the information of the reset signal by the ARM equipment factory reset parameter.
Optionally, the replacement request signal is the low level input signal of reset registers.
Optionally, the ARM equipment, which receives, resets request signal, is specially:
The reset keys of ARM equipment described in user's long-press, so that the ARM equipment receives weight corresponding to the reset keys
Put request signal.
Optionally, in the period of the reset keys of user's long-press ARM equipment, if the uboot start completions of ARM equipment,
User discharges the reset keys of ARM equipment.
As shown from the above technical solution, the present invention, which proposes a kind of ARM equipment and restarted, recovers the method for configuration of dispatching from the factory, and passes through
After ARM equipment receives and resets request signal, the information of the replacement request signal is stored in by the uboot of the ARM equipment
In the kernel of the ARM equipment, the userspace of the ARM equipment determines the letter that the reset signal in the kernel be present
Breath, according to the information of the reset signal by the ARM equipment factory reset parameter, it the method achieve and guide starting
That is low level detection just is carried out to reset registers when uboot starts, thus, it is possible to solve in the prior art to catenet
Equipment restart recovery dispatch from the factory configuration when, the problem of long-press reset key overlong times, this method greatly shortens long-press reset
Time needed for key, enhance ease for use and operability.
Brief description of the drawings
Fig. 1 is the method schematic diagram that the ARM equipment mentioned of one embodiment of the invention restarts the configuration that recovers to dispatch from the factory;
Fig. 2 be the ARM equipment mentioned of one embodiment of the invention restart recovery dispatch from the factory configuration when the transmission signal of reset signals
Figure.
Embodiment
Below in conjunction with the accompanying drawings, the embodiment of invention is further described.Following examples are only used for more clear
Illustrate to Chu technical scheme, and can not be limited the scope of the invention with this.
Fig. 1 show a kind of ARM equipment present embodiments provided restart recover dispatch from the factory configuration method schematic diagram, such as
Shown in Fig. 1, this method comprises the following steps:
101st, after ARM equipment receives and resets request signal, the uboot of the ARM equipment resets request letter by described
Number information be stored in the kernel of the ARM equipment;
For example, the reset keys of ARM equipment described in user's long-press, so that the ARM equipment receives the reset
Request signal is reset corresponding to key, the replacement request signal is the low level input signal of reset registers.
The reset keys of ARM equipment described in user's long-press, so that the ARM equipment receives weight corresponding to the reset keys
Put request signal;In the period of the reset keys of user's long-press ARM equipment, if the uboot start completions of ARM equipment, user
Discharge the reset keys of ARM equipment.
102nd, after the userspace of the ARM equipment starts, the userspace of the ARM equipment is determined in described
The information of the reset signal in core be present, joined the ARM equipment factory reset according to the information of the reset signal
Number.
According to the above method, the present invention is specifically described by way of example.When the present invention is by needing long-press reset keys
Between long equipment illustrate, such as:ARM firewall boxs.
The start-up course for recovering to dispatch from the factory configuration is restarted to ARM firewall boxs below to illustrate, and the present invention will be used
Method verified.
ARM firewall boxs, which start, is divided into three phases:
First stage, it then follows open source code project initiation stage (Universal BootLoader, the abbreviation of GPL clauses
Uboot), uboot equivalent in windows systems basic input output system (Basic Input Output System,
Abbreviation BIOS), the Bootloader in ARM equipment as embedded Linux kernel, system after reset signals are received,
What is carried out at first is exactly that uboot starts.
Second stage, after uboot start completions, carry out linux kernel (referred to as:Kernel loading), whole system is built
The file system and basic framework of system.
Phase III, carry out user-written subroutine (referred to as:Userspace startup), load-on module is configured, i.e., herein
Stage according to the low and high level signal of reset registers, judges whether factory reset.
By the three above stage, generally, ARM equipment goes to judge reset in last userspace load phases
Long-press signal, and to start to this stage time-consuming longer for equipment, generally requires 2-3 minutes, therefore, the operation of long-press reset keys
Time just considerably increases.
Fig. 2 be show using ARM equipment of the present invention restart recover dispatch from the factory configuration method the transmission of reset signals signal
Figure, recover the start-up course of configuration of dispatching from the factory as shown in Fig. 2 restarting based on above-mentioned ARM firewall boxs, the invention provides one kind
The method that the reset operating times can be reduced.
201st, after ARM firewall boxs receive and reset request signal, the uboot of the ARM firewall boxs is by institute
State in the kernel for the information deposit ARM firewall boxs for resetting request signal in i.e. kernel, kernel will reset and ask
Signal extraction comes out, and preserves.
For example, the reset keys of ARM firewall boxs described in user's long-press, so that the ARM firewall boxs receive
To request signal is reset corresponding to the reset keys, it is the low level input signal of reset registers to state and reset request signal.
The reset keys of ARM firewall boxs described in user's long-press so that the ARM firewall boxs receive it is described
Request signal is reset corresponding to reset keys;In the period of the reset keys of user's long-press ARM firewall boxs, if ARM prevents fires
The reset keys of the uboot start completions of wall equipment, then user's release ARM firewall boxs.
202nd, after the userspace of the ARM firewall boxs starts, the userspace of the ARM equipment is determined
The information of the reset signal preserved in the kernel, it is according to the information of the reset signal that the ARM equipment is extensive
Appear again factory's arrange parameter.
Using this method, the operating time of reset long-press can be greatly reduced, carry out perceiving reset long-press in uboot
Signal operation can be controlled in the 5-10 seconds, is consistent with current general standard, and before in the userspace stages to reset
Signal was perceived, it is necessary to long-press signal about 1-2 minutes, by the embodiment of the present invention, it is apparent that being reduced using this method
While the operating time of reset long-press, its ease for use and accuracy also greatly improve.
Each embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although with reference to foregoing
The present invention is described in detail each embodiment, it will be understood by those within the art that:It still can be to preceding
State the technical scheme described in each embodiment to modify, either which part or all technical characteristic are equally replaced
Change;And these modifications or replacement, the essence of appropriate technical solution is departed from the model of various embodiments of the present invention technical scheme
Enclose.
Claims (4)
1. a kind of ARM equipment, which is restarted, recovers the method for configuration of dispatching from the factory, it is characterised in that this method includes:
After ARM equipment receives and resets request signal, the uboot of the ARM equipment is by the information of the replacement request signal
It is stored in the kernel of the ARM equipment;
After the userspace of the ARM equipment starts, the userspace of the ARM equipment determines exist in the kernel
The information for resetting request signal, the ARM equipment factory reset is joined according to the information of the replacement request signal
Number.
2. the method as described in claim 1, it is characterised in that the replacement request signal is that reset registers are low level
Input signal.
3. the method as described in claim 1, it is characterised in that the ARM equipment, which receives, resets request signal, is specially:
The reset keys of ARM equipment described in user's long-press, asked so that the ARM equipment receives to reset corresponding to the reset keys
Seek signal.
4. the method as described in claim 1, it is characterised in that in the period of the reset keys of user's long-press ARM equipment, if
The reset keys of the uboot start completions of ARM equipment, then user's release ARM equipment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410328633.5A CN104166599B (en) | 2014-07-10 | 2014-07-10 | A kind of ARM equipment, which is restarted, recovers the method for configuration of dispatching from the factory |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410328633.5A CN104166599B (en) | 2014-07-10 | 2014-07-10 | A kind of ARM equipment, which is restarted, recovers the method for configuration of dispatching from the factory |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104166599A CN104166599A (en) | 2014-11-26 |
CN104166599B true CN104166599B (en) | 2017-11-14 |
Family
ID=51910429
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410328633.5A Active CN104166599B (en) | 2014-07-10 | 2014-07-10 | A kind of ARM equipment, which is restarted, recovers the method for configuration of dispatching from the factory |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104166599B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105159703B (en) * | 2015-08-04 | 2018-06-05 | 广东欧珀移动通信有限公司 | The method and system of factory reset |
CN106484377A (en) * | 2015-08-28 | 2017-03-08 | 深圳创锐思科技有限公司 | Configuration information display packing and device and display device |
CN105391572A (en) * | 2015-10-15 | 2016-03-09 | 上海寰创通信科技股份有限公司 | Method for restoring factory configuration of equipment |
CN105227584B (en) * | 2015-11-06 | 2018-07-13 | 上海斐讯数据通信技术有限公司 | A kind of method and system facilitating user management switch |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1896915A (en) * | 2005-07-13 | 2007-01-17 | 北京软件与信息服务业促进中心 | Computer system based on key recovery function, recovery device and method |
CN101334737A (en) * | 2008-07-31 | 2008-12-31 | 深圳市同洲电子股份有限公司 | Embedded equipment start-up or reset method |
CN101944035A (en) * | 2009-07-03 | 2011-01-12 | 深圳市神舟电脑股份有限公司 | Method for one-key recovery of computer system |
CN103746836A (en) * | 2013-12-30 | 2014-04-23 | 沈阳理工大学 | Embedded network management agent system based on ARM |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8914664B2 (en) * | 2012-05-08 | 2014-12-16 | Verizon Patent And Licensing Inc. | Recovering information based on device functionality |
-
2014
- 2014-07-10 CN CN201410328633.5A patent/CN104166599B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1896915A (en) * | 2005-07-13 | 2007-01-17 | 北京软件与信息服务业促进中心 | Computer system based on key recovery function, recovery device and method |
CN101334737A (en) * | 2008-07-31 | 2008-12-31 | 深圳市同洲电子股份有限公司 | Embedded equipment start-up or reset method |
CN101944035A (en) * | 2009-07-03 | 2011-01-12 | 深圳市神舟电脑股份有限公司 | Method for one-key recovery of computer system |
CN103746836A (en) * | 2013-12-30 | 2014-04-23 | 沈阳理工大学 | Embedded network management agent system based on ARM |
Also Published As
Publication number | Publication date |
---|---|
CN104166599A (en) | 2014-11-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104166599B (en) | A kind of ARM equipment, which is restarted, recovers the method for configuration of dispatching from the factory | |
EP3493471B1 (en) | Data disaster recovery method, apparatus and system | |
CN105607972B (en) | A kind of method and device repaired extremely | |
US8578182B2 (en) | Power lock-up setting method performed by baseboard management controller and electronic apparatus using the same | |
CN102163167A (en) | Method and device for rescuing system | |
KR101712172B1 (en) | The preliminary diagnosis and analysis and recovery system of computer error, and method thereof | |
CN107153559A (en) | The application program updating method of a kind of electronic equipment | |
CN111478796B (en) | Cluster capacity expansion exception handling method for AI platform | |
WO2016184058A1 (en) | Terminal exception recovery method and terminal | |
CN109471670A (en) | Equipment starting method and electronic equipment | |
CN105183521A (en) | Method for installing computing operation system and USB port storage device | |
CN104750537B (en) | Method and device for executing test case | |
CN106371938A (en) | Automatic intelligent delaying shutdown system and method | |
CN103870319B (en) | Information processing method, device and electronic equipment | |
CN103902329A (en) | Electronic device capable of updating basic input and output system and updating method thereof | |
CN106547667B (en) | Fault prompting method and system for mobile terminal | |
CN104346239B (en) | The abnormal restoring method and device of application program in embedded system | |
CN107396185B (en) | Upgrading method and system | |
CN103763336A (en) | Software update method oriented to complex network architecture | |
CN111399888B (en) | Audio processing chip processing method and device and electronic equipment | |
CN101615149B (en) | Automated system recovery method | |
CN103235728B (en) | The installation method of preset third-party application and device in Android terminal | |
CN111142949B (en) | Information processing method and electronic equipment | |
CN108388481B (en) | Intelligent watchdog circuit system of OLT equipment | |
CN107193556B (en) | Linux lower-level input method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
PP01 | Preservation of patent right | ||
PP01 | Preservation of patent right |
Effective date of registration: 20180528 Granted publication date: 20171114 |