CN105162241A - Detection processing method and apparatus of terminal device - Google Patents

Detection processing method and apparatus of terminal device Download PDF

Info

Publication number
CN105162241A
CN105162241A CN201510446214.6A CN201510446214A CN105162241A CN 105162241 A CN105162241 A CN 105162241A CN 201510446214 A CN201510446214 A CN 201510446214A CN 105162241 A CN105162241 A CN 105162241A
Authority
CN
China
Prior art keywords
terminal equipment
bonnet
described terminal
component
power consumption
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
CN201510446214.6A
Other languages
Chinese (zh)
Other versions
CN105162241B (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.)
Hisense Mobile Communications Technology Co Ltd
Original Assignee
Hisense Mobile Communications Technology 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 Hisense Mobile Communications Technology Co Ltd filed Critical Hisense Mobile Communications Technology Co Ltd
Priority to CN201510446214.6A priority Critical patent/CN105162241B/en
Publication of CN105162241A publication Critical patent/CN105162241A/en
Application granted granted Critical
Publication of CN105162241B publication Critical patent/CN105162241B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a detection processing method and apparatus of a terminal device, for solving the problem of great inconvenience brought to users, caused by quite long time consumed in the operation process of replacement of a battery and the need for shutdown in the prior art. The method comprises the following steps: detecting whether the rear cover of the terminal device is open; determining that the rear cover of the terminal device is open, and triggering the system of the terminal device to enter a low power consumption state, wherein work currents at the low power consumption state are not greater than a set current threshold; and switching a first power supply mode of supplying power through a conventional battery of the terminal device to a second power supply mode of supplying power through an unconventional battery. According to the invention, under the condition that the terminal device is connected with a charger or the terminal device is internally provided with a small-current backup battery, when the conventional battery of the terminal device is replaced, it can be ensured that power of the system of the terminal device does not fail, a power-on state is maintained continuously, and user experience is improved.

Description

