CN103987177A - Method and system for restoring factory settings - Google Patents
Method and system for restoring factory settings Download PDFInfo
- Publication number
- CN103987177A CN103987177A CN201410231445.0A CN201410231445A CN103987177A CN 103987177 A CN103987177 A CN 103987177A CN 201410231445 A CN201410231445 A CN 201410231445A CN 103987177 A CN103987177 A CN 103987177A
- Authority
- CN
- China
- Prior art keywords
- configuration information
- terminal equipment
- module
- threshold value
- start number
- 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.)
- Granted
Links
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02B—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
- Y02B20/00—Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
- Y02B20/40—Control techniques providing energy savings, e.g. smart controller or presence detection
Landscapes
- Telephone Function (AREA)
- Computer And Data Communications (AREA)
Abstract
A method for restoring factory settings comprises the steps of A, reading configuration information of a last-time opening state on terminal equipment according to restarting information, adding one to the starting-up frequency of the configuration information, and beginning to carry out timing from the starting time; B, storing a current timing time segment and performing reclocking when another piece of restarting information is received; C, judging whether the current timing time segment is within the preset time segment threshold value or not, and if yes, executing the step D, and if not, executing the step H; D, adding one to the starting-up frequency of the configuration information of the terminal equipment; E, judging whether the current starting-up frequency of the configuration information is smaller than the starting-up frequency threshold value or not, and if yes, executing the step B, and if not, executing the step G; G, enabling the configuration information of the terminal equipment to be restored to be in factory settings; H, performing zero clearing on the starting-up frequency of the configuration information of the terminal equipment. According to the method, the factory settings of the terminal equipment can be conveniently and rapidly restored, and the invention further relates to a system for restoring the factory settings.
Description
Technical field
The present invention relates to a kind of method and system of factory reset.
Background technology
LED matrix in intelligent domestic system is built-in with configuration information as the network address, lamp light mode, brightness etc., and user in use can carry out personal settings to the configuration information of LED matrix according to personal like.If necessary LED matrix factory reset is often needed LED matrix to remove and carry out burning again, very inconvenient.
Summary of the invention
For the deficiencies in the prior art, object of the present invention is intended to provide a kind of method and system of factory reset simple to operation.
For achieving the above object, the present invention adopts following technical scheme:
A method for factory reset, it comprises the following steps:
Steps A: according to the configuration information of the last opening of a restarting information reading terminal equipment, to start terminal equipment, and the start number of times of configuration information is added to one, and the self terminal device start moment starts timing;
Step B: in the time receiving another restarting information, storage present timing time period, and reclocking;
Step C: judge that this current timing time section whether in default time period threshold value, if so, performs step D; If not, perform step H;
Step D: the start number of times of the configuration information to terminal equipment adds one again;
Step e: whether the current start number of times that judges configuration information is less than start frequency threshold value, if so, performs step B; If not, perform step G;
Step G: by the configuration information recovery Default Value of terminal equipment; And
Step H: by the start number of times zero clearing of the configuration information of terminal equipment.
Further, this terminal equipment is LED matrix.
A system for factory reset, it comprises with lower module:
Modules A: according to the configuration information of the last opening of a restarting information reading terminal equipment, to start terminal equipment, and the start number of times of configuration information is added to one, and the self terminal device start moment starts timing;
Module B: in the time receiving another restarting information, storage present timing time period, and reclocking;
Module C: judge that this current timing time section is whether in default time period threshold value, if so, Executive Module D; If not, Executive Module H;
Module D: the start number of times of the configuration information to terminal equipment adds one again;
Module E: whether the current start number of times that judges configuration information is less than start frequency threshold value, if so, Executive Module B; If not, Executive Module G;
Module G: by the configuration information recovery Default Value of terminal equipment; And
Module H: by the start number of times zero clearing of the configuration information of terminal equipment.
Further, this terminal equipment is LED matrix.
Beneficial effect of the present invention is as follows:
User only need be restarted continuously the certain number of times of terminal equipment in certain time interval, just can make terminal equipment factory reset, very convenient quick.In addition, the present invention adopts start frequency threshold value binding time threshold value can make factory reset function and start terminal function to share the same button of restarting, and can save production cost.
Brief description of the drawings
Fig. 1 is the flow chart figure of the preferred embodiments of the method for factory reset of the present invention.
Embodiment
Below in conjunction with accompanying drawing and embodiment, the present invention is described further:
Refer to Fig. 1, the present invention relates to a kind of method of factory reset, its preferred embodiments comprises the following steps:
Steps A: according to the configuration information of the last opening of a restarting information reading terminal equipment, to start terminal equipment, and the start number of times of configuration information is added to one, and the self terminal device start moment starts timing;
In the present embodiment, this terminal equipment is LED matrix, and user can produce this restarting information by the startup button that triggers LED matrix, and the controller of LED matrix restarts this LED matrix according to this restarting information.
Step B: in the time receiving another restarting information, storage present timing time period, and reclocking; Wherein, this current timing time section referred to from the last time period starting to current startup of terminal equipment;
Step C: judge that this current timing time section whether in default time period threshold value, if so, performs step D; If not, perform step H;
Step D: the start number of times of the configuration information to terminal equipment adds one again;
Step e: whether the current start number of times that judges configuration information is less than start frequency threshold value, if so, performs step B; If not, perform step G;
Step G: by the configuration information recovery Default Value of terminal equipment; And
Step H: by the start number of times zero clearing of the configuration information of terminal equipment.
Further illustrate for example this method below:
Suppose that time period threshold value is 2 seconds, start frequency threshold value is 5 times.User is restarted LED matrix for the first time to make LED luminous, the start number of times of LED matrix becomes 1 from 0, user is restarted again once in after LED is luminous 2 seconds, the configuration information that LED matrix is worked is for the second time with primary the same, the number of times of just starting shooting is accumulated as 2, if user was restarted for the third time LED matrix after 1 minute, the configuration information that LED matrix is worked is for the third time still with the same for the first time, and the number of times of just starting shooting makes zero.If user is restarted LED matrix continuous 5 times, and reboot operation is all carried out in 2 seconds after LED is luminous at every turn, so, and LED matrix automatic factory reset in the time restarting for the 5th time.
So, user can recover the Default Value of LED matrix by restarting in a certain time interval the certain number of times of LED matrix, simple to operation.In addition, go out manufacturer and only this method burning need be entered to LED matrix, can make the startup button of LED matrix possess the function of factory reset, without changing mould, also, without increasing any other material, cost is low.
The invention still further relates to a kind of system of factory reset, its preferred embodiments comprises with lower module:
Modules A: according to the configuration information of the last opening of a restarting information reading terminal equipment, to start terminal equipment, and the start number of times of configuration information is added to one, and the self terminal device start moment starts timing;
Module B: in the time receiving another restarting information, storage present timing time period, and reclocking;
Module C: judge that this current timing time section is whether in default time period threshold value, if so, Executive Module D; If not, Executive Module H;
Module D: the start number of times of the configuration information to terminal equipment adds one again;
Module E: whether the current start number of times that judges configuration information is less than start frequency threshold value, if so, Executive Module B; If not, Executive Module G;
Module G: by the configuration information recovery Default Value of terminal equipment; And
Module H: by the start number of times zero clearing of the configuration information of terminal equipment.
For a person skilled in the art, can be according to technical scheme described above and design, make other various corresponding changes and distortion, and these all changes and distortion all should belong to the protection range of the claims in the present invention within.
Claims (4)
1. a method for factory reset, is characterized in that: it comprises the following steps:
Steps A: according to the configuration information of the last opening of a restarting information reading terminal equipment, to start terminal equipment, and the start number of times of configuration information is added to one, and the self terminal device start moment starts timing;
Step B: in the time receiving another restarting information, storage present timing time period, and reclocking;
Step C: judge that this current timing time section whether in default time period threshold value, if so, performs step D; If not, perform step H;
Step D: the start number of times of the configuration information to terminal equipment adds one again;
Step e: whether the current start number of times that judges configuration information is less than start frequency threshold value, if so, performs step B; If not, perform step G;
Step G: by the configuration information recovery Default Value of terminal equipment; And
Step H: by the start number of times zero clearing of the configuration information of terminal equipment.
2. the method for factory reset as claimed in claim 1, is characterized in that: this terminal equipment is LED matrix.
3. a system for factory reset, is characterized in that: it comprises with lower module:
Modules A: according to the configuration information of the last opening of a restarting information reading terminal equipment, to start terminal equipment, and the start number of times of configuration information is added to one, and the self terminal device start moment starts timing;
Module B: in the time receiving another restarting information, storage present timing time period, and reclocking;
Module C: judge that this current timing time section is whether in default time period threshold value, if so, Executive Module D; If not, Executive Module H;
Module D: the start number of times of the configuration information to terminal equipment adds one again;
Module E: whether the current start number of times that judges configuration information is less than start frequency threshold value, if so, Executive Module B; If not, Executive Module G;
Module G: by the configuration information recovery Default Value of terminal equipment; And
Module H: by the start number of times zero clearing of the configuration information of terminal equipment.
4. the method for factory reset as claimed in claim 1, is characterized in that: this terminal equipment is LED matrix.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410231445.0A CN103987177B (en) | 2014-05-28 | 2014-05-28 | The method and system of factory reset |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410231445.0A CN103987177B (en) | 2014-05-28 | 2014-05-28 | The method and system of factory reset |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103987177A true CN103987177A (en) | 2014-08-13 |
CN103987177B CN103987177B (en) | 2017-04-05 |
Family
ID=51278965
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410231445.0A Active CN103987177B (en) | 2014-05-28 | 2014-05-28 | The method and system of factory reset |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103987177B (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104375873A (en) * | 2014-12-13 | 2015-02-25 | 李凯 | Method and system for administrating authority by power supply states |
CN105573455A (en) * | 2015-12-22 | 2016-05-11 | 魅族科技(中国)有限公司 | Resetting control method and terminal |
CN105871647A (en) * | 2016-06-17 | 2016-08-17 | 武汉斗鱼网络科技有限公司 | Time asynchronous reference method and system for communication of client with server |
CN107562265A (en) * | 2017-08-22 | 2018-01-09 | 惠州Tcl移动通信有限公司 | Mobile terminal and touch-screen Debugging message control process method and storage medium |
CN108873861A (en) * | 2018-06-11 | 2018-11-23 | 广州视源电子科技股份有限公司 | Method, apparatus, equipment and the storage medium of factory reset |
CN109753411A (en) * | 2019-01-17 | 2019-05-14 | Oppo广东移动通信有限公司 | Abnormality eliminating method, device, mobile terminal and storage medium |
CN110825565A (en) * | 2019-11-06 | 2020-02-21 | 珠海格力电器股份有限公司 | Control method and system for restoring factory settings of electrical appliance |
CN112579188A (en) * | 2019-09-29 | 2021-03-30 | 北京君正集成电路股份有限公司 | System for restoring factory settings by counting system starting times |
CN112579348A (en) * | 2019-09-29 | 2021-03-30 | 北京君正集成电路股份有限公司 | Method for restoring factory settings by counting system starting times |
CN112579346A (en) * | 2019-09-29 | 2021-03-30 | 北京君正集成电路股份有限公司 | Method for restoring factory settings through power failure |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102802083A (en) * | 2012-08-24 | 2012-11-28 | 乐视网信息技术(北京)股份有限公司 | Set top box updating method based on Android system and set top box |
US20130091381A1 (en) * | 2011-10-07 | 2013-04-11 | Optim Corporation | Terminal recovery method, terminal recovery system, and program for the same |
CN103513996A (en) * | 2012-06-21 | 2014-01-15 | Tcl集团股份有限公司 | Android system recovery method of terminal equipment and terminal equipment |
CN103763843A (en) * | 2014-02-19 | 2014-04-30 | 青岛亿联客信息技术有限公司 | Method for restore factory setting of intelligent bulb |
-
2014
- 2014-05-28 CN CN201410231445.0A patent/CN103987177B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130091381A1 (en) * | 2011-10-07 | 2013-04-11 | Optim Corporation | Terminal recovery method, terminal recovery system, and program for the same |
CN103513996A (en) * | 2012-06-21 | 2014-01-15 | Tcl集团股份有限公司 | Android system recovery method of terminal equipment and terminal equipment |
CN102802083A (en) * | 2012-08-24 | 2012-11-28 | 乐视网信息技术(北京)股份有限公司 | Set top box updating method based on Android system and set top box |
CN103763843A (en) * | 2014-02-19 | 2014-04-30 | 青岛亿联客信息技术有限公司 | Method for restore factory setting of intelligent bulb |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104375873A (en) * | 2014-12-13 | 2015-02-25 | 李凯 | Method and system for administrating authority by power supply states |
CN105573455A (en) * | 2015-12-22 | 2016-05-11 | 魅族科技(中国)有限公司 | Resetting control method and terminal |
CN105871647A (en) * | 2016-06-17 | 2016-08-17 | 武汉斗鱼网络科技有限公司 | Time asynchronous reference method and system for communication of client with server |
CN105871647B (en) * | 2016-06-17 | 2019-01-29 | 武汉斗鱼网络科技有限公司 | A kind of the time asynchronous contrast method and system of user end to server communication |
CN107562265A (en) * | 2017-08-22 | 2018-01-09 | 惠州Tcl移动通信有限公司 | Mobile terminal and touch-screen Debugging message control process method and storage medium |
CN108873861A (en) * | 2018-06-11 | 2018-11-23 | 广州视源电子科技股份有限公司 | Method, apparatus, equipment and the storage medium of factory reset |
CN109753411A (en) * | 2019-01-17 | 2019-05-14 | Oppo广东移动通信有限公司 | Abnormality eliminating method, device, mobile terminal and storage medium |
CN112579188A (en) * | 2019-09-29 | 2021-03-30 | 北京君正集成电路股份有限公司 | System for restoring factory settings by counting system starting times |
CN112579348A (en) * | 2019-09-29 | 2021-03-30 | 北京君正集成电路股份有限公司 | Method for restoring factory settings by counting system starting times |
CN112579346A (en) * | 2019-09-29 | 2021-03-30 | 北京君正集成电路股份有限公司 | Method for restoring factory settings through power failure |
CN110825565A (en) * | 2019-11-06 | 2020-02-21 | 珠海格力电器股份有限公司 | Control method and system for restoring factory settings of electrical appliance |
CN110825565B (en) * | 2019-11-06 | 2022-02-25 | 珠海格力电器股份有限公司 | Control method and system for restoring factory settings of electrical appliance |
Also Published As
Publication number | Publication date |
---|---|
CN103987177B (en) | 2017-04-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103987177A (en) | Method and system for restoring factory settings | |
CN103401970B (en) | A kind of method, system and mobile terminal regulating display backlight | |
CN103902044B (en) | Intelligence puts out screen method and mobile terminal | |
CN103731703A (en) | System and method for searching for remote-control unit | |
RU2012141986A (en) | ADJUSTING THE BRIGHTNESS OF THE SCREEN FOR THE MOBILE DEVICE | |
CN103259924B (en) | The method and system of dynamic conditioning electricity display under the low electricity of a kind of intelligent terminal | |
CN103974394B (en) | Mobile terminal and its power consumption control method | |
CN104536551A (en) | Method and device for clearing away information on complementary metal oxide semiconductor (CMOS) | |
CN106210666A (en) | A kind of photographic head failover device and method | |
CN108954682B (en) | Air conditioner display screen brightness adjusting method and air conditioner | |
CN104679347A (en) | Method for solving failure of touch screen of mobile terminal and mobile terminal | |
CN104331146A (en) | Electricity saving control method | |
CN103200313A (en) | Method of converting between normal mode and specific mode of handheld equipment and handheld equipment | |
CN103050097A (en) | Method and device for regulating brightness of backlight lamp | |
CN103577223A (en) | Micro control unit (MCU) startup mode selecting circuit and MCU code updating method based on circuit | |
WO2018072435A1 (en) | Slow charging method and smart terminal | |
CN104063035A (en) | Portable camera-simulating mobile terminal shooting method and system | |
CN203632794U (en) | Dual-camera automatic switching monitoring system | |
CN105046939A (en) | Method and system for restoring factory settings to prevent error operation | |
CN105788565B (en) | A kind of brightness adjusting method and device | |
CN103414332A (en) | Fault detection and control circuit, method and system for power supply chip | |
WO2016045525A1 (en) | Method and apparatus for processing state of terminal | |
CN105657800A (en) | Power saving method and device of mobile terminal | |
CN103763843A (en) | Method for restore factory setting of intelligent bulb | |
CN105120343A (en) | Intelligent shutdown method for television |
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 |