Movatterモバイル変換


[0]ホーム

URL:


CN102917137B - Mobile phone capable of automatically selecting alarm clock ringing according to weather and implementation method of mobile phone - Google Patents

Mobile phone capable of automatically selecting alarm clock ringing according to weather and implementation method of mobile phone
Download PDF

Info

Publication number
CN102917137B
CN102917137BCN201210437326.1ACN201210437326ACN102917137BCN 102917137 BCN102917137 BCN 102917137BCN 201210437326 ACN201210437326 ACN 201210437326ACN 102917137 BCN102917137 BCN 102917137B
Authority
CN
China
Prior art keywords
alarm clock
ring
weather
mapping table
temperature
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.)
Expired - Fee Related
Application number
CN201210437326.1A
Other languages
Chinese (zh)
Other versions
CN102917137A (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
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp LtdfiledCriticalGuangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201210437326.1ApriorityCriticalpatent/CN102917137B/en
Publication of CN102917137ApublicationCriticalpatent/CN102917137A/en
Application grantedgrantedCritical
Publication of CN102917137BpublicationCriticalpatent/CN102917137B/en
Expired - Fee Relatedlegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Landscapes

Abstract

Translated fromChinese

本发明涉及一种根据天气自动选择闹钟铃声的手机及其实现方法,其中,该方法包括以下步骤:S1、当闹钟响铃时间到时,获取当地实时的天气信息;S2、根据所获取的天气信息以及预设的天气铃声映射表选择相应的闹钟铃声;S3、播放所选择的闹钟铃声。实施本发明,可以使得手机根据不同的天气状况而播放不同的闹钟铃声,让用户每次听到不一样的闹钟铃声,且使得手机闹钟铃声更加多样化,提高用户体验。

The present invention relates to a mobile phone that automatically selects the ringtone of the alarm clock according to the weather and its implementation method, wherein the method includes the following steps: S1, when the time for the alarm clock to ring, acquire local real-time weather information; S2, according to the acquired weather information and the preset weather ringtone mapping table to select the corresponding alarm clock ringtone; S3, playing the selected alarm clock ringtone. The implementation of the present invention can make the mobile phone play different alarm clock ringtones according to different weather conditions, so that users can hear different alarm clock ringtones each time, and make the mobile phone alarm clock ringtones more diversified, thereby improving user experience.

Description

Translated fromChinese
一种根据天气自动选择闹钟铃声的手机及其实现方法A mobile phone that automatically selects the ringtone of the alarm clock according to the weather and its implementation method

技术领域technical field

本发明涉及移动通信领域,更具体地说,涉及一种根据天气自动选择闹钟铃声的手机及其实现方法。The invention relates to the field of mobile communication, and more specifically relates to a mobile phone which automatically selects the ringtone of an alarm clock according to the weather and an implementation method thereof.

背景技术Background technique

随着移动通信的发展和人们生活水平的提高,手机的使用越来越广泛,手机成为人们生活中不可或缺的一部分。With the development of mobile communications and the improvement of people's living standards, the use of mobile phones has become more and more extensive, and mobile phones have become an indispensable part of people's lives.

手机作为最普及的移动通讯终端,它的功能越来越丰富,很多手机都提供了闹钟功能。但是,现在的手机设置的都是固定的闹钟铃声,用户设置闹钟铃声后以后一直都会是这个闹钟铃声直到用户更换,每次都响起相同的闹钟铃声,比较单调,用户会觉得枯燥。As the most popular mobile communication terminal, mobile phones have more and more functions, and many mobile phones provide an alarm clock function. However, the current mobile phones are set with fixed alarm tones. After the user sets the alarm tones, the alarm tones will always be the same until the user replaces them. The same alarm tones will sound every time, which is relatively monotonous, and the user will feel boring.

发明内容Contents of the invention

本发明要解决的技术问题在于,针对现有技术的手机闹钟铃声固定、单调的缺陷,提供一种根据天气自动选择闹钟铃声的手机及其实现方法,可以使得手机根据天气来自动选择闹钟铃声,让用户每次听到不一样的闹钟铃声。The technical problem to be solved by the present invention is to provide a mobile phone that automatically selects the alarm clock ringtone according to the weather and its implementation method for the fixed and monotonous defects of the mobile phone alarm ringtones in the prior art, so that the mobile phone can automatically select the alarm clock ringtone according to the weather, Let users hear different alarm tones every time.

本发明解决其技术问题所采用的技术方案是:构造一种实现手机根据天气自动选择闹钟铃声的方法,其特征在于,所述方法包括步骤:The technical solution adopted by the present invention to solve its technical problem is: construct a kind of method that realizes that mobile phone automatically selects the alarm clock ringtone according to the weather, it is characterized in that, described method comprises steps:

S1、当闹钟响铃时间到时,获取当地实时的天气信息;S1. When the alarm clock rings, obtain local real-time weather information;

S2、根据所获取的天气信息以及预设的天气铃声映射表选择相应的闹钟铃声;S2. Select the corresponding alarm clock ringtone according to the acquired weather information and the preset weather ringtone mapping table;

S3、播放所选择的闹钟铃声。S3. Play the selected alarm clock ringtone.

在本发明所述的实现手机根据天气自动选择闹钟铃声的方法中,所述天气信息包括温度信息或气象信息;所述天气铃声映射表包括温度铃声映射表或气象铃声映射表;所述温度铃声映射表包括温度与闹钟铃声的对应关系,所述温度铃声映射表包括多个温度区间,每一个温度区间与一个或多个闹钟铃声对应;所述气象铃声映射表包括气象与闹钟铃声的对应关系,所述气象铃声映射表包括多个气象类别,每一个气象类别与一个或多个闹钟铃声对应。In the method for realizing that the mobile phone automatically selects the alarm clock ringtone according to the weather of the present invention, the weather information includes temperature information or weather information; the weather ringtone mapping table includes a temperature ringtone mapping table or a weather ringtone mapping table; the temperature ringtone The mapping table includes the correspondence between temperature and alarm bells, and the temperature bell mapping table includes a plurality of temperature intervals, and each temperature interval corresponds to one or more alarm bells; the weather bell mapping table includes the correspondence between weather and alarm bells , the weather ringtone mapping table includes a plurality of weather categories, and each weather category corresponds to one or more alarm clock tones.

在本发明所述的实现手机根据天气自动选择闹钟铃声的方法中,在步骤S1之前还包括步骤:In the method for realizing that the mobile phone automatically selects the alarm clock ringtone according to the weather according to the present invention, it also includes steps before step S1:

S0、设置所述闹钟响铃时间,以及设置所述温度铃声映射表中的温度与闹钟铃声的对应关系或所述气象铃声映射表中的气象与闹钟铃声的对应关系。S0. Set the ringing time of the alarm clock, and set the corresponding relationship between the temperature and the alarm bell in the temperature bell mapping table or the corresponding relationship between the weather and the alarm bell in the weather bell mapping table.

在本发明所述的实现手机根据天气自动选择闹钟铃声的方法中,所述步骤S2进一步包括:确定所获取的温度信息的所属温度区间,并在该温度区间对应的闹钟铃声中选择一个闹钟铃声;或确定所获取的气象信息的所属气象类别,并在该气象类别对应的闹钟铃声中选择一个闹钟铃声。In the method for realizing the automatic selection of the alarm clock ringtone by the mobile phone according to the weather of the present invention, the step S2 further includes: determining the temperature range to which the acquired temperature information belongs, and selecting an alarm clock ringtone from the alarm clock ringtones corresponding to the temperature range ; or determine the weather category to which the acquired weather information belongs, and select an alarm ringtone from the alarm clock ringtones corresponding to the weather category.

在本发明所述的实现手机根据天气自动选择闹钟铃声的方法中,所述步骤S2进一步包括:当所获取的温度信息的所属温度区间与多个闹钟铃声对应时,随机选择该多个闹钟铃声中的一个闹钟铃声,且所选择的闹钟铃声不同于上一次播放的铃声;或当所获取的气象信息的所属气象类别与多个闹钟铃声对应时,随机选择该多个闹钟铃声中的一个闹钟铃声,且所选择的闹钟铃声不同于上一次播放的铃声。In the method for realizing the automatic selection of the alarm clock ringtone by the mobile phone according to the weather, the step S2 further includes: when the temperature range of the acquired temperature information corresponds to a plurality of alarm clock ringtones, randomly select an alarm clock ringtone, and the selected alarm clock ringtone is different from the last played ringtone; or when the meteorological category of the acquired weather information corresponds to multiple alarm clock ringtones, randomly select one of the multiple alarm clock ringtones, And the selected alarm tone is different from the last played tone.

本发明还构造一种根据天气自动选择闹钟铃声的手机,包括:The present invention also constructs a mobile phone that automatically selects the ringtone of the alarm clock according to the weather, including:

天气信息获取模块,用于当闹钟响铃时间到时,获取当地实时的天气信息;The weather information acquisition module is used to obtain local real-time weather information when the alarm clock rings time;

闹钟铃声确定模块,用于根据所述天气信息获取模块所获取的天气信息以及预设的天气铃声映射表选择相应的闹钟铃声;The alarm clock ringtone determination module is used to select the corresponding alarm clock ringtone according to the weather information acquired by the weather information acquisition module and the preset weather ringtone mapping table;

闹钟铃声播放模块,用于播放所述闹钟铃声确定模块所选择的闹钟铃声;The alarm clock ringtone playing module is used to play the alarm clock ringtone selected by the alarm clock ringtone determination module;

存储模块,用于存储预设的天气铃声映射表。The storage module is used for storing the preset weather ringtone mapping table.

在本发明所述的根据天气自动选择闹钟铃声的手机中,所述天气信息包括温度信息或气象信息;所述天气铃声映射表包括温度铃声映射表或气象铃声映射表;所述温度铃声映射表包括温度与闹钟铃声的对应关系,所述温度铃声映射表包括多个温度区间,每一个温度区间与一个或多个闹钟铃声对应;所述气象铃声映射表包括气象与闹钟铃声的对应关系,所述气象铃声映射表包括多个气象类别,每一个气象类别与一个或多个闹钟铃声对应。In the mobile phone that automatically selects the alarm clock ringtone according to the weather of the present invention, the weather information includes temperature information or weather information; the weather ringtone mapping table includes a temperature ringtone mapping table or a weather ringtone mapping table; the temperature ringtone mapping table Including the corresponding relationship between temperature and alarm clock ringtones, the temperature ringtone mapping table includes a plurality of temperature intervals, each temperature interval corresponds to one or more alarm clock ringtones; the weather ringtone mapping table includes the corresponding relationship between weather and alarm clock ringtones, so The weather bell tone mapping table includes multiple weather categories, and each weather category corresponds to one or more alarm clock tones.

在本发明所述的根据天气自动选择闹钟铃声的手机中,所述手机还包括:In the mobile phone that automatically selects the alarm clock ringtone according to the weather according to the present invention, the mobile phone also includes:

设置模块,用于设置所述闹钟响铃时间以及设置所述温度铃声映射表中的温度与闹钟铃声的对应关系或所述气象铃声映射表中的气象与闹钟铃声的对应关系。The setting module is used to set the ringing time of the alarm clock and the corresponding relationship between the temperature and the alarm bell in the temperature bell mapping table or the corresponding relationship between the weather and the alarm bell in the weather bell mapping table.

在本发明所述的根据天气自动选择闹钟铃声的手机中,所述闹钟铃声确定模块进一步用于:In the mobile phone that automatically selects the alarm clock ringtone according to the weather of the present invention, the alarm clock ringtone determination module is further used for:

确定所获取的温度信息的所属温度区间,并在该温度区间对应的闹钟铃声中选择一个闹钟铃声;或确定所获取的气象信息的所属气象类别,并在该气象类别对应的闹钟铃声中选择一个闹钟铃声。Determine the temperature range to which the acquired temperature information belongs, and select one of the alarm ring tones corresponding to the temperature range; or determine the weather category to which the acquired weather information belongs, and select one of the alarm ring tones corresponding to the weather category Alarm clock ringing.

在本发明所述的根据天气自动选择闹钟铃声的手机中,所述闹钟铃声确定模块进一步用于:In the mobile phone that automatically selects the alarm clock ringtone according to the weather of the present invention, the alarm clock ringtone determination module is further used for:

当所获取的温度信息的所属温度区间与多个闹钟铃声对应时,随机选择该多个闹钟铃声中的一个闹钟铃声,且所选择的闹钟铃声不同于上一次播放的铃声;或当所获取的气象信息的所属气象类别与多个闹钟铃声对应时,随机选择该多个闹钟铃声中的一个闹钟铃声,且所选择的闹钟铃声不同于上一次播放的铃声。When the temperature range of the acquired temperature information corresponds to multiple alarm bells, randomly select one of the multiple alarm bells, and the selected alarm bell is different from the last played ringtone; or when the acquired weather information When the meteorological category to which the user belongs corresponds to a plurality of alarm clock tones, one of the plurality of alarm clock tones is randomly selected, and the selected alarm tones are different from the last played ringtone.

实施本发明的根据天气自动选择闹钟铃声的手机及其实现方法,具有以下有益效果:当闹钟响铃时间到时,获取当地实时的天气信息,并根据所获取的天气信息以及预设的天气铃声映射表选择相应的闹钟铃声以进行播放,使得手机增加了新的闹钟功能:根据不同的天气状况而播放不同的闹钟铃声,让用户每次听到不一样的闹钟铃声,且让用户可以直观的了解天气状况,也可以使得手机闹钟铃声更加多样化,提高用户体验。Implementing the mobile phone that automatically selects the alarm clock ringtone according to the weather and its implementation method according to the present invention has the following beneficial effects: when the alarm clock rings, the local real-time weather information is obtained, and according to the acquired weather information and the preset weather ringtone The mapping table selects the corresponding alarm clock tones to play, which adds a new alarm clock function to the mobile phone: different alarm clock tones are played according to different weather conditions, so that users can hear different alarm tones every time, and users can intuitively Knowing the weather conditions can also make the alarm clock ringtones of the mobile phone more diverse and improve user experience.

附图说明Description of drawings

下面将结合附图及实施例对本发明作进一步说明,附图中:The present invention will be further described below in conjunction with accompanying drawing and embodiment, in the accompanying drawing:

图1是根据本发明一个实施例的根据天气自动选择闹钟铃声的手机的结构框图;Fig. 1 is the structural block diagram of the mobile phone that automatically selects the alarm clock ringtone according to the weather according to one embodiment of the present invention;

图2是根据本发明一个实施例的实现手机根据天气自动选择闹钟铃声的方法的流程图。Fig. 2 is a flowchart of a method for realizing a mobile phone automatically selecting an alarm clock ringtone according to the weather according to an embodiment of the present invention.

具体实施方式Detailed ways

为了使本发明的目的更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。In order to make the purpose of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

图1是根据本发明一个实施例的根据天气自动选择闹钟铃声的手机的结构框图。如图1所示,本发明的根据天气自动选择闹钟铃声的手机200包括天气信息获取模块201、闹钟铃声确定模块202、闹钟铃声播放模块203、存储模块204和设置模块205。其中,天气信息获取模块201用于当闹钟响铃时间到时,获取当地实时的天气信息;闹钟铃声确定模块202用于根据天气信息获取模块201所获取的天气信息以及预设的天气铃声映射表选择相应的闹钟铃声;闹钟铃声播放模块203用于播放闹钟铃声确定模块202所选择的闹钟铃声;存储模块204用于存储天气铃声映射表和铃声数据库;设置模块205用于设置闹钟响铃时间以及设置天气铃声映射表中的天气信息与闹钟铃声的对应关系。Fig. 1 is a structural block diagram of a mobile phone that automatically selects an alarm clock ringtone according to the weather according to an embodiment of the present invention. As shown in FIG. 1 , the mobile phone 200 for automatically selecting alarm clock ringtones according to the weather of the present invention includes a weather information acquisition module 201 , an alarm clockringtone determination module 202 , an alarm clock ringtone playback module 203 , a storage module 204 and a setting module 205 . Wherein, the weather information acquisition module 201 is used to obtain local real-time weather information when the alarm clock rings; the alarm clockringtone determination module 202 is used to obtain the weather information and the preset weather ringtone mapping table according to the weather information acquisition module 201 Select corresponding alarm clock ringtone; Alarm clock ringtone playing module 203 is used to play the alarm clock ringtone selected by alarm clockringtone determination module 202; Storage module 204 is used for storing weather ringtone mapping table and ringtone database; Setting module 205 is used for setting alarm clock ringing time and Set the corresponding relationship between the weather information in the weather ringtone mapping table and the alarm clock ringtone.

在本发明的实施例中,天气信息获取模块201可以通过连接网络服务器自动实时获取等方式获取并过滤得到当地实时的天气信息。天气信息可包括温度信息或气象信息,其中,温度信息可以是如20℃,气象信息可以是阴、晴、雨、雪等。在本发明的实施例中,用户可以根据个人喜好或需要通过设置模块205选择设置根据温度信息还是气象信息来选择闹钟铃声,例如,当设置为根据温度信息来选择闹钟铃声时,天气信息获取模块201可以根据该设置来获取并过滤得到当地实时的温度信息;当设置为根据气象信息来选择闹钟铃声时,天气信息获取模块201可以根据该设置来获取并过滤得到当地实时的气象信息。In the embodiment of the present invention, the weather information acquisition module 201 can acquire and filter local real-time weather information by connecting to a network server and automatically acquiring in real time. The weather information may include temperature information or meteorological information, wherein the temperature information may be, for example, 20°C, and the weather information may be cloudy, sunny, rainy, snowy, etc. In the embodiment of the present invention, the user can choose to set the alarm clock ringtone according to temperature information or weather information through the setting module 205 according to personal preferences or needs. For example, when it is set to select the alarm clock ringtone according to temperature information, the weather information acquisition module 201 can obtain and filter the local real-time temperature information according to the setting; when it is set to select the alarm clock ringtone according to the weather information, the weather information acquisition module 201 can obtain and filter the local real-time weather information according to the setting.

在本发明的实施例中,天气铃声映射表可包括温度铃声映射表或气象铃声映射表。其中,温度铃声映射表包括温度与闹钟铃声的对应关系,温度铃声映射表可包括多个温度区间,每一个温度区间与一个或多个闹钟铃声对应,例如,在温度铃声映射表中,可将温度划分为多个温度区间,如划分成以下温度区间:0℃-10℃、10℃-20℃、20℃-30℃等,每一个温度区间可对应一个或多个闹钟铃声。同样,气象铃声映射表可包括气象与闹钟铃声的对应关系,气象铃声映射表包括多个气象类别,每一个气象类别与一个或多个闹钟铃声对应,例如,在气象铃声映射表中,可将气象分为晴、阴、雨、雪等类别,每一个气象类别可对应一个或多个闹钟铃声,用户可根据实际需要设置,如天气气象为晴天时,对应一首曲调欢快的歌曲,也可以对应多首。用户可根据个人喜欢将对不同的天气气象对应不同的歌曲,使得用户在有来电时既可以听到多样化的天气,又可以获知天气情况。In an embodiment of the present invention, the weather ringtone mapping table may include a temperature ringtone mapping table or a weather ringtone mapping table. Wherein, the temperature ringtone mapping table includes the corresponding relationship between temperature and alarm clock ringtones, and the temperature ringtone mapping table may include a plurality of temperature intervals, each temperature interval corresponds to one or more alarm clock ringtones, for example, in the temperature ringtone mapping table, the The temperature is divided into multiple temperature ranges, such as the following temperature ranges: 0°C-10°C, 10°C-20°C, 20°C-30°C, etc. Each temperature range can correspond to one or more alarm bells. Similarly, the weather ringtone mapping table can include the correspondence between weather and alarm clock ringtones. The weather ringtone mapping table includes a plurality of weather categories, and each weather category corresponds to one or more alarm clock ringtones. For example, in the weather belltone mapping table, the The weather is divided into categories such as sunny, cloudy, rainy, and snow. Each weather category can correspond to one or more alarm clock ringtones. Users can set them according to actual needs. Corresponding to multiple songs. Users can correspond to different songs for different weather conditions according to their personal preferences, so that users can not only hear a variety of weather, but also know the weather conditions when there is an incoming call.

在本发明的实施例中,当设置为根据温度信息来选择闹钟铃声时,闹钟铃声确定模块202接收天气信息获取模块201所获取的温度信息,并确定该温度信息的所属温度区间,并在该温度区间对应的闹钟铃声中选择一个闹钟铃声,当该温度信息的所属温度区间与多个闹钟铃声对应时,随机选择该多个闹钟铃声中的一个闹钟铃声,且所选择的闹钟铃声不同于上一次播放的铃声。例如,该温度信息为19℃,则确定其属于温度区间10℃-20℃,并在温度铃声映射表中的温度区间10℃-20℃所对应的闹钟铃声中选择一个闹钟铃声,若温度区间10℃-20℃只对应一个闹钟铃声A,则直接选择这个闹钟铃声A,若温度区间10℃-20℃对应三个闹钟铃声A、B、C,则在闹钟铃声A、B、C中随机选择其中一个闹钟铃声A,若上次播放了闹钟铃声A,则继续随机选择闹钟铃声B或C,使得用户可以听到不一样的闹钟铃声,提高用户体验。同样,当设置为根据气象信息来选择闹钟铃声时,闹钟铃声确定模块202接收天气信息获取模块201所获取的气象信息,并确定该气象信息的所属气象类别,并在该气象类别对应的闹钟铃声中选择一个闹钟铃声,当该气象信息的所属气象类别与多个闹钟铃声对应时,随机选择该多个闹钟铃声中的一个闹钟铃声,且所选择的闹钟铃声不同于上一次播放的铃声。例如,该气象信息为晴天,则确定其属于晴类别,并在气象铃声映射表中的晴类别所对应的闹钟铃声中选择一个闹钟铃声,若晴类别只对应一个闹钟铃声A,则直接选择这个闹钟铃声A,若晴类别对应三个闹钟铃声A、B、C,则在闹钟铃声A、B、C中随机选择其中一个闹钟铃声A,若上次播放了闹钟铃声A,则继续随机选择闹钟铃声B或C,使得用户可以听到不一样的闹钟铃声,提高用户体验。In the embodiment of the present invention, when it is set to select the alarm clock ringtone according to the temperature information, the alarm clockringtone determination module 202 receives the temperature information obtained by the weather information acquisition module 201, and determines the temperature range to which the temperature information belongs, and Select an alarm ringtone from the alarm clock ringtones corresponding to the temperature range. When the temperature range of the temperature information corresponds to multiple alarm clock ringtones, randomly select an alarm clock ringtone from the multiple alarm clock ringtones, and the selected alarm clock ringtone is different from the above The ringtone played once. For example, if the temperature information is 19°C, it is determined that it belongs to the temperature range 10°C-20°C, and an alarm ringtone is selected from the alarm clock ringtones corresponding to the temperature range 10°C-20°C in the temperature ringtone mapping table. 10°C-20°C corresponds to only one alarm clock tone A, then directly select this alarm clock tone A, if the temperature range 10°C-20°C corresponds to three alarm clock tone A, B, C, then randomly choose among alarm clock tone A, B, C Select one of the alarm clock tones A, if the alarm clock tones A was played last time, continue to randomly select the alarm clock tones B or C, so that the user can hear different alarm tones and improve user experience. Similarly, when it is set to select the alarm clock ringtone according to the weather information, the alarm clockringtone determination module 202 receives the weather information acquired by the weather information acquisition module 201, and determines the weather category to which the weather information belongs, and selects the alarm clock ringtone corresponding to the weather category. Select an alarm clock ringtone, when the meteorological category of the weather information corresponds to multiple alarm clock ringtones, randomly select an alarm clock ringtone from the multiple alarm clock ringtones, and the selected alarm clock ringtone is different from the last played ringtone. For example, if the weather information is sunny, it is determined that it belongs to the sunny category, and an alarm bell is selected from the alarm bells corresponding to the sunny category in the weather bell mapping table. If the sunny category only corresponds to one alarm bell A, then directly select this Alarm clock ringtone A, if the sunny category corresponds to three alarm clock ringtones A, B, and C, randomly select one of the alarm clock ringtones A, B, and C. If the alarm clock ringtone A was played last time, continue to randomly select the alarm clock The ringtone B or C enables the user to hear different alarm tones and improves user experience.

在本发明的实施例中,存储模块204存储有天气铃声映射表和铃声数据库,且天气铃声映射表链接到铃声数据库,以通过天气铃声映射表选择铃声数据库中相应的闹钟铃声来进行播放。In the embodiment of the present invention, the storage module 204 stores the weather ringtone mapping table and the ringtone database, and the weather ringtone mapping table is linked to the ringtone database, so as to select the corresponding alarm clock ringtone in the ringtone database through the weather ringtone mapping table to play.

图2是根据本发明一个实施例的实现手机根据天气自动选择闹钟铃声的方法的流程图。如图2所示,该方法包括以下步骤:Fig. 2 is a flowchart of a method for realizing a mobile phone automatically selecting an alarm clock ringtone according to the weather according to an embodiment of the present invention. As shown in Figure 2, the method includes the following steps:

S1、当闹钟响铃时间到时,获取当地实时的天气信息;S1. When the alarm clock rings, obtain local real-time weather information;

S2、根据所获取的天气信息以及预设的天气铃声映射表选择相应的闹钟铃声;S2. Select the corresponding alarm clock ringtone according to the acquired weather information and the preset weather ringtone mapping table;

S3、播放所选择的闹钟铃声。S3. Play the selected alarm clock ringtone.

在本发明的实施例中,在步骤S1,可以通过连接网络服务器自动实时获取等方式获取并过滤得到当地实时的天气信息。天气信息可包括温度信息或气象信息,其中,温度信息可以是如20℃,气象信息可以是阴、晴、雨、雪等。在本发明的实施例中,用户可以根据个人喜好或需要通过选择设置根据温度信息还是气象信息来选择闹钟铃声,例如,当设置为根据温度信息来选择闹钟铃声时,可以根据该设置来获取并过滤得到当地实时的温度信息;当设置为根据气象信息来选择闹钟铃声时,可以根据该设置来获取并过滤得到当地实时的气象信息。In the embodiment of the present invention, in step S1, local real-time weather information can be acquired and filtered by means of automatic real-time acquisition by connecting to a network server. The weather information may include temperature information or meteorological information, wherein the temperature information may be, for example, 20°C, and the weather information may be cloudy, sunny, rainy, snowy, etc. In the embodiment of the present invention, the user can select the alarm clock ringtone according to personal preferences or needs by selecting settings based on temperature information or weather information. Filter to get the local real-time temperature information; when it is set to select the alarm ringtone according to the weather information, you can obtain and filter the local real-time weather information according to this setting.

在本发明的实施例中,天气铃声映射表可包括温度铃声映射表或气象铃声映射表。其中,温度铃声映射表包括温度与闹钟铃声的对应关系,温度铃声映射表可包括多个温度区间,每一个温度区间与一个或多个闹钟铃声对应,例如,在温度铃声映射表中,可将温度划分为多个温度区间,如划分成以下温度区间:0℃-10℃、10℃-20℃、20℃-30℃等,每一个温度区间可对应一个或多个闹钟铃声。同样,气象铃声映射表可包括气象与闹钟铃声的对应关系,气象铃声映射表包括多个气象类别,每一个气象类别与一个或多个闹钟铃声对应,例如,在气象铃声映射表中,可将气象分为晴、阴、雨、雪等类别,每一个气象类别可对应一个或多个闹钟铃声,用户可根据实际需要设置,如天气气象为晴天时,对应一首曲调欢快的歌曲,也可以对应多首。用户可根据个人喜欢将对不同的天气气象对应不同的歌曲,使得用户在有来电时既可以听到多样化的天气,又可以获知天气情况。In an embodiment of the present invention, the weather ringtone mapping table may include a temperature ringtone mapping table or a weather ringtone mapping table. Wherein, the temperature ringtone mapping table includes the corresponding relationship between temperature and alarm clock ringtones, and the temperature ringtone mapping table may include a plurality of temperature intervals, each temperature interval corresponds to one or more alarm clock ringtones, for example, in the temperature ringtone mapping table, the The temperature is divided into multiple temperature ranges, such as the following temperature ranges: 0°C-10°C, 10°C-20°C, 20°C-30°C, etc. Each temperature range can correspond to one or more alarm bells. Similarly, the weather ringtone mapping table can include the correspondence between weather and alarm clock ringtones. The weather ringtone mapping table includes a plurality of weather categories, and each weather category corresponds to one or more alarm clock ringtones. For example, in the weather belltone mapping table, the The weather is divided into categories such as sunny, cloudy, rainy, and snow. Each weather category can correspond to one or more alarm clock ringtones. Users can set them according to actual needs. Corresponding to multiple songs. Users can correspond to different songs for different weather conditions according to their personal preferences, so that users can not only hear a variety of weather, but also know the weather conditions when there is an incoming call.

在本发明的实施例中,在步骤S1之前还包括步骤S0,在步骤S0中,设置闹钟响铃时间,以及设置温度铃声映射表中的温度与闹钟铃声的对应关系或气象铃声映射表中的气象与闹钟铃声的对应关系。In the embodiment of the present invention, step S0 is also included before step S1. In step S0, the alarm clock ringing time is set, and the corresponding relationship between the temperature and the alarm clock ring tone in the temperature ringtone mapping table or the weather ringtone mapping table is set. Correspondence between weather and alarm clock ringtones.

在本发明的实施例中,在步骤S2中,当设置为根据温度信息来选择闹钟铃声时,确定所获取的温度信息的所属温度区间,并在该温度区间对应的闹钟铃声中选择一个闹钟铃声,当该温度信息的所属温度区间与多个闹钟铃声对应时,随机选择该多个闹钟铃声中的一个闹钟铃声,且所选择的闹钟铃声不同于上一次播放的铃声。例如,该温度信息为19℃,则确定其属于温度区间10℃-20℃,并在温度铃声映射表中的温度区间10℃-20℃所对应的闹钟铃声中选择一个闹钟铃声,若温度区间10℃-20℃只对应一个闹钟铃声A,则直接选择这个闹钟铃声A,若温度区间10℃-20℃对应三个闹钟铃声A、B、C,则在闹钟铃声A、B、C中随机选择其中一个闹钟铃声A,若上次播放了闹钟铃声A,则继续随机选择闹钟铃声B或C,使得用户可以听到不一样的闹钟铃声,提高用户体验。同样,当设置为根据气象信息来选择闹钟铃声时,确定所获取的气象信息的所属气象类别,并在该气象类别对应的闹钟铃声中选择一个闹钟铃声,当该气象信息的所属气象类别与多个闹钟铃声对应时,随机选择该多个闹钟铃声中的一个闹钟铃声,且所选择的闹钟铃声不同于上一次播放的铃声。例如,该气象信息为晴天,则确定其属于晴类别,并在气象铃声映射表中的晴类别所对应的闹钟铃声中选择一个闹钟铃声,若晴类别只对应一个闹钟铃声A,则直接选择这个闹钟铃声A,若晴类别对应三个闹钟铃声A、B、C,则在闹钟铃声A、B、C中随机选择其中一个闹钟铃声A,若上次播放了闹钟铃声A,则继续随机选择闹钟铃声B或C,使得用户可以听到不一样的闹钟铃声,提高用户体验。In the embodiment of the present invention, in step S2, when it is set to select the alarm clock ringtone according to the temperature information, determine the temperature range to which the acquired temperature information belongs, and select an alarm clock ringtone from the alarm clock ringtones corresponding to the temperature range , when the temperature range to which the temperature information belongs corresponds to multiple alarm tones, randomly select one of the multiple alarm tones, and the selected alarm tones are different from the one played last time. For example, if the temperature information is 19°C, it is determined that it belongs to the temperature range 10°C-20°C, and an alarm ringtone is selected from the alarm clock ringtones corresponding to the temperature range 10°C-20°C in the temperature ringtone mapping table. 10°C-20°C corresponds to only one alarm clock tone A, then directly select this alarm clock tone A, if the temperature range 10°C-20°C corresponds to three alarm clock tone A, B, C, then randomly choose among alarm clock tone A, B, C Select one of the alarm clock tones A, if the alarm clock tones A was played last time, continue to randomly select the alarm clock tones B or C, so that the user can hear different alarm tones and improve user experience. Similarly, when it is set to select the alarm bell according to the weather information, determine the weather category of the acquired weather information, and select an alarm bell from the alarm bells corresponding to the weather category. When there are two corresponding alarm clock tones, one of the plurality of alarm clock tones is randomly selected, and the selected alarm tones are different from the last played one. For example, if the weather information is sunny, it is determined that it belongs to the sunny category, and an alarm bell is selected from the alarm bells corresponding to the sunny category in the weather bell mapping table. If the sunny category only corresponds to one alarm bell A, then directly select this Alarm clock ringtone A, if the sunny category corresponds to three alarm clock ringtones A, B, and C, randomly select one of the alarm clock ringtones A, B, and C. If the alarm clock ringtone A was played last time, continue to randomly select the alarm clock The ringtone B or C enables the user to hear different alarm tones and improves user experience.

实施本发明的技术方案,当闹钟响铃时间到时,获取当地实时的天气信息,并根据所获取的天气信息以及预设的天气铃声映射表选择相应的闹钟铃声以进行播放,使得手机增加了新的闹钟功能:根据不同的天气状况而播放不同的闹钟铃声,让用户每次听到不一样的闹钟铃声,且让用户可以直观的了解天气状况,也可以使得手机闹钟铃声更加多样化,提高用户体验。Implement the technical solution of the present invention, when the time for the alarm clock to ring, obtain local real-time weather information, and select the corresponding alarm clock ringtone to play according to the acquired weather information and the preset weather ringtone mapping table, so that the mobile phone increases New alarm clock function: play different alarm clock ringtones according to different weather conditions, so that users can hear different alarm clock ringtones every time, and let users understand the weather conditions intuitively, and can also make mobile phone alarm clock ringtones more diverse and improve user experience.

以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalent replacements and improvements made within the spirit and principles of the present invention should be included in the protection of the present invention. within range.

Claims (2)

Described Weather information comprises temperature information or weather information; Described weather the tinkle of bells mapping table comprises temperature the tinkle of bells mapping table or meteorological the tinkle of bells mapping table; Described temperature the tinkle of bells mapping table comprises the corresponding relation of temperature and ring of alarm clock, and described temperature the tinkle of bells mapping table comprises multiple temperature ranges, and each temperature range is corresponding with one or more ring of alarm clock; Described meteorological the tinkle of bells mapping table comprises corresponding relation meteorological and ring of alarm clock, and described meteorological the tinkle of bells mapping table comprises multiple meteorological classifications, and each meteorological classification is corresponding with one or more ring of alarm clock;
Described Weather information comprises temperature information or weather information; Described weather the tinkle of bells mapping table comprises temperature the tinkle of bells mapping table or meteorological the tinkle of bells mapping table; Described temperature the tinkle of bells mapping table comprises the corresponding relation of temperature and ring of alarm clock, and described temperature the tinkle of bells mapping table comprises multiple temperature ranges, and each temperature range is corresponding with one or more ring of alarm clock; Described meteorological the tinkle of bells mapping table comprises corresponding relation meteorological and ring of alarm clock, and described meteorological the tinkle of bells mapping table comprises multiple meteorological classifications, and each meteorological classification is corresponding with one or more ring of alarm clock;
CN201210437326.1A2012-11-052012-11-05Mobile phone capable of automatically selecting alarm clock ringing according to weather and implementation method of mobile phoneExpired - Fee RelatedCN102917137B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201210437326.1ACN102917137B (en)2012-11-052012-11-05Mobile phone capable of automatically selecting alarm clock ringing according to weather and implementation method of mobile phone

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201210437326.1ACN102917137B (en)2012-11-052012-11-05Mobile phone capable of automatically selecting alarm clock ringing according to weather and implementation method of mobile phone

Publications (2)

Publication NumberPublication Date
CN102917137A CN102917137A (en)2013-02-06
CN102917137Btrue CN102917137B (en)2014-06-18

Family

ID=47615362

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201210437326.1AExpired - Fee RelatedCN102917137B (en)2012-11-052012-11-05Mobile phone capable of automatically selecting alarm clock ringing according to weather and implementation method of mobile phone

Country Status (1)

CountryLink
CN (1)CN102917137B (en)

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN110795005A (en)2013-09-032020-02-14苹果公司User interface for manipulating user interface objects using magnetic properties
CN105785750A (en)*2014-12-182016-07-20四川长虹电器股份有限公司Intelligent alarm clock, terminal, system and method for carrying out prompting based on weather conditions
CN104656412A (en)*2015-01-202015-05-27深圳市金立通信设备有限公司Method for adjusting alarm
CN104660824A (en)*2015-03-042015-05-27庞迪Method and system for adjusting ringtone according to weather temperature, as well as mobile terminal
CN105991840A (en)*2015-04-092016-10-05乐视移动智能信息技术(北京)有限公司Alarm tone prompting method and intelligent terminal
CN104899528A (en)*2015-05-062015-09-09深圳市小兵智能科技有限公司Touch screen based secure input method
CN105259744A (en)*2015-11-122016-01-20北京百纳威尔无线通信设备有限公司Alarm clock controlling method and device, alarm clock and electronic equipment
CN105872190A (en)*2015-12-042016-08-17乐视移动智能信息技术(北京)有限公司Clothing reminding method and device
CN105611048A (en)*2015-12-182016-05-25小米科技有限责任公司Alarm clock prompt method and device, and mobile terminal
CN105897854A (en)*2015-12-312016-08-24乐视移动智能信息技术(北京)有限公司Mobile terminal alarm clock response method, device and system
CN107317912A (en)*2017-05-092017-11-03广东小天才科技有限公司Meteorological early warning prompting method and device
US11435830B2 (en)2018-09-112022-09-06Apple Inc.Content-based tactile outputs
CN109582272B (en)*2018-11-232023-07-21Oppo(重庆)智能科技有限公司Control method, terminal equipment and storage medium
US10996761B2 (en)*2019-06-012021-05-04Apple Inc.User interfaces for non-visual output of time
CN112904704A (en)*2021-01-292021-06-04上海二三四五网络科技有限公司Alarm clock device capable of automatically broadcasting based on weather information and control method

Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101827173A (en)*2010-04-272010-09-08惠州Tcl移动通信有限公司Mobile phone changing ring tone according to changes of weather and implementation method thereof
CN102006347A (en)*2010-12-022011-04-06惠州Tcl移动通信有限公司Mobile communication equipment and alarming method thereof
CN102129371A (en)*2011-03-082011-07-20深圳桑菲消费通信有限公司Alarm clock reminding method for mobile terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20060135139A1 (en)*2004-12-172006-06-22Cheng Steven DMethod for changing outputting settings for a mobile unit based on user's physical status

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101827173A (en)*2010-04-272010-09-08惠州Tcl移动通信有限公司Mobile phone changing ring tone according to changes of weather and implementation method thereof
CN102006347A (en)*2010-12-022011-04-06惠州Tcl移动通信有限公司Mobile communication equipment and alarming method thereof
CN102129371A (en)*2011-03-082011-07-20深圳桑菲消费通信有限公司Alarm clock reminding method for mobile terminal

Also Published As

Publication numberPublication date
CN102917137A (en)2013-02-06

Similar Documents

PublicationPublication DateTitle
CN102917137B (en)Mobile phone capable of automatically selecting alarm clock ringing according to weather and implementation method of mobile phone
KR100819893B1 (en) Method and device for automatically updating mobile weblog (blog) to reflect mobile terminal activity
CN104902086B (en)Alarm clock ringing method and device
US9014764B2 (en)System and method for selecting ringtones
CN105210396B (en) Method and device for selecting information push terminal
CN105657171B (en)Method and system for setting incoming call ringtone
CN106652996A (en)Prompt tone generating method and device and mobile terminal
CN102413416A (en)Alarm clock reminding method based on cloud server and cloud server
CN104880942A (en)Display method and device for intelligent watch
CN101827173B (en)Mobile phone changing ring tone according to changes of weather and implementation method thereof
CN102655540A (en)Method and terminal for prompting ringtones according to calling numbers
CN103369102B (en)Incoming-call ringtone control method and mobile terminal
CN105101003A (en) Method for setting alarm clock music ringtone on speaker, system and speaker
CN103259925B (en)Method, device and mobile terminal for setting contact photo
CN102752714A (en)Method and device for setting bell
CN105516481A (en)Control method for prompt event, control device for prompt event and terminal
US20130303132A1 (en)Methods and systems for creating customized ringtones based on caller information
WO2019128269A1 (en)Alert method and device
CN105872191A (en)Call reminder setting method, call reminder setting device and related equipment
CN103327192A (en)Method for changing communication background based on weather information and mobile terminal thereof
CN101626421B (en)Handheld device for automatically switching ringtones and method thereof
CN103209242A (en)Vibration ringtone setting method and device
KR100553083B1 (en) Mobile communication terminal with phone book and its management method
CN105657156A (en) Method and terminal for customizing ringtones of incoming calls
CN105323391A (en)Method and device for automatically broadcasting voice menu

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
C14Grant of patent or utility model
GR01Patent grant
CP01Change in the name or title of a patent holder
CP01Change in the name or title of a patent holder

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 523860 usha Beach Road No. 18

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

CF01Termination of patent right due to non-payment of annual fee
CF01Termination of patent right due to non-payment of annual fee

Granted publication date:20140618


[8]ページ先頭

©2009-2025 Movatter.jp