CN104991625B - Electronic equipment and its repositioning method and device - Google Patents

Electronic equipment and its repositioning method and device Download PDF

Info

Publication number
CN104991625B
CN104991625B CN201510350786.4A CN201510350786A CN104991625B CN 104991625 B CN104991625 B CN 104991625B CN 201510350786 A CN201510350786 A CN 201510350786A CN 104991625 B CN104991625 B CN 104991625B
Authority
CN
China
Prior art keywords
electronic equipment
voltage value
energy
storage module
power
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
Application number
CN201510350786.4A
Other languages
Chinese (zh)
Other versions
CN104991625A (en
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.)
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201510350786.4A priority Critical patent/CN104991625B/en
Publication of CN104991625A publication Critical patent/CN104991625A/en
Application granted granted Critical
Publication of CN104991625B publication Critical patent/CN104991625B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

Present disclose provides electronic equipment and its repositioning method and device, reset operation is carried out in order to the electronic equipment of not no reset key.Wherein, method includes:The electronic equipment after the power is turned on, detect the voltage value at the energy-storage module both ends;When the voltage value is more than or equal to preset voltage value, counting operation is executed;Statistics cut-off executes first number of counting operation so far;When first number is greater than or equal to preset times, the electronic equipment is executed and resets operation.Pass through the technical solution of the disclosure, on an electronic device after electricity, by judging the size of voltage value in the energy-storage module being connect with circuit in parallel to determine whether being resetted to electronic equipment, in this way, user's touch-control reset key is not needed to reset, so as to carry out reset operation convenient for the electronic equipment of not reset key, the usage experience of user is improved.

Description

