[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN104899084A - Electronic equipment and method for preventing electronic equipment from frequently switching working states - Google Patents

Electronic equipment and method for preventing electronic equipment from frequently switching working states Download PDF

Info

Publication number
CN104899084A
CN104899084A CN201510283045.9A CN201510283045A CN104899084A CN 104899084 A CN104899084 A CN 104899084A CN 201510283045 A CN201510283045 A CN 201510283045A CN 104899084 A CN104899084 A CN 104899084A
Authority
CN
China
Prior art keywords
electronic equipment
containment vessel
counter
open
higher limit
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
Application number
CN201510283045.9A
Other languages
Chinese (zh)
Other versions
CN104899084B (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.)
Shandong Blue Ocean Industrial Internet Co ltd
Original Assignee
Huizhou TCL Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Priority to CN201510283045.9A priority Critical patent/CN104899084B/en
Publication of CN104899084A publication Critical patent/CN104899084A/en
Application granted granted Critical
Publication of CN104899084B publication Critical patent/CN104899084B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephone Function (AREA)

Abstract

Electronic equipment and a method for preventing the electronic equipment from frequently switching working states are disclosed. The present invention discloses the method for preventing the electronic equipment from frequently switching the working states; the method comprises the steps that: the electronic equipment determines, according to the magnetic field intensity detected by a magnetic field intensity sensor, whether a protective housing is closed and/or opened; if so, the electronic equipment performs statistics on the closing and/or opening times of the protective housing through a first counter; the electronic equipment determines whether the closing and/or opening times of the protective housing, subjected to statistics by the first counter within a first preset time, reach a first upper limit value; and if so, the electronic equipment is automatically prohibited from starting a working state switching function. The present invention further discloses the electronic equipment. Therefore, when frequent closing and/or opening of the protective housing of the electronic equipment is detected, the phenomenon of frequent switching between a dormant state and a normal working state of the electronic equipment can be prevented.

Description

Electronic equipment and the method preventing the frequent switch operating state of electronic equipment
Technical field
The present invention relates to electronic technology field, particularly relate to a kind of electronic equipment and the method preventing the frequent switch operating state of electronic equipment.
Background technology
Containment vessel widely uses on an electronic device, and containment vessel is installed on an electronic device, can play the effect of protection electronic equipment.At present, along with the development of technology, containment vessel is also furnished with a function, and when covering containment vessel, the screen of electronic equipment extinguishes, and when opening containment vessel, the screen of electronic equipment lights, thus is user-friendly to containment vessel.
Wherein, when covering containment vessel, the screen of electronic equipment extinguishes, and the duty of electronic equipment can enter dormant state; When opening containment vessel, the screen of electronic equipment lights, and electronic equipment switches to normal operating conditions by dormant state.But; can be there is such defect in this: there will be the phenomenon that containment vessel is frequently opened or covered in actual use; such as child is when playing electronic equipment; owing to feeling joyful; child can constantly cover and open containment vessel; at this moment often there are the screen repeatedly light on and off of electronic equipment, make electronic equipment constantly frequent switching between dormant state and normal operating conditions, finally may not come to cause electronic equipment deadlock phenomenon because of electronic equipment process.
In sum, be necessary a kind of electronic equipment is provided and prevents the method for the frequent switch operating state of electronic equipment to solve the problem.
Summary of the invention
The technical matters that the present invention mainly solves is to provide a kind of electronic equipment and prevents the method for the frequent switch operating state of electronic equipment, can prevent the phenomenon of the frequent switch operating state of electronic equipment from occurring.
For solving the problems of the technologies described above, the technical scheme that the present invention adopts is: provide a kind of method preventing the frequent switch operating state of electronic equipment, containment vessel is installed on an electronic device, electronic equipment and containment vessel cover tactile side and are provided with magnetic field strength transducer, the side that containment vessel contacts with magnetic field strength transducer is provided with magnetic material, and method comprises: by the magnetic field intensity that magnetic field strength transducer detects, electronic equipment judges whether containment vessel covers and/or open; When electronic equipment is covered by magnetic field strength transducer detection magnetic field intensity determination containment vessel and/or is opened, the number of times covering by the first counters count containment vessel and/or open; Electronic equipment judges that the first counter is added up the number of times that containment vessel covers and/or open and whether reached the first higher limit in the first predetermined amount of time; Electronic equipment determines that the first counter adds up number of times that containment vessel covers and/or open when reaching the first higher limit in the first predetermined amount of time; automatically forbid that duty handoff functionality opened by electronic equipment, wherein duty handoff functionality comprises the switching between the dormant state of electronic equipment and the normal operating conditions of electronic equipment.
Wherein, the method also comprises: electronic equipment determines that the first counter adds up number of times that containment vessel covers and/or open when not reaching the first higher limit in the first predetermined amount of time; automatic unlatching duty handoff functionality; meanwhile, the number of times that containment vessel covers and/or opens added up again by the first counter.
Wherein, the method also comprises: electronic equipment forbid electronic equipment open duty handoff functionality time, the number of times covering by the second counters count containment vessel and/or open; Electronic equipment judges that the second counter is added up the number of times that containment vessel covers and/or open and whether reached the second higher limit in the second predetermined amount of time; Electronic equipment determines that the second counter adds up number of times that containment vessel covers and/or open when not reaching the second higher limit in the second predetermined amount of time, automatically opens duty handoff functionality.
Wherein, the method also comprises: it is when reaching the second higher limit that electronic equipment determines that the number of times that containment vessel covers and/or open added up by the second counter in the second predetermined amount of time; keep forbidding that duty handoff functionality opened by electronic equipment; meanwhile, the number of times that containment vessel covers and/or opens added up again by the second counter.
Wherein, the second higher limit is less than the first higher limit.
For solving the problems of the technologies described above, another technical solution used in the present invention is: provide a kind of electronic equipment, containment vessel is installed on an electronic device, electronic equipment and containment vessel cover contacted side and are provided with magnetic field strength transducer, the side that containment vessel contacts with magnetic field strength transducer is provided with magnetic material, electronic equipment comprises: magnetic field sensor module, for detecting magnetic field intensity by magnetic field strength transducer; Judge module, for judging by magnetic field intensity whether containment vessel covers and/or open; First counter module, for when judge module is covered by magnetic field intensity determination containment vessel and/or is opened, the number of times covering by the first counters count containment vessel and/or open; First number judge module, for judging that the first counter is added up the number of times that containment vessel covers and/or open and whether reached the first higher limit in the first predetermined amount of time; Switch disabled module; for determine at first number judge module the first counter add up in the first predetermined amount of time number of times that containment vessel covers and/or open reach the first higher limit time; automatically forbid that duty handoff functionality opened by electronic equipment, wherein duty handoff functionality comprises the switching between the dormant state of electronic equipment and the normal operating conditions of electronic equipment.
Wherein, electronic equipment also comprises the module that returns to form; for determine at first number judge module the first counter add up in the first predetermined amount of time number of times that containment vessel covers and/or open do not reach the first higher limit time; automatic unlatching duty handoff functionality; meanwhile, the number of times that containment vessel covers and/or opens added up again by the first counter of the first counter module.
Wherein, electronic equipment also comprises: the second counter module, for when switching disabled module and forbidding that duty handoff functionality opened by electronic equipment, and the number of times covering by the second counters count containment vessel and/or open; Second number judge module, for judging that the second counter is added up the number of times that containment vessel covers and/or open and whether reached the second higher limit in the second predetermined amount of time; The module that returns to form also for determine at second number judge module the second counter add up in the second predetermined amount of time number of times that containment vessel covers and/or open do not reach the second higher limit time, automatically open duty handoff functionality.
Wherein, switching disabled module, to determine that the number of times that containment vessel covers and/or open added up by the second counter in the second predetermined amount of time at second number judge module be when reaching the second higher limit; keep forbidding that duty handoff functionality opened by electronic equipment; meanwhile, the number of times that containment vessel covers and/or opens added up again by the second counter of the second counter module.
Wherein, the second higher limit is less than the first higher limit.
The invention has the beneficial effects as follows: the situation being different from prior art, the method for the frequent switch operating state of electronic equipment that prevents of the present invention comprises: by the magnetic field intensity that magnetic field strength transducer detects, electronic equipment judges whether containment vessel covers and/or open; If so, then the electronic equipment number of times that covers by the first counters count containment vessel and/or open; Electronic equipment judges that the first counter is added up the number of times that containment vessel covers and/or open and whether reached the first higher limit in the first predetermined amount of time; If so, then electronic equipment forbids that duty handoff functionality opened by electronic equipment automatically.By the way; the present invention is when detecting that the containment vessel of electronic equipment frequently covers and/or opens; forbid that duty handoff functionality opened by electronic equipment; the phenomenon that can prevent electronic equipment from carrying out frequently switching in its dormant state and normal operating conditions between the two occurs, reduces the loss of electronic equipment.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet that the present invention prevents the first embodiment of the method for the frequent switch operating state of electronic equipment;
Fig. 2 is the schematic flow sheet that the present invention prevents the second embodiment of the method for the frequent switch operating state of electronic equipment;
Fig. 3 is the structural representation of electronic equipment of the present invention.
Embodiment
Below in conjunction with drawings and embodiments, the present invention is described in detail.
As shown in Figure 1, Fig. 1 is the schematic flow sheet that the present invention prevents the first embodiment of the method for the frequent switch operating state of electronic equipment.Wherein, containment vessel (not shown) is installed on an electronic device, can play the effect of protection electronic equipment.Further, electronic equipment and containment vessel cover contacted side and are provided with magnetic field strength transducer, and the side that containment vessel contacts with magnetic field strength transducer is provided with magnetic material, and magnetic field strength transducer can detect the magnetic field intensity of magnetic material.The method comprises the following steps:
Step S101: by the magnetic field intensity that magnetic field strength transducer detects, electronic equipment judges whether containment vessel covers and/or open.
In step S101, when the magnetic field intensity that magnetic field strength transducer detects is greater than default magnetic field intensity, judge that containment vessel covers; When the magnetic field intensity that magnetic field strength transducer detects is not greater than default magnetic field intensity, judge that containment vessel is opened.
Step S102: when electronic equipment is covered by magnetic field strength transducer detection magnetic field intensity determination containment vessel and/or opened, the number of times covering by the first counters count containment vessel and/or open.
In an embodiment of the present invention, by number of times that the first counters count containment vessel covers and opens.Should understand; the time interval that containment vessel covers and opens should be less than the first preset time value; first counter just can add up the number of times that containment vessel covers and opens; the time interval covered as containment vessel and open is less than 1s (second); then the first counters count containment vessel number of times of covering and opening; cover as containment vessel and open interval greater than 1s, the number of times that containment vessel covers and beats do not added up by the first counter, the first counter reclocking.
In an alternative embodiment of the invention, by number of times that the first counters count containment vessel covers.Should understand.The time interval that containment vessel covers should be less than the second preset time value, and the first counter just can add up the number of times that containment vessel covers.Be less than the second preset time value as containment vessel covers the time interval covered with the second containment vessel, then the number of times that the first timer statistics containment vessel covers is 1 time.Be not less than the second preset time value as containment vessel covers the time interval covered with the second containment vessel, then the number of times that containment vessel covers do not added up by the first timer, again adds up the number of times that containment vessel covers.
In still another embodiment of the process, by number of times that the first counters count containment vessel is opened.Should understand.The time interval that containment vessel is opened should be less than the 3rd preset time value, and the first counter just can be added up containment vessel and open once.Open the time interval of opening with the second containment vessel as first time containment vessel and be less than the 3rd preset time value, then the number of times that containment vessel is opened added up by the first timer.Open the time interval of opening with the second containment vessel as first time containment vessel and be not less than the 3rd preset time value, then the number of times that containment vessel is opened do not added up by the first timer, again adds up the number of times that containment vessel is opened.
Step S103: electronic equipment judges that the first counter is added up the number of times that containment vessel covers and/or open and whether reached the first higher limit in the first predetermined amount of time.
In an embodiment of the present invention, electronic equipment judges that the first counter is added up the number of times that containment vessel covers and open and whether reached the first higher limit in the first predetermined amount of time.In an alternative embodiment of the invention, electronic equipment judges that the first counter is added up the number of times that containment vessel covers and whether reached the first higher limit in the first predetermined amount of time.In still another embodiment of the process, electronic equipment judges that the first counter is added up the number of times that containment vessel opens and whether reached the first higher limit in the first predetermined amount of time.
In the present embodiment, preferably by first timer timing, in the first predetermined amount of time of first timer timing, the first counter starts statistics number; After the first predetermined amount of time, namely during first timer stopping timing, the first counter also stops statistics number.
Step S104: electronic equipment determines that the first counter adds up number of times that containment vessel covers and/or open when reaching the first higher limit in the first predetermined amount of time, automatically forbids that duty handoff functionality opened by electronic equipment.
Wherein, duty handoff functionality comprises the switching between the dormant state of electronic equipment and the normal operating conditions of electronic equipment.In addition, determine the first counter add up in the first predetermined amount of time number of times that containment vessel covers and/or open reach the first higher limit time, electronic equipment has been forbidden opening duty handoff functionality with mode of vibration reminding user electronic equipment.
In an embodiment of the present invention; electronic equipment determines that the first counter adds up number of times that containment vessel covers and open when reaching the first higher limit in the first predetermined amount of time; automatically forbid that duty handoff functionality opened by electronic equipment, keep electronic equipment to be in dormant state simultaneously or keep electronic equipment to be in normal operating conditions.
In an alternative embodiment of the invention; electronic equipment determines that the first counter adds up number of times that containment vessel covers when reaching the first higher limit in the first predetermined amount of time; automatically forbid that duty handoff functionality opened by electronic equipment, keep electronic equipment to be in dormant state simultaneously or keep electronic equipment to be in normal operating conditions.
In still another embodiment of the process; electronic equipment determines that the first counter adds up number of times that containment vessel opens when reaching the first higher limit in the first predetermined amount of time; automatically forbid that duty handoff functionality opened by electronic equipment, keep electronic equipment to be in dormant state simultaneously or keep electronic equipment to be in normal operating conditions.
In the present embodiment, if electronic equipment determines that the first counter is added up the number of times whether containment vessel cover and/or open and do not reached the first higher limit in the first predetermined amount of time, then duty handoff functionality opened automatically by electronic equipment.
Should understand, in other embodiments, after electronic equipment forbids that in preset time value the number of times that duty handoff functionality opened by electronic equipment reaches preset times, electronic equipment will enter dormant state in preset time value, allow user again can not unlocking electronic equipment at Preset Time.After electronic equipment forbids that in one hour the number of times that duty handoff functionality opened by electronic equipment reaches 10 times, electronic equipment will enter dormant state in one hour, allow user again can not unlocking electronic equipment in one hour.
As shown in Figure 2, Fig. 2 is the schematic flow sheet that the present invention prevents the second embodiment of the method for the frequent switch operating state of electronic equipment.The method comprises the following steps:
Step S201: electronic equipment detects magnetic field intensity by magnetic field strength transducer.
Step S202: electronic equipment judges whether containment vessel covers and/or open.
If electronic equipment determination containment vessel does not cover and/or opens, then return step S201; If electronic equipment determination containment vessel covers and/or opens, then perform step S203: the number of times whether electronic equipment is covered by the first counters count containment vessel and/or opened.
Step S204: electronic equipment judges to add up in the first predetermined amount of time the number of times whether containment vessel cover and/or open and whether reaches the first higher limit.
If electronic equipment determines to add up in the first predetermined amount of time the number of times whether containment vessel cover and/or open do not reach the first higher limit, then perform step S205: duty handoff functionality opened automatically by electronic equipment; Return step S204 simultaneously.
If electronic equipment determines to add up in the first predetermined amount of time the number of times whether containment vessel cover and/or open reach the first higher limit, then perform step S206: electronic equipment forbids that duty handoff functionality opened by electronic equipment automatically.
Wherein step S101, the step S102 of step S201, step S202, step S203, step S204, step S205 and step S206 and Fig. 1, step S103 are identical with step S104, do not repeat one by one at this.
Step S207: the number of times whether electronic equipment is covered by the second counters count containment vessel and/or opened.
In an embodiment of the present invention, by number of times that the second counters count containment vessel covers and opens.Should be understood that the time interval that containment vessel covers and opens should be less than the first preset time value, the second counter just can add up the number of times that containment vessel covers and opens, otherwise the second counter reclocking.
In an alternative embodiment of the invention, by number of times that the second counters count containment vessel covers.Should understand.The time interval that containment vessel covers should be less than the second preset time value, and the second counter just can add up the number of times that containment vessel covers.Otherwise the number of times that containment vessel covers added up again by the second counter.
In still another embodiment of the process, by number of times that the second counters count containment vessel is opened.Should understand.The time interval that containment vessel is opened should be less than the 3rd preset time value, and the second counter just can add up the number of times that containment vessel is opened.Otherwise the number of times that containment vessel is opened added up again by the second counter.
Step S208: electronic equipment judges that the second timer is added up the number of times whether containment vessel cover and/or open and whether reached the second higher limit in the second predetermined amount of time.
In an embodiment of the present invention, electronic equipment judges that the second counter is added up the number of times that containment vessel covers and open and whether reached the second higher limit in the second predetermined amount of time.In an alternative embodiment of the invention, electronic equipment judges that the second counter is added up the number of times that containment vessel covers and whether reached the second higher limit in the second predetermined amount of time.In still another embodiment of the process, electronic equipment judges that the second counter is added up the number of times that containment vessel opens and whether reached the second higher limit in the second predetermined amount of time.
In the present embodiment, preferably by second timer timing, in the second predetermined amount of time of second timer timing, the second counter starts statistics number; After the second predetermined amount of time, after namely second timer stops timing, the second counter also stops statistics number.
If electronic equipment determines that the second timer is added up the number of times whether containment vessel cover and/or open and reached the second higher limit in the second predetermined amount of time, then perform step S209: electronic equipment forbids that duty handoff functionality opened by electronic equipment automatically.
In an embodiment of the present invention; electronic equipment determines that the second counter adds up number of times that containment vessel covers and open when reaching the second higher limit in the second predetermined amount of time; automatically forbid that duty handoff functionality opened by electronic equipment, keep electronic equipment to be in dormant state simultaneously or keep electronic equipment to be in normal operating conditions.
In an alternative embodiment of the invention; electronic equipment determines that the second counter adds up number of times that containment vessel covers when reaching the second higher limit in the second predetermined amount of time; automatically forbid that duty handoff functionality opened by electronic equipment, keep electronic equipment to be in dormant state simultaneously or keep electronic equipment to be in normal operating conditions.
In still another embodiment of the process; electronic equipment determines that the second counter adds up number of times that containment vessel opens when reaching the second higher limit in the second predetermined amount of time; automatically forbid that duty handoff functionality opened by electronic equipment, keep electronic equipment to be in dormant state simultaneously or keep electronic equipment to be in normal operating conditions.
Electronic equipment determines that the second timer is added up the number of times whether containment vessel cover and/or open and do not reached the second higher limit in the second predetermined amount of time, then perform step S210: duty handoff functionality opened automatically by electronic equipment.
In the present embodiment, the second higher limit is less than the first higher limit.First higher limit is user's setting value.Second higher limit can be the value of user's setting, and preferably, the second higher limit is 0.Certainly, in other embodiments of the present invention, the second higher limit is can be other numerical value, and concrete needs is designed according to the time and determine.
Should understand, in other embodiments, after the number of times of the switching between the dormant state of the electronic equipment produced in preset time value when electronic equipment and the normal operating conditions of electronic equipment reaches preset times, electronic equipment will enter dormant state in preset time value, allow user again can not unlocking electronic equipment at Preset Time.After number of times as the switching between the dormant state of electronic equipment generating electronic equipment in hour and the normal operating conditions of electronic equipment reaches 10 times, electronic equipment will enter dormant state in one hour, allow user again can not unlocking electronic equipment in one hour.
As shown in Figure 3, Fig. 3 is the structural representation of electronic equipment of the present invention.This electronic equipment is corresponding with the method for Fig. 1 and Fig. 2.Wherein, containment vessel is installed on an electronic device, can play the effect of protection electronic equipment.Further, electronic equipment and containment vessel cover contacted side and are provided with magnetic field strength transducer, and the side that containment vessel contacts with magnetic field strength transducer is provided with magnetic material, and magnetic field strength transducer can detect the magnetic field intensity of magnetic material.This electronic equipment comprises magnetic field sensor module 11, judge module 12, first counter module 13, second counter module 14, first number judge module 15, second number judge module 16, switches disabled module 17 and the module 18 that returns to form.
Magnetic field sensor module 11 is for detecting magnetic field intensity by magnetic field strength transducer.
Judge module 12 is for judging by magnetic field intensity whether containment vessel covers and/or open.
First counter module 13 for when judge module 12 is covered by magnetic field intensity determination containment vessel and/or is opened, the number of times covering by the first counters count containment vessel and/or open.
In an embodiment of the present invention, the number of times of the first counter module 13 for covering by the first counters count containment vessel and open.In an alternative embodiment of the invention, the number of times of the first counter module 13 for being covered by the first counters count containment vessel.In still another embodiment of the process, the number of times of the first counter module 13 for being opened by the first counters count containment vessel.
First number judge module 15 is for judging that the first counter is added up the number of times that containment vessel covers and/or open and whether reached the first higher limit in the first predetermined amount of time.
In an embodiment of the present invention, first number judge module 15 judges that the first counter is added up the number of times that containment vessel covers and open and whether reached the first higher limit in the first predetermined amount of time.In an alternative embodiment of the invention, first number judge module 15 judges that the first counter is added up the number of times that containment vessel covers and whether reached the first higher limit in the first predetermined amount of time.In still another embodiment of the process, first number judge module 15 judges that the first counter is added up the number of times that containment vessel opens and whether reached the first higher limit in the first predetermined amount of time.
In the present embodiment, electronic equipment also comprises first timer module, and for passing through first timer timing, in the first predetermined amount of time of first timer timing, the first counter of first number judge module 15 starts statistics number; After the first predetermined amount of time, namely during first timer stopping timing, the first counter also stops statistics number.
Switch disabled module 17 for determine at first number judge module 15 first counter add up in the first predetermined amount of time number of times that containment vessel covers and/or open reach the first higher limit time, automatically forbid electronic equipment unlatching duty handoff functionality.Wherein duty handoff functionality comprises the switching between the dormant state of electronic equipment and the normal operating conditions of electronic equipment.
In the present embodiment; switch disabled module 17 for determine at first number judge module 15 first counter add up in the first predetermined amount of time number of times that containment vessel covers and/or open reach the first higher limit time; automatically forbid that duty handoff functionality opened by electronic equipment, keep electronic equipment to be in dormant state simultaneously or keep electronic equipment to be in normal operating conditions.
The module that returns to form 18 for determine at first number judge module 15 first counter add up in the first predetermined amount of time number of times that containment vessel covers and/or open do not reach the first higher limit time; automatic unlatching duty handoff functionality; meanwhile, the number of times that containment vessel covers and/or opens added up again by the first counter of the first counter module 13.
Second counter module 14 is for forbidding electronic equipment unlatching duty handoff functionality during in switching disabled module 17, the number of times covering by the second counters count containment vessel and/or open.
In an embodiment of the present invention, the number of times of the second counter module 14 for covering by the second counters count containment vessel and open.In an alternative embodiment of the invention, the number of times of the second counter module 14 for being covered by the second counters count containment vessel.In still another embodiment of the process, the number of times of the second counter module 14 for being opened by the second counters count containment vessel.
Second number judge module 16 is for judging that the second counter is added up the number of times that containment vessel covers and/or open and whether reached the second higher limit in the second predetermined amount of time.
In an embodiment of the present invention, second number judge module 16 judges that the second counter is added up the number of times that containment vessel covers and open and whether reached the second higher limit in the second predetermined amount of time.In an alternative embodiment of the invention, second number judge module 16 judges that the second counter is added up the number of times that containment vessel covers and whether reached the second higher limit in the second predetermined amount of time.In still another embodiment of the process, second number judge module 16 judges that the second counter is added up the number of times that containment vessel opens and whether reached the second higher limit in the second predetermined amount of time.
In the present embodiment, electronic equipment also comprises second timer module, and for passing through second timer timing, in the second predetermined amount of time of second timer timing, the second counter of second number judge module 16 starts statistics number; After the second predetermined amount of time, namely during second timer stopping timing, the second counter also stops statistics number.
The module that returns to form 18 also for determine at second number judge module 16 second counter add up in the second predetermined amount of time number of times that containment vessel covers and/or open do not reach the second higher limit time, automatically open duty handoff functionality.
Switching disabled module 17 is also when reaching the second higher limit for determining that at second number judge module 16 number of times that containment vessel covers and/or open added up by second counter in the second predetermined amount of time; keep forbidding that duty handoff functionality opened by electronic equipment; meanwhile, the number of times that containment vessel covers and/or opens added up again by the second counter of the second counter module 14.
In the present embodiment; switch disabled module 17 for determine at second number judge module 16 second counter add up in the second predetermined amount of time number of times that containment vessel covers and/or open reach the second higher limit time; keep forbidding that duty handoff functionality opened by electronic equipment; the number of times that containment vessel covers and/or opens added up again by second counter of the second counter module 14, keeps electronic equipment to be in dormant state simultaneously or keeps electronic equipment to be in normal operating conditions.
In the present embodiment, the second higher limit is less than the first higher limit.First higher limit is user's setting value.Second higher limit can be the value of user's setting, and preferably, the second higher limit is 0.Certainly, in other embodiments of the present invention, the second higher limit is can be other numerical value, and concrete needs is designed according to the time and determine.
In sum, the method for the frequent switch operating state of electronic equipment that prevents of the present invention comprises: by the magnetic field intensity that magnetic field strength transducer detects, electronic equipment judges whether containment vessel covers and/or open; If so, then the electronic equipment number of times that covers by the first counters count containment vessel and/or open; Electronic equipment judges that the first counter is added up the number of times that containment vessel covers and/or open and whether reached the first higher limit in the first predetermined amount of time; If so, then electronic equipment forbids that duty handoff functionality opened by electronic equipment automatically.By the way; the present invention is when detecting that the containment vessel of electronic equipment frequently covers and/or opens; forbid that duty handoff functionality opened by electronic equipment; the phenomenon that can prevent electronic equipment from carrying out frequently switching in its dormant state and normal operating conditions between the two occurs, reduces the loss of electronic equipment.
The foregoing is only embodiments of the present invention; not thereby the scope of the claims of the present invention is limited; every utilize instructions of the present invention and accompanying drawing content to do equivalent structure or equivalent flow process conversion; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.

Claims (10)

1. one kind prevents the method for the frequent switch operating state of electronic equipment; it is characterized in that; containment vessel is arranged on described electronic equipment; described electronic equipment and described containment vessel cover contacted side and are provided with magnetic field strength transducer; the side that described containment vessel contacts with described magnetic field strength transducer is provided with magnetic material, and described method comprises:
By the magnetic field intensity that described magnetic field strength transducer detects, described electronic equipment judges whether described containment vessel covers and/or open;
When described electronic equipment determines that described containment vessel covers and/or opens by described magnetic field strength transducer detection magnetic field intensity, the number of times covering by containment vessel described in the first counters count and/or open;
Described electronic equipment judges that described first counter is added up the number of times that described containment vessel covers and/or open and whether reached the first higher limit in the first predetermined amount of time;
Described electronic equipment determines that described first counter adds up number of times that described containment vessel covers and/or open when reaching described first higher limit in described first predetermined amount of time; automatically forbid that duty handoff functionality opened by described electronic equipment, wherein said duty handoff functionality comprises the switching between the dormant state of described electronic equipment and the normal operating conditions of described electronic equipment.
2. method according to claim 1, is characterized in that, described method also comprises:
Described electronic equipment determines that described first counter adds up number of times that described containment vessel covers and/or open when not reaching described first higher limit in described first predetermined amount of time; the described duty handoff functionality of automatic unlatching; meanwhile, the number of times that described containment vessel covers and/or opens added up again by described first counter.
3. method according to claim 1, is characterized in that, described method also comprises:
Described electronic equipment forbid described electronic equipment open duty handoff functionality time, the number of times covering by containment vessel described in the second counters count and/or open;
Described electronic equipment judges that described second counter is added up the number of times that described containment vessel covers and/or open and whether reached the second higher limit in the second predetermined amount of time;
Described electronic equipment determines that described second counter adds up number of times that described containment vessel covers and/or open when not reaching described second higher limit in described second predetermined amount of time, automatically opens described duty handoff functionality.
4. method according to claim 3, is characterized in that, described method also comprises:
It is when reaching described second higher limit that described electronic equipment determines that the number of times that described containment vessel covers and/or open added up by described second counter in described second predetermined amount of time; keep forbidding that described duty handoff functionality opened by described electronic equipment; meanwhile, the number of times that described containment vessel covers and/or opens added up again by described second counter.
5. method according to claim 3, is characterized in that, described second higher limit is less than described first higher limit.
6. an electronic equipment; it is characterized in that; containment vessel is arranged on described electronic equipment; described electronic equipment and described containment vessel cover contacted side and are provided with magnetic field strength transducer; the side that described containment vessel contacts with described magnetic field strength transducer is provided with magnetic material, and described electronic equipment comprises:
Magnetic field sensor module, for detecting magnetic field intensity by described magnetic field strength transducer;
By described magnetic field intensity, judge module, for judging whether described containment vessel covers and/or open;
First counter module, for when by described magnetic field intensity, described judge module determines that described containment vessel covers and/or opens, the number of times covering by containment vessel described in the first counters count and/or open;
First number judge module, for judging that described first counter is added up the number of times that described containment vessel covers and/or open and whether reached the first higher limit in the first predetermined amount of time;
Switch disabled module; for determine at described first number judge module described first counter add up in described first predetermined amount of time number of times that described containment vessel covers and/or open reach described first higher limit time; automatically forbid that duty handoff functionality opened by described electronic equipment, wherein said duty handoff functionality comprises the switching between the dormant state of described electronic equipment and the normal operating conditions of described electronic equipment.
7. electronic equipment according to claim 6; it is characterized in that; described electronic equipment also comprises the module that returns to form; for determine at described first number judge module described first counter add up in described first predetermined amount of time number of times that described containment vessel covers and/or open do not reach described first higher limit time; the described duty handoff functionality of automatic unlatching; meanwhile, the number of times that described containment vessel covers and/or opens added up again by the first counter of described first counter module.
8. electronic equipment according to claim 7, is characterized in that, described electronic equipment also comprises:
Second counter module, during for forbidding that in described switching disabled module duty handoff functionality opened by described electronic equipment, the number of times covering by containment vessel described in the second counters count and/or open;
Second number judge module, for judging that described second counter is added up the number of times that described containment vessel covers and/or open and whether reached the second higher limit in the second predetermined amount of time;
Described return to form module also for determine at described second number judge module described second counter add up in described second predetermined amount of time number of times that described containment vessel covers and/or open do not reach described second higher limit time, automatically open described duty handoff functionality.
9. electronic equipment according to claim 8; it is characterized in that; at described second number judge module, described switching disabled module determines that the number of times that described containment vessel covers and/or open added up by described second counter in described second predetermined amount of time is when reaching described second higher limit; keep forbidding that described duty handoff functionality opened by described electronic equipment; meanwhile, the number of times that described containment vessel covers and/or opens added up again by the second counter of described second counter module.
10. electronic equipment according to claim 8, is characterized in that, described second higher limit is less than described first higher limit.
CN201510283045.9A 2015-05-28 2015-05-28 Electronic equipment and the method for preventing electronic equipment frequent switching working condition Active CN104899084B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510283045.9A CN104899084B (en) 2015-05-28 2015-05-28 Electronic equipment and the method for preventing electronic equipment frequent switching working condition

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510283045.9A CN104899084B (en) 2015-05-28 2015-05-28 Electronic equipment and the method for preventing electronic equipment frequent switching working condition

Publications (2)

Publication Number Publication Date
CN104899084A true CN104899084A (en) 2015-09-09
CN104899084B CN104899084B (en) 2018-09-25

Family

ID=54031762

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510283045.9A Active CN104899084B (en) 2015-05-28 2015-05-28 Electronic equipment and the method for preventing electronic equipment frequent switching working condition

Country Status (1)

Country Link
CN (1) CN104899084B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107086872A (en) * 2017-04-14 2017-08-22 惠州Tcl移动通信有限公司 A kind of frequency range method for handover control and system based on mobile terminal
CN107318152A (en) * 2017-06-02 2017-11-03 Tcl移动通信科技(宁波)有限公司 A kind of mobile terminal and its double antenna control method and storage medium
CN107704131A (en) * 2017-09-27 2018-02-16 惠州Tcl移动通信有限公司 Electric control processing method and storage medium under mobile terminal and touch-screen
CN111717051A (en) * 2020-06-30 2020-09-29 重庆长安新能源汽车科技有限公司 Protection control method for electronic lock of pure electric vehicle
CN112714215A (en) * 2021-01-22 2021-04-27 惠州Tcl移动通信有限公司 Mobile terminal sound setting processing method and device, terminal equipment and storage medium
CN113886212A (en) * 2021-10-25 2022-01-04 北京字跳网络技术有限公司 User state control method and device, electronic equipment and storage medium

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000300506A (en) * 1999-04-19 2000-10-31 Shuichi Kawada Note type adhesive dust-cleaner
JP2010115402A (en) * 2008-11-14 2010-05-27 Ooshin Mlp:Kk Cooling or heating structure
CN201839326U (en) * 2010-08-13 2011-05-18 宇龙计算机通信科技(深圳)有限公司 Flip type mobile terminal
CN202085220U (en) * 2011-05-17 2011-12-21 深圳电信研究院 Programmed-control reliability testing device for opening and closing angle of turning-over cover
CN102300001A (en) * 2011-09-14 2011-12-28 惠州Tcl移动通信有限公司 Method for preventing memory card of mobile terminal from frequent hot plug and mobile terminal
GB2482931A (en) * 2010-09-17 2012-02-22 Apple Inc Electronic device having dual state magnetic element
WO2013025030A3 (en) * 2011-08-13 2013-04-11 Kim Duk Seung Protective case incorporating a magnet in a portion facing a magnetism sensor of a portable device, and method for controlling the action of turning the screen of the portable device on and off by using same
CN103618821A (en) * 2013-10-30 2014-03-05 广东欧珀移动通信有限公司 A method and an apparatus for controlling the screen status of an electronic device
EP2779471A2 (en) * 2013-03-14 2014-09-17 Samsung Electronics Co., Ltd Electronic device with protective case and operating method thereof
CN203894679U (en) * 2014-06-27 2014-10-22 文爱瑶 Protective jacket of mobile equipment
US20150065202A1 (en) * 2013-09-03 2015-03-05 Samsung Electronics Co., Ltd. Electronic device including openable cover and method of operating the same

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000300506A (en) * 1999-04-19 2000-10-31 Shuichi Kawada Note type adhesive dust-cleaner
JP2010115402A (en) * 2008-11-14 2010-05-27 Ooshin Mlp:Kk Cooling or heating structure
CN201839326U (en) * 2010-08-13 2011-05-18 宇龙计算机通信科技(深圳)有限公司 Flip type mobile terminal
GB2482931A (en) * 2010-09-17 2012-02-22 Apple Inc Electronic device having dual state magnetic element
CN202085220U (en) * 2011-05-17 2011-12-21 深圳电信研究院 Programmed-control reliability testing device for opening and closing angle of turning-over cover
WO2013025030A3 (en) * 2011-08-13 2013-04-11 Kim Duk Seung Protective case incorporating a magnet in a portion facing a magnetism sensor of a portable device, and method for controlling the action of turning the screen of the portable device on and off by using same
CN102300001A (en) * 2011-09-14 2011-12-28 惠州Tcl移动通信有限公司 Method for preventing memory card of mobile terminal from frequent hot plug and mobile terminal
EP2779471A2 (en) * 2013-03-14 2014-09-17 Samsung Electronics Co., Ltd Electronic device with protective case and operating method thereof
US20150065202A1 (en) * 2013-09-03 2015-03-05 Samsung Electronics Co., Ltd. Electronic device including openable cover and method of operating the same
CN103618821A (en) * 2013-10-30 2014-03-05 广东欧珀移动通信有限公司 A method and an apparatus for controlling the screen status of an electronic device
CN203894679U (en) * 2014-06-27 2014-10-22 文爱瑶 Protective jacket of mobile equipment

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107086872A (en) * 2017-04-14 2017-08-22 惠州Tcl移动通信有限公司 A kind of frequency range method for handover control and system based on mobile terminal
CN107086872B (en) * 2017-04-14 2020-05-08 惠州Tcl移动通信有限公司 Frequency band switching control method and system based on mobile terminal
CN107318152A (en) * 2017-06-02 2017-11-03 Tcl移动通信科技(宁波)有限公司 A kind of mobile terminal and its double antenna control method and storage medium
CN107704131A (en) * 2017-09-27 2018-02-16 惠州Tcl移动通信有限公司 Electric control processing method and storage medium under mobile terminal and touch-screen
CN111717051A (en) * 2020-06-30 2020-09-29 重庆长安新能源汽车科技有限公司 Protection control method for electronic lock of pure electric vehicle
CN112714215A (en) * 2021-01-22 2021-04-27 惠州Tcl移动通信有限公司 Mobile terminal sound setting processing method and device, terminal equipment and storage medium
CN113886212A (en) * 2021-10-25 2022-01-04 北京字跳网络技术有限公司 User state control method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN104899084B (en) 2018-09-25

Similar Documents

Publication Publication Date Title
CN104899084A (en) Electronic equipment and method for preventing electronic equipment from frequently switching working states
EP2975499B1 (en) Method and apparatus for preventing misoperation on touchscreen equipped mobile device
KR100889177B1 (en) Control device for opening?closing member
CN105376377A (en) Physical button processing method and device
CN103473015A (en) Anti-addiction method and terminal
CN102231774B (en) Mobile phone alarm clock control method and mobile phone
WO2009036515A8 (en) Improved start-up detection in a dimmer circuit
CN104834497A (en) On screen display control method and controller
CN106264110A (en) Electricity cooking pot and the fault detection method of anti-spilled testing circuit when powering on thereof
CN103377353A (en) Electronic device and touch screen protection method and protection system thereof
CN105468217A (en) Mobile terminal for replacing power button by capacitive sensor and relation method of mobile terminal
CN103095915A (en) Method of preventing faulty operation based on touch screen mobile phone and mobile phone
CN107964758A (en) A kind of washing machine security protection system and method
CN106095288A (en) A kind of based on the treating method and apparatus waking up lock up
CN105266735B (en) Dish-washing machine and its control method
EP2188824B1 (en) Method and apparatus for executing secondary functions on an electrical switchgear device
CN108107401B (en) Cover opening detection method based on smart meter and smart meter
WO2015103840A1 (en) Automatic sleep method, mobile terminal and computer storage medium
CN105120095A (en) Airplane mode control method and control device, and mobile terminal
CN103677551A (en) Information processing method and electronic device
CN101937307A (en) Method for automatically locking mobile phone keypad or touch screen by utilizing photosensitive device
CN107587309A (en) A kind of washing machine spilling water guard method and automatic washing machine
CN103558977B (en) The method and apparatus preventing false-lock screen
CN103365553A (en) Mobile terminal and input-method switching method used for same
CN102660857A (en) Method for automatically controlling door lock of washing machine

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20211130

Address after: 264200 19th floor, block a, innovation and entrepreneurship base, No. 213, Torch Road, torch high tech Industrial Development Zone, Weihai City, Shandong Province

Patentee after: WEIHAI ELECTRONIC INFORMATION TECHNOLOGY COMPREHENSIVE RESEARCH CENTER, MINISTRY OF INDUSTRY AND INFORMATION TECHNOLOGY

Address before: 516006 Zhongkai hi tech Zone, Huizhou, Guangdong, 86 Chang seven Road West

Patentee before: HUIZHOU TCL MOBILE COMMUNICATION Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20221117

Address after: 264200 18th Floor, Building A, Innovation and Entrepreneurship Base, No. 213, Torch Road, Torch Hi tech Industrial Development Zone, Weihai, Shandong

Patentee after: Weihai Shenzhou Information Technology Research Institute Co.,Ltd.

Address before: 264200 19th floor, block a, innovation and entrepreneurship base, No. 213, Torch Road, torch high tech Industrial Development Zone, Weihai City, Shandong Province

Patentee before: WEIHAI ELECTRONIC INFORMATION TECHNOLOGY COMPREHENSIVE RESEARCH CENTER, MINISTRY OF INDUSTRY AND INFORMATION TECHNOLOGY

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230721

Address after: 264200 19th Floor, Tower A, Torch Innovation and Entrepreneurship Base, Torch Hi tech Industrial Development Zone, Weihai City, Shandong Province

Patentee after: Shandong Blue Ocean Industrial Internet Co.,Ltd.

Address before: 264200 18th Floor, Building A, Innovation and Entrepreneurship Base, No. 213, Torch Road, Torch Hi tech Industrial Development Zone, Weihai, Shandong

Patentee before: Weihai Shenzhou Information Technology Research Institute Co.,Ltd.