A kind of check processing method and apparatus of terminal equipment
Technical field
The present invention relates to terminal equipment technical field, particularly a kind of check processing method and apparatus of terminal equipment.
Background technology
Along with the development of electronic technology and information technology, terminal equipment (as mobile phone, panel computer etc.) has become electronic product indispensable in people's live and work.People can by terminal equipment browsing page, viewing video, play games, listen song etc., to meet the different demands of people.
Capacity due to the battery of each terminal equipment is fixing, after the electricity of battery has been consumed, needs to charge to the battery of terminal equipment, to ensure that terminal equipment normally can run use.The battery of some terminal equipment can take out, and is called the terminal equipment of replaceable battery.When battery electric quantity is not enough, the battery in terminal equipment can be taken out, change another block battery.User identity identification (SubscriberIdentityModule, the SIM) card of some terminal equipment or storage card are arranged on below battery, when needs take out or change SIM card or storage card, also need first to take out battery.When taking out battery, needing first to shut down, then taking out battery, then load onto battery, finally start shooting.Because whole operating process is consuming time longer, and need shutdown, bring great inconvenience to user, reduce Consumer's Experience.
In sum, in prior art, the operating process changing battery is consuming time longer, and needs shutdown, brings great inconvenience to user.
Summary of the invention
Embodiments provide a kind of check processing method and apparatus of terminal equipment, consuming time longer for the operating process solving the replacing battery existed in prior art, and need shutdown, the problem of inconvenience is greatly brought to user.
The check processing method of a kind of terminal equipment that the embodiment of the present invention provides, the method comprises:
Whether the bonnet of sense terminals equipment is opened;
Determine that the bonnet of described terminal equipment is opened, the system triggering described terminal equipment enters low power consumption state, and the operating current under described low power consumption state is not more than the current threshold of setting;
First powering mode of powering from the conventional batteries by described terminal equipment is switched to by unconventional battery powered second powering mode.
Preferably, described second powering mode is that the reserve battery that the capacity powered by external charger or arranged by described terminal equipment inside is less than described conventional batteries is powered.
Preferably, if described second powering mode is for be powered by described charger, then described current threshold is less than or equal to the supply current that described charger provides;
If described second powering mode is for be charged by described reserve battery, then described current threshold is less than or equal to the supply current that described reserve battery provides.
Preferably, whether the bonnet of sense terminals equipment is opened, and comprising:
After detecting that the first component on the body being arranged at described terminal equipment and the second component be arranged on the bonnet of described terminal equipment disconnect, determine that the bonnet of described terminal equipment is opened;
After detecting described first component and described second component conducting, determine that the bonnet of described terminal equipment covers.
Preferably, described first component comprises discrete first subassembly and the second subassembly, and described first subassembly is connected with the GPIOn2 pin of the master chip on described body, and described second subassembly ground connection; Or described first component is Hall element and described first component is connected with the GPIOn2 pin of the master chip on described body, and described second component is magnet;
Whether the bonnet detecting described terminal equipment is opened, and comprising:
When detecting that described GPIOn2 pin is high level state, determine that the bonnet of described terminal equipment is opened;
When detecting that described GPIOn2 pin is low level state, determine that the bonnet of described terminal equipment covers.
Based on above-mentioned any embodiment, after the system triggering described terminal equipment enters low power consumption state, the method also comprises:
Determine that the bonnet of described terminal equipment covers, and determine that described conventional batteries departs from described terminal equipment, trigger described terminal equipment and keep described low power consumption state.
Based on above-mentioned any embodiment, after the system triggering described terminal equipment enters low power consumption state, the method also comprises:
Determine that described conventional batteries is installed on described terminal equipment inner, the system triggering described terminal equipment enters operating state.
Based on above-mentioned any embodiment, after determining that the bonnet of described terminal equipment is opened, the method also comprises: the system whether prompting user triggers described terminal equipment enters low power consumption state;
The system triggering described terminal equipment enters low power consumption state, comprising: after the confirmation instruction receiving user's transmission, the system triggering described terminal equipment enters low power consumption state.
The check processing device of a kind of terminal equipment that the embodiment of the present invention provides, comprising:
Detection module, whether the bonnet for sense terminals equipment is opened;
Processing module, after confirming that the bonnet of described terminal equipment is opened, the system triggering described terminal equipment enters low power consumption state, and the operating current under described low power consumption state is not more than the current threshold of setting;
Handover module, the first powering mode for powering from the conventional batteries by described terminal equipment is switched to by unconventional battery powered second powering mode.
Preferably, described detection module specifically for:
After detecting that the first component on the body being arranged at described terminal equipment and the second component be arranged on the bonnet of described terminal equipment disconnect, determine that the bonnet of described terminal equipment is opened;
After detecting described first component and described second component conducting, determine that the bonnet of described terminal equipment covers.
Preferably, described first component comprises discrete first subassembly and the second subassembly, and described first subassembly is connected with the GPIOn2 pin of the master chip on described body, and described second subassembly ground connection; Or described first component is Hall element and described first component is connected with the GPIOn2 pin of the master chip on described body, and described second component is magnet; Described detection module specifically for:
When detecting that described GPIOn2 pin is high level state, determine that the bonnet of described terminal equipment is opened; When detecting that described GPIOn2 pin is low level state, determine that the bonnet of described terminal equipment covers.
Based on above-mentioned any embodiment, after described detection module determines that the bonnet of described terminal equipment covers, described processing module also for:
Determine that described conventional batteries departs from described terminal equipment, trigger described terminal equipment and keep described low power consumption state.
Based on above-mentioned any embodiment, described processing module also for:
Determine that described conventional batteries is installed on described terminal equipment inner, the system triggering described terminal equipment enters operating state.
Based on above-mentioned any embodiment, after described detection module determines that the bonnet of described terminal equipment is opened, described processing module also for: the system whether prompting user triggers described terminal equipment enters low power consumption state; After the affirmative instruction receiving user's transmission, the system triggering described terminal equipment enters low power consumption state.
A kind of terminal equipment that the embodiment of the present invention provides, this terminal equipment comprises the device described in above-mentioned any one.
In the embodiment of the present invention, whether the bonnet of sense terminals equipment is opened, determine that the bonnet of this terminal equipment is opened, the system triggering this terminal equipment enters low power consumption state, and be switched to by unconventional battery powered second powering mode from the first powering mode that the conventional batteries by this terminal equipment is powered, thus when terminal equipment be connected with charger or this terminal equipment inside be provided with reserve battery (supply current of reserve battery is much smaller than the supply current of conventional batteries), when changing the conventional batteries of this terminal equipment, the system not power down of terminal equipment can be ensured, continue to keep open state, improve Consumer's Experience.
Accompanying drawing explanation
The check processing method of a kind of terminal equipment that Fig. 1 provides for the embodiment of the present invention;
Fig. 2 A is the internal structure schematic diagram of the first terminal equipment in the embodiment of the present invention;
Fig. 2 B is the internal structure schematic diagram of the second terminal equipment in the embodiment of the present invention;
Fig. 2 C is the internal structure schematic diagram of the third terminal equipment in the embodiment of the present invention;
The check processing device of a kind of terminal equipment that Fig. 3 provides for the embodiment of the present invention.
Embodiment
Whether the present invention is opened by the bonnet of sense terminals equipment, and after determining that the bonnet of this terminal equipment is opened, the system triggering this terminal equipment enters low power consumption state, thus when replacing battery, the system not power down of terminal equipment can be ensured, continue to keep open state.
Below in conjunction with Figure of description, the embodiment of the present invention is described in further detail.Should be appreciated that embodiment described herein is only for instruction and explanation of the present invention, is not intended to limit the present invention.
The check processing method of a kind of terminal equipment that the embodiment of the present invention provides, as shown in Figure 1, the method comprises:
Whether the bonnet of S11, sense terminals equipment is opened;
S12, determine that the bonnet of this terminal equipment is opened, the system triggering this terminal equipment enters low power consumption state, and the operating current under low power consumption state is not more than the current threshold of setting;
S13, first powering mode of powering from the conventional batteries by this terminal equipment are switched to by unconventional battery powered second powering mode.
In the embodiment of the present invention, whether be opened by the bonnet of sense terminals equipment, and after determining that the bonnet of this terminal equipment is opened, the system triggering this terminal equipment enters low power consumption state, first powering mode of powering from the conventional batteries by this terminal equipment is switched to by unconventional battery powered second powering mode, thus when terminal equipment be connected with charger or this terminal equipment inside be provided with reserve battery (supply current of reserve battery is much smaller than the supply current of conventional batteries), when changing the conventional batteries of this terminal equipment, the system not power down of terminal equipment can be ensured, continue to keep open state, improve Consumer's Experience.
In force, the second powering mode can be powered for external charger, and the reserve battery that the capacity that also can arrange for this terminal equipment inside is less than the conventional batteries of this terminal equipment is powered.
Concrete, if the second powering mode is for be powered by charger, then the current threshold set is less than or equal to the supply current that this charger provides;
If the second powering mode is for be powered by reserve battery, then the current threshold set is less than or equal to the supply current that this reserve battery provides.
In force, in S11, whether the bonnet of sense terminals equipment is opened, and comprising:
Being arranged at the whether conducting of first component on the body of terminal equipment and the second component be arranged on the bonnet of this terminal equipment by detecting, whether being opened with the bonnet detecting this terminal equipment.
Concrete, after detecting that first component and second component disconnect, determine that the bonnet of this terminal equipment is opened; After detecting first component and second component conducting, determine that the bonnet of this terminal equipment covers.
As the first preferred implementation, first component comprises discrete first subassembly and the second subassembly, as shown in Figure 2 A; Wherein, the first subassembly is connected with the GPIOn2 pin of the master chip on the body of this terminal equipment, and this second subassembly ground connection, as shown in Figure 2 B; Second component is arranged on the bonnet of this terminal equipment, as shown in Figure 2 C; First subassembly, the second subassembly and second component are electric conductor.Under which, in S11, whether the bonnet of sense terminals equipment is opened, and comprising:
When detecting that GPIOn2 pin is high level state, determine that the bonnet of terminal equipment is opened;
When detecting that GPIOn2 pin is low level state, determine that the bonnet of terminal equipment covers.
Concrete, GPIOn2 pin arranges state for input, acquiescence is drawn high (being namely defaulted as high level state), if the bonnet of terminal equipment covers, second component is connected respectively with the first subassembly and the second subassembly, thus the first subassembly is connected by second component with the second subassembly, due to the second subassembly ground connection, now GPIOn2 pin is low level state; When the bonnet of terminal equipment is opened greatly, because first component and second component separate, therefore, the first subassembly and the second subassembly disconnect, and now GPIOn2 pin is high level by low transition.The rising edge when state that can arrange GPIOn2 pin is high level by low transition is the first interrupt function, and this first terminal function is used for control system and enters low power consumption state; The trailing edge when state arranging GPIOn2 pin is low level by high level saltus step is the second interrupt function, and this second interrupt function is used for waken system and enters operating state.When system due to terminal equipment enters low power consumption state, can be low-limit frequency by the frequency limitation of terminal equipment, close other all interruptions except GPIOn2, anti-locking system be waken up, thus ensure bonnet be opened after the power consumption of system minimum.
Preferably, in order to not affect other structures of terminal equipment, the first subassembly and the second subassembly are elastic piece structure; Or second component is elastic piece structure.
As the preferred implementation of the second, first component is Hall element and first component is connected with the GPIOn2 pin of the master chip on the body of terminal equipment, and second component is magnet.Under which, in S12, whether the bonnet of sense terminals equipment is opened, and comprising:
When detecting that GPIOn2 pin is high level state, determine that the bonnet of terminal equipment is opened;
When detecting that GPIOn2 pin is low level state, determine that the bonnet of terminal equipment covers.
Based on above-mentioned any embodiment, in force, after the system of triggering terminal equipment enters low power consumption state, the method also comprises:
Determine that the bonnet of terminal equipment covers, and determine that the conventional batteries of terminal equipment departs from this terminal equipment, trigger this terminal equipment and keep low power consumption state.
Concrete, after system enters low power consumption state, if determine, the bonnet of terminal equipment covers, the conventional batteries simultaneously detecting this terminal equipment is then needed whether to be installed in this terminal equipment, if determine, the conventional batteries of terminal equipment departs from this terminal equipment, then make this terminal equipment keep low power consumption state.
Preferably, detect battery by the GPIOn1 pin on the master chip of terminal equipment whether to be installed in this terminal equipment.
It should be noted that, after the bonnet of terminal equipment covers, likely can direct waken system (hardware implementing), because the conventional batteries of now this terminal equipment is not likely in this terminal equipment, if system is waken up, meeting electricity shortage because power consumption is high, thus cause shutdown, now, trigger this terminal equipment and keep low power consumption state.
Based on above-mentioned any embodiment, after the system of triggering terminal equipment enters low power consumption state, the method also comprises:
Determine that the conventional batteries of terminal equipment is installed on this terminal equipment inner, the system triggering this terminal equipment enters operating state.
Based on above-mentioned any embodiment, after determining that the bonnet of terminal equipment is opened, the method also comprises: the system of prompting user whether triggering terminal equipment enters low power consumption state;
Accordingly, in S12, the system of triggering terminal equipment enters low power consumption state, comprising: after the confirmation instruction receiving user's transmission, the system triggering this terminal equipment enters low power consumption state.
Concrete, the SIM card of some terminal equipment or storage card are arranged in the region outside conventional batteries region, the open a terminal bonnet of equipment of user is likely to take out SIM card or storage card, in order to avoid misoperation, after detecting that bonnet is opened, the system of user's whether triggering terminal equipment can be pointed out to enter low power consumption state, and the system determining whether to trigger this terminal equipment under the instruction of user enter low power consumption state.The system that the embodiment of the present invention does not limit prompting user whether triggering terminal equipment enters the implementation of low power consumption state, such as, the mode sending information to user can be adopted to point out user.
Said method handling process can realize with software program, and this software program can be stored in storage medium, when the software program stored is called, performs said method step.
Based on same inventive concept, a kind of check processing device of terminal equipment is additionally provided in the embodiment of the present invention, the principle of dealing with problems due to this device is similar to the check processing method of above-mentioned terminal equipment, and therefore the enforcement of this device see the enforcement of method, can repeat part and repeat no more.
The check processing device of a kind of terminal equipment that the embodiment of the present invention provides, as shown in Figure 3, comprising:
Detection module 31, whether the bonnet for sense terminals equipment is opened;
Processing module 32, after determining that the bonnet of described terminal equipment is opened at detection module 31, the system triggering described terminal equipment enters low power consumption state, and the operating current under described low power consumption state is not more than the current threshold of setting;
Handover module 33, the first powering mode for powering from the conventional batteries by described terminal equipment is switched to by unconventional battery powered second powering mode.
Preferably, detection module 31 specifically for:
After detecting that the first component on the body being arranged at described terminal equipment and the second component be arranged on the bonnet of described terminal equipment disconnect, determine that the bonnet of described terminal equipment is opened;
After detecting described first component and described second component conducting, determine that the bonnet of described terminal equipment covers.
Preferably, first component comprises discrete first subassembly and the second subassembly, and the first subassembly is connected with the GPIOn2 pin of the master chip on body, and the second subassembly ground connection; Or first component is Hall element and first component is connected with the GPIOn2 pin of the master chip on body, and second component is magnet; Detection module 31 specifically for:
When detecting that GPIOn2 pin is high level state, determine that the bonnet of terminal equipment is opened; When detecting that GPIOn2 pin is low level state, determine that the bonnet of terminal equipment covers.
Preferably, after detection module 31 detects that the bonnet of terminal equipment is opened, processing module 32 also for: send information to user, enter low power consumption state to point out the system of user's whether triggering terminal equipment; After the affirmative instruction receiving user's transmission, the system of triggering terminal equipment enters low power consumption state.
Based on above-mentioned any embodiment, after detection module 31 detects that the bonnet of terminal equipment covers, processing module 32 also for:
Determine that described conventional batteries departs from terminal equipment, triggering terminal equipment keeps low power consumption state.
Based on above-mentioned any embodiment, processing module 32 also for:
Determine that the conventional batteries of terminal equipment is installed on terminal equipment inside, the system of triggering terminal equipment enters operating state.
Based on above-mentioned any embodiment, after detection module 31 determines that the bonnet of described terminal equipment is opened, processing module 32 also for: the system whether prompting user triggers described terminal equipment enters low power consumption state; After the confirmation instruction receiving user's transmission, the system triggering described terminal equipment enters low power consumption state.
A kind of terminal equipment that the embodiment of the present invention provides, this terminal equipment comprises above-mentioned any one device.
The terminal equipment that the embodiment of the present invention provides can be the electronic equipment that mobile phone, panel computer etc. can change battery.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the present invention can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disc store, CD-ROM, optical memory etc.) of computer usable program code.
The present invention describes with reference to according to the flow chart of the method for the embodiment of the present invention, equipment (system) and computer program and/or block diagram.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block diagram and/or square frame and flow chart and/or block diagram and/or square frame.These computer program instructions can being provided to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, making the instruction performed by the processor of computer or other programmable data processing device produce device for realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, make on computer or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computer or other programmable devices is provided for the step realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
Although describe the preferred embodiments of the present invention, those skilled in the art once obtain the basic creative concept of cicada, then can make other change and amendment to these embodiments.So claims are intended to be interpreted as comprising preferred embodiment and falling into all changes and the amendment of the scope of the invention.
Obviously, those skilled in the art can carry out various change and modification to the present invention and not depart from the spirit and scope of the present invention.Like this, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.

