CN105808199B - Mobile terminal alarm clock ringing control method and mobile terminal - Google Patents

Mobile terminal alarm clock ringing control method and mobile terminal Download PDF

Info

Publication number
CN105808199B
CN105808199B CN201610122965.7A CN201610122965A CN105808199B CN 105808199 B CN105808199 B CN 105808199B CN 201610122965 A CN201610122965 A CN 201610122965A CN 105808199 B CN105808199 B CN 105808199B
Authority
CN
China
Prior art keywords
mobile terminal
alarm clock
time
user
time point
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
CN201610122965.7A
Other languages
Chinese (zh)
Other versions
CN105808199A (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.)
Foshan Meishida Smart Home Co ltd
Original Assignee
Lianjiang Weijia Industrial Design 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 Lianjiang Weijia Industrial Design Co ltd filed Critical Lianjiang Weijia Industrial Design Co ltd
Priority to CN201610122965.7A priority Critical patent/CN105808199B/en
Publication of CN105808199A publication Critical patent/CN105808199A/en
Application granted granted Critical
Publication of CN105808199B publication Critical patent/CN105808199B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/165Management of the audio stream, e.g. setting of volume, audio stream path
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/109Time management, e.g. calendars, reminders, meetings or time accounting

Abstract

The invention belongs to the field of mobile terminals, and provides a control method for alarm clock ringing of a mobile terminal and the mobile terminal. In the embodiment of the invention, the alarm clock time point set by the user to get up in the morning is obtained, the time point of the user to operate the mobile terminal before sleeping is detected, the time difference between the time point of the user to operate the mobile terminal before sleeping and the alarm clock time point is calculated, and the ringing volume and the ringing time of the alarm clock of the mobile terminal are controlled according to the preset algorithm and the time difference, so that the alarm clock of the mobile terminal can adjust the alarm clock volume and the ringing time according to the condition that the user uses the mobile terminal, and the use experience of the user is improved.

Description

