CN105162241B - A kind of detection process method and apparatus of terminal device - Google Patents
A kind of detection process method and apparatus of terminal device Download PDFInfo
- Publication number
- CN105162241B CN105162241B CN201510446214.6A CN201510446214A CN105162241B CN 105162241 B CN105162241 B CN 105162241B CN 201510446214 A CN201510446214 A CN 201510446214A CN 105162241 B CN105162241 B CN 105162241B
- Authority
- CN
- China
- Prior art keywords
- terminal device
- rear cover
- component
- opened
- electricity condition
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 57
- 238000001514 detection method Methods 0.000 title claims abstract description 45
- 230000008569 process Effects 0.000 title claims abstract description 20
- 230000005611 electricity Effects 0.000 claims abstract description 52
- 238000012545 processing Methods 0.000 claims description 17
- 230000005540 biological transmission Effects 0.000 claims description 5
- 238000012790 confirmation Methods 0.000 claims description 2
- 238000010586 diagram Methods 0.000 description 9
- 238000004590 computer program Methods 0.000 description 7
- 230000006870 function Effects 0.000 description 5
- 230000004048 modification Effects 0.000 description 5
- 238000012986 modification Methods 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 4
- 230000007704 transition Effects 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 239000004020 conductor Substances 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000000630 rising effect Effects 0.000 description 1
Landscapes
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
- Telephone Function (AREA)
Abstract
The invention discloses a kind of detection process method and apparatus of terminal device, for solve the operating process in the prior art for replacing battery take it is longer, and the problem of need to shut down, great inconvenience brought to user.Method includes:Whether the rear cover of detection terminal equipment is opened;Determine that the rear cover of the terminal device is opened, the system for triggering the terminal device enters low consumption electricity condition, and the operating current under low consumption electricity condition is no more than the current threshold of setting;It is switched to from the first powering mode of the conventional batteries power supply by the terminal device by unconventional battery powered second powering mode.The present invention is in the case where terminal device is connected with charger or the terminal device is internally provided with the reserve battery of low current, when replacing the conventional batteries of the terminal device, it can ensure the system not power down of terminal device, continue to keep open state, improve user experience.
Description
Technical field
The present invention relates to terminal device technical field, the detection process method and apparatus of more particularly to a kind of terminal device.
Background technology
With the continuous development of electronic technology and information technology, terminal device (such as mobile phone, tablet computer) is had become as people
Electronic product indispensable in live and work.People can be browsed webpage by terminal device, viewing video, play and swim
It plays, listen song etc., to meet the different demands of people.
Since the capacity of the battery of each terminal device is fixed, after the electricity of battery is depleted, need to end
The battery of end equipment charges, to ensure that terminal device being capable of normal operation use.The battery of some terminal devices is can be with
It takes out, referred to as the terminal device of replaceable battery.In battery capacity deficiency, the battery in terminal device can be taken out, is changed
Upper another piece of battery.User identity identification (Subscriber Identity Module, the SIM) card of some terminal devices is deposited
Card storage is arranged below battery, when needing to take out or replacing SIM card or storage card, it is also desirable to first take out battery.It is taking out
During battery, need first to shut down, then take out battery, then load onto battery, be finally switched on.Due to whole operation process take compared with
It is long, and need to shut down, great inconvenience is brought to user, reduces user experience.
In conclusion in the prior art, the operating process for replacing battery takes longer, and needs to shut down, be brought to user
Great inconvenience.
Invention content
An embodiment of the present invention provides a kind of detection process method and apparatus of terminal device, for solving in the prior art
The existing operating process for replacing battery take it is longer, the problem of and needing to shut down, great inconvenience brought to user.
A kind of detection process method of terminal device provided in an embodiment of the present invention, this method include:
Whether the rear cover of detection terminal equipment is opened;
Determine that the rear cover of the terminal device is opened, the system for triggering the terminal device enters low consumption electricity condition, institute
State current threshold of the operating current under low consumption electricity condition no more than setting;
It is switched to from the first powering mode of the conventional batteries power supply by the terminal device by unconventional battery powered
Second powering mode.
Preferably, second powering mode is by external charger power supply or by being set inside the terminal device
The reserve battery that the capacity put is less than the conventional batteries is powered.
Preferably, if second powering mode is powers by the charger, the current threshold is less than or equal to
The supply current that the charger provides;
If second powering mode is charges by the reserve battery, the current threshold is less than or equal to described standby
The supply current provided with battery.
Preferably, whether the rear cover of detection terminal equipment is opened, including:
In the first component for detecting to be set on the ontology of the terminal device and after being set to the terminal device
After the second component covered disconnects, determine that the rear cover of the terminal device is opened;
After detecting that the first component is connected with the second component, determine that the rear cover of the terminal device has covered
It closes.
Preferably, the first component includes discrete first subassembly and the second subassembly, first sub-portion
Part is connect with the GPIOn2 pins of the master chip on the ontology, and second subassembly is grounded;Alternatively, the first component
It is connect for Hall sensor and the first component with the GPIOn2 pins of the master chip on the ontology, the second component is
Magnet;
Whether the rear cover for detecting the terminal device is opened, including:
When it is high level state to detect the GPIOn2 pins, determine that the rear cover of the terminal device is opened;
When it is low level state to detect the GPIOn2 pins, determine that the rear cover of the terminal device has covered conjunction.
Based on any of the above-described embodiment, the system for triggering the terminal device enters after low consumption electricity condition, and this method is also
Including:
It determines that the rear cover lid of the terminal device closes, and determines that the conventional batteries are detached from the terminal device, trigger institute
It states terminal device and keeps the low consumption electricity condition.
Based on any of the above-described embodiment, the system for triggering the terminal device enters after low consumption electricity condition, and this method is also
Including:
Determine that the conventional batteries are installed on inside the terminal device, the system for triggering the terminal device enters work
State.
Based on any of the above-described embodiment, after determining that the rear cover of the terminal device is opened, this method further includes:Prompting is used
The system whether family triggers the terminal device enters low consumption electricity condition;
The system for triggering the terminal device enters low consumption electricity condition, including:In the confirmation instruction for receiving user's transmission
Afterwards, the system for triggering the terminal device enters low consumption electricity condition.
A kind of detection process device of terminal device provided in an embodiment of the present invention, including:
Whether detection module is opened for the rear cover of detection terminal equipment;
Processing module, after the rear cover for confirming the terminal device is opened, trigger the system of the terminal device into
Enter low consumption electricity condition, the operating current under the low consumption electricity condition is no more than the current threshold of setting;
Handover module, for being switched to from the first powering mode of the conventional batteries power supply by the terminal device by very
Advise battery powered second powering mode.
Preferably, the detection module is specifically used for:
In the first component for detecting to be set on the ontology of the terminal device and after being set to the terminal device
After the second component covered disconnects, determine that the rear cover of the terminal device is opened;
After detecting that the first component is connected with the second component, determine that the rear cover of the terminal device has covered
It closes.
Preferably, the first component includes discrete first subassembly and the second subassembly, first sub-portion
Part is connect with the GPIOn2 pins of the master chip on the ontology, and second subassembly is grounded;Alternatively, the first component
It is connect for Hall sensor and the first component with the GPIOn2 pins of the master chip on the ontology, the second component is
Magnet;The detection module is specifically used for:
When it is high level state to detect the GPIOn2 pins, determine that the rear cover of the terminal device is opened;
When detecting the GPIOn2 pins as low level state, determine that the rear cover of the terminal device has covered conjunction.
Based on any of the above-described embodiment, after the detection module determines that the rear cover lid of the terminal device closes, the processing
Module is additionally operable to:
It determines that the conventional batteries are detached from the terminal device, triggers the terminal device and keep the low consumption electricity condition.
Based on any of the above-described embodiment, the processing module is additionally operable to:
Determine that the conventional batteries are installed on inside the terminal device, the system for triggering the terminal device enters work
State.
Based on any of the above-described embodiment, after the detection module determines that the rear cover of the terminal device is opened, the place
Reason module is additionally operable to:The system for prompting the user whether to trigger the terminal device enters low consumption electricity condition;Receiving user's hair
After the affirmative indication sent, the system for triggering the terminal device enters low consumption electricity condition.
A kind of terminal device provided in an embodiment of the present invention, the terminal device include device described in any one of the above embodiments.
In the embodiment of the present invention, whether the rear cover of detection terminal equipment is opened, and determines that the rear cover of the terminal device is beaten
It opens, the system for triggering the terminal device enters low consumption electricity condition, and first from the conventional batteries power supply by the terminal device supplies
Power mode is switched to by unconventional battery powered second powering mode, so as to be connected with charger or the terminal in terminal device
In the case that equipment is internally provided with reserve battery (supply current of reserve battery is much smaller than the supply current of conventional batteries), more
It when changing the conventional batteries of the terminal device, can ensure the system not power down of terminal device, continue to keep open state, improve
User experience.
Description of the drawings
Fig. 1 is a kind of detection process method of terminal device provided in an embodiment of the present invention;
Fig. 2A is the internal structure schematic diagram of the first terminal device in the embodiment of the present invention;
Fig. 2 B are the internal structure schematic diagram of second of terminal device in the embodiment of the present invention;
Fig. 2 C are the internal structure schematic diagram of the third terminal device in the embodiment of the present invention;
Fig. 3 is a kind of detection process device of terminal device provided in an embodiment of the present invention.
Specific embodiment
Whether the present invention is opened by the rear cover of detection terminal equipment, and is opened in the rear cover for determining the terminal device
Afterwards, the system for triggering the terminal device enters low consumption electricity condition, so as to when battery is replaced, ensure terminal device
System not power down continues to keep open state.
The embodiment of the present invention is described in further detail with reference to the accompanying drawings of the specification.It should be appreciated that described herein
Embodiment be merely to illustrate and explain the present invention, be not intended to limit the present invention.
The detection process method of a kind of terminal device provided in an embodiment of the present invention, as shown in Figure 1, this method includes:
S11, detection terminal equipment rear cover whether be opened;
S12, determine that the rear cover of the terminal device is opened, the system for triggering the terminal device enters low consumption electricity condition, low
Operating current under power consumption state is no more than the current threshold set;
S13, the first powering mode from the conventional batteries power supply by the terminal device are switched to by unconventional battery powered
The second powering mode.
In the embodiment of the present invention, whether it is opened by the rear cover of detection terminal equipment, and determining the terminal device
After rear cover is opened, the system for triggering the terminal device enters low consumption electricity condition, from the conventional batteries power supply by the terminal device
The first powering mode be switched to by unconventional battery powered second powering mode, so as in terminal device be connected with charger
Or the terminal device is internally provided with reserve battery (supply current of reserve battery is much smaller than the supply current of conventional batteries)
In the case of, it when replacing the conventional batteries of the terminal device, can ensure the system not power down of terminal device, continue to keep booting shape
State improves user experience.
In force, the second powering mode can be that external charger is powered, or be set inside the terminal device
The capacity put is less than the reserve battery power supply of the conventional batteries of the terminal device.
Specifically, if the second powering mode is powers by charger, the current threshold set is less than or equal to the charging
The supply current that device provides;
To be powered by reserve battery, if the current threshold set carries the second powering mode less than or equal to the reserve battery
The supply current of confession.
In force, in S11, whether the rear cover of detection terminal equipment is opened, including:
By detecting the first component being set on the ontology of terminal device and being set to what is covered after the terminal device
Whether second component is connected, to detect whether the rear cover of the terminal device is opened.
Specifically, after detecting that the first component is disconnected with second component, determine that the rear cover of the terminal device is opened;
After detecting that the first component is connected with second component, determine that the rear cover of the terminal device has covered conjunction.
As the first preferred realization method, the first component includes discrete first subassembly and the second sub-portion
Part, as shown in Figure 2 A;Wherein, the first subassembly is connect with the GPIOn2 pins of the master chip on the ontology of the terminal device, and
Second subassembly is grounded, as shown in Figure 2 B;Second component covers after being set to the terminal device, as shown in Figure 2 C;First
Subassembly, the second subassembly and second component are electric conductor.Under which, in S11, the rear cover of detection terminal equipment whether by
It opens, including:
When it is high level state to detect GPIOn2 pins, determine that the rear cover of terminal device is opened;
When it is low level state to detect GPIOn2 pins, determine that the rear cover of terminal device has covered conjunction.
Specifically, GPIOn2 pins setting state is input, acquiescence is drawn high and (is defaulted as high level state), if terminal is set
Standby rear cover lid closes, and second component is connect respectively with the first subassembly and the second subassembly, so as to make the first subassembly and second
Subassembly is connected by second component, and since the second subassembly is grounded, GPIOn2 pins are low level state at this time;When terminal is set
When standby rear cover is opened greatly, since the first component and second component separate, the first subassembly and the second subassembly are disconnected and being connected
It connects, GPIOn2 pins are high level by low transition at this time.The state that GPIOn2 pins can be set is by low transition
Rising edge during high level is the first interrupt function, which enters low consumption electricity condition for control system;Setting
The failing edge when state of GPIOn2 pins by high level saltus step is low level is the second interrupt function, which uses
Enter working condition in wake-up system.It, can be by the frequency of terminal device when entering low consumption electricity condition due to the system of terminal device
Low-limit frequency is limited to, closes other all interruptions in addition to GPIOn2, anti-locking system is waken up, so as to ensure that rear cover is beaten
The power consumption of system is minimum after opening.
Preferably, in order to not influence the other structures of terminal device, the first subassembly and the second subassembly are elastic piece structure;
Or second component is elastic piece structure.
As second of preferred realization method, the first component is Hall sensor and the sheet of the first component and terminal device
The GPIOn2 pins connection of master chip on body, second component is magnet.Under which, in S12, the rear cover of detection terminal equipment
Whether it is opened, including:
When it is high level state to detect GPIOn2 pins, determine that the rear cover of terminal device is opened;
When it is low level state to detect GPIOn2 pins, determine that the rear cover of terminal device has covered conjunction.
Based on any of the above-described embodiment, in force, the system of triggering terminal equipment enters after low consumption electricity condition, the party
Method further includes:
It determines that the rear cover lid of terminal device closes, and determines that the conventional batteries of terminal device are detached from the terminal device, triggering should
Terminal device keeps low consumption electricity condition.
Specifically, after system enters low consumption electricity condition, however, it is determined that the rear cover lid of terminal device closes, then needs to detect simultaneously
Whether the conventional batteries of the terminal device are installed in the terminal device, however, it is determined that the conventional batteries of terminal device are detached from the terminal
Equipment then makes the terminal device keep low consumption electricity condition.
Preferably, it can detect whether battery is installed on the terminal by the GPIOn1 pins on the master chip of terminal device
In equipment.
It should be noted that after the rear cover lid of terminal device closes, it is possible to system (hardware realization) can be directly waken up, due to
The conventional batteries of the terminal device are possible to not in the terminal device at this time, if system is waken up, can be supplied due to power consumption height
It is electric insufficient, so as to cause shutdown, at this point, triggering the terminal device keeps low consumption electricity condition.
Based on any of the above-described embodiment, the system of triggering terminal equipment enters after low consumption electricity condition, and this method further includes:
Determine that the conventional batteries of terminal device are installed on inside the terminal device, the system for triggering the terminal device enters work
Make state.
Based on any of the above-described embodiment, after determining that the rear cover of terminal device is opened, this method further includes:Prompting user is
The system of no triggering terminal equipment enters low consumption electricity condition;
Correspondingly, in S12, the system of triggering terminal equipment enters low consumption electricity condition, including:Receiving user's transmission
After confirming instruction, the system for triggering the terminal device enters low consumption electricity condition.
Specifically, the SIM card or storage card of certain terminal devices are set in the region except conventional batteries region,
The open a terminal rear cover of equipment of user is likely to be to take out SIM card or storage card, in order to avoid maloperation, after detecting
After lid is opened, the system that can prompt the user whether triggering terminal equipment enters low consumption electricity condition, and under the instruction of user
Determine whether that the system for triggering the terminal device enters low consumption electricity condition.The embodiment of the present invention, which does not limit, to be prompted the user whether to trigger
The system of terminal device enters the realization method of low consumption electricity condition, for example, the mode that prompt message is sent to user may be used
Prompt user.
Above method process flow can realize that the software program can be stored in storage medium with software program, when
When the software program of storage is called, above method step is performed.
Based on same inventive concept, a kind of detection process device of terminal device is additionally provided in the embodiment of the present invention, by
It is similar to the detection process method of above-mentioned terminal device in the principle that the device solves the problems, such as, therefore the implementation of the device can be joined
The implementation of square method, overlaps will not be repeated.
A kind of detection process device of terminal device provided in an embodiment of the present invention, as shown in figure 3, including:
Whether detection module 31 is opened for the rear cover of detection terminal equipment;
Processing module 32 after the rear cover for determining the terminal device in detection module 31 is opened, triggers the end
The system of end equipment enters low consumption electricity condition, and the operating current under the low consumption electricity condition is no more than the current threshold of setting;
Handover module 33, for being switched to from the first powering mode of the conventional batteries power supply by the terminal device by non-
Second powering mode of conventional batteries power supply.
Preferably, detection module 31 is specifically used for:
In the first component for detecting to be set on the ontology of the terminal device and after being set to the terminal device
After the second component covered disconnects, determine that the rear cover of the terminal device is opened;
After detecting that the first component is connected with the second component, determine that the rear cover of the terminal device has covered
It closes.
Preferably, the first component includes discrete first subassembly and the second subassembly, the first subassembly and ontology
On master chip GPIOn2 pins connection, and the second subassembly be grounded;Alternatively, the first component is Hall sensor and first
Part is connect with the GPIOn2 pins of the master chip on ontology, and second component is magnet;Detection module 31 is specifically used for:
When it is high level state to detect GPIOn2 pins, determine that the rear cover of terminal device is opened;It is detecting
When GPIOn2 pins are low level state, determine that the rear cover of terminal device has covered conjunction.
Preferably, after detection module 31 detects that the rear cover of terminal device is opened, processing module 32 is additionally operable to:Xiang Yong
Family sends prompt message, enters low consumption electricity condition with the system for prompting the user whether triggering terminal equipment;Receiving user's hair
After the affirmative indication sent, the system of triggering terminal equipment enters low consumption electricity condition.
Based on any of the above-described embodiment, after detection module 31 detects that the rear cover lid of terminal device closes, processing module 32 is also
For:
Determine that the conventional batteries are detached from terminal device, triggering terminal equipment keeps low consumption electricity condition.
Based on any of the above-described embodiment, processing module 32 is additionally operable to:
Determine that the conventional batteries of terminal device are installed on inside terminal device, the system of triggering terminal equipment enters work shape
State.
Based on any of the above-described embodiment, after detection module 31 determines that the rear cover of the terminal device is opened, processing module
32 are additionally operable to:The system for prompting the user whether to trigger the terminal device enters low consumption electricity condition;Receiving user's transmission
After confirming instruction, the system for triggering the terminal device enters low consumption electricity condition.
A kind of terminal device provided in an embodiment of the present invention, the terminal device include any of the above-described device.
Terminal device provided in an embodiment of the present invention can be that mobile phone, tablet computer etc. can replace the electronics of battery and set
It is standby.
It should be understood by those skilled in the art that, the embodiment of the present invention can be provided as method, system or computer program
Product.Therefore, the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware can be used in the present invention
Apply the form of example.Moreover, the computer for wherein including computer usable program code in one or more can be used in the present invention
The computer program production that usable storage medium is implemented on (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)
The form of product.
The present invention be with reference to according to the method for the embodiment of the present invention, the flow of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that it can be realized by computer program instructions every first-class in flowchart and/or the block diagram
The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided
The processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce
A raw machine so that the instruction performed by computer or the processor of other programmable data processing devices is generated for real
The device of function specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that the instruction generation being stored in the computer-readable memory includes referring to
Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or
The function of being specified in multiple boxes.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted
Series of operation steps are performed on calculation machine or other programmable devices to generate computer implemented processing, so as in computer or
The instruction offer performed on other programmable devices is used to implement in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, but those skilled in the art once know basic creation
Property concept, then additional changes and modifications may be made to these embodiments.So appended claims be intended to be construed to include it is excellent
It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
God and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to include these modifications and variations.
Claims (14)
1. a kind of detection process method of terminal device, which is characterized in that first is provided on the ontology of the terminal device
Part covers after the terminal device and is provided with second component;This method includes:
The connected state between the first component and the second component is detected whether to judge the rear cover of the terminal device
It is opened;
Determine that the rear cover of the terminal device is opened, the system for triggering the terminal device enters low consumption electricity condition, described low
Operating current under power consumption state is no more than the current threshold set;
It is switched to from the first powering mode of the conventional batteries power supply by the terminal device by unconventional battery powered second
Powering mode, second powering mode are by external charger power supply or the appearance by being set inside the terminal device
Amount is powered less than the reserve battery of the conventional batteries.
2. the method as described in claim 1, which is characterized in that
If to be powered by the charger, the current threshold carries second powering mode less than or equal to the charger
The supply current of confession;
If second powering mode is powers by the reserve battery, the current threshold is less than or equal to the standby electricity
The supply current that pond provides.
3. the method as described in claim 1, which is characterized in that whether the rear cover of detection terminal equipment is opened, including:
After detecting to be set to the first component on the ontology of the terminal device and being set to the terminal device
After the second component covered disconnects, determine that the rear cover of the terminal device is opened;
After detecting that the first component is connected with the second component, determine that the rear cover of the terminal device has covered conjunction.
4. method as claimed in claim 3, which is characterized in that the first component include discrete first subassembly and
Second subassembly, first subassembly are connect with the GPIOn2 pins of the master chip on the ontology, and second sub-portion
Part is grounded;Alternatively, the first component is Hall sensor and the first component and the master chip on the ontology
GPIOn2 pins connect, and the second component is magnet;
Whether the rear cover for detecting the terminal device is opened, including:
When it is high level state to detect the GPIOn2 pins, determine that the rear cover of the terminal device is opened;
When it is low level state to detect the GPIOn2 pins, determine that the rear cover of the terminal device has covered conjunction.
5. such as Claims 1 to 4 any one of them method, which is characterized in that the system for triggering the terminal device enters low
After power consumption state, this method further includes:
It determines that the rear cover lid of the terminal device closes, and determines that the conventional batteries are detached from the terminal device, trigger the end
End equipment keeps the low consumption electricity condition.
6. such as Claims 1 to 4 any one of them method, which is characterized in that the system for triggering the terminal device enters low
After power consumption state, this method further includes:
Determine that the conventional batteries are installed on inside the terminal device, the system for triggering the terminal device enters work shape
State.
7. the method as described in claim 1, which is characterized in that after determining that the rear cover of the terminal device is opened, this method
It further includes:The system for prompting the user whether to trigger the terminal device enters low consumption electricity condition;
The system for triggering the terminal device enters low consumption electricity condition, including:After the confirmation instruction of user's transmission is received, touch
The system for sending out terminal device described enters low consumption electricity condition.
8. the detection process device of a kind of terminal device, which is characterized in that first is provided on the ontology of the terminal device
Part covers after the terminal device and is provided with second component;The device includes:
Detection module, for detecting the connected state between the first component and the second component to judge that the terminal is set
Whether standby rear cover is opened;
Processing module, after the rear cover for determining the terminal device is opened, trigger the terminal device system enter it is low
Power consumption state, operating current under the low consumption electricity condition is no more than the current threshold of setting;
Handover module, for being switched to from the first powering mode of the conventional batteries power supply by the terminal device by unconventional electricity
Battery-powered second powering mode, second powering mode are by external charger power supply or by the terminal device
The reserve battery that the capacity of inside setting is less than the conventional batteries is powered.
9. device as claimed in claim 8, which is characterized in that the detection module is specifically used for:
After detecting to be set to the first component on the ontology of the terminal device and being set to the terminal device
After the second component covered disconnects, determine that the rear cover of the terminal device is opened;
After detecting that the first component is connected with the second component, determine that the rear cover of the terminal device has covered conjunction.
10. device as claimed in claim 9, which is characterized in that the first component includes discrete first subassembly
With the second subassembly, first subassembly is connect with the GPIOn2 pins of the master chip on the ontology, and second son
Grounding components;Alternatively, the first component is Hall sensor and the first component and the master chip on the ontology
GPIOn2 pins connect, and the second component is magnet;The detection module is specifically used for:
When it is high level state to detect the GPIOn2 pins, determine that the rear cover of the terminal device is opened;It is detecting
When going out the GPIOn2 pins for low level state, determine that the rear cover of the terminal device has covered conjunction.
11. such as claim 8~10 any one of them device, which is characterized in that the detection module determines that the terminal is set
After standby rear cover lid closes, the processing module is additionally operable to:
It determines that the conventional batteries are detached from the terminal device, triggers the terminal device and keep the low consumption electricity condition.
12. such as claim 8~10 any one of them device, which is characterized in that the processing module is additionally operable to:
Determine that the conventional batteries are installed on inside the terminal device, the system for triggering the terminal device enters work shape
State.
13. device as claimed in claim 8, which is characterized in that the detection module determines the rear cover quilt of the terminal device
After opening, the processing module is additionally operable to:The system for prompting the user whether to trigger the terminal device enters low consumption electricity condition;
After the affirmative indication for receiving user's transmission, the system for triggering the terminal device enters low consumption electricity condition.
14. a kind of terminal device, which is characterized in that the terminal device includes such as claim 8~13 any one of them device.
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 CN105162241A (en) | 2015-12-16 |
CN105162241B true 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) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112099613B (en) * | 2020-08-03 | 2023-03-31 | 中国长城科技集团股份有限公司 | Server case cover opening detection method and device |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3593814B2 (en) * | 1996-09-18 | 2004-11-24 | ソニー株式会社 | Recording / playback device |
US8121618B2 (en) * | 2009-10-28 | 2012-02-21 | Digimarc Corporation | Intuitive computing methods and systems |
CN103167144B (en) * | 2012-09-20 | 2015-05-27 | 深圳市金立通信设备有限公司 | Intelligent player system and method of mobile phone |
-
2015
- 2015-07-24 CN CN201510446214.6A patent/CN105162241B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN105162241A (en) | 2015-12-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104716750B (en) | A kind of low power consuming wireless power method and relevant apparatus, system | |
EP2619843B1 (en) | Providing power to a component | |
CN110225167A (en) | Terminal and processing method | |
CN106356925A (en) | Mobile terminal, and charge control device and method thereof | |
CN106125878A (en) | A kind of charging method and electronic equipment | |
CN106329630B (en) | A kind of charging method and device | |
CN106385077B (en) | Charge control method and device | |
CN109525012A (en) | Charging unit, charge control method, charge control system and storage medium | |
CN107968469A (en) | Charging system, mobile terminal and charger | |
CN112134337A (en) | Power adapter, terminal equipment, electronic equipment and charging control method thereof | |
CN110365084B (en) | Charging control method, device, terminal and storage medium | |
CN105576753A (en) | Information processing method and electronic equipment | |
EP2731224B1 (en) | Method for processing power source state and terminal supporting the same | |
CN105634055A (en) | Charging control method and charging control device of mobile terminal and mobile terminal | |
CN111008090B (en) | Battery electric quantity control method and device, storage medium and terminal equipment | |
CN110896240B (en) | Charging control method and device, computer readable storage medium and terminal | |
CN106786959B (en) | Charging control method and device and terminal | |
CN105162241B (en) | A kind of detection process method and apparatus of terminal device | |
CN106921192A (en) | Terminal and electricity sharing method | |
CN110165735A (en) | A kind of charging method and charging equipment | |
CN103873681A (en) | Information processing method and electronic equipment | |
CN105138323B (en) | A kind of information processing method and electronic equipment | |
JP2018113759A (en) | Information processing apparatus and charging device provided with rechargeable battery | |
CN105490319B (en) | A kind of information processing method and electronic equipment | |
CN110912227A (en) | Charging and discharging structure and charging method |
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 | ||
CP03 | Change of name, title or address | ||
CP03 | Change of name, title or address |
Address after: Shandong City, Qingdao Province, Jiangxi City Road No. 11 Patentee after: Qingdao Hisense Mobile Communication Technology Co.,Ltd. Country or region after: China Address before: Shandong City, Qingdao Province, Jiangxi City Road No. 11 Patentee before: HISENSE MOBILE COMMUNICATIONS TECHNOLOGY Co.,Ltd. Country or region before: China |