Claims (15)

1. a check processing method for terminal equipment, it is characterized in that, the method comprises:
Whether the bonnet of sense terminals equipment is opened;
Determine that the bonnet of described terminal equipment is opened, the system triggering described terminal equipment enters low power consumption state, and the operating current under described low power consumption state is not more than the current threshold of setting;
First powering mode of powering from the conventional batteries by described terminal equipment is switched to by unconventional battery powered second powering mode.
2. the method for claim 1, is characterized in that, described second powering mode is that the reserve battery that the capacity powered by external charger or arranged by described terminal equipment inside is less than described conventional batteries is powered.
3. method as claimed in claim 2, is characterized in that,
If described second powering mode is for be powered by described charger, then described current threshold is less than or equal to the supply current that described charger provides;
If described second powering mode is for be powered by described reserve battery, then described current threshold is less than or equal to the supply current that described reserve battery provides.
4. the method for claim 1, is characterized in that, whether the bonnet of sense terminals equipment is opened, and comprising:
After detecting that the first component on the body being arranged at described terminal equipment and the second component be arranged on the bonnet of described terminal equipment disconnect, determine that the bonnet of described terminal equipment is opened;
After detecting described first component and described second component conducting, determine that the bonnet of described terminal equipment covers.
5. method as claimed in claim 4, it is characterized in that, described first component comprises discrete first subassembly and the second subassembly, and described first subassembly is connected with the GPIOn2 pin of the master chip on described body, and described second subassembly ground connection; Or described first component is Hall element and described first component is connected with the GPIOn2 pin of the master chip on described body, and described second component is magnet;
Whether the bonnet detecting described terminal equipment is opened, and comprising:
When detecting that described GPIOn2 pin is high level state, determine that the bonnet of described terminal equipment is opened;
When detecting that described GPIOn2 pin is low level state, determine that the bonnet of described terminal equipment covers.
6. the method as described in any one of Claims 1 to 5, is characterized in that, after the system triggering described terminal equipment enters low power consumption state, the method also comprises:
Determine that the bonnet of described terminal equipment covers, and determine that described conventional batteries departs from described terminal equipment, trigger described terminal equipment and keep described low power consumption state.
7. the method as described in any one of Claims 1 to 5, is characterized in that, after the system triggering described terminal equipment enters low power consumption state, the method also comprises:
Determine that described conventional batteries is installed on described terminal equipment inner, the system triggering described terminal equipment enters operating state.
8. the method for claim 1, is characterized in that, after determining that the bonnet of described terminal equipment is opened, the method also comprises: the system whether prompting user triggers described terminal equipment enters low power consumption state;
The system triggering described terminal equipment enters low power consumption state, comprising: after the confirmation instruction receiving user's transmission, the system triggering described terminal equipment enters low power consumption state.
9. a check processing device for terminal equipment, is characterized in that, this device comprises:
Detection module, whether the bonnet for sense terminals equipment is opened;
Processing module, after determining that the bonnet of described terminal equipment is opened, the system triggering described terminal equipment enters low power consumption state, and the operating current under described low power consumption state is not more than the current threshold of setting;
Handover module, the first powering mode for powering from the conventional batteries by described terminal equipment is switched to by unconventional battery powered second powering mode.
10. device as claimed in claim 9, is characterized in that, described detection module specifically for:
After detecting that the first component on the body being arranged at described terminal equipment and the second component be arranged on the bonnet of described terminal equipment disconnect, determine that the bonnet of described terminal equipment is opened;
After detecting described first component and described second component conducting, determine that the bonnet of described terminal equipment covers.
11. devices as claimed in claim 10, it is characterized in that, described first component comprises discrete first subassembly and the second subassembly, and described first subassembly is connected with the GPIOn2 pin of the master chip on described body, and described second subassembly ground connection; Or described first component is Hall element and described first component is connected with the GPIOn2 pin of the master chip on described body, and described second component is magnet; Described detection module specifically for:
When detecting that described GPIOn2 pin is high level state, determine that the bonnet of described terminal equipment is opened; When detecting that described GPIOn2 pin is low level state, determine that the bonnet of described terminal equipment covers.
12. devices as described in any one of claim 9 ~ 11, is characterized in that, after described detection module determines that the bonnet of described terminal equipment covers, described processing module also for:
Determine that described conventional batteries departs from described terminal equipment, trigger described terminal equipment and keep described low power consumption state.
13. devices as described in any one of claim 9 ~ 11, is characterized in that, described processing module also for:
Determine that described conventional batteries is installed on described terminal equipment inner, the system triggering described terminal equipment enters operating state.
14. devices as claimed in claim 9, is characterized in that, after described detection module determines that the bonnet of described terminal equipment is opened, described processing module also for: the system whether prompting user triggers described terminal equipment enters low power consumption state; After the affirmative instruction receiving user's transmission, the system triggering described terminal equipment enters low power consumption state.
15. 1 kinds of terminal equipments, is characterized in that, this terminal equipment comprises the device as described in any one of claim 9 ~ 14.
CN201510446214.6A 2015-07-24 2015-07-24 A kind of detection process method and apparatus of terminal device Active CN105162241B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510446214.6A CN105162241B (en) 2015-07-24 2015-07-24 A kind of detection process method and apparatus of terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510446214.6A CN105162241B (en) 2015-07-24 2015-07-24 A kind of detection process method and apparatus of terminal device