Electronic equipment and its repositioning method and device
Technical field
This disclosure relates to technical field of electronic equipment more particularly to electronic equipment and its repositioning method and device.
Background technology
Electronic equipment is suffering from failure, is replacing the problems such as connection host, when needing to execute reset procedure, generally requires one A little special operations trigger, for example usually used long-press button carries out device reset afterwards for a period of time.Some special electricity Sub- equipment (such as intelligent bulbs) be not due to having button, and electronic device works, under forceful electric power environment, user's inconvenience passes through direct The mode of contact executes reset operation.
Invention content
The embodiment of the present disclosure provides the repositioning method and device of electronic equipment, is set in order to the electronics of not no reset key It is standby to carry out reset operation.
According to the first aspect of the embodiments of the present disclosure, the repositioning method of a kind of electronic equipment, the electronic equipment packet are provided Include circuit, the electronic equipment further includes the energy-storage module for being connected in parallel to the circuit, and the energy-storage module is after the power-up Charging duration and electric discharge duration after a loss of power are all higher than corresponding duration threshold value, the method includes:
The electronic equipment after the power is turned on, detect the voltage value at the energy-storage module both ends;
When the voltage value is more than or equal to preset voltage value, counting operation is executed;
Statistics cut-off executes first number of counting operation so far;
When first number is greater than or equal to preset times, the electronic equipment is executed and resets operation.
In one embodiment, the statistics cut-off executes first number of counting operation so far, including:
Second number of the execution counting operation recorded is read, and described first will be obtained after second number plus 1 Number.
In one embodiment, the method further includes:
When the voltage value is less than the preset voltage value, by second number of the execution counting operation recorded It is set to zero.
In one embodiment, the method further includes:
When first number is less than the preset times, first number is recorded.
In one embodiment, the method further includes:
According to the setting command received, the preset voltage value, any value in the preset times or two are set A numerical value.
According to the second aspect of the embodiment of the present disclosure, the resetting apparatus of a kind of electronic equipment, the electronic equipment packet are provided Include circuit, the electronic equipment further includes the energy-storage module for being connected in parallel to the circuit, and the energy-storage module is after the power-up Charging duration and electric discharge duration after a loss of power are all higher than corresponding duration threshold value, and described device includes:
Detection module, for the electronic equipment after the power is turned on, detect the voltage value at the energy-storage module both ends;
Counting module, for when the voltage value is more than or equal to preset voltage value, executing counting operation;
Statistical module executes first number of counting operation for counting cut-off so far;
Reseting module, for when first number is greater than or equal to preset times, being executed to the electronic equipment multiple Bit manipulation.
In one embodiment, the statistical module includes:
Statistic submodule, for when the voltage value is more than or equal to the preset voltage value, reading the execution recorded Second number of counting operation, and first number will be obtained after second number plus 1.
In one embodiment, described device further includes:
Dump block is counted, is used for when the voltage value is less than the preset voltage value, by the execution recorded Second number of counting operation is set to zero.
In one embodiment, described device further includes:
Logging modle, for when first number is less than the preset times, recording first number.
In one embodiment, described device further includes:
Setup module, for according to the setting command received, being arranged in the preset voltage value, the preset times Any value or two values.
According to the third aspect of the embodiment of the present disclosure, a kind of electronic equipment, including circuit are provided, further include:
Be connected in parallel to the energy-storage module of the circuit, wherein energy-storage module charging duration after the power-up and Electric discharge duration after power-off is all higher than corresponding duration threshold value;
Wherein, the electronic equipment after the power is turned on, detect the voltage value at the energy-storage module both ends;It is big in the voltage value When equal to preset voltage value, counting operation is executed, and count first number of currently performed counting operation;Described first When number is greater than or equal to preset times, executes and reset operation.
According to the fourth aspect of the embodiment of the present disclosure, the resetting apparatus of a kind of electronic equipment, the electronic equipment packet are provided Include circuit, the electronic equipment further includes the energy-storage module for being connected in parallel to the circuit, and the energy-storage module is after the power-up Charging duration and electric discharge duration after a loss of power are all higher than corresponding duration threshold value, and described device includes:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as:
The electronic equipment after the power is turned on, detect the voltage value at the energy-storage module both ends;
When the voltage value is more than or equal to preset voltage value, counting operation is executed;
Statistics cut-off executes first number of counting operation so far;
When first number is greater than or equal to preset times, the electronic equipment is executed and resets operation.
The above-mentioned technical proposal that the embodiment of the present disclosure provides, at least has the advantages that:
Above-mentioned technical proposal, on an electronic device after electricity, voltage in the energy-storage module being connect with circuit in parallel by judgement The size of value is to determine whether reset electronic equipment, this way it is not necessary to user's touch-control reset key resets, to Reset operation can be carried out convenient for the electronic equipment of not reset key, improve the usage experience of user.
It should be understood that above general description and following detailed description is only exemplary and explanatory, not The disclosure can be limited.
Description of the drawings
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure Example, and together with specification for explaining the principles of this disclosure.
Fig. 1 is the flow chart according to the repositioning method of a kind of electronic equipment shown in an exemplary embodiment.
Fig. 2 is the flow chart of the repositioning method of another electronic equipment shown according to an exemplary embodiment.
Fig. 3 is the flow chart according to the repositioning method of another electronic equipment shown in an exemplary embodiment.
Fig. 4 is the flow chart according to the repositioning method of another electronic equipment shown in an exemplary embodiment.
Fig. 5 is the flow chart according to the repositioning method of another electronic equipment shown in an exemplary embodiment.
Fig. 6 is the block diagram according to the resetting apparatus of a kind of electronic equipment shown in an exemplary embodiment.
Fig. 7 is the block diagram of statistical module in the resetting apparatus according to a kind of electronic equipment shown in an exemplary embodiment.
Fig. 8 is the block diagram of the resetting apparatus of another electronic equipment shown according to another exemplary embodiment.
Fig. 9 is the block diagram of the resetting apparatus of another electronic equipment shown according to another exemplary embodiment.
Figure 10 is the structure chart of the resetting apparatus of another electronic equipment shown according to another exemplary embodiment.
Figure 11 is the block diagram according to a kind of electronic equipment shown in an exemplary embodiment.
Figure 12 is the block diagram according to the resetting apparatus suitable for electronic equipment shown in an exemplary embodiment.
Specific implementation mode
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
Present disclose provides a kind of electronic equipment, including circuit and the energy-storage module for being connected in parallel to circuit, energy-storage modules Charging duration after the power-up and electric discharge duration after a loss of power are all higher than corresponding duration threshold value.Wherein, charging and is put duration Electric duration is all higher than the voltage that corresponding duration threshold value refers to energy-storage module both ends and is increased to peak from 0, and 0 is dropped to from peak A period of time is all needed, rather than moment raises and reduces.In the disclosure, circuit is to refer to realizing electronic equipment just The circuit of Chang Gongneng, electronic equipment can be its smart machines for resetting of the not inconvenient control of button, user;Energy storage mould Block can be capacitance or other electronic devices that can realize identical function.
Fig. 1 is the flow chart according to the repositioning method of a kind of electronic equipment shown in an exemplary embodiment.Such as Fig. 1 institutes Show, this approach includes the following steps S101-S104:
In step S101, on an electronic device after electricity, the voltage value at detection energy-storage module both ends.
Electronic equipment powers on, and exactly shows circuit and energy-storage module powers on, energy-storage module can proceed by after the power is turned on Charging.And electric moment on an electronic device, the voltage value for detecting energy-storage module both ends immediately can by the voltage value detected To obtain the electronic equipment time that this time the upper electrical distance last time powers on indirectly.For example, being detected after electricity on an electronic device The voltage value at energy-storage module both ends is smaller, this illustrates that energy-storage module has discharged for some time, i.e., on electronic equipment Primary power on has been for some time;, whereas if voltage value is larger, this illustrates that energy-storage module discharge time is very short, i.e., away from The time powered on from the electronic equipment last time is shorter.
In step s 102, when voltage value is more than or equal to preset voltage value, counting operation is executed;
In step s 103, statistics cut-off executes first number of counting operation so far.
In step S104, when first number is greater than or equal to preset times, electronic equipment is executed and resets operation.I.e. When voltage value is more than the number of preset voltage value more than preset times, electronic equipment is executed and resets operation.In this way, meeting It is executed automatically after above-mentioned condition and resets operation, it is no longer necessary to be resetted by button.
Wherein, preset voltage value and preset times can be that system is arranged, and can also be needs of the user according to itself Setting.If it is set by user, as shown in Fig. 2, before step S101, the above method may also include step S201:Root According to the setting command received, setting preset voltage value, any value or two values in preset times.So as to meet use The different demands at family.
Wherein, by the way that preset voltage value is arranged, the time interval that this time upper electrical distance last time powers on can be set indirectly.Its In, when voltage value is more than preset voltage value, counting operation is executed, i.e., when power-on time interval is shorter, executes counting operation.
The technical solution that the embodiment of the present disclosure provides, does not need user's touch-control reset key and resets, so as to be convenient for There is no the electronic equipment of reset key to carry out reset operation, improves the usage experience of user.
In one embodiment, step S102 includes:
When voltage value is more than or equal to preset voltage value, second number of the execution counting operation recorded is read, and will First number is obtained after second number plus 1.Wherein, second number can be recorded in nonvolatile memory, can protect in this way Even if demonstrate,proving electronic equipment power-off, data will not lose.
As shown in figure 3, in one embodiment, the above method further includes step S301:
In step S301, when first number is less than preset times, first number is recorded.Wherein, first number It can be recorded in nonvolatile memory, can ensure to power off even if electronic equipment in this way, data will not lose.In this way, First number can be used as second number of next time after the power is turned on.
As shown in figure 4, in one embodiment, the above method further includes step S401:
In step S401, when voltage value is less than preset voltage value, by second of the execution counting operation recorded Number is set to zero.
In above-described embodiment, electronic equipment is powered on and is powered off, and is controlled by user, the power-on time of electronic equipment Interval is the time interval of user's switching electronics.In this way, being less than preset voltage value in voltage value, i.e. user this time switchs electricity When time of the sub- equipment apart from last time switching electronics is longer, by the number of the counting operation recorded in nonvolatile memory It resets, when time interval of this switching electronics apart from last time switching electronics is shorter, in nonvolatile memory Add 1 on the counting operation number of record, is resetted when the number is equal to preset times, i.e., in the continuous high-speed switch of user When the number of electronic equipment reaches preset times, electronic equipment carries out reset operation.This way it is not necessary to user's touch-control reset key It is resetted, so as to carry out reset operation convenient for the electronic equipment of not reset key, improves the usage experience of user.
The technical solution of the disclosure is described in detail with a specific embodiment below.Wherein, using electronic equipment as intelligent lamp Bubble, energy-storage module is for capacitance.Wherein capacitance is connected in parallel to intelligent bulbs.
As shown in figure 5, according to the repositioning method of a kind of electronic equipment shown in an exemplary embodiment, including step S501-S507:
In step S501, the voltage value at capacitance both ends is read.After intelligent bulbs power-off, since capacitance electric discharge needs to continue For a period of time, the voltage at capacitance both ends can be reduced slowly, be fully lowered into 0 and needed a period of time;Certainly, if giving intelligent bulbs It is powered, the voltage at capacitance both ends is increased to peak from 0 and is also required to a period of time.Therefore, if user is powered to intelligent bulbs, The voltage at detection capacitance both ends immediately illustrates the intelligent bulbs apart from when last time, unlatching had one section if voltage value is smaller Between;If voltage value is larger, illustrate that intelligent bulbs lamp is not long apart from last time unlatching interval.
In step S502, judge whether voltage value exceeds threshold value, when the judgment result is No, executes step S503, Judging result is when being, to execute step S504.
In step S503,0 is written into nonvolatile memory.Wherein, it is stored and is resetted using nonvolatile memory It counts, in this way, even if after intelligent bulbs power-off, being stored in the data of the inside will not lose, and ensure the safety of data.
In step S504, reset count is read from nonvolatile memory.
In step S505, judge after reset count adds 1 whether beyond threshold value to execute step when the determination result is yes Rapid S507 executes step S506 when the judgment result is No.Wherein, user or manufacturer can be arranged as required to the threshold counted Value, such as 3 times, to meet the different demands of different user.
In step S506, nonvolatile memory is written into reset count.
In step s 507, intelligent bulbs are resetted.In this way, the effect reached is as follows:User quickly opens for continuous 3 times Closing intelligent bulbs (every time from light bulb is closed to the interval opened light bulb no more than 5 seconds), intelligent bulbs can just be reset afterwards, Other operation will not all reset the intelligent bulbs.
Fig. 6 is the block diagram according to the resetting apparatus of a kind of electronic equipment shown in an exemplary embodiment.As shown in fig. 6, According to the resetting apparatus of the electronic equipment of the embodiment of the present disclosure, including:
After detection module 61 is configured as electricity on an electronic device, the voltage value at detection energy-storage module both ends;
Counting module 62 is configured as, when voltage value is more than or equal to preset voltage value, executing counting operation;
Statistical module 63 is configured as first number that statistics cut-off executes counting operation so far;
Reseting module 64 is configured as, when first number is greater than or equal to preset times, executing electronic equipment and resetting behaviour Make.
As shown in fig. 7, in one embodiment, statistical module 63 includes:
Reading submodule 71 is configured as when voltage value is more than or equal to preset voltage value, and what reading had recorded executes counting Second number of operation, and first number will be obtained behind second number plus 1.
As shown in figure 8, in one embodiment, above-mentioned apparatus further includes:
It counts dump block 81 and is configured as the execution counting operation that will have been recorded when voltage value is less than preset voltage value Second number be set to zero.
As shown in figure 9, in one embodiment, above-mentioned apparatus further includes:
Logging modle 91 is configured as, when first number is less than preset times, recording first number.
As shown in Figure 10, in one embodiment, above-mentioned apparatus further includes:
Setup module 1001 is configured as, according to the setting command received, being arranged in preset voltage value, preset times Any value or two values.
Figure 11 is the block diagram according to a kind of electronic equipment shown in an exemplary embodiment.As shown in figure 11, according to this public affairs The electronic equipment of embodiment is opened, including:Circuit 1101 and the energy-storage module 1102 for being connected in parallel to circuit 1101, wherein energy storage The charging duration of module 1102 after the power-up and electric discharge duration after a loss of power are all higher than corresponding duration threshold value;Wherein, in electricity After sub- device power, the voltage value at 1102 both ends of detection energy-storage module;When voltage value is more than or equal to preset voltage value, meter is executed Number operation, and count first number of currently performed counting operation;When first number is greater than or equal to preset times, execute Reset operation.
The disclosure also provides the resetting apparatus of a kind of electronic equipment, including:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as:
The electronic equipment after the power is turned on, detect the voltage value at the energy-storage module both ends;
When the voltage value is more than or equal to preset voltage value, counting operation is executed;
Statistics cut-off executes first number of counting operation so far;
When first number is greater than or equal to preset times, the electronic equipment is executed and resets operation.
Above-mentioned processor is also configured to:
The statistics cut-off executes first number of counting operation so far, including:
Second number of the execution counting operation recorded is read, and described first will be obtained after second number plus 1 Number.
Above-mentioned processor is also configured to:
The method further includes:
When the voltage value is less than the preset voltage value, second number of the execution counting operation recorded is set to Zero.
Above-mentioned processor is also configured to:
The method further includes:
When first number is less than the preset times, first number is recorded.
Above-mentioned processor is also configured to:
The method further includes:
According to the setting command received, the preset voltage value, any value in the preset times or two are set A numerical value.
Figure 12 is a kind of block diagram of resetting apparatus 1200 for electronic equipment shown according to an exemplary embodiment, should Device is suitable for electronic equipment.For example, device 1200 can be mobile phone, and computer, digital broadcast terminal equipment, message receipts Send out equipment, game console, tablet device, Medical Devices, body-building equipment, personal digital assistant etc..
Referring to Fig.1 2, device 1200 may include following one or more components:Processing component 1202, memory 1204, Power supply module 1206, multimedia component 1208, audio component 1210, the interface 1212 of input/output (I/O), sensor module 1214 and communication component 1216.
The integrated operation of 1202 usual control device 1200 of processing component, such as with display, call, data communication, Camera operation and record operate associated operation.Processing element 1202 may include one or more processors 1220 to execute Instruction, to perform all or part of the steps of the methods described above.In addition, processing component 1202 may include one or more moulds Block, convenient for the interaction between processing component 1202 and other assemblies.For example, processing component 1202 may include multi-media module, To facilitate the interaction between multimedia component 1208 and processing component 1202.
Memory 1204 is configured as storing various types of data to support the operation in equipment 1200.These data Example includes the instruction for any application program or method that are operated on device 1200, contact data, telephone book data, Message, picture, video etc..Memory 1204 can by any kind of volatibility or non-volatile memory device or they Combination is realized, such as static RAM (SRAM), electrically erasable programmable read-only memory (EEPROM), it is erasable can Program read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory Reservoir, disk or CD.
Electric power assembly 1206 provides electric power for the various assemblies of device 1200.Electric power assembly 1206 may include power management System, one or more power supplys and other generated with for device 1200, management and the associated component of distribution electric power.
Multimedia component 1208 is included in the screen of one output interface of offer between described device 1200 and user. In some embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, Screen may be implemented as touch screen, to receive input signal from the user.Touch panel includes that one or more touch passes Sensor is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding is dynamic The boundary of work, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, more Media component 1208 includes a front camera and/or rear camera.When equipment 1200 is in operation mode, mould is such as shot When formula or video mode, front camera and/or rear camera can receive external multi-medium data.Each preposition camera shooting Head and rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 1210 is configured as output and/or input audio signal.For example, audio component 1210 includes a wheat Gram wind (MIC), when device 1200 is in operation mode, when such as call model, logging mode and speech recognition mode, microphone quilt It is configured to receive external audio signal.The received audio signal can be further stored in memory 1204 or via communication Component 1216 is sent.In some embodiments, audio component 1210 further includes a loud speaker, is used for exports audio signal.
I/O interfaces 1212 provide interface, above-mentioned peripheral interface module between processing component 1202 and peripheral interface module Can be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and Locking press button.
Sensor module 1214 includes one or more sensors, and the state for providing various aspects for device 1200 is commented Estimate.For example, sensor module 1214 can detect the state that opens/closes of equipment 1200, the relative positioning of component, such as institute The display and keypad that component is device 1200 are stated, sensor module 1214 can be with detection device 1200 or device 1,200 1 The position change of a component, the existence or non-existence that user contacts with device 1200,1200 orientation of device or acceleration/deceleration and dress Set 1200 temperature change.Sensor module 1214 may include proximity sensor, be configured in not any physics It is detected the presence of nearby objects when contact.Sensor module 1214 can also include optical sensor, as CMOS or ccd image are sensed Device, for being used in imaging applications.In some embodiments, which can also include acceleration sensing Device, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 1216 is configured to facilitate the communication of wired or wireless way between device 1200 and other equipment.Dress The wireless network based on communication standard, such as WiFi can be accessed by setting 1200,2G or 3G or combination thereof.It is exemplary at one In embodiment, communication component 1216 receives broadcast singal or broadcast correlation from external broadcasting management system via broadcast channel Notification message.In one exemplary embodiment, the communication component 1216 further includes near-field communication (NFC) module, to promote Short range communication.For example, radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band can be based in NFC module (UWB) technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 1200 can be by one or more application application-specific integrated circuit (ASIC), number Signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing the above method.
In the exemplary embodiment, it includes the non-transitorycomputer readable storage medium instructed, example to additionally provide a kind of Such as include the memory 1204 of instruction, above-metioned instruction can be executed by the processor 820 of device 1200 to complete the above method.Example Such as, the non-transitorycomputer readable storage medium can be ROM, it is random access memory (RAM), CD-ROM, tape, soft Disk and optical data storage devices etc..
Those skilled in the art will readily occur to its of the disclosure after considering specification and putting into practice disclosure disclosed herein Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Person's adaptive change follows the general principles of this disclosure and includes the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following Claim is pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the accompanying claims.

