CN103905616A - Mobile phone automatic hang-up system and method - Google Patents

Mobile phone automatic hang-up system and method Download PDF

Info

Publication number
CN103905616A
CN103905616A CN201210572469.3A CN201210572469A CN103905616A CN 103905616 A CN103905616 A CN 103905616A CN 201210572469 A CN201210572469 A CN 201210572469A CN 103905616 A CN103905616 A CN 103905616A
Authority
CN
China
Prior art keywords
mobile phone
parameter information
flat condition
telephone
transducer
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.)
Pending
Application number
CN201210572469.3A
Other languages
Chinese (zh)
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 Futaihong Precision Industry Co Ltd
Chi Mei Communication Systems Inc
Original Assignee
Shenzhen Futaihong Precision Industry Co Ltd
Chi Mei Communication Systems Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Futaihong Precision Industry Co Ltd, Chi Mei Communication Systems Inc filed Critical Shenzhen Futaihong Precision Industry Co Ltd
Priority to CN201210572469.3A priority Critical patent/CN103905616A/en
Priority to TW101150827A priority patent/TW201427378A/en
Publication of CN103905616A publication Critical patent/CN103905616A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses an automatic hang-up system operated in a mobile phone. The system comprises: an acquisition module for acquiring parameter information of the mobile phone acquired by a sensor when the mobile phone is in the call state; a judgment module for judging whether the mobile phone is in the laid-flat state according to the parameter information of the mobile phone and for judging whether the hand-free function of the mobile phone is opened when the mobile phone is in the laid-flat state; and an execution module for controlling the mobile phone to hang up when the duration during which the mobile phone is in the laid-flat state and the hand-free function is not opened reaches a preset duration. The invention further provides an automatic hang-up method. The system and method of the invention can be used for hanging up the mobile phone when the mobile phone is in the call state and when the mobile phone is in the laid-flat state and the hand-free function is not opened in the preset duration.

Description