Publications (2)

Publication Number Publication Date
CN105162241A true CN105162241A (en) 2015-12-16
CN105162241B CN105162241B (en) 2018-06-19

Family

ID=54803032

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510446214.6A Active CN105162241B (en) 2015-07-24 2015-07-24 A kind of detection process method and apparatus of terminal device

Country Status (1)

Country Link
CN (1) CN105162241B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112099613A (en) * 2020-08-03 2020-12-18 中国长城科技集团股份有限公司 Server case cover opening detection method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1179605A (en) * 1996-09-18 1998-04-22 索尼公司 Recording and/or reproducing apparatus and recording apparatus
US20110098056A1 (en) * 2009-10-28 2011-04-28 Rhoads Geoffrey B Intuitive computing methods and systems
CN103167144A (en) * 2012-09-20 2013-06-19 深圳市金立通信设备有限公司 Intelligent player system and method of mobile phone

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1179605A (en) * 1996-09-18 1998-04-22 索尼公司 Recording and/or reproducing apparatus and recording apparatus
US20110098056A1 (en) * 2009-10-28 2011-04-28 Rhoads Geoffrey B Intuitive computing methods and systems
CN103167144A (en) * 2012-09-20 2013-06-19 深圳市金立通信设备有限公司 Intelligent player system and method of mobile phone

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112099613A (en) * 2020-08-03 2020-12-18 中国长城科技集团股份有限公司 Server case cover opening detection method and device
CN112099613B (en) * 2020-08-03 2023-03-31 中国长城科技集团股份有限公司 Server case cover opening detection method and device