Claims (10)

1. the repositioning method of a kind of electronic equipment, the electronic equipment includes circuit, which is characterized in that the electronic equipment also wraps Include the energy-storage module for being connected in parallel to the circuit, the charging duration of the energy-storage module after the power-up and electric discharge after a loss of power Duration is all higher than corresponding duration threshold value, the method includes:
The electronic equipment after the power is turned on, detect the voltage value at the energy-storage module both ends;
When the voltage value is more than or equal to preset voltage value, counting operation is executed;
Statistics cut-off executes first number of counting operation so far;
When first number is greater than or equal to preset times, the electronic equipment is executed and resets operation;
The method further includes:
According to the setting command received, the preset voltage value, any value in the preset times or two numbers are set Value.
2. the method as described in claim 1, which is characterized in that the statistics cut-off executes the of counting operation so far Number, including:
Second number of the execution counting operation recorded is read, and first number will be obtained after second number plus 1.
3. method as claimed in claim 2, which is characterized in that the method further includes:
When the voltage value is less than the preset voltage value, second number of the execution counting operation recorded is set to Zero.
4. method as claimed in claim 2, which is characterized in that the method further includes:
When first number is less than the preset times, first number is recorded.
5. the resetting apparatus of a kind of electronic equipment, the electronic equipment includes circuit, which is characterized in that the electronic equipment also wraps Include the energy-storage module for being connected in parallel to the circuit, the charging duration of the energy-storage module after the power-up and electric discharge after a loss of power Duration is all higher than corresponding duration threshold value, and described device includes:
Detection module, for the electronic equipment after the power is turned on, detect the voltage value at the energy-storage module both ends;
Counting module, for when the voltage value is more than or equal to preset voltage value, executing counting operation;
Statistical module executes first number of counting operation for counting cut-off so far;
Reseting module, for when first number is greater than or equal to preset times, being executed to the electronic equipment and resetting behaviour Make;
Described device further includes:
Setup module, for according to the setting command received, any in the preset voltage value, the preset times to be arranged Numerical value or two values.
6. device as claimed in claim 5, which is characterized in that the statistical module includes:
Statistic submodule, second number for reading the execution counting operation recorded, and will be obtained after second number plus 1 To first number.
7. device as claimed in claim 6, which is characterized in that described device further includes:
Count dump block, for the voltage value be less than the preset voltage value when, by it is described recorded execute counting Second number of operation is set to zero.
8. device as claimed in claim 6, which is characterized in that described device further includes:
Logging modle, for when first number is less than the preset times, recording first number.
9. a kind of electronic equipment, including circuit, which is characterized in that further include:
It is connected in parallel to the energy-storage module of the circuit, wherein energy-storage module charging duration after the power-up and powering off Electric discharge duration afterwards is all higher than corresponding duration threshold value;
Wherein, the electronic equipment after the power is turned on, detect the voltage value at the energy-storage module both ends;Be more than in the voltage value etc. When preset voltage value, counting operation is executed, and ends first number for executing counting operation so far;Described first When number is greater than or equal to preset times, executes and reset operation;According to the setting command received, the predeterminated voltage is set Value, any value in the preset times or two values.
10. the resetting apparatus of a kind of electronic equipment, the electronic equipment includes circuit, which is characterized in that the electronic equipment is also Energy-storage module including being connected in parallel to the circuit, energy-storage module charging duration after the power-up and putting after a loss of power Electric duration is all higher than corresponding duration threshold value, and described device includes:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as:
The electronic equipment after the power is turned on, detect the voltage value at the energy-storage module both ends;
When the voltage value is more than or equal to preset voltage value, counting operation is executed;
Statistics cut-off executes first number of counting operation so far;
When first number is greater than or equal to preset times, the electronic equipment is executed and resets operation;
According to the setting command received, the preset voltage value, any value in the preset times or two numbers are set Value.
CN201510350786.4A 2015-06-23 2015-06-23 Electronic equipment and its repositioning method and device Active CN104991625B (en)

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 CN104991625A (en) 2015-10-21
CN104991625B true 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)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN106851149B (en) * 2017-02-13 2019-11-22 广州视源电子科技股份有限公司 Show the repositioning method and resetting apparatus of equipment
CN108073260B (en) * 2017-04-07 2021-04-06 丁贤根 Overcharge resetting method and system
CN107506251B (en) * 2017-07-25 2021-07-06 海信视像科技股份有限公司 Method and device for resetting intelligent equipment

