CN104991625A - Electronic device and reset method and apparatus thereof - Google Patents
Electronic device and reset method and apparatus thereof Download PDFInfo
- Publication number
- CN104991625A CN104991625A CN201510350786.4A CN201510350786A CN104991625A CN 104991625 A CN104991625 A CN 104991625A CN 201510350786 A CN201510350786 A CN 201510350786A CN 104991625 A CN104991625 A CN 104991625A
- Authority
- CN
- China
- Prior art keywords
- electronic equipment
- voltage
- storage module
- counting operation
- magnitude
- 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
- 238000000034 method Methods 0.000 title claims abstract description 49
- 238000004146 energy storage Methods 0.000 claims abstract description 44
- 238000001514 detection method Methods 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 15
- 238000004891 communication Methods 0.000 description 9
- 238000012545 processing Methods 0.000 description 8
- 238000005516 engineering process Methods 0.000 description 6
- 230000008569 process Effects 0.000 description 6
- 230000005611 electricity Effects 0.000 description 5
- 230000003287 optical effect Effects 0.000 description 4
- 230000005236 sound signal Effects 0.000 description 4
- 230000000712 assembly Effects 0.000 description 3
- 238000000429 assembly Methods 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- KLDZYURQCUYZBL-UHFFFAOYSA-N 2-[3-[(2-hydroxyphenyl)methylideneamino]propyliminomethyl]phenol Chemical compound OC1=CC=CC=C1C=NCCCN=CC1=CC=CC=C1O KLDZYURQCUYZBL-UHFFFAOYSA-N 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 239000003990 capacitor Substances 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 201000001098 delayed sleep phase syndrome Diseases 0.000 description 1
- 208000033921 delayed sleep phase type circadian rhythm sleep disease Diseases 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Landscapes
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
Abstract
The invention provides an electronic device and a reset method and apparatus thereof, and the reset method and apparatus are used for conveniently resetting the electronic device free of a reset key. The method comprises the steps of: after the electronic device is powered on, detecting a voltage at two ends of an energy storage module; when the voltage is higher than or equal to a preset voltage, performing counting operation; performing statistics on first frequency of performing the counting operation so far; and when the first frequency is greater than or equal to a preset frequency, performing reset operation on the electronic device. Through the technical scheme disclosed by the invention, whether the electronic device is reset is judged by judging the voltage in the energy storage module connected in parallel with a circuit after the electronic device is powered on, so that a user does not need to touch the reset key for resetting, the electronic device free of the reset key can be conveniently reset, and the user experience is improved.
Description
Technical field
The disclosure relates to technical field of electronic equipment, particularly relates to electronic equipment and repositioning method thereof and device.
Background technology
Electronic equipment is suffering from fault, is changing problems such as connecting main frame, and when needing to perform reset procedure, often need some special operations to trigger, such as normally used length carries out device reset by after button a period of time.Some special electronic equipments (as intelligent bulbs) are not owing to having button, and electronic device works is under forceful electric power environment, and user is inconvenient to perform reset operation by the mode of directly contact.
Summary of the invention
Disclosure embodiment provides repositioning method and the device of electronic equipment, uses so that do not have the electronic equipment of reset key to carry out reset operation.
According to the first aspect of disclosure embodiment, a kind of repositioning method of electronic equipment is provided, described electronic equipment comprises circuit, described electronic equipment also comprises the energy-storage module being connected in parallel to described circuit, described energy-storage module charging duration after the power-up and electric discharge duration after a loss of power are all greater than corresponding duration threshold value, and described method comprises:
After described electronic equipment powers on, detect the magnitude of voltage at described energy-storage module two ends;
When described magnitude of voltage is more than or equal to preset voltage value, perform counting operation;
Add up first number performing counting operation till current;
When described first number is more than or equal to preset times, reset operation is performed to described electronic equipment.
In one embodiment, described statistics performs first number of counting operation till current, comprising:
Read second number of the execution counting operation recorded, and obtain described first number after described second number is added 1.
In one embodiment, described method also comprises:
When described magnitude of voltage is less than described preset voltage value, second number of the described execution counting operation recorded is set to zero.
In one embodiment, described method also comprises:
When described first number is less than described preset times, record described first number.
In one embodiment, described method also comprises:
According to the setting command received, the arbitrary numerical value in described preset voltage value, described preset times or two numerical value are set.
According to the second aspect of disclosure embodiment, a kind of resetting means of electronic equipment is provided, described electronic equipment comprises circuit, described electronic equipment also comprises the energy-storage module being connected in parallel to described circuit, described energy-storage module charging duration after the power-up and electric discharge duration after a loss of power are all greater than corresponding duration threshold value, and described device comprises:
Detection module, for after described electronic equipment powers on, detects the magnitude of voltage at described energy-storage module two ends;
Counting module, for when described magnitude of voltage is more than or equal to preset voltage value, performs counting operation;
Statistical module, for adding up first number performing counting operation till current;
Reseting module, for when described first number is more than or equal to preset times, performs reset operation to described electronic equipment.
In one embodiment, described statistical module comprises:
Statistics submodule, for when described magnitude of voltage is more than or equal to described preset voltage value, reads second number of the execution counting operation recorded, and obtains described first number after described second number is added 1.
In one embodiment, described device also comprises:
Counting dump block, for when described magnitude of voltage is less than described preset voltage value, is set to zero by second number of the described execution counting operation recorded.
In one embodiment, described device also comprises:
Logging modle, for when described first number is less than described preset times, records described first number.
In one embodiment, described device also comprises:
Module is set, for according to the setting command received, the arbitrary numerical value in described preset voltage value, described preset times or two numerical value are set.
According to the third aspect of disclosure embodiment, a kind of electronic equipment is provided, comprises circuit, also comprise:
Be connected in parallel to the energy-storage module of described circuit, wherein, described energy-storage module charging duration after the power-up and electric discharge duration after a loss of power are all greater than corresponding duration threshold value;
Wherein, after described electronic equipment powers on, detect the magnitude of voltage at described energy-storage module two ends; When described magnitude of voltage is more than or equal to preset voltage value, performs counting operation, and add up first number of the counting operation of current execution; When described first number is more than or equal to preset times, perform reset operation.
According to the fourth aspect of disclosure embodiment, a kind of resetting means of electronic equipment is provided, described electronic equipment comprises circuit, described electronic equipment also comprises the energy-storage module being connected in parallel to described circuit, described energy-storage module charging duration after the power-up and electric discharge duration after a loss of power are all greater than corresponding duration threshold value, and described device comprises:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
After described electronic equipment powers on, detect the magnitude of voltage at described energy-storage module two ends;
When described magnitude of voltage is more than or equal to preset voltage value, perform counting operation;
Add up first number performing counting operation till current;
When described first number is more than or equal to preset times, reset operation is performed to described electronic equipment.
The technique scheme that disclosure embodiment provides, at least has following beneficial effect:
Technique scheme, on an electronic device after electricity, in the energy-storage module be connected with circuit in parallel by judgement, the size of magnitude of voltage judges whether to reset to electronic equipment, like this, user's touch-control reset key is not needed to reset, thus can be convenient to not have the electronic equipment of reset key to carry out reset operation, improve the experience of user.
Should be understood that, it is only exemplary and explanatory that above general description and details hereinafter describe, and can not limit the disclosure.
Accompanying drawing explanation
Accompanying drawing to be herein merged in instructions and to form the part of this instructions, shows and meets embodiment of the present disclosure, and is used from instructions one and explains principle of the present disclosure.
Fig. 1 is the process flow diagram of the repositioning method of a kind of electronic equipment according to an exemplary embodiment.
Fig. 2 is the process flow diagram of the repositioning method of another kind of electronic equipment according to an exemplary embodiment.
Fig. 3 is the process flow diagram of the repositioning method of another electronic equipment according to an exemplary embodiment.
Fig. 4 is the process flow diagram of the repositioning method of another electronic equipment according to an exemplary embodiment.
Fig. 5 is the process flow diagram of the repositioning method of another electronic equipment according to an exemplary embodiment.
Fig. 6 is the block diagram of the resetting means of a kind of electronic equipment according to an exemplary embodiment.
Fig. 7 is the block diagram of statistical module in the resetting means of a kind of electronic equipment according to an exemplary embodiment.
Fig. 8 is the block diagram of the resetting means of another kind of electronic equipment according to another exemplary embodiment.
Fig. 9 is the block diagram of the resetting means of another electronic equipment according to another exemplary embodiment.
Figure 10 is the structural drawing of the resetting means of another electronic equipment according to another exemplary embodiment.
Figure 11 is the block diagram of a kind of electronic equipment according to an exemplary embodiment.
Figure 12 is the block diagram being applicable to the resetting means of electronic equipment according to an exemplary embodiment.
Embodiment
Here will be described exemplary embodiment in detail, its sample table shows in the accompanying drawings.When description below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawing represents same or analogous key element.Embodiment described in following exemplary embodiment does not represent all embodiments consistent with the disclosure.On the contrary, they only with as in appended claims describe in detail, the example of apparatus and method that aspects more of the present disclosure are consistent.
Present disclose provides a kind of electronic equipment, comprise circuit and be connected in parallel to the energy-storage module of circuit, energy-storage module charging duration after the power-up and electric discharge duration after a loss of power are all greater than corresponding duration threshold value.Wherein, charging duration and electric discharge duration are all greater than corresponding duration threshold value and refer to that the voltage at energy-storage module two ends is elevated to mxm. from 0, and dropping to 0 from mxm. all needs a period of time, instead of raises instantaneously and reduce.In the disclosure, circuit refers to the circuit of the normal function that can realize electronic equipment, and electronic equipment can be do not have the not too convenient smart machine controlling it and reset of button, user; Energy-storage module can be electric capacity or other can realize the electron device of identical function.
Fig. 1 is the process flow diagram of the repositioning method of a kind of electronic equipment according to an exemplary embodiment.As shown in Figure 1, the method comprises the following steps S101-S104:
In step S101, on an electronic device after electricity, detect the magnitude of voltage at energy-storage module two ends.
Electronic equipment powers on, and shows circuit exactly and energy-storage module powers on, and after powering on, namely energy-storage module can start to charge.And moment electric on an electronic device, detect the magnitude of voltage at energy-storage module two ends immediately, by the magnitude of voltage detected, indirectly can obtain electronic equipment this time upper electrical distance last time powered on.Such as, on an electronic device after electricity, the magnitude of voltage at the energy-storage module two ends detected is less, and this illustrates that energy-storage module has discharged for some time, and namely the distance electronic equipment last time has powered on for some time; Otherwise if magnitude of voltage is comparatively large, this illustrates that energy-storage module is very short for discharge time, namely the distance electronic equipment last time powered on is shorter.
In step s 102, when magnitude of voltage is more than or equal to preset voltage value, perform counting operation;
In step s 103, first number performing counting operation till current is added up.
In step S104, when first number is more than or equal to preset times, reset operation is performed to electronic equipment.Namely, when the number of times that magnitude of voltage is greater than preset voltage value is greater than preset times, reset operation is performed to electronic equipment.Like this, after meeting above-mentioned condition, automatically perform reset operation, no longer need to be resetted by button.
Wherein, preset voltage value and preset times can be Operation system setting, also can be the needs setting of user according to self.If user's setting, as shown in Figure 2, before step S101, said method also can comprise step S201: according to the setting command received, and arranges the arbitrary numerical value in preset voltage value, preset times or two numerical value.Thus the different demands of user can be met.
Wherein, by arranging preset voltage value, the time interval that this time upper electrical distance powered on last time can be set indirectly.Wherein, when magnitude of voltage is greater than preset voltage value, perform counting operation, when namely power-on time interval is shorter, perform counting operation.
The technical scheme that disclosure embodiment provides, does not need user's touch-control reset key to reset, thus can be convenient to not have the electronic equipment of reset key to carry out reset operation, improves the experience of user.
In one embodiment, step S102 comprises:
When magnitude of voltage is more than or equal to preset voltage value, reads second number of the execution counting operation recorded, and obtain first number after second number is added 1.Wherein, second time number can be recorded in nonvolatile memory, even if can ensure electronic equipment power-off like this, data also can not be lost.
As shown in Figure 3, in one embodiment, said method also comprises step S301:
In step S301, when first number is less than preset times, record described first number.Wherein, first time number can be recorded in nonvolatile memory, even if can ensure electronic equipment power-off like this, data also can not be lost.Like this, first number can as second number after powering on next time.
As shown in Figure 4, in one embodiment, said method also comprises step S401:
In step S401, when magnitude of voltage is less than preset voltage value, second number of the execution counting operation recorded is set to zero.
In above-described embodiment, electronic equipment powers on and power-off, is controlled by user, the power-on time interval of electronic equipment and the time interval of subscriber switch electronic equipment.Like this, preset voltage value is less than at magnitude of voltage, namely when the time of this switching electronics distance switching electronics last time of user is longer, the number of times of the counting operation recorded in nonvolatile memory is reset, when the time interval of this switching electronics distance switching electronics last time is shorter, the counting operation number of times of nonvolatile memory record adds 1, until reset when this number of times equals preset times, namely, when the number of times of the continuous high-speed switch electronic equipment of user reaches preset times, electronic equipment carries out reset operation.Like this, do not need user's touch-control reset key to reset, thus can be convenient to not have the electronic equipment of reset key to carry out reset operation, improve the experience of user.
Technical scheme of the present disclosure is described in detail below with a specific embodiment.Wherein, take electronic equipment as intelligent bulbs, energy-storage module is electric capacity is example.Wherein Capacitance parallel connection is connected to intelligent bulbs.
As shown in Figure 5, the repositioning method of a kind of electronic equipment according to an exemplary embodiment, comprises step S501-S507:
In step S501, read the magnitude of voltage at electric capacity two ends.After intelligent bulbs power-off, because capacitor discharge needs to continue for some time, the voltage at electric capacity two ends can slowly reduce, and being reduced to 0 completely needs a period of time; Certainly, if to intelligent bulbs energising, the voltage at electric capacity two ends is elevated to mxm. from 0 also needs a period of time.Therefore, if user is energized to intelligent bulbs, the voltage at Detection capacitance two ends immediately, if magnitude of voltage is less, illustrates that this intelligent bulbs distance was opened for some time last time; If magnitude of voltage is comparatively large, illustrate that intelligent bulbs lamp is not long apart from opening interval last time.
In step S502, judging whether magnitude of voltage exceeds threshold value, when judged result is no, perform step S503, when judged result is for being, performing step S504.
In step S503, in nonvolatile memory, write 0.Wherein, adopt nonvolatile memory to store reset count, like this, even if after intelligent bulbs power-off, the data being kept at the inside also can not be lost, and ensure the security of data.
In step S504, from nonvolatile memory, read reset count.
In step S505, judging whether exceed threshold value after reset count adds 1, when judged result is for being, performing step S507, when judged result is no, perform step S506.Wherein, user or manufacturer can arrange the threshold value of counting as required, as 3 times, thus meet the different demands of different user.
In step S506, reset count is write nonvolatile memory.
In step s 507, intelligent bulbs is resetted.Like this, the effect reached is as follows: continuous No. 3 the high-speed switch intelligent bulbs of user (being at every turn no more than 5 seconds from closing bulb to the interval of opening bulb) afterwards intelligent bulbs just can be reset, and other operates this intelligent bulbs that all can not reset.
Fig. 6 is the block diagram of the resetting means of a kind of electronic equipment according to an exemplary embodiment.As shown in Figure 6, according to the resetting means of the electronic equipment of disclosure embodiment, comprising:
Detection module 61 is configured to, on an electronic device after electricity, detect the magnitude of voltage at energy-storage module two ends;
Counting module 62 is configured to when magnitude of voltage is more than or equal to preset voltage value, performs counting operation;
Statistical module 63 is configured to add up first number performing counting operation till current;
Reseting module 64 is configured to when first number is more than or equal to preset times, performs reset operation to electronic equipment.
As shown in Figure 7, in one embodiment, statistical module 63 comprises:
Reading submodule 71 is configured to when magnitude of voltage is more than or equal to preset voltage value, reads second number of the execution counting operation recorded, and obtains first number after second number is added 1.
As shown in Figure 8, in one embodiment, said apparatus also comprises:
Counting dump block 81 is configured to when magnitude of voltage is less than preset voltage value, and second number of the execution counting operation recorded is set to zero.
As shown in Figure 9, in one embodiment, said apparatus also comprises:
Logging modle 91 is configured to, when first number is less than preset times, record first number.
As shown in Figure 10, in one embodiment, said apparatus also comprises:
Arrange module 1001 to be configured to, according to the setting command received, arrange the arbitrary numerical value in preset voltage value, preset times or two numerical value.
Figure 11 is the block diagram of a kind of electronic equipment according to an exemplary embodiment.As shown in figure 11, according to the electronic equipment of disclosure embodiment, comprise: circuit 1101 and be connected in parallel to the energy-storage module 1102 of circuit 1101, wherein, energy-storage module 1102 charging duration after the power-up and electric discharge duration after a loss of power are all greater than corresponding duration threshold value; Wherein, on an electronic device after electricity, detect the magnitude of voltage at energy-storage module 1102 two ends; When magnitude of voltage is more than or equal to preset voltage value, performs counting operation, and add up first number of the counting operation of current execution; When first number is more than or equal to preset times, perform reset operation.
The disclosure also provides a kind of resetting means of electronic equipment, comprising:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
After described electronic equipment powers on, detect the magnitude of voltage at described energy-storage module two ends;
When described magnitude of voltage is more than or equal to preset voltage value, perform counting operation;
Add up first number performing counting operation till current;
When described first number is more than or equal to preset times, reset operation is performed to described electronic equipment.
Above-mentioned processor also can be configured to:
Described statistics performs first number of counting operation till current, comprising:
Read second number of the execution counting operation recorded, and obtain described first number after described second number is added 1.
Above-mentioned processor also can be configured to:
Described method also comprises:
When described magnitude of voltage is less than described preset voltage value, second number of the execution counting operation recorded is set to zero.
Above-mentioned processor also can be configured to:
Described method also comprises:
When described first number is less than described preset times, record described first number.
Above-mentioned processor also can be configured to:
Described method also comprises:
According to the setting command received, the arbitrary numerical value in described preset voltage value, described preset times or two numerical value are set.
Figure 12 is the block diagram of a kind of resetting means 1200 for electronic equipment according to an exemplary embodiment, and this device is applicable to electronic equipment.Such as, device 1200 can be mobile phone, computing machine, digital broadcast terminal equipment, messaging devices, game console, tablet device, Medical Devices, body-building equipment, personal digital assistant etc.
With reference to Figure 12, device 1200 can comprise following one or more assembly: processing components 1202, storer 1204, power supply module 1206, multimedia groupware 1208, audio-frequency assembly 1210, the interface 1212 of I/O (I/O), sensor module 1214, and communications component 1216.
The integrated operation of the usual control device 1200 of processing components 1202, such as with display, call, data communication, camera operation and record operate the operation be associated.Treatment element 1202 can comprise one or more processor 1220 to perform instruction, to complete all or part of step of above-mentioned method.In addition, processing components 1202 can comprise one or more module, and what be convenient between processing components 1202 and other assemblies is mutual.Such as, processing element 1202 can comprise multi-media module, mutual with what facilitate between multimedia groupware 1208 and processing components 1202.
Storer 1204 is configured to store various types of data to be supported in the operation of equipment 1200.The example of these data comprises for any application program of operation on device 1200 or the instruction of method, contact data, telephone book data, message, picture, video etc.Storer 1204 can be realized by the volatibility of any type or non-volatile memory device or their combination, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), ROM (read-only memory) (ROM), magnetic store, flash memory, disk or CD.
The various assemblies that electric power assembly 1206 is device 1200 provide electric power.Electric power assembly 1206 can comprise power-supply management system, one or more power supply, and other and the assembly generating, manage and distribute electric power for device 1200 and be associated.
Multimedia groupware 1208 is included in the screen providing an output interface between described device 1200 and user.In certain embodiments, screen can comprise liquid crystal display (LCD) and touch panel (TP).If screen comprises touch panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel comprises one or more touch sensor with the gesture on sensing touch, slip and touch panel.Described touch sensor can the border of not only sensing touch or sliding action, but also detects the duration relevant to described touch or slide and pressure.In certain embodiments, multimedia groupware 1208 comprises a front-facing camera and/or post-positioned pick-up head.When equipment 1200 is in operator scheme, during as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and post-positioned pick-up head can be fixing optical lens systems or have focal length and optical zoom ability.
Audio-frequency assembly 1210 is configured to export and/or input audio signal.Such as, audio-frequency assembly 1210 comprises a microphone (MIC), and when device 1200 is in operator scheme, during as call model, logging mode and speech recognition mode, microphone is configured to receive external audio signal.The sound signal received can be stored in storer 1204 further or be sent via communications component 1216.In certain embodiments, audio-frequency assembly 1210 also comprises a loudspeaker, for output audio signal.
I/O interface 1212 is for providing interface between processing components 1202 and peripheral interface module, and above-mentioned peripheral interface module can be keyboard, some striking wheel, button etc.These buttons can include but not limited to: home button, volume button, start button and locking press button.
Sensor module 1214 comprises one or more sensor, for providing the state estimation of various aspects for device 1200.Such as, sensor module 1214 can detect the opening/closing state of equipment 1200, the relative positioning of assembly, such as described assembly is display and the keypad of device 1200, the position of all right pick-up unit 1200 of sensor module 1214 or device 1200 assemblies changes, the presence or absence that user contacts with device 1200, the temperature variation of device 1200 orientation or acceleration/deceleration and device 1200.Sensor module 1214 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor module 1214 can also comprise optical sensor, as CMOS or ccd image sensor, for using in imaging applications.In certain embodiments, this sensor module 1214 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure transducer or temperature sensor.
Communications component 1216 is configured to the communication being convenient to wired or wireless mode between device 1200 and other equipment.Device 1200 can access the wireless network based on communication standard, as WiFi, 2G or 3G, or their combination.In one exemplary embodiment, communication component 1216 via broadcast channel receive from external broadcasting management system broadcast singal or broadcast related notification message.In one exemplary embodiment, described communication component 1216 also comprises near-field communication (NFC) module, to promote junction service.Such as, can based on radio-frequency (RF) identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 1200 can be realized, for performing said method by one or more application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD) (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components.
In the exemplary embodiment, additionally provide a kind of non-transitory computer-readable recording medium comprising instruction, such as, comprise the storer 1204 of instruction, above-mentioned instruction can perform said method by the processor 820 of device 1200.Such as, described non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc.
Those skilled in the art, at consideration instructions and after putting into practice disclosed herein disclosing, will easily expect other embodiment of the present disclosure.The application is intended to contain any modification of the present disclosure, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present disclosure and comprised the undocumented common practise in the art of the disclosure or conventional techniques means.Instructions and embodiment are only regarded as exemplary, and true scope of the present disclosure and spirit are pointed out by claim below.
Should be understood that, the disclosure is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various amendment and change not departing from its scope.The scope of the present disclosure is only limited by appended claim.
Claims (12)
1. the repositioning method of an electronic equipment, described electronic equipment comprises circuit, it is characterized in that, described electronic equipment also comprises the energy-storage module being connected in parallel to described circuit, described energy-storage module charging duration after the power-up and electric discharge duration after a loss of power are all greater than corresponding duration threshold value, and described method comprises:
After described electronic equipment powers on, detect the magnitude of voltage at described energy-storage module two ends;
When described magnitude of voltage is more than or equal to preset voltage value, perform counting operation;
Add up first number performing counting operation till current;
When described first number is more than or equal to preset times, reset operation is performed to described electronic equipment.
2. the method for claim 1, is characterized in that, described statistics performs first number of counting operation till current, comprising:
Read second number of the execution counting operation recorded, and obtain described first number after described second number is added 1.
3. method as claimed in claim 2, it is characterized in that, described method also comprises:
When described magnitude of voltage is less than described preset voltage value, second number of the described execution counting operation recorded is set to zero.
4. method as claimed in claim 2, it is characterized in that, described method also comprises:
When described first number is less than described preset times, record described first number.
5. the method according to any one of Claims 1-4, is characterized in that, described method also comprises:
According to the setting command received, the arbitrary numerical value in described preset voltage value, described preset times or two numerical value are set.
6. the resetting means of an electronic equipment, described electronic equipment comprises circuit, it is characterized in that, described electronic equipment also comprises the energy-storage module being connected in parallel to described circuit, described energy-storage module charging duration after the power-up and electric discharge duration after a loss of power are all greater than corresponding duration threshold value, and described device comprises:
Detection module, for after described electronic equipment powers on, detects the magnitude of voltage at described energy-storage module two ends;
Counting module, for when described magnitude of voltage is more than or equal to preset voltage value, performs counting operation;
Statistical module, for adding up first number performing counting operation till current;
Reseting module, for when described first number is more than or equal to preset times, performs reset operation to described electronic equipment.
7. device as claimed in claim 6, it is characterized in that, described statistical module comprises:
Statistics submodule, for reading second number of the execution counting operation recorded, and obtains described first number after described second number is added 1.
8. device as claimed in claim 7, it is characterized in that, described device also comprises:
Counting dump block, for when described magnitude of voltage is less than described preset voltage value, is set to zero by second number of the described execution counting operation recorded.
9. device as claimed in claim 7, it is characterized in that, described device also comprises:
Logging modle, for when described first number is less than described preset times, records described first number.
10. the device according to any one of claim 6 to 9, is characterized in that, described device also comprises:
Module is set, for according to the setting command received, the arbitrary numerical value in described preset voltage value, described preset times or two numerical value are set.
11. 1 kinds of electronic equipments, comprise circuit, it is characterized in that, also comprise:
Be connected in parallel to the energy-storage module of described circuit, wherein, described energy-storage module charging duration after the power-up and electric discharge duration after a loss of power are all greater than corresponding duration threshold value;
Wherein, after described electronic equipment powers on, detect the magnitude of voltage at described energy-storage module two ends; When described magnitude of voltage is more than or equal to preset voltage value, perform counting operation, and perform first number of counting operation till current; When described first number is more than or equal to preset times, perform reset operation.
The resetting means of 12. 1 kinds of electronic equipments, described electronic equipment comprises circuit, it is characterized in that, described electronic equipment also comprises the energy-storage module being connected in parallel to described circuit, described energy-storage module charging duration after the power-up and electric discharge duration after a loss of power are all greater than corresponding duration threshold value, and described device comprises:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
After described electronic equipment powers on, detect the magnitude of voltage at described energy-storage module two ends;
When described magnitude of voltage is more than or equal to preset voltage value, perform counting operation;
Add up first number performing counting operation till current;
When described first number is more than or equal to preset times, reset operation is performed to described electronic equipment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510350786.4A CN104991625B (en) | 2015-06-23 | 2015-06-23 | Electronic equipment and its repositioning method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510350786.4A CN104991625B (en) | 2015-06-23 | 2015-06-23 | Electronic equipment and its repositioning method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104991625A true CN104991625A (en) | 2015-10-21 |
CN104991625B CN104991625B (en) | 2018-09-04 |
Family
ID=54303441
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510350786.4A Active CN104991625B (en) | 2015-06-23 | 2015-06-23 | Electronic equipment and its repositioning method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104991625B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105847038A (en) * | 2016-03-17 | 2016-08-10 | 深圳市彩易生活科技有限公司 | Wireless communication module, reset method for terminal equipment and control system |
CN106843435A (en) * | 2016-12-21 | 2017-06-13 | 深圳市紫光同创电子有限公司 | A kind of chip reset circuit and method for PLD |
CN106851149A (en) * | 2017-02-13 | 2017-06-13 | 广州视源电子科技股份有限公司 | Reset method and reset device of display equipment |
CN107506251A (en) * | 2017-07-25 | 2017-12-22 | 青岛海信电器股份有限公司 | The method and device resetted to smart machine |
CN108073260A (en) * | 2017-04-07 | 2018-05-25 | 丁贤根 | A kind of method and system for overcharging reset |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103763843A (en) * | 2014-02-19 | 2014-04-30 | 青岛亿联客信息技术有限公司 | Method for restore factory setting of intelligent bulb |
CN203827553U (en) * | 2013-12-31 | 2014-09-10 | 深圳市迅动高科科技有限公司 | Intelligent light bulb |
-
2015
- 2015-06-23 CN CN201510350786.4A patent/CN104991625B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN203827553U (en) * | 2013-12-31 | 2014-09-10 | 深圳市迅动高科科技有限公司 | Intelligent light bulb |
CN103763843A (en) * | 2014-02-19 | 2014-04-30 | 青岛亿联客信息技术有限公司 | Method for restore factory setting of intelligent bulb |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105847038A (en) * | 2016-03-17 | 2016-08-10 | 深圳市彩易生活科技有限公司 | Wireless communication module, reset method for terminal equipment and control system |
CN105847038B (en) * | 2016-03-17 | 2019-06-18 | 深圳市彩易生活科技有限公司 | The remapping method and control system of a kind of wireless communication module, terminal device |
CN106843435A (en) * | 2016-12-21 | 2017-06-13 | 深圳市紫光同创电子有限公司 | A kind of chip reset circuit and method for PLD |
CN106851149A (en) * | 2017-02-13 | 2017-06-13 | 广州视源电子科技股份有限公司 | Reset method and reset device of display equipment |
CN106851149B (en) * | 2017-02-13 | 2019-11-22 | 广州视源电子科技股份有限公司 | Show the repositioning method and resetting apparatus of equipment |
CN108073260A (en) * | 2017-04-07 | 2018-05-25 | 丁贤根 | A kind of method and system for overcharging reset |
CN108073260B (en) * | 2017-04-07 | 2021-04-06 | 丁贤根 | Overcharge resetting method and system |
CN107506251A (en) * | 2017-07-25 | 2017-12-22 | 青岛海信电器股份有限公司 | The method and device resetted to smart machine |
CN107506251B (en) * | 2017-07-25 | 2021-07-06 | 海信视像科技股份有限公司 | Method and device for resetting intelligent equipment |
Also Published As
Publication number | Publication date |
---|---|
CN104991625B (en) | 2018-09-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105246045A (en) | Method and device for determining user position change | |
CN104853136A (en) | Video communication method and device | |
CN104915123A (en) | Terminal display method and device | |
CN104238912A (en) | Application control method and application control device | |
CN105117033A (en) | Connection method and device of external equipment | |
CN104750597A (en) | User guide method and device during low power | |
CN104298547A (en) | Terminal setting method and device | |
CN105511749A (en) | Method and device for equipment control | |
CN104578372A (en) | Method and device for controlling charging of terminal device | |
CN105137831A (en) | Power-saving mode starting method and device | |
CN104320542A (en) | Method and device for sending reminding message | |
CN104808522A (en) | State switching method and device | |
CN104869595A (en) | Method and device for controlling data traffic | |
CN104991625A (en) | Electronic device and reset method and apparatus thereof | |
CN105162193A (en) | Charging method and charging apparatus for terminal, and terminal | |
CN105530384A (en) | Method and device for power reminding based on alarm clock | |
CN105224171A (en) | icon display method, device and terminal | |
CN104485552A (en) | Socket on-off control method and device | |
CN104378715A (en) | Device and method for lowering earphone POP sound | |
CN105353901A (en) | Method and apparatus for determining validity of touch operation | |
CN105430715A (en) | Method and apparatus for controlling WIFI scanning | |
CN104394247A (en) | Power supply circuit and electronic equipment | |
CN106325454A (en) | Power supply control device and method, and electronic equipment | |
CN105516469A (en) | Clock control method and device | |
CN104463047A (en) | Device and method for control modules to work |
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 |