Also Published As

Publication number Publication date
CN105162241B (en) 2018-06-19

Similar Documents

Publication Publication Date Title
US9728989B2 (en) Method for charging battery inside electronic device with a plurality of power supplies and a plurality of charging modules with USB OTG functionality
CN106537720B (en) Charging method and electronic device
CN112165140B (en) Charging and discharging control method and device and power supply equipment
CN103151658B (en) Data connecting line, for the control method of data connecting line and device
EP2619843B1 (en) Providing power to a component
CN101853970A (en) Method and device for charging through universal serial bus (USB) interface
CN105068959A (en) Terminal and charging method and apparatus for terminal with data exchange function
CN102593930A (en) Charging system of mobile terminal
CN105634055A (en) Charging control method and charging control device of mobile terminal and mobile terminal
CN105576753A (en) Information processing method and electronic equipment
JP5942688B2 (en) Electronic device, charge control method, and charge control program
CN108181978B (en) Power control method and device for electronic equipment
CN104953631A (en) Current control method and terminal device
CN109256825B (en) Charging method and electronic device
US10481576B2 (en) Method and device for implementing connection control
CN102801197B (en) Terminal and charge control method thereof
CN105162241A (en) Detection processing method and apparatus of terminal device
CN105357579A (en) Online upgrading method for set top box, related device and set top box
CN106899061B (en) Mobile terminal, charging device and charging method
CN105490319A (en) Information processing method and electronic equipment
US10742057B2 (en) Self-loop detection method and apparatus for charging device
CN114336855A (en) Control method and device of battery pack system and energy storage system
CN103149983A (en) Matching method of expanding peripheral device and expanding peripheral device
CN105430727A (en) Communication terminal and carrier aggregation mode setting method thereof
CN102438065A (en) Mobile terminal and charge control method thereof

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