Mobile phone automatic hanging power-off telephone system and method
Technical field
The present invention relates to a kind of mobile phone communication management system and method, relate in particular to a kind of automatic hanging power-off telephone system and method.
Background technology
Current smart mobile phone is more and more universal, has brought many facilities to people's life, and meanwhile, the occupation mode of smart mobile phone has also had a great difference compared with functional mobile phone.For example, the physical button that smart mobile phone provides than functional mobile phone is few a lot, and most operation will realize by touch-screen, such as, answer and hang up the telephone and all will complete by touch.As everyone knows, cost of the phone call is somewhat expensive, if because inadvertent or touch-screen sudden failure cause the phone that hang up not hung, can cause the extra loss of user.
Summary of the invention
In view of above content, be necessary to provide a kind of mobile phone automatic hanging power-off telephone system, can be in mobile phone during in talking state, if this mobile phone is hung up phone in flat condition and while not opening hand-free function in Preset Time.
A kind of automatic hanging power-off telephone system, runs on mobile phone, and this system comprises: acquisition module, for when described mobile phone is during in talking state, obtains the parameter information of this mobile phone of transducer institute sensing; Judge module, for judging that according to the parameter information of described mobile phone whether this mobile phone is in flat condition; Described judge module, also for this mobile phone when the flat condition, further judge whether this mobile phone has opened hand-free function; Executive Module, for when described mobile phone is in the time that flat condition and time of not opening hand-free function reach Preset Time, controls this mobile phone and hangs up the telephone.
Also be necessary to provide a kind of mobile phone method of automatically hanging up the telephone, can be in mobile phone during in talking state, if this mobile phone is hung up phone in flat condition and while not opening hand-free function in Preset Time.
The one method of automatically hanging up the telephone, is applied to mobile phone, and the method comprises: obtaining step, when described mobile phone is during in talking state, obtains the parameter information of this mobile phone of transducer institute sensing; The first determining step, judges that according to the parameter information of described mobile phone whether this mobile phone is in flat condition; The second determining step, when this mobile phone is during in flat condition, judges whether this mobile phone has opened hand-free function; Execution step, when described mobile phone is in the time that flat condition and time of not opening hand-free function reach Preset Time, controls this mobile phone and hangs up the telephone.
Compared to prior art, described mobile phone automatic hanging power-off telephone system and method, can be in mobile phone during in talking state, if this mobile phone is hung up phone in flat condition and while not opening hand-free function in Preset Time.Can avoid cellphone subscriber to leak and produce extra-pay while hanging up the telephone because of carelessness or other reason.
Accompanying drawing explanation
Fig. 1 is the running environment figure of automatic hanging power-off telephone system of the present invention.
Fig. 2 is the functional block diagram of automatic hanging power-off telephone system of the present invention.
Fig. 3 is automatically the hang up the telephone flow chart of preferred embodiment of method of the present invention.
Fig. 4 illustrates the coordinate system of transducer.
Main element symbol description
Mobile phone 1
Automatic hanging power-off telephone system 10
Transducer 20
Screen 30
Memory 40
Processor 50
Acquisition module 11
Judge module 12
Executive Module 13
Following embodiment further illustrates the present invention in connection with above-mentioned accompanying drawing.
Embodiment
As shown in Figure 1, be the running environment figure of automatic hanging power-off telephone system of the present invention.In the present embodiment, automatic hanging power-off telephone system 10 runs in mobile phone 1, for when this mobile phone 1 is during in talking state, if this mobile phone 1 is hung up phone in flat condition and while not opening hand-free function in Preset Time.Described mobile phone 1 also comprises transducer 20, screen 30, memory 40 and processor 50.
In the present embodiment, described transducer 20 can be gravity sensor or direction sensor.Described automatic hanging power-off telephone system 10 can be by I2C(Inter-Integrated Circuit) bus or for example SPI interface of other modes (Serial Peripheral Interface) obtains the parameter information of the described mobile phone 1 of 20 sensings of this transducer, to judge that whether mobile phone 1 is in flat condition.
Consult shown in Fig. 4, the coordinate system of supposing described transducer 20 is take the lower left corner of the screen 30 of this mobile phone 1 as initial point, and along the screen 30 of mobile phone 1 to the right, along the screen 30 of mobile phone 1 upwards, Z axis perpendicular to mobile phone screen 30 upwards for Y-axis for X-axis.
If described transducer 20 is gravity sensor, the parameter information of this mobile phone 1 of 20 sensings of described transducer is the acceleration of gravity component on described X-axis, Y-axis and Z axis respectively.When the acceleration of gravity of 20 sensings of the described transducer component in X-axis, Y-axis is 0, in the time that the component of Z axis is the negative value (g=-9.8m/s^2) of acceleration of gravity constant g (g=9.8m/s^2) or acceleration of gravity constant, described mobile phone 1 is in flat condition.
Herein, when the component of acceleration of gravity in X-axis, Y-axis is 0, in the time that the component of Z axis is acceleration of gravity constant g, be mobile phone 1 horizontal positioned and screen 30 state upward.Being 0 and work as the component of acceleration of gravity in X-axis, Y-axis, in the time that the component of Z axis is the negative value of acceleration of gravity constant, is mobile phone 1 horizontal positioned and screen 30 state down.
If described transducer 20 is direction sensor, the parameter information of this mobile phone 1 of 20 sensings of described transducer is the azimuth (Y-axis at projection and the magnetic north pole angle of horizontal plane) of mobile phone 1 in coordinate system, the anglec of rotation (angle of X-axis and horizontal plane) and inclination angle (angle of Y-axis and horizontal plane).When this mobile phone 1 azimuth in coordinate system of 20 sensings of described transducer is arbitrary value, the anglec of rotation and inclination angle are 0 o'clock, and this mobile phone 1 is in flat condition.
In the present embodiment, described automatic hanging power-off telephone system 10 can be divided into one or more modules, and described one or more module stores have been carried out function provided by the invention in described memory 40 and by described processor 50.For example consult shown in Fig. 2, described automatic hanging power-off telephone system 10 is divided into acquisition module 11, judge module 12 and Executive Module 13.The alleged module of the present invention has been the program segment of a specific function, will in the flow chart of Fig. 3, specifically describe about the function of each module.
Consulting shown in Fig. 3, is automatically the hang up the telephone flow chart of preferred embodiment of method of the present invention.
Step S1, mobile phone 1 is under talking state time, and acquisition module 11 obtains the parameter information of this mobile phone 1 of 20 sensings of transducer of this mobile phone 1.
Particularly, described acquisition module 11 can obtain by I2C bus or for example SPI interface of other modes the parameter information of this mobile phone 1 of 20 sensings of described transducer.
Take described transducer 20 as gravity sensor is as example, the parameter information of this mobile phone 1 that described acquisition module 11 obtains is that acceleration of gravity is respectively at X, Y, Z axis component.
Take described transducer 20 as direction sensor is as example, the parameter information of this mobile phone 1 that described acquisition module 11 obtains is azimuth, the anglec of rotation and the inclination angle of mobile phone 1 in coordinate system.
Step S2, judge module 12 judges that according to the parameter information of this obtained mobile phone 1 this mobile phone 1, whether in flat condition, if so, performs step S3, otherwise process ends.
Take described transducer 20 as gravity sensor is as example, when the parameter information of this obtained mobile phone 1 is that the component of acceleration of gravity in X-axis, Y-axis is 0, in the time that the component of Z axis is the negative value (g=-9.8m/s^2) of acceleration of gravity constant g (g=9.8m/s^2) or acceleration of gravity constant, judge that this mobile phone 1 is in flat condition.
Take described transducer 20 as direction sensor is as example, when the parameter information of this obtained mobile phone 1 is that the azimuth of mobile phone 1 in coordinate system is arbitrary value, the anglec of rotation and inclination angle are 0 o'clock, judge that this mobile phone 1 is in flat condition.
Step S3, judge module 12 judges whether mobile phone 1 has opened hand-free function, if not, execution step S4, if so, process ends.For example, the button that triggers after mobile phone 1 is in communication process, and user is by Hands-free key if detect interrupts, and mobile phone 1 has been opened hand-free function, now process ends.
Step S4, judge module 12 further judge whether this mobile phone 1 reaches Preset Time in flat condition and time of not opening hand-free function, if perform step S5, if not, get back to step S1, continue the parameter information of this mobile phone 1 of 20 sensings of transducer that obtain this mobile phone 1.
For example, described mobile phone 1 reaches Preset Time (for example 2 minutes) in flat condition and time of not opening hand-free function, is considered as user and leaks and hang up the telephone, and now performs step S5.
It should be noted that, this Preset Time also can be set to be greater than the other times of 1 minute, for example, be 3 minutes, 4 minutes etc.
Step S5, Executive Module 13 is controlled mobile phone 1 and is hung up the telephone.
Can find out from process step of the present invention, the present invention can be at mobile phone 1 during in talking state, utilize the parameter information of the mobile phone 1 of 20 sensings of transducer to judge that whether mobile phone 1 is in flat condition, and when this mobile phone 1 is in the time that flat condition and time of not opening hand-free function reach Preset Time, control mobile phone 1 and hang up the telephone.The user that can avoid mobile phone 1 is leaked and is produced extra-pay while hanging up the telephone because of carelessness or other reason.
Finally it should be noted that, above embodiment is only unrestricted in order to technical scheme of the present invention to be described, although the present invention is had been described in detail with reference to preferred embodiment, those of ordinary skill in the art is to be understood that, can modify or be equal to replacement technical scheme of the present invention, and not depart from the spirit and scope of technical solution of the present invention.

