CN104486501B - Automatic on-hook method of smart phone - Google Patents

Automatic on-hook method of smart phone Download PDF

Info

Publication number
CN104486501B
CN104486501B CN201410767414.7A CN201410767414A CN104486501B CN 104486501 B CN104486501 B CN 104486501B CN 201410767414 A CN201410767414 A CN 201410767414A CN 104486501 B CN104486501 B CN 104486501B
Authority
CN
China
Prior art keywords
movement locus
mobile phone
point
desired guiding
guiding trajectory
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
Application number
CN201410767414.7A
Other languages
Chinese (zh)
Other versions
CN104486501A (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.)
Chongqing Lanan Technology Co ltd
Original Assignee
Chongqing Blue Bank Communication Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chongqing Blue Bank Communication Technology Co Ltd filed Critical Chongqing Blue Bank Communication Technology Co Ltd
Priority to CN201410767414.7A priority Critical patent/CN104486501B/en
Publication of CN104486501A publication Critical patent/CN104486501A/en
Application granted granted Critical
Publication of CN104486501B publication Critical patent/CN104486501B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Toys (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses an automatic on-hook method of a smart phone, which comprises a preset track establishing step and a motion track identifying step, wherein in the preset track establishing step, by setting N times of sampling and acquiring M points each time, the coordinate change range of each motion point in N times of sampling tracks is used as a preset track; in the motion track identification step, the conversation state and the answering mode of the mobile phone are judged, then M points which are continuously sampled are compared with a preset track, and if the comparison is correct, the conversation is automatically closed. The effect is as follows: the method has the advantages that the algorithm is simple, the realization is convenient, after the user finishes the call, the mobile phone can be moved according to the preset track to realize automatic on-hook, the trouble of waiting for the bright screen and pressing an on-hook button is avoided, on one hand, the user experience can be improved, and on the other hand, the system energy consumption can be reduced.

Description

Smart mobile phone automatic hand-up method
Technical field
The present invention relates to smart mobile phone control technology, specifically, it is a kind of smart mobile phone automatic hand-up method.
Background technology
The quickening of rhythm of life is added in popularization with smart mobile phone, and everybody increasingly wishes the mobile phone of oneself more human nature Change., after having put through phone, when mobile phone is pressed close to ear, mobile terminal being capable of automatic distinguishing screen for for example present user. But after the completion of the user's communication, need to place it in face of, wait screen just can go by phone hang up button after lighting, especially After being the phone hang-up button that present intelligent mobile terminal deletes hardware, especially inconvenient.
Content of the invention
For the deficiencies in the prior art, the present invention provides a kind of smart mobile phone automatic hand-up method, finishes in user's communication Afterwards, mobile phone can be can achieve automatic hand-up according to default track is mobile, it is to avoid wait bright screen simultaneously presses hang up button Trouble.
For reaching above-mentioned purpose, concrete technical scheme of the present invention is as follows:
A kind of smart mobile phone automatic hand-up method is it is characterised in that include desired guiding trajectory establishment step and movement locus knowledge Other step, wherein:
Described desired guiding trajectory establishment step is carried out according to following:
S11: start, total sampling number n and each sampling number m is set, and initialization counter n=1;
S12: system prompt " setting n-th movement locus " time delay t second, then initialization counter m=1;
S13: gather the three-dimensional coordinate in m-th motor point according to the default sampling interval, then enumerator m=m+1 is set;
S14: judge whether enumerator m is more than each sampling number m, if yes then enter step s15, otherwise return to step s13;
S15: the D coordinates value of m point in storage n-th sample track, then arranges enumerator n=n+1;
s16;Judge whether enumerator n is more than total sampling number n, if it is, entering step s17, otherwise return to step S12 continues collection movement locus next time;
S17: using the changes in coordinates scope in each motor point in n sample track as desired guiding trajectory, terminate desired guiding trajectory Establishment step;
Described movement locus identification step is carried out according to following:
S21: starting, judge whether to be in talking state, if it is, entering step s22 to continue identification, otherwise terminating;
S22: judging whether call belongs to hand-held and answer state, if it is, entering step s23 to continue identification, otherwise tying Bundle;
S23: the movement locus of collection mobile phone;
S24: judge whether the movement locus that m sampled point of continuous sampling is formed belong to the coordinate model of desired guiding trajectory Enclose, if it is, entering step s25, otherwise return to step s23;
S25: close call;
S26: movement locus identification step terminates.
Based on said method it is found that there is a range of desired guiding trajectory, in handss by repeatedly setting up one Hold under call shape, mobile phone can be realized automatic hand-up according to the motion of default track, desired guiding trajectory has certain tolerance model Enclose, as long as mobile phone movement locus meet its scope and all can achieve Intelligent Recognition, on the one hand can improve the intelligence degree of mobile phone, Bring good Consumer's Experience, on the other hand can also avoid waiting bright screen during on-hook and pressing the trouble of hang up button, save Mobile phone energy consumption.
In order to ensure accuracy and the reliability of movement locus identification, arranging total sampling number n in step s11 is 3~5 Secondary;The points sampled each time are 10~50 points.
As further describing, the three-dimensional coordinate in each motor point passes through gravity sensor and gyroscope obtains, and respectively It is designated as (xi,yi,zi), in step s17, in n sample track, the changes in coordinates scope in each motor point is designated as respectivelyWherein i=1~m,Represent i-th in n sample track The minima in x direction for the motor point and maximum;Represent that in n sample track, i-th motor point is in y direction Minima and maximum;Represent the minima in z direction of i-th motor point in n sample track and maximum;
In movement locus identification step, if each sampled point (xi,yi,zi), i=1~m all existsIn scope, then the movement locus that this m sampled point is formed belong to default rail The coordinate range of mark.
By being quantified to movement locus using the three-dimensional coordinate acquired in gravity sensor and gyroscope, utilize simultaneously Setting is repeated several times, the minima according to each motor point and maximum are limiting the moving range of movement locus so that motion The identification of track is convenient, improves the accuracy rate of algorithm.
Answer state and wired preferably, being not belonging to the hand-held situation answering state in step s22 and including bluetooth earphone Earphone receiving state, it is to avoid be difficult to obtain the trouble of accurate movement locus in time under other answering modes.
The remarkable result of the present invention is:
Algorithm is simple, and it is convenient to realize, and after user's communication finishes, can move mobile phone according to default track can be real Existing automatic hand-up, it is to avoid wait bright screen and press the trouble of hang up button, on the one hand can improve Consumer's Experience, on the other hand System energy consumption can also be reduced.
Brief description
Fig. 1 is the operation principle block diagram of the present invention;
Fig. 2 is desired guiding trajectory establishment step flow chart;
Fig. 3 is movement locus identification step flow chart.
Specific embodiment
Below in conjunction with the accompanying drawings the specific embodiment and operation principle of the present invention is described in further detail.
As shown in Figure 1-Figure 3, a kind of smart mobile phone automatic hand-up method, including desired guiding trajectory establishment step and movement locus Identification step, wherein:
Described desired guiding trajectory establishment step is carried out according to following:
S11: start, total sampling number n and each sampling number m is set, and initialization counter n=1;
S12: system prompt " setting n-th movement locus " time delay t second, then initialization counter m=1;
S13: gather the three-dimensional coordinate in m-th motor point according to the default sampling interval, then enumerator m=m+1 is set;
S14: judge whether enumerator m is more than each sampling number m, if yes then enter step s15, otherwise return to step s13;
S15: the D coordinates value of m point in storage n-th sample track, then arranges enumerator n=n+1;
s16;Judge whether enumerator n is more than total sampling number n, if it is, entering step s17, otherwise return to step S12 continues collection movement locus next time;
S17: using the changes in coordinates scope in each motor point in n sample track as desired guiding trajectory, terminate desired guiding trajectory Establishment step;
Described movement locus identification step is carried out according to following:
S21: starting, judge whether to be in talking state, if it is, entering step s22 to continue identification, otherwise terminating;
S22: judging whether call belongs to hand-held and answer state, if it is, entering step s23 to continue identification, otherwise tying Bundle;
S23: the movement locus of collection mobile phone;
S24: judge whether the movement locus that m sampled point of continuous sampling is formed belong to the coordinate model of desired guiding trajectory Enclose, if it is, entering step s25, otherwise return to step s23;
S25: close call;
S26: movement locus identification step terminates.
In the present embodiment, arranging total sampling number n in step s11 is 3 times;The points sampled each time are 15 Point, the three-dimensional coordinate in each motor point passes through gravity sensor and gyroscope obtains, and is designated as (x respectivelyi,yi,zi), in step In s17, in 3 sample track, the changes in coordinates scope in each motor point is designated as respectively Wherein i=1~15,Represent i-th motor point minima in x direction in 3 sample track And maximum;Represent the minima in y direction of i-th motor point in 3 sample track and maximum;Represent the minima in z direction of i-th motor point in 3 sample track and maximum;
In movement locus identification step, if each sampled point (xi,yi,zi), i=1~15 all existIn scope, then the movement locus that this 15 sampled points are formed belong to default The coordinate range of track.
In this example by mobile phone as a example transferring to this track of trouser pocket in one's ear, in desired guiding trajectory, obtained by five times default Each motor point three-dimensional coordinate respectively as shown in Table 1 to Table 3, by analyzing the maximum in all directions of each point And minima, you can obtain the desired guiding trajectory coordinate range shown in table 4, in movement locus comparison process, same collection is continuous 15 points, if coordinate of each point is corresponding in turn in table 4 limited range, assert movement locus and desired guiding trajectory Identical, thus automatically executing corresponding on-hook program, control end of conversation.
This method carries out automatic hand-up control to it mainly for hand-held answering under state, is not belonging to handss in step s22 The situation holding the state of answering includes that bluetooth earphone answers state and wired earphone answers state.Under such conditions, due to mobile phone Its state of Real-time Collection can need not be gone using gravity sensor or gyroscope with remains stationary, therefore can use other side Formula carries out on-hook control.
Last it should be noted that the present embodiment only the preferred embodiments of the present invention are described however it is not limited to The embodiment of Figure of description indication, those of ordinary skill in the art under the enlightenment of the present invention, without prejudice to the present invention On the premise of objective and claim, can make and representing as multiple types, such as change sampling number during desired guiding trajectory and Sampling number, changes limiting mode of desired guiding trajectory etc., these conversion each fall within the scope of the present invention.
Subordinate list:

Claims (4)

1. a kind of smart mobile phone automatic hand-up method is it is characterised in that include desired guiding trajectory establishment step and movement locus identification Step, wherein:
Described desired guiding trajectory establishment step is carried out according to following:
S11: start, total sampling number n and each sampling number m is set, and initialization counter n=1;
S12: system prompt " setting n-th movement locus " time delay t second, then initialization counter m=1;
S13: gather the three-dimensional coordinate in m-th motor point according to the default sampling interval, then enumerator m=m+1 is set;
S14: judge whether enumerator m is more than each sampling number m, if yes then enter step s15, otherwise return to step s13;
S15: the D coordinates value of m point in storage n-th sample track, then arranges enumerator n=n+1;
s16;Judge whether enumerator n is more than total sampling number n, if it is, entering step s17, otherwise return to step s12 continues Continuous collection movement locus next time;
S17: using the changes in coordinates scope in each motor point in n sample track as desired guiding trajectory, terminate desired guiding trajectory and set up Step;
Described movement locus identification step is carried out according to following:
S21: starting, judge whether to be in talking state, if it is, entering step s22 to continue identification, otherwise terminating;
S22: judging whether call belongs to hand-held and answer state, if it is, entering step s23 to continue identification, otherwise terminating;
S23: the movement locus of collection mobile phone;
S24: judge whether the movement locus that m sampled point of continuous sampling is formed belong to the coordinate range of desired guiding trajectory, such as Fruit is then to enter step s25, otherwise return to step s23;
S25: close call;
S26: movement locus identification step terminates.
2. smart mobile phone automatic hand-up method according to claim 1 it is characterised in that: total adopting is set in step s11 Sample frequency n is 3~5 times;The points sampled each time are 10~50 points.
3. smart mobile phone automatic hand-up method according to claim 1 and 2 it is characterised in that: the three-dimensional in each motor point Coordinate passes through gravity sensor and gyroscope obtains, and is designated as (x respectivelyi,yi,zi), in step s17, in n sample track The changes in coordinates scope in each motor point is designated as respectivelyWherein i=1~ m,Represent the minima in x direction of i-th motor point in n sample track and maximum;Table Show in n sample track i-th motor point minima in y direction and maximum;Represent in n sample track Minima in z direction of i-th motor point and maximum;
In movement locus identification step, if each sampled point (xi,yi,zi), i=1~m all existsIn scope, then the movement locus that this m sampled point is formed belong to default rail The coordinate range of mark.
4. smart mobile phone automatic hand-up method according to claim 1 and 2 it is characterised in that: be not belonging to handss in step s22 The situation holding the state of answering includes that bluetooth earphone answers state and wired earphone answers state.
CN201410767414.7A 2014-12-11 2014-12-11 Automatic on-hook method of smart phone Active CN104486501B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410767414.7A CN104486501B (en) 2014-12-11 2014-12-11 Automatic on-hook method of smart phone

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410767414.7A CN104486501B (en) 2014-12-11 2014-12-11 Automatic on-hook method of smart phone

Publications (2)

Publication Number Publication Date
CN104486501A CN104486501A (en) 2015-04-01
CN104486501B true CN104486501B (en) 2017-02-01

Family

ID=52761003

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410767414.7A Active CN104486501B (en) 2014-12-11 2014-12-11 Automatic on-hook method of smart phone

Country Status (1)

Country Link
CN (1) CN104486501B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104836921A (en) * 2015-06-09 2015-08-12 张维秀 Intelligent mobile phone automatic hang up method and device
CN112040064B (en) * 2020-09-22 2022-01-04 深圳市锐尔觅移动通信有限公司 Control method, electronic device, and computer-readable storage medium
CN115905195A (en) * 2022-10-31 2023-04-04 湖北华中电力科技开发有限责任公司 Continuous positioning method for automatic deviation rectification of mobile phone screen-off keep-alive track

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101958966A (en) * 2010-05-26 2011-01-26 宇龙计算机通信科技(深圳)有限公司 Method for controlling communication interface of mobile terminal
CN102314230B (en) * 2010-07-01 2014-10-29 Tcl集团股份有限公司 Input device of electronic equipment and character input method
CN102647525A (en) * 2012-04-16 2012-08-22 中兴通讯股份有限公司 Mobile terminal and processing method on abnormal communication of mobile terminal
CN102780815A (en) * 2012-06-29 2012-11-14 宇龙计算机通信科技(深圳)有限公司 Method for hanging up call automatically and communication terminal
CN103227856A (en) * 2013-03-22 2013-07-31 中兴通讯股份有限公司 Non-touch dialing method and non-touch dialing device

Also Published As

Publication number Publication date
CN104486501A (en) 2015-04-01

Similar Documents

Publication Publication Date Title
CN203279119U (en) Wireless earphone based on motion sensor
CN103744411B (en) A kind of relevant ZigBee technology realizes the control method of Smart Home
CN106341516B (en) Multipoint connection control method, device, terminal and multipoint Bluetooth headset
CN104486501B (en) Automatic on-hook method of smart phone
EP1701572A3 (en) Performing mobile terminal handover in response to user input
CN103576839A (en) Facial recognition based terminal operation control device and method
CN103220432A (en) Mobile terminal and call on-off control method thereof
RU2012116075A (en) DISPLAY DEVICE AND MOBILE PHONE CONTROL METHOD
CN104683584B (en) A kind of convenient call method of mobile terminal and system
CN103259908A (en) Mobile terminal and intelligent control method thereof
CN104306118A (en) Smartphone based family monitoring system on intelligent wheelchair
CN109040815A (en) Voice remote controller, smart television and barrage control method
CN105072264A (en) Intelligent watch control method and system based on tri-axis accelerometer
CN107528988A (en) Mobile terminal call reminding system
CN204481999U (en) A kind of intelligent earphone
CN102137185A (en) Mobile terminal capable of generating magnetic induction and electronic card transfer method thereof
CN103701986A (en) Bluetooth and infrared-based indoor telephone portable answering system and working method
CN102932517A (en) Call content storage method and system
CN208691449U (en) Voice remote controller and smart television
CN205058949U (en) Writing brush
CN106527737A (en) Control method and control device of intelligent terminal and intelligent terminal
CN210072957U (en) Control system based on mobile phone voice early education machine for children
CN204031255U (en) Based on the direct operated intelligent lamp of mobile terminal
CN107343108B (en) A kind of method of intelligent reminding mobile terminal incoming call
CN204697174U (en) Based on the auto heterodyne controller of bluetooth communication

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP02 Change in the address of a patent holder
CP02 Change in the address of a patent holder

Address after: No. 16, cuixing Road, Hui Xing street, Yubei District, Chongqing

Patentee after: CHONGQING BLUE BANK COMMUNICATION TECHNOLOGY CO., LTD.

Address before: No. 13-2, Jiangying Road, Nanan District, Chongqing, Chongqing

Patentee before: CHONGQING BLUE BANK COMMUNICATION TECHNOLOGY CO., LTD.

CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: No. 16, cuixing Road, Hui Xing street, Yubei District, Chongqing

Patentee after: Chongqing Lanan Technology Co.,Ltd.

Address before: No. 16, cuixing Road, Hui Xing street, Yubei District, Chongqing

Patentee before: CHONGQING BLUEBANK COMMUNICATION TECHNOLOGY Co.,Ltd.