CN104660754A - Mobile terminal and alarm clock control method - Google Patents

Mobile terminal and alarm clock control method Download PDF

Info

Publication number
CN104660754A
CN104660754A CN201510115132.3A CN201510115132A CN104660754A CN 104660754 A CN104660754 A CN 104660754A CN 201510115132 A CN201510115132 A CN 201510115132A CN 104660754 A CN104660754 A CN 104660754A
Authority
CN
China
Prior art keywords
alarm clock
output valve
mobile terminal
proximity transducer
magneto
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
CN201510115132.3A
Other languages
Chinese (zh)
Other versions
CN104660754B (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
SHENZHEN OPPO COMMUNICATION SOFTWARE 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 SHENZHEN OPPO COMMUNICATION SOFTWARE Co Ltd filed Critical SHENZHEN OPPO COMMUNICATION SOFTWARE Co Ltd
Priority to CN201510115132.3A priority Critical patent/CN104660754B/en
Publication of CN104660754A publication Critical patent/CN104660754A/en
Application granted granted Critical
Publication of CN104660754B publication Critical patent/CN104660754B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephone Function (AREA)
  • Electric Clocks (AREA)

Abstract

The invention belongs to the technical field of mobile terminals and provides a mobile terminal and an alarm clock control method. The mobile terminal comprises a machine body and a protective sleeve connected with the machine body, wherein the machine body comprises a proximity sensor and a magneto-dependent sensor, the protective sleeve comprises a magnet, and the magneto-dependent sensor and the magnet are magnetically connected. The alarm clock control method comprises the following steps: acquiring the first output value of the proximity sensor when reaching the preset alarm sound duration; and carrying out presetting operation to an alarm clock when detecting that the absolute value of difference between the current output value and the first output value of the proximity sensor is more than the first preset value after the alarm clock rings down. According to the alarm clock control method, the protective sleeve of the mobile terminal is opened to turn off the alarm clock or postpone the preset alarm sound duration or other preset operations are carried out on the alarm clock after the alarm clock rings down, and the operating convenience for alarm clock control based on the mobile terminal is improved.

Description

Mobile terminal and alarm clock control method
Technical field
The invention belongs to technical field of mobile terminals, especially design mobile terminal and alarm clock control method.
Background technology
The existing alarm clock based on mobile terminal, after jingle bell, generally makes alarm clock stop jingle bell by the horizontal stripe on slip touch-screen.In public, alarm clock jingle bell easily affects other people.Therefore in this case, user more wish can turn off the alarm or carry out other operations such as postponement jingle bell to alarm clock rapidly.But the simple operation of existing alarm clock control method is lower.
Summary of the invention
Given this, embodiments provide a kind of mobile terminal and alarm clock control method, with the problem that the simple operation solving the existing alarm clock control method based on mobile terminal is lower.
On the one hand, embodiments provide a kind of mobile terminal, comprise fuselage body; and the protective sleeve to be connected with described fuselage body; described mobile terminal comprises proximity transducer and magneto-dependent sensor, and described protective sleeve comprises magnet, and described magneto-dependent sensor is connected with described magnet magnetic.
Second aspect, embodiments provides a kind of alarm clock control method, comprising:
When reaching default ring time, obtain the first output valve of proximity transducer;
After alarm clock jingle bell, if detect, the absolute value of the current output valve of described proximity transducer and the difference of described first output valve is greater than the first preset value, then perform predetermined registration operation to described alarm clock.
The beneficial effect that the embodiment of the present invention compared with prior art exists is: the embodiment of the present invention is by when reaching default ring time, obtain the first output valve of proximity transducer, after alarm clock jingle bell, if detect, the absolute value of the current output valve of proximity transducer and the difference of the first output valve is greater than the first preset value, then predetermined registration operation is performed to alarm clock, protective sleeve thus by opening mobile terminal after alarm clock jingle bell carrys out turn off the alarm, postpone the ring time of alarm clock or other predetermined registration operation is performed to alarm clock, thus improve the simple operation that the alarm clock based on mobile terminal controls.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the structured flowchart of the mobile terminal that the embodiment of the present invention provides;
Fig. 2 is the realization flow figure of the alarm clock control method that the embodiment of the present invention provides;
Fig. 3 is the realization flow figure of the alarm clock control method that another embodiment of the present invention provides.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
Fig. 1 shows the structured flowchart of the mobile terminal that the embodiment of the present invention provides, and for convenience of explanation, illustrate only the part relevant to the embodiment of the present invention.With reference to Fig. 1, described mobile terminal comprises fuselage body 11, and the protective sleeve 12 be connected with described fuselage body.Described fuselage body 11 comprises proximity transducer 111 and magneto-dependent sensor 112, and described protective sleeve 12 comprises magnet 121, and described magneto-dependent sensor 112 is connected with described magnet 121 magnetic.
Preferably, described magneto-dependent sensor 112 is Hall element.
It should be noted that, mobile terminal in the embodiment of the present invention can comprise mobile phone (or being called " honeycomb " phone) and have the computer of mobile terminal, such as, can be portable, pocket, hand-hold type or built-in computer mobile device, they and wireless access network exchange language and/or data.Such as, Personal Communications Services (Personal Communication Service, PCS) phone, cordless telephone, Session initiation Protocol (Session Initiation Protocol, SIP) phone, wireless local loop (Wireless LocalLoop, WLL) stand, personal digital assistant (Personal Digital Assistant, the equipment such as PDA), in this no limit.
The embodiment of the present invention is by when reaching default ring time; obtain the first output valve of proximity transducer; after alarm clock jingle bell; if detect, the absolute value of the current output valve of proximity transducer and the difference of the first output valve is greater than the first preset value; then predetermined registration operation is performed to alarm clock; protective sleeve thus by opening mobile terminal after alarm clock jingle bell carrys out turn off the alarm, postpones the ring time of alarm clock or perform other predetermined registration operation to alarm clock, thus improves the simple operation that the alarm clock based on mobile terminal controls.
Fig. 2 shows the realization flow figure of the alarm clock control method that the embodiment of the present invention provides, and the executive agent of the method can be the mobile terminal in Fig. 1.With reference to Fig. 2:
In step s 201, when reaching default ring time, obtain the first output valve of described proximity transducer.
In embodiments of the present invention, when reaching default ring time, obtain the first output valve of proximity transducer, with the initial value of proximity transducer before being recorded in alarm clock jingle bell.
It should be noted that, before alarm clock jingle bell, the protective sleeve of mobile terminal may be in open mode, also may be in closure state.
In step S202, after alarm clock jingle bell, if detect, the absolute value of the current output valve of described proximity transducer and the difference of described first output valve is greater than the first preset value, then perform predetermined registration operation to described alarm clock.
By calculating the current output valve of proximity transducer and the difference of the first output valve, the situation of change of the on off state of protective sleeve can be determined.The absolute value of the current output valve of proximity transducer and the difference of the first output valve is greater than the first preset value, shows that protective sleeve becomes closure state from open mode, or becomes open mode from closure state.After alarm clock jingle bell, if protective sleeve becomes closure state from open mode, or become open mode from closure state, then predetermined registration operation is performed to alarm clock.
Alternatively, describedly predetermined registration operation performed to described alarm clock be specially:
Close described alarm clock.
As one embodiment of the present of invention; after alarm clock jingle bell; if protective sleeve becomes closure state from open mode; or become open mode from closure state; then turn off the alarm, thus achieves quick closedown alarm clock, improves the simple operation of turn off the alarm; reduce alarm clock based on mobile terminal in public to other people influence degree, improve Consumer's Experience.
Alternatively, describedly predetermined registration operation performed to described alarm clock be specially:
Again jingle bell is carried out after Preset Time.
As one embodiment of the present of invention, after alarm clock jingle bell, if protective sleeve becomes closure state from open mode, or become open mode from closure state, then after Preset Time, again carry out jingle bell, thus achieve the function of postponing jingle bell.
Fig. 3 shows the realization flow figure of the alarm clock control method that another embodiment of the present invention provides, with reference to Fig. 3:
In step S301, when reaching default ring time, obtain the first output valve of described proximity transducer, and obtain the second output valve of described magneto-dependent sensor;
In step s 302, after alarm clock jingle bell, if detect, the absolute value of the current output valve of described proximity transducer and the difference of described first output valve is greater than the first preset value, and the absolute value of the difference of the current output valve of described magneto-dependent sensor and described second output valve is greater than the second preset value, then predetermined registration operation is performed to described alarm clock.
As one embodiment of the present of invention, when reaching default ring time, obtain the first output valve of proximity transducer, and obtain the second output valve of magneto-dependent sensor, with the initial value of proximity transducer before being recorded in alarm clock jingle bell and magneto-dependent sensor.When the absolute value of the current output valve of proximity transducer and the difference of the first output valve is greater than the first preset value; and the absolute value of the difference of the current output valve of magneto-dependent sensor and the second output valve is when being greater than the second preset value; show that protective sleeve becomes closure state from open mode, or become open mode from closure state.After alarm clock jingle bell, if protective sleeve becomes closure state from open mode, or become open mode from closure state, then predetermined registration operation is performed to alarm clock.
In embodiments of the present invention, be combined the on off state judging protective sleeve with magneto-dependent sensor by proximity transducer, improve the accuracy of judgement.
Should be understood that in embodiments of the present invention, the size of the sequence number of above-mentioned each process does not also mean that the priority of execution sequence, and the execution sequence of each process should be determined with its function and internal logic, and should not form any restriction to the implementation process of the embodiment of the present invention.
The embodiment of the present invention is by when reaching default ring time; obtain the first output valve of proximity transducer; after alarm clock jingle bell; if detect, the absolute value of the current output valve of proximity transducer and the difference of the first output valve is greater than the first preset value; then predetermined registration operation is performed to alarm clock; protective sleeve thus by opening mobile terminal after alarm clock jingle bell carrys out turn off the alarm, postpones the ring time of alarm clock or perform other predetermined registration operation to alarm clock, thus improves the simple operation that the alarm clock based on mobile terminal controls.
Those of ordinary skill in the art can recognize, in conjunction with the algorithm steps of each example that embodiment disclosed herein describes, can realize with the combination of electronic hardware or computer software and electronic hardware.These functions perform with hardware or software mode actually, depend on application-specific and the design constraint of technical scheme.Professional and technical personnel can use distinct methods to realize described function to each specifically should being used for, but this realization should not thought and exceeds scope of the present invention.
Those skilled in the art can be well understood to, and for convenience and simplicity of description, the specific works process of the mobile terminal of foregoing description, with reference to the corresponding process in preceding method embodiment, can not repeat them here.
If described function using the form of SFU software functional unit realize and as independently production marketing or use time, can be stored in a computer read/write memory medium.Based on such understanding, the part of the part that technical scheme of the present invention contributes to prior art in essence in other words or this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform all or part of step of method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, portable hard drive, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. various can be program code stored medium.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; change can be expected easily or replace, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should described be as the criterion with the protection range of claim.

Claims (7)

1. a mobile terminal, comprises fuselage body, and the protective sleeve be connected with described fuselage body; it is characterized in that; described fuselage body comprises proximity transducer and magneto-dependent sensor, and described protective sleeve comprises magnet, and described magneto-dependent sensor is connected with described magnet magnetic.
2. mobile terminal as claimed in claim 1, it is characterized in that, described magneto-dependent sensor is Hall element.
3. an alarm clock control method, is characterized in that, is applied to mobile terminal as claimed in claim 1 or 2, and described method comprises:
When reaching default ring time, obtain the first output valve of described proximity transducer;
After alarm clock jingle bell, if detect, the absolute value of the current output valve of described proximity transducer and the difference of described first output valve is greater than the first preset value, then perform predetermined registration operation to described alarm clock.
4. method as claimed in claim 3, it is characterized in that, described when reaching default ring time, the first output valve obtaining described proximity transducer is specially:
When reaching default ring time, obtain the first output valve of described proximity transducer, and obtain the second output valve of described magneto-dependent sensor.
5. method as claimed in claim 4, it is characterized in that, described after alarm clock jingle bell, if detect, the absolute value of the current output valve of described proximity transducer and the difference of described first output valve is greater than the first preset value, then perform predetermined registration operation to described alarm clock and be specially:
After alarm clock jingle bell, if detect, the absolute value of the current output valve of described proximity transducer and the difference of described first output valve is greater than the first preset value, and the absolute value of the difference of the current output valve of described magneto-dependent sensor and described second output valve is greater than the second preset value, then predetermined registration operation is performed to described alarm clock.
6. the method as described in any one of claim 3 to 5, is characterized in that, describedly performs predetermined registration operation to described alarm clock and is specially:
Close described alarm clock.
7. the method as described in any one of claim 3 to 5, is characterized in that, describedly performs predetermined registration operation to described alarm clock and is specially:
Again jingle bell is carried out after Preset Time.
CN201510115132.3A 2015-03-16 2015-03-16 Mobile terminal and alarm clock control method Expired - Fee Related CN104660754B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510115132.3A CN104660754B (en) 2015-03-16 2015-03-16 Mobile terminal and alarm clock control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510115132.3A CN104660754B (en) 2015-03-16 2015-03-16 Mobile terminal and alarm clock control method

Publications (2)

Publication Number Publication Date
CN104660754A true CN104660754A (en) 2015-05-27
CN104660754B CN104660754B (en) 2017-10-17

Family

ID=53251440

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510115132.3A Expired - Fee Related CN104660754B (en) 2015-03-16 2015-03-16 Mobile terminal and alarm clock control method

Country Status (1)

Country Link
CN (1) CN104660754B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106210309A (en) * 2016-07-08 2016-12-07 乐视控股(北京)有限公司 A kind of control method, control device and terminal unit

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005347903A (en) * 2004-06-01 2005-12-15 Sony Ericsson Mobilecommunications Japan Inc Mobile terminal
CN101222722A (en) * 2008-01-15 2008-07-16 中兴通讯股份有限公司 Mobile phone incoming call processing method and system
CN103002153A (en) * 2012-12-10 2013-03-27 广东欧珀移动通信有限公司 Portable terminal device and method of portable terminal device for closing alarm clock
CN103888571A (en) * 2014-03-19 2014-06-25 上海斐讯数据通信技术有限公司 Intelligent device and control method for turning off alarm in intelligent device
CN104090633A (en) * 2014-06-27 2014-10-08 文爱瑶 Mobile device protective cover and method for enabling touch screen mobile device to be in dormant state

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005347903A (en) * 2004-06-01 2005-12-15 Sony Ericsson Mobilecommunications Japan Inc Mobile terminal
CN101222722A (en) * 2008-01-15 2008-07-16 中兴通讯股份有限公司 Mobile phone incoming call processing method and system
CN103002153A (en) * 2012-12-10 2013-03-27 广东欧珀移动通信有限公司 Portable terminal device and method of portable terminal device for closing alarm clock
CN103888571A (en) * 2014-03-19 2014-06-25 上海斐讯数据通信技术有限公司 Intelligent device and control method for turning off alarm in intelligent device
CN104090633A (en) * 2014-06-27 2014-10-08 文爱瑶 Mobile device protective cover and method for enabling touch screen mobile device to be in dormant state

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106210309A (en) * 2016-07-08 2016-12-07 乐视控股(北京)有限公司 A kind of control method, control device and terminal unit

Also Published As

Publication number Publication date
CN104660754B (en) 2017-10-17

Similar Documents

Publication Publication Date Title
JP6596173B1 (en) Incoming call management method and apparatus
CN104581494A (en) Hearing protection method and system and earphone based on earphone
CN106503523B (en) A kind of method and mobile terminal of mobile terminal login
CN104394259B (en) The method, device and mobile terminal of caller identification
CN109190369A (en) A kind of camera control method, terminal and computer storage medium
CN104134442A (en) Method and device for starting voice services
CN107508997A (en) Call control method, call control apparatus and mobile terminal
WO2017096976A1 (en) Wifi state switching method and apparatus for mobile terminal
CN107395867A (en) A kind of convenient call method of mobile terminal and system
CN103037070A (en) Method and device for controlling mobile phone to answer calls
CN105682008A (en) Method and device for controlling terminal through earphone
US9681290B2 (en) Dummy phone numbers to manage states on mobile phones
CN106326018A (en) Data access method and terminal
CN103514003B (en) Program installation method and device
CN103124307A (en) Ring reminding method, ring reminding device and mobile phone convenient for finding
CN108196769A (en) A kind of voice message originator method and terminal device
CN104660754A (en) Mobile terminal and alarm clock control method
US20150363207A1 (en) Allowing a computing device to operate in a demo mode and a consumer mode
WO2017185678A1 (en) Charging method and apparatus, and terminal device
CN108964163A (en) The management method and device of battery charging
CN104700830A (en) Voice endpoint detection method and voice endpoint detection device
CN104580749A (en) Method and device for controlling voice-recording function of terminal device
CN105007565A (en) Loss prevention method and device for wearable intelligent equipment
CN105100467A (en) Mobile terminal and method and apparatus for starting hand-free mode automatically by mobile terminal
WO2017020665A1 (en) Wallpaper switching method and apparatus

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20170321

Address after: Changan town in Guangdong province Dongguan 523841 usha Beach Road No. 18

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: 518000 Guangdong city of Shenzhen province Nanshan District Gao Xin Road No. 013 Fu technology building B block 6 Building

Applicant before: SHENZHEN OPPO COMMUNICATION SOFTWARE Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523841 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CP03 Change of name, title or address
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20171017

CF01 Termination of patent right due to non-payment of annual fee