Claims (8)

1. an automatic hanging power-off telephone system, runs on mobile phone, and this system comprises:
Acquisition module, for when described mobile phone is during in talking state, obtains the parameter information of this mobile phone of transducer institute sensing;
Judge module, for judging that according to the parameter information of described mobile phone whether this mobile phone is in flat condition;
Described judge module, also for this mobile phone when the flat condition, judge whether this mobile phone has opened hand-free function;
Executive Module, for when described mobile phone is in the time that flat condition and time of not opening hand-free function reach Preset Time, controls this mobile phone and hangs up the telephone.
2. automatic hanging power-off telephone system as claimed in claim 1, it is characterized in that: described transducer is gravity sensor, when the parameter information of the described mobile phone of this gravity sensor institute sensing is that component on the screen orientation of acceleration of gravity at mobile phone is 0, when component on the screen orientation perpendicular to mobile phone is the negative value of acceleration of gravity constant g or acceleration of gravity constant g, judge that this mobile phone is in flat condition.
3. automatic hanging power-off telephone system as claimed in claim 1, it is characterized in that: described transducer is direction sensor, the azimuth that is this mobile phone when the parameter information of the described mobile phone of this direction sensor institute sensing is arbitrary value, the anglec of rotation and inclination angle are 0 o'clock, judge that this mobile phone is in flat condition.
4. automatic hanging power-off telephone system as claimed in claim 1, is characterized in that: described acquisition module obtains the parameter information of this mobile phone of transducer institute sensing by I2C bus or SPI interface.
5. the method for automatically hanging up the telephone, is applied to mobile phone, and the method comprises:
Obtaining step, when described mobile phone is during in talking state, obtains the parameter information of this mobile phone of transducer institute sensing;
The first determining step, judges that according to the parameter information of described mobile phone whether this mobile phone is in flat condition;
The second determining step, when this mobile phone is during in flat condition, judges whether this mobile phone has opened hand-free function;
Execution step, when described mobile phone is in the time that flat condition and time of not opening hand-free function reach Preset Time, controls this mobile phone and hangs up the telephone.
6. the method for automatically hanging up the telephone as claimed in claim 5, it is characterized in that: described transducer is gravity sensor, when the parameter information of the described mobile phone of this gravity sensor institute sensing is that component on the screen orientation of acceleration of gravity at mobile phone is 0, when component on the screen orientation perpendicular to mobile phone is the negative value of acceleration of gravity constant g or acceleration of gravity constant g, judge that this mobile phone is in flat condition.
7. the method for automatically hanging up the telephone as claimed in claim 5, it is characterized in that: described transducer is direction sensor, the azimuth that is this mobile phone when the parameter information of the described mobile phone of this direction sensor institute sensing is arbitrary value, the anglec of rotation and inclination angle are 0 o'clock, judge that this mobile phone is in flat condition.
8. the method for automatically hanging up the telephone as claimed in claim 5, is characterized in that: described obtaining step obtains the parameter information of this mobile phone of transducer institute sensing by I2C bus or SPI interface.
CN201210572469.3A 2012-12-25 2012-12-25 Mobile phone automatic hang-up system and method Pending CN103905616A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201210572469.3A CN103905616A (en) 2012-12-25 2012-12-25 Mobile phone automatic hang-up system and method
TW101150827A TW201427378A (en) 2012-12-25 2012-12-28 System and method of hanging up a phone

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210572469.3A CN103905616A (en) 2012-12-25 2012-12-25 Mobile phone automatic hang-up system and method