Citations (2)

* Cited by examiner, † Cited by third party
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

Patent Citations (2)

* Cited by examiner, † Cited by third party
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

Also Published As

Publication number Publication date
CN104991625A (en) 2015-10-21

Similar Documents

Publication Publication Date Title
CN104991625B (en) Electronic equipment and its repositioning method and device
CN104991789B (en) Application program open method and device
US11985468B2 (en) Wireless earphone serial port control method and apparatus, wireless earphone, and storage medium
CN105068958B (en) Method for handover control and device
CN108631401A (en) Charging circuit, method, electronic equipment and storage medium
CN103927200B (en) Electronic equipment awakening method and relevant apparatus
CN105137831B (en) Energy-saving mode open method and device
CN105446858B (en) The replacement reminding method and device of battery
CN107567082A (en) The control method and terminal device of network mode
CN108091809A (en) Battery, equipment, charge control method and device
CN108091808A (en) Battery, equipment, charge control method and device
CN106786997A (en) Charging method and device
CN105068632A (en) Terminal charging method and device and terminal
CN105162193A (en) Charging method and charging apparatus for terminal, and terminal
CN107515749A (en) Starting-up method, device and the electronic equipment of electronic equipment
CN108110854A (en) Charging method, device and computer readable storage medium
CN104485552A (en) Socket on-off control method and device
CN105824474A (en) Control method and device as well as mobile equipment
EP3614523B1 (en) Charging processing method and terminal device
CN106898832A (en) Charging method and device
CN105390120A (en) Bright screen control method and device
WO2018094795A1 (en) Method and device for controlling power supply of power strip, and power strip
CN108539804A (en) Battery charging control method, battery charging control device and electronic equipment
CN105094915B (en) reset processing method and device
CN104931823B (en) The test method and device of 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
GR01 Patent grant
GR01 Patent grant