Mobile terminal alarm clock ringing control method and mobile terminal
Technical Field
The invention belongs to the field of mobile terminals, and particularly relates to a control method for alarm clock ringing of a mobile terminal and the mobile terminal.
Background
Mobile terminals (including but not limited to electronic devices such as mobile phones, tablet computers, etc.) have been developed as simple communication devices with mobile communications for decades. From 2007, the gene mutation of the mobile terminal is intelligently triggered, and the traditional positioning of the terminal as a mobile network terminal is fundamentally changed. The mobile intelligent terminal is almost instantly changed into a key entrance and a main innovation platform of internet business, a novel media, electronic commerce and information service platform, the most important hub of internet resources, mobile network resources and environment interaction resources, and an operating system and a processor chip of the mobile intelligent terminal even become the strategic high points of the whole ICT industry at present. The subversive change caused by the mobile intelligent terminal opens the sequence of mobile internet industry development and opens a new technical industry period. With the continuous development of the mobile intelligent terminal, the influence of the mobile intelligent terminal is more extensive than that of a shoulder radio, a television and the internet (PC), and the mobile intelligent terminal becomes a 4 th terminal product which has wide penetration, rapid popularization and great influence and can reach the aspects of human social life historically.
At present, the traditional alarm clock is gradually replaced by the self-carried alarm clock function of the mobile terminal, a user can freely, simply and quickly set the alarm clock, however, many users like to play mobile phones before sleeping at night, even play very late, the alarm clock rings in the morning the next morning too late to sleep, but the user cannot hear the alarm clock deeply, so that the user sleeps too late
Disclosure of Invention
The embodiment of the invention aims to provide a method for controlling alarm clock ringing of a mobile terminal, and aims to solve the problem that a user is not easily awakened by an alarm clock when the time for using the mobile terminal by the user at night in the previous day is too late and the user sleeps too deep in the next morning.
In order to solve the technical problem, the invention is realized as follows: a method for controlling alarm clock ringing of a mobile terminal comprises the following steps:
acquiring an alarm clock time point set by a user for getting up in the morning;
detecting a time point of last operation of the mobile terminal before a user sleeps at night in the previous day;
calculating the time difference between the time point of the last operation of the mobile terminal by the user before the user sleeps and the time point of the alarm clock;
and controlling the ringing volume and the duration of the alarm clock of the mobile terminal according to a preset algorithm and the duration difference.
Further, the detecting a time point when the user last operates the mobile terminal before sleeping includes:
detecting a time point at which a touch screen of the mobile terminal is triggered last before the alarm clock time point;
and determining the time point which is triggered last as the time point when the user operates the mobile terminal last before sleeping.
Further, the step of controlling the ring volume and the time length of the alarm clock of the mobile terminal according to the preset algorithm and the time length difference includes:
calculating the ring volume L1 of the alarm clock according to the following formula:
Figure GDA0001630490720000021
calculating the ringing time t3 of the alarm clock according to the following formula:
Figure GDA0001630490720000031
wherein t1 represents the time difference, t2 represents a preset sleep time, t4 represents a preset ring time, and L2 represents a preset alarm volume.
An object of an embodiment of the present invention is to provide a mobile terminal, where the mobile terminal includes:
the acquiring unit is used for acquiring the alarm clock time point set by a user for getting up in the morning;
the detection unit is used for detecting the time point of the last operation of the mobile terminal before the user sleeps one night before;
the calculating unit is used for calculating the time difference between the time point of the last operation of the mobile terminal by the user before the user sleeps and the time point of the alarm clock;
and the control unit is used for controlling the ringing volume and the time length of the alarm clock of the mobile terminal according to a preset algorithm and the time length difference.
Further, the detection unit is specifically configured to:
detecting a time point at which a touch screen of the mobile terminal is triggered last before the alarm clock time point;
and determining the time point which is triggered last as the time point when the user operates the mobile terminal last before sleeping.
Further, the control unit is specifically configured to:
calculating the ring volume L1 of the alarm clock according to the following formula:
Figure GDA0001630490720000032
calculating the ringing time t3 of the alarm clock according to the following formula:
Figure GDA0001630490720000041
wherein t1 represents the time difference, t2 represents a preset sleep time, t4 represents a preset ring time, and L2 represents a preset alarm volume.
In the embodiment of the invention, the alarm clock time point set by the user to get up in the morning is obtained, the time point of the user to operate the mobile terminal before sleeping is detected, the time difference between the time point of the user to operate the mobile terminal before sleeping and the alarm clock time point is calculated, and the ringing volume and the ringing time of the alarm clock of the mobile terminal are controlled according to the preset algorithm and the time difference, so that the alarm clock of the mobile terminal can adjust the alarm clock volume and the ringing time according to the condition that the user uses the mobile terminal, and the use experience of the user is improved.
Drawings
Fig. 1 is a flowchart of a method for controlling alarm clock ringing of a mobile terminal according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a framework structure of a mobile terminal according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The following detailed description of specific implementations of the present invention is provided in conjunction with specific embodiments:
fig. 1 shows a flowchart of a method for controlling alarm clock ringing of a mobile terminal according to an embodiment of the present invention, and for convenience of description, only the parts related to the embodiment of the present invention are listed, which is detailed as follows:
the method for controlling the alarm clock ringing of the mobile terminal provided by the embodiment of the invention comprises the following steps:
and step S10, acquiring the alarm clock time point set by the user to get up in the morning. In the embodiment of the present invention, the mobile terminal includes, but is not limited to, an electronic device such as a mobile phone, a tablet computer, an e-reader, and the like, and in step S10, an alarm clock time point set by the user to get up in the morning is obtained, for example, the alarm clock time point of 7 am is set as the get-up time alarm clock point, and when the alarm clock time point of 7 am is set, the alarm clock rings to remind the user to get up.
Step S20, detecting a time point when the user last operates the mobile terminal before going to bed the evening before. In the embodiment of the present invention, the user generally uses the mobile terminal before going to bed, and specifically, the real-time manner of step S20 is:
detecting a time point at which a touch screen of the mobile terminal is triggered last before the alarm clock time point;
the last triggered time point is determined as the time point when the user last operated the mobile terminal before sleeping.
And step S30, calculating the time difference between the time point when the user operates the mobile terminal before sleeping and the alarm time point. In the embodiment of the present invention, step S30 is to calculate the time difference between the time when the user puts down the mobile terminal in the evening of the previous day and the alarm clock ringing time of the alarm clock getting up the next day, the default time is the sleep time of the user, according to the winning characteristics of users of different ages, the required sufficient sleep time is different, if the sleep time of the user is shorter, the user will sleep more deeply in the morning of the next day, and the alarm clock sounding is more difficult to wake up the user.
And step S40, controlling the ring volume and the time length of the alarm clock of the mobile terminal according to a preset algorithm and the time length difference.
As a preferred embodiment of the present invention, the specific implementation manner of step S40 is:
the ring volume L1 of the alarm clock is calculated according to the following equation:
Figure GDA0001630490720000051
calculating the ringing time t3 of the alarm clock according to the following formula:
Figure GDA0001630490720000061
where t1 represents the time difference, t2 represents the preset sleep time, t4 represents the preset ring time, and L2 represents the preset alarm volume.
According to the formula, when the sleep time of the user is less than the preset sleep time, the ringing volume of the alarm clock can be increased (until the maximum rated volume of the mobile terminal is reached), the ringing time can be prolonged, and the user can be awakened more easily.
In the embodiment of the invention, the alarm clock time point set by the user to get up in the morning is obtained, the time point of the user to operate the mobile terminal before sleeping is detected, the time difference between the time point of the user to operate the mobile terminal before sleeping and the alarm clock time point is calculated, and the ringing volume and the ringing time of the alarm clock of the mobile terminal are controlled according to the preset algorithm and the time difference, so that the alarm clock of the mobile terminal can adjust the alarm clock volume and the ringing time according to the condition that the user uses the mobile terminal, and the use experience of the user is improved.
Fig. 2 is a schematic diagram illustrating a frame structure of a mobile terminal according to an embodiment of the present invention, and for convenience of description, only the parts related to the embodiment of the present invention are listed, which is detailed as follows:
the mobile terminal provided by the embodiment of the invention comprises an acquisition unit 100, a detection unit 200, a calculation unit 300 and a control unit 400;
an obtaining unit 100, configured to obtain an alarm clock time point set by a user to get up in the morning;
a detecting unit 200 for detecting a time point when the user last operates the mobile terminal before going to sleep a night before the day;
a calculating unit 300, configured to calculate a time difference between a time point when the user last operates the mobile terminal before sleeping and the time point of the alarm clock;
and a control unit 400 for controlling the ring volume and the time length of the alarm clock of the mobile terminal according to a preset algorithm and the time length difference.
As a preferred embodiment of the present invention, the detecting unit 200 is specifically configured to:
detecting a time point at which a touch screen of the mobile terminal is triggered last before the alarm clock time point;
the last triggered time point is determined as the time point when the user last operated the mobile terminal before sleeping.
As a preferred embodiment of the present invention, the control unit 400 is specifically configured to:
the ring volume L1 of the alarm clock is calculated according to the following equation:
Figure GDA0001630490720000071
calculating the ringing time t3 of the alarm clock according to the following formula:
Figure GDA0001630490720000072
where t1 represents the time difference, t2 represents the preset sleep time, t4 represents the preset ring time, and L2 represents the preset alarm volume.
It should be noted that the mobile terminal provided in the embodiment of the present invention corresponds to the above-mentioned embodiment of the method for controlling an alarm clock ringing of a mobile terminal, and both the working principle and the mode thereof are applicable, which is not described herein again.
In the embodiment of the invention, the alarm clock time point set by the user to get up in the morning is obtained, the time point of the user to operate the mobile terminal before sleeping is detected, the time difference between the time point of the user to operate the mobile terminal before sleeping and the alarm clock time point is calculated, and the ringing volume and the ringing time of the alarm clock of the mobile terminal are controlled according to the preset algorithm and the time difference, so that the alarm clock of the mobile terminal can adjust the alarm clock volume and the ringing time according to the condition that the user uses the mobile terminal, and the use experience of the user is improved.
Those skilled in the art can understand that each unit included in the above embodiments is only divided according to functional logic, but is not limited to the above division as long as the corresponding function can be achieved; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
It will be further understood by those skilled in the art that all or part of the steps in the method for implementing the above embodiments may be implemented by relevant hardware instructed by a program stored in a computer-readable storage medium, such as ROM/RAM, magnetic disk, optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and improvements made within the spirit and principle of the present invention are intended to be included within the scope of the present invention.

