CN107544659A - Mobile terminal and sensor and display screen common-battery operated control method and storage medium - Google Patents

Mobile terminal and sensor and display screen common-battery operated control method and storage medium Download PDF

Info

Publication number
CN107544659A
CN107544659A CN201710895496.7A CN201710895496A CN107544659A CN 107544659 A CN107544659 A CN 107544659A CN 201710895496 A CN201710895496 A CN 201710895496A CN 107544659 A CN107544659 A CN 107544659A
Authority
CN
China
Prior art keywords
direction sensor
display screen
sensor
power
power supply
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
CN201710895496.7A
Other languages
Chinese (zh)
Other versions
CN107544659B (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.)
Shenzhen Yinghu Technology 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 CN201710895496.7A priority Critical patent/CN107544659B/en
Publication of CN107544659A publication Critical patent/CN107544659A/en
Application granted granted Critical
Publication of CN107544659B publication Critical patent/CN107544659B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephone Function (AREA)
  • Power Sources (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses mobile terminal and sensor and display screen common-battery operated control method and storage medium, methods described to include:Mobile terminal detects whether the operation that touch-screen opens or closes, and when detecting the operation that touch-screen opens or closes, whether the number that the operation that touch-screen opens or closes is counted in the first predetermined amount of time reaches presetting number higher limit;Reach presetting higher limit when judging to count the number of operation that touch-screen opens or closes in the first predetermined amount of time, then Electricity Functional under automatic Do not touch screen;After Electricity Functional waits the second predetermined amount of time under Do not touch screen, the operation that new touch-screen opens or closes is not detected, then recovers Electricity Functional under touch-screen automatically.The present invention can avoid the upper and lower of continuous complexity from electrically operated easily making touch-screen operation irregularity, it is easy to cause handling to come on mobile terminal software, the problem of deadlock can be caused when serious.

Description

Mobile terminal and sensor and display screen common-battery operated control method and storage medium
Technical field
The present invention relates to field of mobile terminals, more particularly to a kind of mobile terminal and sensor and display screen common-battery source Control method and storage medium.
Background technology
At present, mobile terminal is provided with direction sensor, and it is current to sense mobile terminal by direction sensor Direction, the on this basis display to mobile terminal are controlled, such as when mobile terminal turns over 180 degree, and the action can be with Sensed by direction sensor, so as to control display content also to rotate with 180 degree.In the prior art, the confession of display screen Electricity is separate with direction sensor power supply, and two power supplies control respectively, but so need duplex feeding, compare It is power-consuming, influence the battery durable of mobile terminal.
Therefore, the prior art is defective, has much room for improvement and develops.
The content of the invention
The technical problem to be solved in the present invention is, for the drawbacks described above of prior art, there is provided a kind of mobile terminal and Sensor and display screen common-battery operated control method and storage medium.The present invention provides a kind of direction sensor and display screen common-battery The control method in source, it is intended to make the direction sensor of mobile terminal only to be needed to use with display screen by method provided by the invention Power all the way, reduce the power consumption under mobile terminal working condition, to provide the battery durable ability of mobile terminal, provide the user It is convenient.
The technical proposal for solving the technical problem of the invention is as follows:
A kind of mobile terminal sensor and display screen common-battery operated control method, wherein, including:
The direction sensor of mobile terminal is connected with display screen in advance and powered all the way;
When display screen electric power starting, whether detection direction sensor has been switched on, and is deprived if direction sensor has turned on Direction sensor is to the control of direction probe power, and control direction probe power exports always;
When display screen power-off, whether detection direction sensor has been switched on, will if direction sensor has been switched on The control of direction sensor power supply gives back direction sensor;
When direction sensor is opened, whether detection display screen power supply has been switched on, and is shelled if display screen power supply has been switched on Take control of the direction sensor to direction probe power by force, and control direction probe power exports always;If display screen Power supply is not opened, and the control of direction sensor power supply gives direction sensor, i.e. direction sensor power supply is by direction sensor Voluntarily control;
When direction sensor is closed, control direction probe power is closed.
The mobile terminal sensor and display screen common-battery operated control method, wherein, the display screen power supply, display screen institute Module input power;The input power of display screen is display screen power supply, defeated by processor always after display screen unlatching Go out to the module where display screen;Then display screen power supply is also opened for the unlatching of display screen, the closing of display screen then display screen power supply Closing.
The mobile terminal sensor and display screen common-battery operated control method, wherein, the direction sensor is using interruption Mode works, and the direction sensor power supply is frequently opens, the power supply of closing, the input electricity of the module where direction sensor Source;The input power of direction sensor is direction sensor power supply, and its control is by side in the case of display screen power-off Grasped to sensor;
Direction sensor is by the request opened to processor sending direction probe power, so that processor outbound course passes Sensor power supply is to the module where direction sensor;Direction sensor is by closing to processor sending direction probe power Request, so that processor stops outbound course probe power to the module where direction sensor.
The mobile terminal sensor and display screen common-battery operated control method, wherein, it is described to deprive direction sensor other side To probe power control the step of include:
Control of the direction sensor to direction probe power is deprived, refers to that processor ignores module where direction sensor For direction sensor electric power starting or the request of closing.
The mobile terminal sensor and display screen common-battery operated control method, wherein, it is described by direction sensor power supply Control gives back direction sensor, refers to that processor receives direction sensor place module and opened for direction sensor power supply The request opened or closed;If the request that module where direction sensor is opened to processor sending direction probe power, Processor outbound course probe power;If module is closed to processor sending direction probe power where direction sensor Request, then processor stop outbound course probe power.
A kind of mobile terminal, wherein, including processor, and the memory being connected with the processor, the memory Sensor and the common power supply control program of display screen are stored with, the sensor is with the common power supply control program of display screen by the processor Following steps are realized during execution:
When display screen electric power starting, whether detection direction sensor has been switched on, and is deprived if direction sensor has turned on Direction sensor is to the control of direction probe power, and control direction probe power exports always;
When display screen power-off, whether detection direction sensor has been switched on, will if direction sensor has been switched on The control of direction sensor power supply gives back direction sensor;
When direction sensor is opened, whether detection display screen power supply has been switched on, and is shelled if display screen power supply has been switched on Take control of the direction sensor to direction probe power by force, and control direction probe power exports always;If display screen Power supply is not opened, and the control of direction sensor power supply gives direction sensor, i.e. direction sensor power supply is by direction sensor Voluntarily control;
When direction sensor is closed, control direction probe power is closed;
The processor is used to call the sensor and display screen power supply control program instruction altogether.
The mobile terminal, wherein, mobile terminal also includes the display screen being connected respectively with the processor and direction passes Sensor;
Inside processor also include display screen energy supply control module, direction sensor energy supply control module, display screen control module, Direction sensor control module:
Display screen energy supply control module is connected with display screen, and it provides power supply signal for display screen;
Direction sensor energy supply control module is connected with direction sensor, and it provides power supply signal for direction sensor;
Display screen control module is used to receive the operation that user starts, closes display screen;
Direction sensor control module is used to receive user's startup, the operation of closing direction sensor.
The mobile terminal, wherein, the display screen power supply, the input power of the module where display screen;Display screen Input power is display screen power supply, always as the module where processor is exported to display screen after display screen unlatching;Display screen Unlatching then display screen power supply is also opened, the closing of the closing then display screen power supply of display screen;
The direction sensor is worked using interrupt mode, and the direction sensor power supply is frequently opens, the power supply of closing, side To the input power of the module where sensor;The input power of direction sensor is direction sensor power supply, in display screen electricity Its control is grasped by direction sensor in the case that source is closed;
Direction sensor is by the request opened to processor sending direction probe power, so that processor outbound course passes Sensor power supply is to the module where direction sensor;Direction sensor is by closing to processor sending direction probe power Request, so that processor stops outbound course probe power to the module where direction sensor.
The mobile terminal, wherein, it is described to deprive control of the direction sensor to direction probe power, refer to locating Module is for direction sensor electric power starting or the request of closing where reason device ignores direction sensor;
The control by direction sensor power supply gives back direction sensor, refers to that processor receives direction sensor institute In module for direction sensor electric power starting or the request of closing;If module where direction sensor is to processor sender The request opened to probe power, then processor outbound course probe power;If module where direction sensor is to place The request that device sending direction probe power is closed is managed, then processor stops outbound course probe power.
A kind of storage medium, wherein, the storage medium is stored with sensor and the common power supply control program of display screen, the biography Sensor realizes the mobile terminal sensor and display screen common-battery source with display screen when power supply control program is executed by processor altogether The step of control method.
Beneficial effect:Mobile terminal and sensor provided by the present invention and display screen common-battery operated control method and storage Medium, methods described is by the way that when display screen electric power starting, whether detection direction sensor has been switched on, if direction sensor Have been switched on, deprive control of the direction sensor to direction probe power, and control direction probe power is defeated always Go out;When display screen power-off, whether detection direction sensor has been switched on, the general side if direction sensor has been switched on Direction sensor is given back to the control of probe power;When direction sensor is opened, whether detection display screen power supply Through opening, control of the direction sensor to direction probe power is deprived if display screen power supply has been switched on, and control Direction sensor power supply exports always;The control of direction sensor power supply gives direction biography if display screen power supply is not opened Sensor, i.e. direction sensor power supply are voluntarily controlled by direction sensor;When direction sensor is closed, control direction sensor electricity Source is closed.It is intended to make the direction sensor of mobile terminal only need to use with display screen by method provided by the invention to supply all the way Electricity, the power consumption under mobile terminal working condition is reduced, to provide the battery durable ability of mobile terminal, provided the user conveniently.
Brief description of the drawings
Fig. 1 is mobile terminal sensor of the present invention and the flow chart of the preferred embodiment of display screen common-battery operated control method.
Fig. 2 is the structured flowchart of mobile terminal sensor of the present invention and display screen common-battery source.
Fig. 3 is mobile terminal preferred embodiment functional schematic block diagram of the present invention.
Embodiment
To make the objects, technical solutions and advantages of the present invention clearer, clear and definite, develop simultaneously embodiment pair referring to the drawings The present invention is further described.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and do not have to It is of the invention in limiting.
Embodiment one
Fig. 1 is referred to, Fig. 1 is mobile terminal sensor of the present invention and the stream of the preferred embodiment of display screen common-battery operated control method Cheng Tu.As shown in figure 1, mobile terminal sensor described in the embodiment of the present invention and display screen common-battery operated control method, including it is following Step:
Step S10, the direction sensor of mobile terminal is connected with display screen in advance and powered all the way;
In the embodiment of the present invention, as shown in Fig. 2 using the mobile terminal, including processor 100, and with the processor The memory 400. of 100 connections
Mobile terminal also includes the display screen 200 and direction sensor 300 being connected respectively with the processor 100;
Also include display screen energy supply control module 120, direction sensor energy supply control module 140, display screen inside processor 100 Control module 110, direction sensor control module 130.
Display screen energy supply control module 120 is connected with display screen 200, and it is that display screen 200 provides power supply signal;
Direction sensor energy supply control module 140 is connected with direction sensor 300, and it provides power supply signal for direction sensor.
Display screen control module 110 is used to receive the operation that user starts, closes display screen;
Direction sensor control module 130 is used to receive user's startup, the operation of closing direction sensor.
In the embodiment of the present invention, the direction sensor 300 of mobile terminal is connected with display screen 200 and powered all the way.
The display screen power supply, the input power of the module where display screen;The input power of display screen is display screen Power supply, always as the module where processor is exported to display screen after display screen unlatching;Then display screen is electric for the unlatching of display screen Source is also opened, the closing for closing then display screen power supply of display screen.
In the embodiment of the present invention, the direction sensor is worked using interrupt mode, and the direction sensor power supply is frequency Numerous power supply opened, closed, the input power of the module where direction sensor;The input power of direction sensor is that direction passes Sensor power supply, its control is grasped by direction sensor in the case of display screen power-off.
Direction sensor is by the request opened to processor sending direction probe power, so that processor output side To probe power to the module where direction sensor;Direction sensor to processor sending direction probe power by closing The request closed, so that processor stops outbound course probe power to the module where direction sensor.
It should be noted that:
The input power of display screen 200, if the operation that display screen control module 110 receives user's startup display screen just starts Display screen 200, while provide power supply signal to display screen by display screen energy supply control module 120;If display screen controls mould Display screen 200 is just closed in the operation that block 110 receives user's closing display screen, while passes through display screen energy supply control module 120 Stop providing power supply signal to display screen.
The input power of direction sensor 300 is voluntarily controlled by direction sensor 300, if direction sensor control module 130 operations for receiving user's startup direction sensor just start direction sensor 130, when direction sensor energy supply control module 140 energy supply control modules of direction sensor when receiving the power up request that direction sensor 300 sends over 140 are to direction Sensor 300 provides power supply signal, is sended over when direction sensor energy supply control module 140 receives direction sensor 300 Power-off request when direction sensor energy supply control module 140 stop providing power supply signal to direction sensor 300;Such as Fruit direction sensor control module 130 receives the operation of user's closing direction sensor just closing direction sensor 300, simultaneously Stop providing power supply signal to direction sensor by direction sensor energy supply control module 140.
Step S20, when display screen electric power starting, whether detection direction sensor has been switched on, if direction sensor Have turned on, deprive control of the direction sensor to direction probe power, and control direction probe power exports always.
In the embodiment of the present invention, when display screen electric power starting, whether detection direction sensor has been switched on, if direction Sensor has turned on, and deprives control of the direction sensor to direction probe power, and control direction probe power is always Output.It is described to deprive control of the direction sensor to direction probe power, refer to that processor ignores direction sensor institute In module for direction sensor electric power starting or the request of closing.
Step S30, when display screen power-off, whether detection direction sensor has been switched on, if direction sensor Have been switched on, the control of direction sensor power supply is given back into direction sensor.
In the embodiment of the present invention, when display screen power-off, whether detection direction sensor has been switched on, if direction Sensor has been switched on, and the control of direction sensor power supply is given back into direction sensor.
The control by direction sensor power supply gives back direction sensor, refers to that processor receives direction sensing Module is for direction sensor electric power starting or the request of closing where device;If module is sent out to processor where direction sensor The request of direction sensor electric power starting is sent, then processor outbound course probe power;If module where direction sensor To processor sending direction probe power close request, then processor stop outbound course probe power.
Step S40, when direction sensor is opened, whether detection display screen power supply has been switched on, if display screen power supply Have been switched on, deprive control of the direction sensor to direction probe power, and control direction probe power is defeated always Go out;The control of direction sensor power supply gives direction sensor, i.e. direction sensor electricity if display screen power supply is not opened Source is voluntarily controlled by direction sensor.
In the embodiment of the present invention, the direction sensor is worked using interrupt mode, and the direction sensor power supply is frequency Numerous power supply opened, closed, the input power of the module where direction sensor;The input power of direction sensor is that direction passes Sensor power supply, its control is grasped by direction sensor in the case of display screen power-off.
Step S50, when direction sensor is closed, control direction probe power is closed.
In the embodiment of the present invention, when direction sensor is closed, control direction probe power is closed, to save electric energy, Extend the mobile terminal standby time.
The present invention is described in further detail below by way of specific Application Example:
The present embodiment provides method and comprised the following steps:
When user opens display screen functions:
Step S101, when display screen control module 110, which receives user, opens the operation of display screen, direction sensor control is passed through Molding block 130 obtains whether direction sensor function has been switched on;Step is performed if direction sensor function has been switched on S102;Otherwise step S103 is performed.
Step S102, setting direction probe power control module 140 ignores the power supply that direction sensor 300 sends over Request(Asked including power up request and power-off);Also, make direction sensor energy supply control module 140 always to side To the out-put supply signal of sensor 300;Step S103 is performed afterwards.
Step S103, from display screen energy supply control module 120 to the out-put supply signal of display screen 200, controlled by display screen The control display screen function of module 110 is opened.
When user closes display screen functions:
Step S201, when display screen control module 110, which receives user, closes the operation of display screen, direction sensor control is passed through Molding block 130 obtains whether direction sensor function has been switched on;Step is performed if direction sensor function has been switched on S202;Otherwise step S203 is performed;
Step S202, setting direction probe power control module 140 receives the power request that direction sensor 300 sends over (Asked including power up request and power-off);Mould is controlled by direction sensor 300 come control direction probe power Block 140 whether out-put supply signal;Step S203 is performed afterwards;
Step S203, from display screen energy supply control module 120 to the out-put supply signal of display screen 200, by display screen control module 110 control display screen functions are closed.
When user's opening direction sensor function:
Step S301, when direction sensor control module 130 receives the operation of user's opening direction sensor, display is passed through Screen control module 110 obtains whether display screen functions have been switched on;Step S302 is performed if display screen functions have been switched on; Otherwise step S303 is performed.
Step S302, setting direction probe power control module 140 ignores the power supply that direction sensor 300 sends over Request(Asked including power up request and power-off);Also, make direction sensor energy supply control module 140 always to side To the out-put supply signal of sensor 300;Step S304 is performed afterwards.
Step S303, setting direction probe power control module 140 receives the power supply that direction sensor 300 sends over Request(Asked including power up request and power-off);I.e. by direction sensor 300 come control direction probe power control Molding block 140 whether out-put supply signal;Step S304 is performed afterwards.
Step S304, opened by the control direction sensor function of direction sensor control module 130.
When user's closing direction sensor function:
Step S401, when direction sensor control module 130 receives the operation of user's closing direction sensor, passed by direction The control direction sensor function of sensor control module 130 is closed;Out-put supply is stopped by direction sensor energy supply control module 140 Signal.
Therefore a kind of direction sensor of the present invention and the control method in display screen common-battery source, methods described is by working as During display screen electric power starting, whether detection direction sensor is had been switched on, and direction is deprived if direction sensor has been switched on Sensor is to the control of direction probe power, and control direction probe power exports always;When display screen power-off When, whether detection direction sensor has been switched on, by the control of direction sensor power supply if direction sensor has been switched on Power gives back direction sensor;When direction sensor is opened, whether detection display screen power supply has been switched on, if display screen is electric Source has been switched on, and deprives control of the direction sensor to direction probe power, and control direction probe power is defeated always Go out;The control of direction sensor power supply gives direction sensor, i.e. direction sensor electricity if display screen power supply is not opened Source is voluntarily controlled by direction sensor;When direction sensor is closed, control direction probe power is closed.Carried by the present invention The method of confession is intended to make the direction sensor of mobile terminal only need to use with display screen to power all the way, reduces mobile terminal work Power consumption under state, to provide the battery durable ability of mobile terminal, provide the user conveniently.
Certainly, one of ordinary skill in the art will appreciate that realizing all or part of flow in above-described embodiment method, It is that related hardware can be instructed by sensor and the common power supply control program of display screen(Such as processor, controller etc.)Come Into described program can be stored in a computer-readable storage medium, and the program may include each as described above upon execution The flow of embodiment of the method.Wherein described storage medium can be memory, magnetic disc, CD etc..
Embodiment two
The embodiment of the present invention additionally provides a kind of mobile terminal, and the mobile terminal of the embodiment of the present invention can be mobile phone, such as Fig. 3 institutes Show, mobile terminal described in the present embodiment, including processor 100, and the memory 400 being connected with the processor 100, it is described Memory 400 is stored with sensor and the common power supply control program of display screen, the sensor and the common power supply control program quilt of display screen The processor 100 realizes following steps when performing:
When display screen electric power starting, whether detection direction sensor has been switched on, and is deprived if direction sensor has turned on Direction sensor is to the control of direction probe power, and control direction probe power exports always;
When display screen power-off, whether detection direction sensor has been switched on, will if direction sensor has been switched on The control of direction sensor power supply gives back direction sensor;
When direction sensor is opened, whether detection display screen power supply has been switched on, and is shelled if display screen power supply has been switched on Take control of the direction sensor to direction probe power by force, and control direction probe power exports always;If display screen Power supply is not opened, and the control of direction sensor power supply gives direction sensor, i.e. direction sensor power supply is by direction sensor Voluntarily control;
When direction sensor is closed, control direction probe power is closed;As detailed above.
The processor 100 is used to call the sensor and display screen power supply control program instruction altogether.
Further, the mobile terminal also includes the display screen 200 being connected respectively with the processor 100 and direction passes Sensor 300;
Also include display screen energy supply control module 120, direction sensor energy supply control module 140, display screen inside processor 100 Control module 110, direction sensor control module 130;As detailed above.
Display screen energy supply control module 120 is connected with display screen 200, and it is that display screen 200 provides power supply signal.
Direction sensor energy supply control module 140 is connected with direction sensor 300, and it is that direction sensor 300 provides electricity Source signal.
Display screen control module 110 is used to receive the operation that user starts, closes display screen 200;As detailed above.
Direction sensor control module 130 is used to receive user's startup, the operation of closing direction sensor.
Further, the display screen power supply, the input power of the module where display screen 200;The input of display screen 200 Power supply is display screen power supply, always as the module where processor 100 is exported to display screen after display screen unlatching;Display screen Open then display screen power supply also to open, the closing for closing then display screen power supply of display screen.
The direction sensor is worked using interrupt mode, and the direction sensor power supply is frequently opens, the electricity of closing Source, the input power of the module where direction sensor;The input power of direction sensor is direction sensor power supply, is being shown Its control is grasped by direction sensor in the case of screen power-off.
Direction sensor is by the request opened to the sending direction probe power of processor 100, so that processor 100 Outbound course probe power is to the module where direction sensor;Direction sensor to the sending direction of processor 100 by passing The request of sensor power-off, so that processor 100 stops outbound course probe power to the mould where direction sensor Block.
Further, it is described to deprive control of the direction sensor to direction probe power, refer to that processor 100 is neglected Module is for direction sensor electric power starting or the request of closing slightly where direction sensor;
The control by direction sensor power supply gives back direction sensor, refers to that processor 100 receives direction sensing Module is for direction sensor electric power starting or the request of closing where device;If module where direction sensor is to processor The request that 100 sending direction probe powers are opened, then the outbound course probe power of processor 100;If direction sensor The request that place module is closed to the sending direction probe power of processor 100, then processor 100 stop outbound course sensor Power supply;As detailed above.
Embodiment three
The present embodiment provides a kind of storage medium, and the storage medium is stored with sensor and the common power supply control program of display screen, The sensor realizes the mobile terminal sensor and display screen with display screen when power supply control program is performed by processor 100 altogether The step of common-battery operated control method, as detailed above.
In summary, mobile terminal and sensor provided by the present invention and display screen common-battery operated control method and storage Medium, methods described is by the way that when display screen electric power starting, whether detection direction sensor has been switched on, if direction sensor Have been switched on, deprive control of the direction sensor to direction probe power, and control direction probe power is defeated always Go out;When display screen power-off, whether detection direction sensor has been switched on, the general side if direction sensor has been switched on Direction sensor is given back to the control of probe power;When direction sensor is opened, whether detection display screen power supply Through opening, control of the direction sensor to direction probe power is deprived if display screen power supply has been switched on, and control Direction sensor power supply exports always;The control of direction sensor power supply gives direction biography if display screen power supply is not opened Sensor, i.e. direction sensor power supply are voluntarily controlled by direction sensor;When direction sensor is closed, control direction sensor electricity Source is closed.It is intended to make the direction sensor of mobile terminal only need to use with display screen by method provided by the invention to supply all the way Electricity, the power consumption under mobile terminal working condition is reduced, to provide the battery durable ability of mobile terminal, provided the user conveniently.
It should be appreciated that the application of the present invention is not limited to above-mentioned citing, for those of ordinary skills, can To be improved or converted according to the above description, all these modifications and variations should all belong to the guarantor of appended claims of the present invention Protect scope.

Claims (10)

1. a kind of mobile terminal sensor and display screen common-battery operated control method, it is characterised in that including:
The direction sensor of mobile terminal is connected with display screen in advance and powered all the way;
When display screen electric power starting, whether detection direction sensor has been switched on, and is deprived if direction sensor has turned on Direction sensor is to the control of direction probe power, and control direction probe power exports always;
When display screen power-off, whether detection direction sensor has been switched on, will if direction sensor has been switched on The control of direction sensor power supply gives back direction sensor;
When direction sensor is opened, whether detection display screen power supply has been switched on, and is shelled if display screen power supply has been switched on Take control of the direction sensor to direction probe power by force, and control direction probe power exports always;If display screen Power supply is not opened, and the control of direction sensor power supply gives direction sensor, i.e. direction sensor power supply is by direction sensor Voluntarily control;
When direction sensor is closed, control direction probe power is closed.
2. mobile terminal sensor and display screen common-battery operated control method according to claim 1, it is characterised in that described aobvious Display screen power supply, the input power of the module where display screen;The input power of display screen is display screen power supply, is opened in display screen Afterwards always as the module where processor is exported to display screen;Then display screen power supply is also opened for the unlatching of display screen, display screen Close the closing of then display screen power supply.
3. mobile terminal sensor and display screen common-battery operated control method according to claim 1, it is characterised in that the side Worked to sensor using interrupt mode, the direction sensor power supply is frequently opens, the power supply of closing, direction sensor institute Module input power;The input power of direction sensor is direction sensor power supply, in the feelings of display screen power-off Its control is grasped by direction sensor under condition;
Direction sensor is by the request opened to processor sending direction probe power, so that processor outbound course passes Sensor power supply is to the module where direction sensor;Direction sensor is by closing to processor sending direction probe power Request, so that processor stops outbound course probe power to the module where direction sensor.
4. mobile terminal sensor and display screen common-battery operated control method according to claim 1, it is characterised in that the stripping Take direction sensor by force includes to the step of control of direction probe power:
Control of the direction sensor to direction probe power is deprived, refers to that processor ignores module where direction sensor For direction sensor electric power starting or the request of closing.
5. mobile terminal sensor and display screen common-battery operated control method according to claim 1, it is characterised in that described to incite somebody to action The control of direction sensor power supply gives back direction sensor, refer to processor receive direction sensor where module for Direction sensor electric power starting or the request of closing;If module is electric to processor sending direction sensor where direction sensor The request that source is opened, then processor outbound course probe power;If module where direction sensor is to processor sender To probe power close request, then processor stop outbound course probe power.
A kind of 6. mobile terminal, it is characterised in that including processor, and the memory being connected with the processor, it is described to deposit Reservoir is stored with sensor and the common power supply control program of display screen, and the sensor is with the common power supply control program of display screen by the place Reason device realizes following steps when performing:
When display screen electric power starting, whether detection direction sensor has been switched on, and is deprived if direction sensor has turned on Direction sensor is to the control of direction probe power, and control direction probe power exports always;
When display screen power-off, whether detection direction sensor has been switched on, will if direction sensor has been switched on The control of direction sensor power supply gives back direction sensor;
When direction sensor is opened, whether detection display screen power supply has been switched on, and is shelled if display screen power supply has been switched on Take control of the direction sensor to direction probe power by force, and control direction probe power exports always;If display screen Power supply is not opened, and the control of direction sensor power supply gives direction sensor, i.e. direction sensor power supply is by direction sensor Voluntarily control;
When direction sensor is closed, control direction probe power is closed;
The processor is used to call the sensor and display screen power supply control program instruction altogether.
7. mobile terminal according to claim 6, it is characterised in that mobile terminal also includes being connected respectively with the processor Display screen and direction sensor;
Inside processor also include display screen energy supply control module, direction sensor energy supply control module, display screen control module, Direction sensor control module;
Display screen energy supply control module is connected with display screen, and it provides power supply signal for display screen;
Direction sensor energy supply control module is connected with direction sensor, and it provides power supply signal for direction sensor;
Display screen control module is used to receive the operation that user starts, closes display screen;
Direction sensor control module is used to receive user's startup, the operation of closing direction sensor.
8. mobile terminal according to claim 6, it is characterised in that the display screen power supply, module where display screen Input power;The input power of display screen is display screen power supply, is exported always by processor to display screen after display screen unlatching The module at place;Then display screen power supply is also opened for the unlatching of display screen, the closing for closing then display screen power supply of display screen;
The direction sensor is worked using interrupt mode, and the direction sensor power supply is frequently opens, the power supply of closing, side To the input power of the module where sensor;The input power of direction sensor is direction sensor power supply, in display screen electricity Its control is grasped by direction sensor in the case that source is closed;
Direction sensor is by the request opened to processor sending direction probe power, so that processor outbound course passes Sensor power supply is to the module where direction sensor;Direction sensor is by closing to processor sending direction probe power Request, so that processor stops outbound course probe power to the module where direction sensor.
9. mobile terminal according to claim 6, it is characterised in that the direction sensor of depriving is to direction probe power Control, refer to processor ignore module where direction sensor for direction sensor electric power starting or closing please Ask;
The control by direction sensor power supply gives back direction sensor, refers to that processor receives direction sensor institute In module for direction sensor electric power starting or the request of closing;If module where direction sensor is to processor sender The request opened to probe power, then processor outbound course probe power;If module where direction sensor is to place The request that device sending direction probe power is closed is managed, then processor stops outbound course probe power.
10. a kind of storage medium, it is characterised in that the storage medium is stored with sensor and the common power supply journey of display screen Sequence, the sensor realize any one of the claim 1-5 movements with display screen when power supply control program is executed by processor altogether The step of end sensor is with display screen common-battery operated control method.
CN201710895496.7A 2017-09-28 2017-09-28 Mobile terminal, sensor and display screen common power control method and storage medium Active CN107544659B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710895496.7A CN107544659B (en) 2017-09-28 2017-09-28 Mobile terminal, sensor and display screen common power control method and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710895496.7A CN107544659B (en) 2017-09-28 2017-09-28 Mobile terminal, sensor and display screen common power control method and storage medium

Publications (2)

Publication Number Publication Date
CN107544659A true CN107544659A (en) 2018-01-05
CN107544659B CN107544659B (en) 2021-09-14

Family

ID=60964645

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710895496.7A Active CN107544659B (en) 2017-09-28 2017-09-28 Mobile terminal, sensor and display screen common power control method and storage medium

Country Status (1)

Country Link
CN (1) CN107544659B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112968495A (en) * 2021-03-03 2021-06-15 惠州Tcl移动通信有限公司 Mobile terminal and method for controlling power on or off

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101465903A (en) * 2007-12-21 2009-06-24 希姆通信息技术(上海)有限公司 Method for processing foreign event during mobile phone GPS navigation process
CN103513749A (en) * 2012-06-15 2014-01-15 三星电子株式会社 Multi-cluster processing system and method of operating the same
CN103619056A (en) * 2013-12-02 2014-03-05 华为终端有限公司 Method and terminal for reporting sensor data
CN105793837A (en) * 2013-12-27 2016-07-20 英特尔公司 Electronic device having two processors to process data
CN106055069A (en) * 2016-05-23 2016-10-26 广东欧珀移动通信有限公司 Power saving control method and apparatus of mobile terminal, and mobile terminal
CN106569583A (en) * 2016-11-04 2017-04-19 惠州Tcl移动通信有限公司 Double-click awakening screen power supply control method and system based on mobile terminal
CN106681477A (en) * 2016-12-23 2017-05-17 上海斐讯数据通信技术有限公司 Method for controlling low power consumption motion mode and intelligent terminal

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101465903A (en) * 2007-12-21 2009-06-24 希姆通信息技术(上海)有限公司 Method for processing foreign event during mobile phone GPS navigation process
CN103513749A (en) * 2012-06-15 2014-01-15 三星电子株式会社 Multi-cluster processing system and method of operating the same
CN103619056A (en) * 2013-12-02 2014-03-05 华为终端有限公司 Method and terminal for reporting sensor data
CN105793837A (en) * 2013-12-27 2016-07-20 英特尔公司 Electronic device having two processors to process data
CN106055069A (en) * 2016-05-23 2016-10-26 广东欧珀移动通信有限公司 Power saving control method and apparatus of mobile terminal, and mobile terminal
CN106569583A (en) * 2016-11-04 2017-04-19 惠州Tcl移动通信有限公司 Double-click awakening screen power supply control method and system based on mobile terminal
CN106681477A (en) * 2016-12-23 2017-05-17 上海斐讯数据通信技术有限公司 Method for controlling low power consumption motion mode and intelligent terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112968495A (en) * 2021-03-03 2021-06-15 惠州Tcl移动通信有限公司 Mobile terminal and method for controlling power on or off

Also Published As

Publication number Publication date
CN107544659B (en) 2021-09-14

Similar Documents

Publication Publication Date Title
JP5900760B2 (en) Power management method and apparatus for network access module
JP3908753B2 (en) Method and apparatus for handling state of charge in a mobile electronic device
CN104932740B (en) The system and method for mobile terminal touch screen activation
WO2013152662A1 (en) Power supply method for terminal device, and terminal device thereof
CN105137831B (en) Energy-saving mode open method and device
WO2013123863A1 (en) Sleep method, wakeup method and mobile terminal device
US20100033139A1 (en) Power adapter for battery charger and method thereof
CN104182027B (en) The NFC clock control devices and its method of a kind of mobile terminal
TW200612305A (en) Electronic device, method for controlling the same, information processing apparatus, and computer program
CN103167151A (en) Automatic screen-locking system and method for mobile phone placed in pocket
WO2011160572A1 (en) Method and device for charging through universal serial bus interface
CN106331857A (en) Automatic control method and system for smart television
WO2021143784A1 (en) State detection method and earphones, earphone charging box, and storage medium
WO2014161512A1 (en) Method and apparatus for network connection
CN103841291B (en) Information processing apparatus
CN107544659A (en) Mobile terminal and sensor and display screen common-battery operated control method and storage medium
US20130015706A1 (en) Electric outlet power control device
CN105811515A (en) Method and system for charging universal serial bus Bluetooth headset through mobile terminal
CN104953666A (en) Power supply control method based on mobile power supply
CN105653002B (en) Display method and device for battery electric quantity and electronic equipment
EP2988391B1 (en) Mobile power supply terminal and power supply method therefor
CN104283289B (en) A kind of Bluetooth charging device and charge control method
CN102880390A (en) Method and system for mobile terminal to enter into sleep mode
CN201038741Y (en) Power management circuit and TV possessing the management circuit
US20180054067A1 (en) Self-Loop Detection Method and Apparatus for Charging Device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20230606

Address after: Room 2103, Office Building 1, No. 213 Funing Road, Zumiao Street, Chancheng District, Foshan City, Guangdong Province, 528000, F008

Patentee after: Foshan Huayue Intellectual Property Operation Co.,Ltd.

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: 20240430

Address after: 518000 Shenzhen integrated circuit design and application Industrial Park, south of chaguang Road, Shuguang community, Xili street, Nanshan District, Shenzhen, Guangdong 518

Patentee after: Shenzhen Yinghu Technology Co.,Ltd.

Country or region after: China

Address before: Room 2103, Office Building 1, No. 213 Funing Road, Zumiao Street, Chancheng District, Foshan City, Guangdong Province, 528000, F008

Patentee before: Foshan Huayue Intellectual Property Operation Co.,Ltd.

Country or region before: China

TR01 Transfer of patent right