Publications (1)

Publication Number Publication Date
CN103905616A true CN103905616A (en) 2014-07-02

Family

ID=50996767

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210572469.3A Pending CN103905616A (en) 2012-12-25 2012-12-25 Mobile phone automatic hang-up system and method

Country Status (2)

Country Link
CN (1) CN103905616A (en)
TW (1) TW201427378A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105072280A (en) * 2015-08-27 2015-11-18 惠州Tcl移动通信有限公司 Processing method and system for mobile terminal to automatically hang up
CN107997580A (en) * 2016-12-08 2018-05-08 芜湖美的厨卫电器制造有限公司 Water fountain and its water tank detection method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105072280A (en) * 2015-08-27 2015-11-18 惠州Tcl移动通信有限公司 Processing method and system for mobile terminal to automatically hang up
CN107997580A (en) * 2016-12-08 2018-05-08 芜湖美的厨卫电器制造有限公司 Water fountain and its water tank detection method

Also Published As

Publication number Publication date
TW201427378A (en) 2014-07-01

Similar Documents

Publication Publication Date Title
EP3340009B1 (en) Electronic device and heat control method based on temperature of battery in electronic device
CN103345355B (en) A kind of locking screen interface display control method, device and terminal unit
US9917462B2 (en) Method and apparatus for power sharing
EP3038227B1 (en) Apparatus and method for charging electronic device having battery
KR102302437B1 (en) Method for motion sensing and an user device thereof
EP3220251B1 (en) Method and system based on mobile terminal for turning off screen during call to prevent inadvertent touch
WO2017188577A1 (en) Method for controlling battery charging and electronic device therefor
CN106484555B (en) The method and mobile terminal of abnormality detection and recovery
CN103458115B (en) The processing method of mobile terminal automatic capture system font size and mobile terminal
WO2015194920A1 (en) Electronic device and method for controlling display
EP3144786A1 (en) Method, system for processing fingerprint input information and mobile terminal
CN104460935A (en) Information processing method and electronic equipment
CN106646440B (en) A kind of falling height detection method and device
EP3531722B1 (en) Application startup method and terminal device
EP3015983A1 (en) Method and device for optimizing memory
KR20150122476A (en) Method and apparatus for controlling gesture sensor
CN101598972A (en) Electronic installation and function change method thereof
CN106340925A (en) Charging control method, apparatus and terminal
CN103530036A (en) Horizontal screen switching control method and mobile terminal
CN104516474A (en) Information processing method and electronic device
CN105138241A (en) Application startup method and system based on mobile terminal and mobile terminal
KR20150124196A (en) Method for managing power and electronic device thereof
US20160344925A1 (en) Electronic device and method of operating camera of the same
CN108092839B (en) Method and device for establishing network connection
US10929010B2 (en) Touch response method for touchscreen, apparatus, and terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20140702