Claims (2)

1. A method for controlling alarm clock ringing of a mobile terminal is characterized by comprising the following steps:
acquiring an alarm clock time point set by a user for getting up in the morning;
detecting a time point when a user operates the mobile terminal last before sleeping at night;
calculating the time difference between the time point of the last operation of the mobile terminal by the user before the user sleeps and the time point of the alarm clock;
controlling the ringing volume and the duration of an alarm clock of the mobile terminal according to a preset algorithm and the duration difference;
the step of detecting a time point when the user last operates the mobile terminal before sleeping includes:
detecting a time point at which a touch screen of the mobile terminal is triggered last before the alarm clock time point;
determining the time point which is triggered last as the time point when the user operates the mobile terminal last before sleeping;
the step of controlling the ring volume and the time length of the alarm clock of the mobile terminal according to the preset algorithm and the time length difference comprises the following steps:
calculating the ring volume L1 of the alarm clock according to the following formula:
Figure FDA0002490764710000011
calculating the ringing time t3 of the alarm clock according to the following formula:
Figure FDA0002490764710000012
wherein t1 represents the time difference, t2 represents a preset sleep time, t4 represents a preset ringing time, and L2 represents a preset alarm volume; according to the formula, when the sleep time of the user is smaller than the preset sleep time, the ringing volume of the alarm clock can be increased until the maximum rated volume of the mobile terminal is reached, the ringing time can be lengthened, and the user can be awakened more easily.
2. A mobile terminal, characterized in that the mobile terminal comprises:
the acquiring unit is used for acquiring the alarm clock time point set by a user for getting up in the morning;
a detection unit for detecting a time point when a user last operates the mobile terminal before sleeping at night;
the calculating unit is used for calculating the time difference between the time point of the last operation of the mobile terminal by the user before the user sleeps and the time point of the alarm clock;
the control unit is used for controlling the ringing volume and the time length of the alarm clock of the mobile terminal according to a preset algorithm and the time length difference; the detection unit is specifically configured to:
detecting a time point at which a touch screen of the mobile terminal is triggered last before the alarm clock time point; determining the time point which is triggered last as the time point when the user operates the mobile terminal last before sleeping; the control unit is specifically configured to:
calculating the ring volume L1 of the alarm clock according to the following formula:
Figure FDA0002490764710000021
calculating the ringing time t3 of the alarm clock according to the following formula:
Figure FDA0002490764710000022
wherein t1 represents the time difference, t2 represents a preset sleep time, t4 represents a preset ringing time, and L2 represents a preset alarm volume; according to the formula, when the sleep time of the user is smaller than the preset sleep time, the ringing volume of the alarm clock can be increased until the maximum rated volume of the mobile terminal is reached, the ringing time can be lengthened, and the user can be awakened more easily.
CN201610122965.7A 2016-03-04 2016-03-04 Mobile terminal alarm clock ringing control method and mobile terminal Active CN105808199B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610122965.7A CN105808199B (en) 2016-03-04 2016-03-04 Mobile terminal alarm clock ringing control method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610122965.7A CN105808199B (en) 2016-03-04 2016-03-04 Mobile terminal alarm clock ringing control method and mobile terminal

Publications (2)

Publication Number Publication Date
CN105808199A CN105808199A (en) 2016-07-27
CN105808199B true CN105808199B (en) 2020-09-22

Family

ID=56466790

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610122965.7A Active CN105808199B (en) 2016-03-04 2016-03-04 Mobile terminal alarm clock ringing control method and mobile terminal

Country Status (1)

Country Link
CN (1) CN105808199B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106547512A (en) * 2016-10-24 2017-03-29 珠海市魅族科技有限公司 Method for controlling volume, sound volume control device and terminal
CN106982292A (en) * 2017-02-27 2017-07-25 珠海市魅族科技有限公司 A kind of alarm clock prompting method and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7457204B1 (en) * 2007-04-06 2008-11-25 Bradley Winters Alarm clock with AM/FM radio, CD player, portable audio storage device docking input, battery backup, and keypad with folding cover
CN103037080A (en) * 2012-12-07 2013-04-10 广东欧珀移动通信有限公司 Alarm clock ring-down method and ring-down device
CN104702798A (en) * 2015-04-02 2015-06-10 吴爱好 Alarm sound adjusting method and system based on mobile terminal

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004501377A (en) * 2000-06-22 2004-01-15 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ The system that wakes the user
US7885622B2 (en) * 2004-10-27 2011-02-08 Chestnut Hill Sound Inc. Entertainment system with bandless tuning
CN104184883A (en) * 2013-05-27 2014-12-03 珠海格力电器股份有限公司 Mobile phone and control method thereof
CN104050039A (en) * 2014-07-03 2014-09-17 中科创达软件股份有限公司 Method and device for having control over multimedia playing
CN104301540A (en) * 2014-10-22 2015-01-21 深圳市朵唯志远科技有限公司 Method for automatically adjusting sound volume of alarm
CN104580642A (en) * 2014-12-30 2015-04-29 小米科技有限责任公司 Clock reminding method and device
CN105045383A (en) * 2015-06-19 2015-11-11 上海卓易科技股份有限公司 Device and method for controlling alarm clock and music operations according to sleeping states
CN105282343B (en) * 2015-11-03 2019-03-15 Oppo广东移动通信有限公司 A kind of method and apparatus for intelligent reminding of sleeping

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7457204B1 (en) * 2007-04-06 2008-11-25 Bradley Winters Alarm clock with AM/FM radio, CD player, portable audio storage device docking input, battery backup, and keypad with folding cover
CN103037080A (en) * 2012-12-07 2013-04-10 广东欧珀移动通信有限公司 Alarm clock ring-down method and ring-down device
CN104702798A (en) * 2015-04-02 2015-06-10 吴爱好 Alarm sound adjusting method and system based on mobile terminal

Also Published As

Publication number Publication date
CN105808199A (en) 2016-07-27

Similar Documents

Publication Publication Date Title
US11809624B2 (en) Sleep detection in a location sharing system
US20180348844A1 (en) Techniques for adjusting computing device sleep states
US8310394B2 (en) Apparatus, method, manufacture, and system for sensing substitution for location-based applications
TWI484351B (en) Data synchronization management methods and systems
CN107528979B (en) Control device and method of mobile equipment
KR102294180B1 (en) Electronic device and method for controlling power in electronic device
US20160170575A1 (en) Application activation method and apparatus and electronic equipment
AU2017304413A1 (en) Electronic device and method for displaying image
US20130103212A1 (en) Method and apparatus for providing context-based power consumption control
US10585961B2 (en) Pattern labeling
WO2018032581A1 (en) Method and apparatus for application program control
WO2016058322A1 (en) Smart power-saving method and device, and terminal
US11513753B2 (en) Data processing method and electronic terminal
US20130198271A1 (en) System, Method, and Implementation of providing Network-based Alarm Clock
WO2018223535A1 (en) Vibration notification method for mobile terminal, and mobile terminal
WO2016008260A1 (en) Setup method, device and apparatus for terminal and non-volatile computer storage medium
TWI549076B (en) Electronic devices and service management methods thereof
WO2019104644A1 (en) Method for adjusting wake-up frequency, intelligent device, and storage medium
CN108322593A (en) Application icon dynamic update display methods, terminal and computer readable storage medium
CN107948404A (en) A kind of method, terminal device and computer-readable recording medium for handling message
CN105808199B (en) Mobile terminal alarm clock ringing control method and mobile terminal
CN104980451B (en) Information prompting method and device
EP3097495A1 (en) Apparatus and method for correlating context data
CN108632461B (en) Alarm clock reminding method, device, terminal and computer readable storage medium
CN106686708B (en) Data service management method and device

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
TA01 Transfer of patent application right

Effective date of registration: 20190929

Address after: 750001 No. 166 Beijing Middle Road, Jinfeng District, Yinchuan City, Ningxia Hui Autonomous Region

Applicant after: Wang Xinqing

Address before: 233100 Anhui city of Chuzhou province Fengyang County town Cang Xiang No. 12-37

Applicant before: Bai Weiwei

TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200831

Address after: 1508, building 3, Wanjia city square, No. 10, Mazu West Road, Fengcheng Town, Lianjiang county, Fuzhou City, Fujian Province

Applicant after: LIANJIANG WEIJIA INDUSTRIAL DESIGN Co.,Ltd.

Address before: 750001 No. 166 Beijing Middle Road, Jinfeng District, Yinchuan City, Ningxia Hui Autonomous Region

Applicant before: Wang Xinqing

GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230414

Address after: 528000 Floor 2, Building B, No. 55, Xiaxi Industrial Zone, Fengyong Village, Lishui Town, Nanhai District, Foshan City, Guangdong Province

Patentee after: Foshan Meishida Smart Home Co.,Ltd.

Address before: 350500 Wancheng City Plaza 3, 1508, Mazu West Road, Fengcheng Town, Lianjiang, Fuzhou, Fujian, 1508

Patentee before: LIANJIANG WEIJIA INDUSTRIAL DESIGN Co.,Ltd.