技术领域technical field
本发明涉及终端设备技术领域,具体涉及一种闹钟提醒的实现方法、装置及终端设备。The present invention relates to the technical field of terminal equipment, in particular to an alarm clock reminder implementation method, device and terminal equipment.
背景技术Background technique
闹钟作为人们生活中的辅助工具,具有叫醒、提醒等功能,被以应用程序(Application,简称APP)的形式广泛应用到各种终端设备上,如智能手机、平板电脑等。用户通过在闹钟上设置闹钟时刻,并针对该闹钟时刻设置相应的提醒模式,包括振动提醒、铃声提醒、静音闪光提醒、振动铃声提醒等。在终端设备检测到达闹钟时刻时,终端设备以设置的提醒模式输出闹钟提醒以实现对用户的提醒,如以振动提醒用户或者以铃声提醒用户。As an auxiliary tool in people's life, the alarm clock has functions such as wake-up and reminder, and is widely applied to various terminal devices in the form of applications (Application, APP for short), such as smart phones and tablet computers. The user sets the alarm time on the alarm clock, and sets a corresponding reminder mode for the alarm time, including vibration reminder, ringtone reminder, silent flash reminder, vibration ringtone reminder, etc. When the terminal device detects that the time of the alarm clock is reached, the terminal device outputs the alarm clock reminder in the set reminder mode to realize the reminder to the user, such as reminding the user with vibration or ringtone.
目前闹钟提醒尚有不足之处,比如,一个闹钟只能固定设置一种相应的提醒模式,如进行振动提醒或者铃声提醒。当用户处于肃然安静的场景中,如图书馆等,不适合制造其它声音,这种时候可能只能静音闪光提醒用户,若设置好的提醒模式为铃声提醒,用户需要临时重设提醒模式,灵活性以及智能化都较差。At present, there are deficiencies in alarm clock reminders. For example, an alarm clock can only be fixedly set to a corresponding reminder mode, such as vibration reminder or ringtone reminder. When the user is in a solemn and quiet scene, such as a library, it is not suitable to make other sounds. At this time, the user may only be muted and flashed to remind the user. If the set reminder mode is a ringtone reminder, the user needs to temporarily reset the reminder mode, which is flexible. Sexuality and intelligence are poor.
发明内容Contents of the invention
本发明实施例公开了一种闹钟提醒的实现方法、装置及终端设备,用于提高闹钟提醒的灵活性和智能化,从而提供更好的用户体验感。The embodiment of the present invention discloses an alarm clock reminder implementation method, device and terminal equipment, which are used to improve the flexibility and intelligence of the alarm clock reminder, thereby providing better user experience.
本发明第一方面公开了一种闹钟提醒的实现方法,可包括:The first aspect of the present invention discloses a method for implementing an alarm clock reminder, which may include:
获取终端设备的当前时钟;Obtain the current clock of the terminal device;
判断上述当前时钟是否匹配预设的闹钟时刻;上述闹钟时刻对应着一个闹钟提醒;Judging whether the above-mentioned current clock matches the preset alarm clock time; the above-mentioned alarm clock time corresponds to an alarm clock reminder;
若上述当前时钟匹配上述预设的闹钟时刻,获取当前地理位置信息;If the above-mentioned current clock matches the above-mentioned preset alarm clock time, obtain the current geographic location information;
获取上述当前地理位置信息匹配的提醒模式,并通过上述提醒模式输出上述闹钟提醒。Obtain the reminder mode matched by the above-mentioned current geographic location information, and output the above-mentioned alarm clock reminder through the above-mentioned reminder mode.
作为一种可实施的方式,在本发明第一方面中,上述获取上述当前地理位置信息匹配的提醒模式,并通过上述提醒模式输出上述闹钟提醒包括:As an implementable manner, in the first aspect of the present invention, the acquisition of the reminder mode matching the current geographic location information, and outputting the alarm clock reminder through the reminder mode include:
识别上述当前地理位置信息所指示的地理位置所属的地理位置区域;获取上述地理位置区域匹配的提醒模式,并通过上述提醒模式输出上述闹钟提醒。Identify the geographic location area to which the geographic location indicated by the above current geographic location information belongs; obtain the reminder mode matched by the above geographic location area, and output the above alarm clock reminder through the above reminder mode.
作为一种可实施的方式,在本发明第一方面中,上述获取上述当前地理位置信息匹配的提醒模式,并通过上述提醒模式输出上述闹钟提醒包括:As an implementable manner, in the first aspect of the present invention, the acquisition of the reminder mode matching the current geographic location information, and outputting the alarm clock reminder through the reminder mode include:
识别上述当前地理位置信息所指示的地理位置所对应的场所类型;Identify the location type corresponding to the geographic location indicated by the above current geographic location information;
获取上述场所类型匹配的提醒模式,并通过上述提醒模式输出上述闹钟提醒。Obtain the reminder mode matching the above-mentioned place type, and output the above-mentioned alarm clock reminder through the above-mentioned reminder mode.
作为一种可实施的方式,在本发明第一方面中,上述获取当前地理位置信息包括:As an implementable manner, in the first aspect of the present invention, the acquisition of the current geographic location information includes:
检测上述终端设备的闹钟是否具备访问地理位置的权限;Detect whether the alarm clock of the above-mentioned terminal device has the permission to access the geographic location;
若上述终端设备的闹钟具备访问地理位置的权限,识别上述终端设备是否开启无线接入功能;If the alarm clock of the above-mentioned terminal device has the authority to access the geographic location, identify whether the above-mentioned terminal device has enabled the wireless access function;
若上述终端设备开启无线接入功能,搜索上述终端设备周围的无线接入点(Access Point,简称AP)以及上述AP发射的无线信号,并根据上述AP以及上述AP发射的无线信号生成AP标识符和无线接入信号;If the terminal device enables the wireless access function, search for wireless access points (AP for short) around the terminal device and wireless signals transmitted by the AP, and generate an AP identifier based on the AP and the wireless signals transmitted by the AP and wireless access signals;
根据上述AP标识符获取上述AP的地理位置,以及结合上述无线接入信号确定上述终端设备的地理位置信息。The geographic location of the AP is acquired according to the AP identifier, and the geographic location information of the terminal device is determined in combination with the wireless access signal.
作为一种可实施的方式,在本发明第一方面中,上述获取当前地理位置信息包括:As an implementable manner, in the first aspect of the present invention, the acquisition of the current geographic location information includes:
检测上述终端设备的闹钟是否具备访问地理位置的权限;Detect whether the alarm clock of the above-mentioned terminal device has the permission to access the geographic location;
若上述终端设备的闹钟具备访问地理位置的权限,识别上述终端设备是否具有全球定位系统(Global Positioning System,简称GPS)模块;If the alarm clock of the above-mentioned terminal device has the authority to access the geographic location, identify whether the above-mentioned terminal device has a Global Positioning System (Global Positioning System, referred to as GPS) module;
若上述终端设备具有GPS模块,通过上述GPS模块检测卫星信息,根据上述卫星信息确定上述终端设备的地理位置信息。If the terminal device has a GPS module, satellite information is detected by the GPS module, and geographic location information of the terminal device is determined according to the satellite information.
作为一种可实施的方式,在本发明第一方面中,上述实现方法还包括:As an implementable manner, in the first aspect of the present invention, the above implementation method further includes:
在输出上述闹钟提醒的过程中,获取上述终端设备内置的距离传感器所采集的上述终端设备的外部环境物体与上述终端设备之间的距离值;In the process of outputting the above-mentioned alarm clock reminder, the distance value between the external environment object of the above-mentioned terminal device and the above-mentioned terminal device collected by the built-in distance sensor of the above-mentioned terminal device is obtained;
根据上述距离值,对上述闹钟提醒执行预设的操作,上述预设的操作包括关闭上述闹钟提醒或者延迟预设时间后再次输出上述闹钟提醒。According to the above-mentioned distance value, a preset operation is performed on the above-mentioned alarm clock reminder, and the above-mentioned preset operation includes turning off the above-mentioned alarm clock reminder or outputting the above-mentioned alarm clock reminder after a preset time delay.
本发明第二方面公开了一种闹钟提醒的实现装置,可包括:The second aspect of the present invention discloses a device for realizing an alarm clock reminder, which may include:
时钟获取单元,用于获取终端设备的当前时钟,判断上述当前时钟是否匹配预设的闹钟时刻;上述闹钟时刻对应着一个闹钟提醒;A clock acquiring unit, configured to acquire the current clock of the terminal device, and judge whether the above-mentioned current clock matches the preset alarm clock time; the above-mentioned alarm clock time corresponds to an alarm clock reminder;
位置获取单元,若上述时钟获取单元判定上述当前时钟匹配上述预设的闹钟时刻,获取当前地理位置信息;A location acquisition unit, if the clock acquisition unit determines that the current clock matches the preset alarm clock time, acquire current geographic location information;
闹钟提醒单元,用于获取上述当前地理位置信息匹配的提醒模式,并通过上述提醒模式输出上述闹钟提醒。The alarm clock reminder unit is configured to obtain the reminder mode matched by the above-mentioned current geographic location information, and output the above-mentioned alarm clock reminder through the above-mentioned reminder mode.
作为一种可实施的方式,在本发明第二方面中,上述闹钟提醒单元具体包括:As an implementable manner, in the second aspect of the present invention, the above-mentioned alarm clock reminder unit specifically includes:
区域识别单元,用于识别上述当前地理位置信息所指示的地理位置所属的地理位置区域;an area identifying unit, configured to identify the geographic location area to which the geographic location indicated by the above current geographic location information belongs;
第一提醒单元,用于获取上述地理位置区域匹配的提醒模式,并通过上述提醒模式输出上述闹钟提醒。The first reminder unit is configured to acquire a reminder pattern matched by the above-mentioned geographic location area, and output the above-mentioned alarm clock reminder through the above-mentioned reminder pattern.
作为一种可实施的方式,在本发明第二方面中,上述闹钟提醒单元具体包括:As an implementable manner, in the second aspect of the present invention, the above-mentioned alarm clock reminder unit specifically includes:
场所识别单元,用于识别上述当前地理位置信息所指示的地理位置所对应的场所类型;A location identification unit, configured to identify the type of location corresponding to the geographic location indicated by the current geographic location information;
第二提醒单元,用于获取上述场所类型匹配的提醒模式,并通过上述提醒模式输出上述闹钟提醒。The second reminder unit is configured to acquire a reminder pattern matching the above-mentioned place type, and output the above-mentioned alarm clock reminder through the above-mentioned reminder pattern.
作为一种可实施的方式,在本发明第二方面中,上述位置获取单元具体包括:As an implementable manner, in the second aspect of the present invention, the above-mentioned location acquisition unit specifically includes:
第一权限检测单元,用于检测上述终端设备的闹钟是否具备访问地理位置的权限;The first authority detection unit is used to detect whether the alarm clock of the terminal device has the authority to access the geographic location;
无线识别单元,用于若上述终端设备的闹钟具备访问地理位置的权限,识别上述终端设备是否开启无线接入功能;The wireless identification unit is used to identify whether the above-mentioned terminal device has enabled the wireless access function if the alarm clock of the above-mentioned terminal device has the authority to access the geographic location;
搜索单元,用于若上述终端设备开启无线接入功能,搜索上述终端设备周围的无线接入点AP以及上述AP发射的无线信号,并生成AP标识符;A search unit, configured to search for wireless access points AP around the terminal device and wireless signals transmitted by the AP if the terminal device enables the wireless access function, and generate an AP identifier;
第一位置确定单元,用于根据上述AP标识符获取上述AP的地理位置,以及结合上述AP发射的无线信号的强度确定上述终端设备的地理位置信息。The first location determining unit is configured to acquire the geographic location of the AP according to the AP identifier, and determine the geographic location information of the terminal device in combination with the strength of the wireless signal transmitted by the AP.
作为一种可实施的方式,在本发明第二方面中,上述位置获取单元具体包括:As an implementable manner, in the second aspect of the present invention, the above-mentioned location acquisition unit specifically includes:
第二权限检测单元,用于检测上述终端设备的闹钟是否具备访问地理位置的权限;The second authority detection unit is used to detect whether the alarm clock of the terminal device has the authority to access the geographic location;
定位识别单元,用于若上述终端设备的闹钟具备访问地理位置的权限,识别上述终端设备是否具有全球定位系统GPS模块;The positioning identification unit is used to identify whether the above-mentioned terminal device has a GPS module if the alarm clock of the above-mentioned terminal device has the authority to access the geographic location;
第二位置确定单元,用于若上述终端设备具有GPS模块,通过上述GPS模块检测卫星信息,根据上述卫星信息确定上述终端设备的地理位置信息。The second position determination unit is configured to detect satellite information through the GPS module if the terminal device has a GPS module, and determine the geographic location information of the terminal device according to the satellite information.
作为一种可实施的方式,在本发明第二方面中,上述实现装置还包括:As an implementable manner, in the second aspect of the present invention, the above-mentioned implementation device further includes:
距离获取单元,用于在上述闹钟提醒单元输出上述闹钟提醒的过程中,获取上述终端设备内置的距离传感器所采集的上述终端设备的外部环境物体与上述终端设备之间的距离值;a distance acquiring unit, configured to acquire the distance value between the external environment object of the terminal device and the terminal device collected by the built-in distance sensor of the terminal device during the process of the alarm clock reminder unit outputting the alarm clock reminder;
操作执行单元,用于根据上述距离值,对上述闹钟提醒执行预设的操作,上述预设的操作包括关闭上述闹钟提醒或者延迟预设时间后再次输出上述闹钟提醒。The operation execution unit is configured to perform a preset operation on the alarm clock reminder according to the distance value, and the preset operation includes turning off the alarm clock reminder or outputting the above alarm clock reminder after a preset time delay.
本发明第三方面公开了一种终端设备,可包括:第二方面所公开的闹钟提醒的实现装置。The third aspect of the present invention discloses a terminal device, which may include: the apparatus for realizing alarm clock reminder disclosed in the second aspect.
与现有技术相比,本发明实施例具有以下有益效果:Compared with the prior art, the embodiments of the present invention have the following beneficial effects:
在本发明实施例中,通过获取终端设备的当前时钟,判断当前时钟是否匹配预设的闹钟时刻,若当前时钟匹配预设的闹钟时刻,获取当前地理位置信息,进一步获取当前地理位置信息匹配的提醒模式,并通过提醒模式输出闹钟提醒。可以看出,实施本发明实施例,预先设置了闹钟时刻,并进一步针对该闹钟时刻根据地理位置设置相应的提醒模式,在检测到终端设备的当前时钟匹配预设的闹钟时刻后,通过获取当前地理位置信息,然后获取该当前地理位置信息匹配的提醒模式输出闹钟提醒,实现不同的地理位置采用不同的提醒模式,以满足用户在不同地理位置上对同一个闹钟需要不同的提醒模式的需求,实现更加灵活以及智能化的闹钟提醒,提供更好的用户体验感。In the embodiment of the present invention, by acquiring the current clock of the terminal device, it is judged whether the current clock matches the preset alarm clock time, if the current clock matches the preset alarm clock time, the current geographic location information is obtained, and further the current geographic location information matches the Reminder mode, and output alarm clock reminder through reminder mode. It can be seen that, implementing the embodiment of the present invention, the alarm clock time is set in advance, and a corresponding reminder mode is further set for the alarm clock time according to the geographic location. After detecting that the current clock of the terminal device matches the preset alarm clock time, by obtaining the current Geographical location information, and then obtain the reminder mode that matches the current geographic location information to output an alarm clock reminder, so that different geographic locations can use different reminder modes to meet the needs of users who need different reminder modes for the same alarm clock in different geographic locations. Realize more flexible and intelligent alarm clock reminders, and provide a better user experience.
附图说明Description of drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the accompanying drawings that need to be used in the embodiments. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For Those of ordinary skill in the art can also obtain other drawings based on these drawings without making creative efforts.
图1为本发明实施例公开的闹钟提醒的实现方法的流程示意图;FIG. 1 is a schematic flow diagram of an implementation method of an alarm clock reminder disclosed by an embodiment of the present invention;
图2为本发明实施例公开的闹钟提醒的实现方法的另一流程示意图;Fig. 2 is another schematic flowchart of the implementation method of the alarm clock reminder disclosed by the embodiment of the present invention;
图3为本发明实施例公开的闹钟提醒的实现方法的另一流程示意图;Fig. 3 is another schematic flowchart of the implementation method of the alarm clock reminder disclosed by the embodiment of the present invention;
图4为本发明实施例公开的闹钟提醒的实现装置的结构示意图;Fig. 4 is a schematic structural diagram of a device for realizing an alarm clock reminder disclosed by an embodiment of the present invention;
图5为本发明实施例公开的闹钟提醒的实现装置的另一结构示意图;Fig. 5 is another structural schematic diagram of the device for realizing the alarm clock reminder disclosed by the embodiment of the present invention;
图6为本发明实施例公开的闹钟提醒的实现装置的另一结构示意图;Fig. 6 is another structural schematic diagram of the device for realizing the alarm clock reminder disclosed by the embodiment of the present invention;
图7为本发明实施例公开的闹钟提醒的实现装置的另一结构示意图;Fig. 7 is another structural schematic diagram of the device for realizing the alarm clock reminder disclosed by the embodiment of the present invention;
图8为本发明实施例公开的闹钟提醒的实现装置的另一结构示意图;Fig. 8 is another structural schematic diagram of the device for realizing the alarm clock reminder disclosed by the embodiment of the present invention;
图9为本发明实施例公开的闹钟提醒的实现装置的另一结构示意图;Fig. 9 is another structural schematic diagram of the device for realizing the alarm clock reminder disclosed by the embodiment of the present invention;
图10为本发明实施例公开的终端设备的结构示意图。FIG. 10 is a schematic structural diagram of a terminal device disclosed in an embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.
本发明实施例公开了一种闹钟提醒的实现方法,用于提高闹钟提醒的灵活性和智能化,从而提供更好的用户体验感。本发明实施例还相应地公开了一种闹钟提醒的实现装置以及终端设备。The embodiment of the invention discloses a method for realizing an alarm clock reminder, which is used to improve the flexibility and intelligence of the alarm clock reminder, thereby providing better user experience. The embodiment of the present invention also correspondingly discloses an alarm clock reminder realization device and a terminal device.
本发明实施例所涉及的终端设备可包括智能手机、平板电脑、具有闹钟功能的各种辅助家教设备(如点读机)、具有闹钟功能的可穿戴设备(如手表、手环等)等等。下面将从终端设备角度出发,结合具体实施例,对本发明技术方案进行详细介绍。The terminal devices involved in the embodiments of the present invention may include smartphones, tablet computers, various auxiliary tutoring devices with alarm clock functions (such as point readers), wearable devices with alarm clock functions (such as watches, wristbands, etc.), etc. . From the perspective of terminal equipment, the technical solution of the present invention will be introduced in detail in combination with specific embodiments.
实施例一Embodiment one
请参阅图1,图1为本发明实施例公开的闹钟提醒的实现方法的流程示意图;如图1所示,一种闹钟提醒的实现方法可包括:Please refer to FIG. 1. FIG. 1 is a schematic flow diagram of an implementation method of an alarm clock reminder disclosed in an embodiment of the present invention; as shown in FIG. 1, an implementation method of an alarm clock reminder may include:
101、终端设备获取当前时钟;101. The terminal device obtains the current clock;
可以理解,在执行步骤101之前,在终端设备中预先设置了至少一个闹钟提醒,一个闹钟提醒与一个闹钟时刻对应,针对每一个闹钟提醒设置了提醒模式,每一个闹钟提醒对应的提醒模式可以相同,或者部分闹钟提醒对应的提醒模式相同,或者全部闹钟提醒对应的提醒模式相同。进一步地,针对每一个闹钟提醒还可以进一步针对不同的地理位置设置对应的提醒模式(将在实施例二中做出详细介绍,在此不再赘述)。It can be understood that before step 101 is executed, at least one alarm clock reminder is preset in the terminal device, an alarm clock reminder corresponds to an alarm clock time, and a reminder mode is set for each alarm clock reminder, and the reminder mode corresponding to each alarm clock reminder can be the same , or some alarm clock reminders correspond to the same reminder mode, or all alarm clock reminders correspond to the same reminder mode. Furthermore, for each alarm clock reminder, corresponding reminder modes can be further set for different geographic locations (details will be introduced in Embodiment 2, and will not be repeated here).
102、终端设备判断当前时钟是否匹配预设的闹钟时刻;102. The terminal device judges whether the current clock matches the preset alarm clock time;
其中,终端设备判定当前时钟匹配预设的闹钟时刻后,转向步骤103;终端设备判定当前时钟不匹配预设的闹钟时刻后,转向步骤101。Wherein, after the terminal device determines that the current clock matches the preset alarm time, it turns to step 103; after the terminal device determines that the current clock does not match the preset alarm time, it turns to step 101.
103、若当前时钟匹配预设的闹钟时刻,终端设备获取当前地理位置信息;103. If the current clock matches the preset alarm clock time, the terminal device obtains the current geographic location information;
作为一种可选的实施方式,步骤103中的获取当前地理位置信息具体包括:检测终端设备的闹钟是否具备访问地理位置的权限;若终端设备的闹钟具备访问地理位置的权限,识别终端设备是否开启无线接入功能;若终端设备开启无线接入功能,搜索终端设备周围的AP以及AP发射的无线信号,并根据AP以及AP发射的无线信号生成AP标识符和无线接入信号;根据AP标识符获取AP的地理位置,以及结合无线接入信号确定终端设备的地理位置信息。可以理解,当终端设备具有AP时,如Wi-Fi模块,其可以利用AP接入信息进行定位。例如,当终端设备开启无线接入(Wi-Fi)功能,以准备通过无线(Wi-Fi)接入互联网时,其会搜索并收集周围的AP信号,并生成包括AP标识符及AP信号强弱信息的AP接入信息。终端设备可以根据AP标识符获得各AP的地理位置,并结合各AP信号的强弱来确定该AP的地理位置。通过AP接入信息来确定终端设备的地理位置,该方法定位精度较高、功耗较小。As an optional implementation, obtaining the current geographical location information in step 103 specifically includes: detecting whether the alarm clock of the terminal device has the authority to access the geographical location; if the alarm clock of the terminal device has the authority to access the geographical location, identifying whether the terminal device Enable the wireless access function; if the terminal device enables the wireless access function, search for APs around the terminal device and the wireless signals transmitted by the AP, and generate an AP identifier and a wireless access signal according to the AP and the wireless signals transmitted by the AP; The location information of the terminal device is determined by combining the wireless access signal to obtain the geographic location of the AP. It can be understood that when the terminal device has an AP, such as a Wi-Fi module, it can use the AP access information for positioning. For example, when the terminal device turns on the wireless access (Wi-Fi) function to prepare to access the Internet through wireless (Wi-Fi), it will search for and collect the surrounding AP signals, and generate information including the AP identifier and AP signal strength. AP access information with weak information. The terminal device can obtain the geographic location of each AP according to the AP identifier, and determine the geographic location of the AP in combination with the signal strength of each AP. The geographic location of the terminal device is determined through AP access information. This method has high positioning accuracy and low power consumption.
作为另一种可选的实施方式,步骤103中的获取当前地理位置信息具体包括:检测终端设备的闹钟是否具备访问地理位置的权限;若终端设备的闹钟具备访问地理位置的权限,识别终端设备是否具有GPS模块;若终端设备具有GPS模块,通过GPS模块检测卫星信息,根据卫星信息确定终端设备的地理位置信息。终端设备具有GPS模块时,终端设备可以利用所检测到的卫星信息进行定位,定位精确度较高。As another optional implementation manner, obtaining the current geographical location information in step 103 specifically includes: detecting whether the alarm clock of the terminal device has the authority to access the geographical location; if the alarm clock of the terminal device has the authority to access the geographical location, identifying the terminal device Whether it has a GPS module; if the terminal device has a GPS module, the satellite information is detected through the GPS module, and the geographic location information of the terminal device is determined according to the satellite information. When the terminal device has a GPS module, the terminal device can use the detected satellite information to perform positioning, and the positioning accuracy is high.
此外,如果终端设备中具备有移动通信模块,如全球移动通信系统(GlobalSystem for Mobile,简称GSM),可以通过移动通信模块检测周围的基站信息,终端设备根据检测到的基站信息进行定位。In addition, if the terminal device is equipped with a mobile communication module, such as Global System for Mobile (GSM), the mobile communication module can detect surrounding base station information, and the terminal device performs positioning based on the detected base station information.
如果终端设备中具有射频识别(Radio Frequency Identification,简称RFID)模块,通过RFID模块进行终端设备的地理位置识别。If the terminal device has a radio frequency identification (Radio Frequency Identification, RFID for short) module, the geographic location of the terminal device is identified through the RFID module.
104、终端设备获取当前地理位置信息匹配的提醒模式,并通过提醒模式输出闹钟提醒。104. The terminal device acquires a reminder mode matched with the current geographic location information, and outputs an alarm clock reminder through the reminder mode.
作为一种可选的实施方式,步骤104具体包括:识别当前地理位置信息所指示的地理位置所属的地理位置区域;获取地理位置区域匹配的提醒模式,并通过提醒模式输出闹钟提醒。可以理解,在设置闹钟时,可以根据地理位置区域进行提醒模式设置,具体可以参阅实施例二中的详细介绍,在此不再赘述。As an optional implementation manner, step 104 specifically includes: identifying the geographic location area to which the geographic location indicated by the current geographic location information belongs; acquiring a reminder pattern matched by the geographic location area, and outputting an alarm clock reminder through the reminder pattern. It can be understood that when setting the alarm clock, the reminder mode can be set according to the geographic location area. For details, please refer to the detailed introduction in Embodiment 2, which will not be repeated here.
作为一种可选的实施方式,步骤104具体包括:识别当前地理位置信息所指示的地理位置所对应的场所类型;获取场所类型匹配的提醒模式,并通过提醒模式输出闹钟提醒。可以理解,在设置闹钟时,可以根据场所类型进行提醒模式设置,具体可以参阅实施例二中的详细介绍,在此不再赘述。As an optional implementation, step 104 specifically includes: identifying the location type corresponding to the geographic location indicated by the current geographic location information; acquiring a reminder pattern matching the location type, and outputting an alarm clock reminder through the reminder pattern. It can be understood that when setting the alarm clock, the reminder mode can be set according to the type of place. For details, please refer to the detailed introduction in Embodiment 2, which will not be repeated here.
作为一种可实施的方式,在执行步骤104之后,在输出闹钟提醒的过程中,获取终端设备内置的距离传感器所采集的终端设备的外部环境物体与终端设备之间的距离值;根据距离值,对闹钟提醒执行预设的操作,预设的操作包括关闭闹钟提醒或者延迟预设时间后再次输出闹钟提醒。在该实施例中,预先设置了距离范围与预设的操作的对应关系,比如,距离值在第一距离范围内时,关闭闹钟提醒,距离值在第二距离范围内时,延迟预设时间后再次输出闹钟提醒。可以看出,通过该实施例,终端设备根据检测到的距离值智能地处理闹钟提醒,全面实现闹钟操作的智能化,也进一步提高用户体验感。As an implementable manner, after step 104 is executed, during the process of outputting the alarm clock reminder, the distance value between the external environment object of the terminal device and the terminal device collected by the built-in distance sensor of the terminal device is acquired; according to the distance value , perform a preset operation on the alarm clock reminder, and the preset operation includes turning off the alarm clock reminder or outputting the alarm clock reminder again after a preset time delay. In this embodiment, the corresponding relationship between the distance range and the preset operation is preset, for example, when the distance value is within the first distance range, the alarm clock reminder is turned off, and when the distance value is within the second distance range, the preset time is delayed Then output the alarm clock reminder again. It can be seen that through this embodiment, the terminal device intelligently processes the alarm clock reminder according to the detected distance value, fully realizes the intelligent operation of the alarm clock, and further improves the user experience.
可以看出,实施本发明实施例,预先设置了闹钟时刻,并进一步针对该闹钟时刻根据地理位置设置相应的提醒模式,在检测到终端设备的当前时钟匹配预设的闹钟时刻后,通过获取当前地理位置信息,然后获取该当前地理位置信息匹配的提醒模式输出闹钟提醒,实现不同的地理位置采用不同的提醒模式,以满足用户在不同地理位置上对同一个闹钟需要不同的提醒模式的需求,实现更加灵活以及智能化的闹钟提醒,提供更好的用户体验感。It can be seen that, implementing the embodiment of the present invention, the alarm clock time is set in advance, and a corresponding reminder mode is further set for the alarm clock time according to the geographic location. After detecting that the current clock of the terminal device matches the preset alarm clock time, by obtaining the current Geographical location information, and then obtain the reminder mode that matches the current geographic location information to output an alarm clock reminder, so that different geographic locations can use different reminder modes to meet the needs of users who need different reminder modes for the same alarm clock in different geographic locations. Realize more flexible and intelligent alarm clock reminders, and provide a better user experience.
实施例二Embodiment two
请参阅图2,图2为本发明实施例公开的闹钟提醒的实现方法的另一流程示意图;如图2所示,一种闹钟提醒的实现方法可包括:Please refer to FIG. 2. FIG. 2 is another schematic flow diagram of an implementation method of an alarm clock reminder disclosed in an embodiment of the present invention; as shown in FIG. 2, an implementation method of an alarm clock reminder may include:
201、终端设备接收用户对闹钟应用程序(Application,简称APP)的启动操作,响应于该启动操作打开APP;201. The terminal device receives a user's startup operation on the alarm clock application (Application, APP for short), and opens the APP in response to the startup operation;
需要说明,在终端设备中安装有闹钟APP,用户通过启动APP,进入闹钟设置界面。对应地,对于终端设备而言,终端设备接收用户对APP的启动操作,响应于该启动操作后打开APP。It should be noted that an alarm clock APP is installed in the terminal device, and the user enters an alarm clock setting interface by starting the APP. Correspondingly, for the terminal device, the terminal device receives the start operation of the APP by the user, and opens the APP in response to the start operation.
202、终端设备根据用户的输入操作打开闹钟设置选项,进入参数设置界面;202. The terminal device opens the alarm clock setting option according to the user's input operation, and enters the parameter setting interface;
可以理解,在APP的闹钟设置界面中,包括闹钟设置选项,以用于闹钟设置。闹钟设置选项可以是用各种图形或者图像表示的组件,用户通过点击(单击或者双击)组件或者通过对组件的触摸或者是对组件的滑动操作等,打开闹钟设置选项,从而进入闹钟设置选项的参数设置界面,参数设置界面用于用户设置常规参数,通常而言,常规参数包括闹钟时刻、重复、铃声或者稍后提醒等。闹钟时刻是选择闹钟提醒的时刻,重复是指重复提醒的日期(如工作日提醒或者周一至周五提醒等),在铃声这一设置项中包括振动或者歌曲的设置,用户可以只选择振动,或者用户只选择歌曲,或者用户同时选择振动和歌曲。It can be understood that the alarm clock setting interface of the APP includes an alarm clock setting option for alarm clock setting. The alarm clock setting option can be a component represented by various graphics or images. The user can open the alarm clock setting option by clicking (single-clicking or double-clicking) the component or by touching the component or sliding the component, thereby entering the alarm clock setting option. The parameter setting interface, the parameter setting interface is used for the user to set general parameters, generally speaking, the general parameters include alarm clock time, repetition, ringtone or later reminder and so on. The alarm clock time is the time to select the alarm clock reminder, and the repetition refers to the date of repeated reminders (such as weekday reminders or Monday to Friday reminders, etc.). The setting item of ringtone includes vibration or song settings. Users can only choose vibration. Either the user selects only the song, or the user selects both vibration and song.
当然,参数设置界面中还包括有闪光的常规参数设置项,也就是常规参数还包括有闪光。Of course, the parameter setting interface also includes general parameter setting items of flash, that is, the general parameter also includes flash.
203、终端设备接收用户在参数设置界面上输入的常规参数,根据该常规参数设置闹钟提醒以及常规提醒模式,该常规参数包括闹钟时刻、重复、铃声或者稍后提醒;203. The terminal device receives the regular parameters input by the user on the parameter setting interface, and sets the alarm clock reminder and the regular reminder mode according to the regular parameters. The regular parameters include the alarm clock time, repetition, ringtone or later reminder;
在步骤203中,终端设备对应闹钟时刻设置一个闹钟提醒,而根据常规参数中的铃声设置该闹钟提醒(或该闹钟时刻)对应的常规提醒模式,此时常规提醒模式包括三种情况:一是振动提醒、二是铃音(歌曲)提醒、三是振动+铃音(歌曲)提醒。In step 203, the terminal device sets an alarm clock reminder corresponding to the alarm clock time, and sets the normal reminder mode corresponding to the alarm clock reminder (or the alarm clock time) according to the ringtone in the normal parameters. At this time, the normal reminder mode includes three situations: one is Vibration reminder, second is ringtone (song) reminder, third is vibration + ringtone (song) reminder.
当常规参数中还包括闪光时,根据闪光和铃声设置该闹钟提醒(或该闹钟时刻)对应的常规提醒模式,该常规提醒模式包括七种情况:一是振动提醒、二是铃音(歌曲)提醒、三是振动+铃音(歌曲)提醒、四是闪光提醒、五是振动+闪光提醒、六是铃音(歌曲)+闪光提醒、七是振动+铃音(歌曲)+闪光提醒。When also including flashing light in routine parameter, according to flashing light and bell sound setting this alarm clock reminder (or this alarm clock time) corresponding conventional reminding mode, this routine reminding mode comprises seven kinds of situations: the one, vibration reminds, the 2nd, ring tone (song) Reminder, the third is vibration + ring tone (song) reminder, the fourth is flash reminder, the fifth is vibration + flash reminder, the sixth is ring tone (song) + flash reminder, the seventh is vibration + ring tone (song) + flash reminder.
204、终端设备检测用户是否设置智能定位提醒;204. The terminal device detects whether the user sets a smart location reminder;
本发明实施例提供的智能定位提醒界面用于根据地理位置信息设置提醒模式,进入智能定位提醒界面后,具有两种智能定位提醒的设置项,一种地理位置区域(用于根据地理位置区域设置提醒模式),另一种是场所类型(用于根据场所类型设置提醒模式)。当用户需要设置智能定位提醒,用户选择地理位置区域时,转向步骤205;当用户需要设置智能定位提醒,用户选择场所类型时,转向步骤207。当用户不需要设置智能定位提醒时,转向步骤209。The intelligent positioning reminder interface provided by the embodiment of the present invention is used to set the reminder mode according to the geographical location information. After entering the intelligent positioning reminder interface, there are two kinds of setting items for the intelligent positioning reminder. reminder mode), and the other is place type (used to set reminder mode according to place type). When the user needs to set a smart location reminder and the user selects a geographic location area, turn to step 205; when the user needs to set a smart location reminder and the user selects a location type, turn to step 207. When the user does not need to set a smart location reminder, go to step 209 .
205、终端设备接收用户对地理位置区域的选择,打开地理位置区域的设置界面,打开地图界面;205. The terminal device receives the user's selection of the geographical location area, opens the setting interface of the geographical location area, and opens the map interface;
206、终端设备接收用户在地图界面上输入的地点,以及接收用户输入的针对该地点的特殊提醒模式,建立该地点所在的地理位置区域与该特殊提醒模式的对应关系;206. The terminal device receives the location input by the user on the map interface, and receives the special reminder mode for the location input by the user, and establishes the corresponding relationship between the geographic location area where the location is located and the special reminder mode;
特殊提醒模式为振动提醒、铃音(歌曲)提醒或者振动+铃音(歌曲)提醒,如果有闪光,则为上面介绍的七种情况中的任意一种。需要说明的是,通常而言,特殊提醒模式与上述介绍的常规提醒模式的具体内容不相同,比如说,当常规提醒模式为铃音(歌曲)提醒时,特殊提醒模式为振动提醒。The special reminder mode is vibration reminder, ringtone (song) reminder or vibration + ringtone (song) reminder. If there is a flash, it is any one of the seven situations described above. It should be noted that, generally speaking, the specific content of the special reminder mode is different from the regular reminder mode described above. For example, when the regular reminder mode is a ringtone (song) reminder, the special reminder mode is a vibration reminder.
可以理解,在针对输入的地点所在的地理位置区域设置了特殊提醒模式后,针对同一个闹钟提醒,在该地点所在的地理位置区域上将采用特殊提醒模式输出闹钟提醒,而在该地点所在的地理位置区域以外的其它地理位置上将采用常规提醒模式输出闹钟提醒。It can be understood that after the special reminder mode is set for the geographic location area where the input location is located, for the same alarm clock reminder, the special reminder mode will be used to output the alarm clock reminder in the geographic location area where the location is located, and the alarm clock reminder will be output in the location location where the location is located. Other geographical locations outside the geographic location area will use the normal reminder mode to output alarm clock reminders.
207、终端设备接收用户针对场所类型的选择输入,进入场所类型输入界面;207. The terminal device receives the user's selection input for the location type, and enters the location type input interface;
208、终端设备接收用户在场所类型输入界面上输入的场所类型,并接收用户输入的针对该场所类型的特殊提醒模式,建立该场所类型与该特殊提醒模式的对应关系;208. The terminal device receives the location type input by the user on the location type input interface, and receives the special reminder mode for the location type input by the user, and establishes the corresponding relationship between the location type and the special reminder mode;
步骤208中用户可以输入多个场所类型,场所类型比如学校、商场、写字楼或者户外等,但是输入的多个场所类型应该是适用于设置同样的特殊提醒模式的,比如同时输入学校和写字楼,这两个场所类型都是一个要求安静的地方,从而可以针对这两个场所类型设置特殊提醒模式为振动提醒。In step 208, the user can input multiple place types, such as schools, shopping malls, office buildings or outdoors, but the input multiple place types should be suitable for setting the same special reminder mode, such as inputting schools and office buildings at the same time. Both place types are places that require quietness, so the special reminder mode can be set as vibration reminder for these two place types.
这里的特殊提醒模式和步骤206中所涉及的特殊提醒模式相同,在此不再赘述。可以理解,在针对输入的场所类型设置了特殊提醒模式后,针对同一个闹钟提醒,在该场所类型上将采用特殊提醒模式输出闹钟提醒,而在该场所类型以外的其它场所类型上将采用常规提醒模式输出闹钟提醒。The special reminding mode here is the same as the special reminding mode involved in step 206, and will not be repeated here. It can be understood that after the special reminder mode is set for the input place type, for the same alarm clock reminder, the special reminder mode will be used to output the alarm clock reminder on this place type, while the normal reminder mode will be used on other place types other than this place type. The reminder mode outputs an alarm clock reminder.
209、终端设备保存上面对闹钟提醒的各种设置,并将设置信息保存到闹钟数据库中。209. The terminal device saves the above various settings for the alarm clock reminder, and saves the setting information in the alarm clock database.
可以看出,在本发明实施例中,终端设备根据用户的各项输入,进行闹钟提醒的设置。首先,根据用户输入的常规参数设置了闹钟提醒,以及该闹钟提醒对应的常规提醒模式,进一步地,用户还可以针对地理位置区域或者场所类型设置特殊提醒模式。在设置后,用户所设置的地理位置区域采用特殊提醒模式输出闹钟提醒,其它地理位置区域采用常规提醒模式输出闹钟提醒;或者是用户所设置的场所类型采用特殊提醒模式输出闹钟提醒,其它场所类型采用常规提醒模式输出闹钟提醒,实现不同的地理位置采用不同的提醒模式,以满足用户在不同地理位置上对同一个闹钟需要不同的提醒模式的需求,实现更加灵活以及智能化的闹钟提醒,提供更好的用户体验感。It can be seen that, in the embodiment of the present invention, the terminal device sets the alarm clock reminder according to various inputs of the user. First, the alarm clock reminder is set according to the general parameters input by the user, and the corresponding regular reminder mode of the alarm clock reminder is set. Further, the user can also set a special reminder mode for the geographical location area or the type of place. After setting, the geographical location area set by the user uses the special reminder mode to output the alarm clock reminder, and other geographical location areas use the normal reminder mode to output the alarm clock reminder; or the place type set by the user uses the special reminder mode to output the alarm clock reminder, other place types The regular reminder mode is used to output the alarm clock reminder, and different geographical locations adopt different reminder modes to meet the needs of users who need different reminder modes for the same alarm clock in different geographical locations, and realize more flexible and intelligent alarm clock reminders, providing Better user experience.
实施例三Embodiment Three
请参阅图3,图3为本发明实施例公开的闹钟提醒的实现方法的另一流程示意图;如图3所示,一种闹钟提醒的实现方法可包括:Please refer to FIG. 3. FIG. 3 is another schematic flow diagram of the implementation method of the alarm clock reminder disclosed in the embodiment of the present invention; as shown in FIG. 3, an implementation method of the alarm clock reminder may include:
301、终端设备从闹钟数据库中读取接下来的闹钟提醒的闹钟时刻;301. The terminal device reads the alarm clock time of the next alarm clock reminder from the alarm clock database;
基于上述实施例二,终端设备闹钟提醒的设置信息保存到闹钟数据库中,终端设备在处理上一个闹钟时刻对应的闹钟提醒后,从闹钟数据库中读取接下来的闹钟提醒的闹钟时刻。Based on the second embodiment above, the setting information of the terminal device alarm clock reminder is saved in the alarm clock database, and the terminal device reads the alarm clock time of the next alarm clock reminder from the alarm clock database after processing the alarm clock reminder corresponding to the previous alarm clock time.
302、终端设备获取系统的当前时钟;302. The terminal device acquires the current clock of the system;
终端设备实时获取系统的当前时钟。The terminal device obtains the current clock of the system in real time.
303、终端设备判断当前时钟是否匹配闹钟时刻;303. The terminal device judges whether the current clock matches the alarm clock time;
其中,若当前时钟匹配闹钟时刻,转向步骤304;若当前时钟不匹配闹钟时刻,转向步骤302。Wherein, if the current clock matches the alarm clock time, go to step 304; if the current clock does not match the alarm clock time, go to step 302.
304、终端设备检测是否具备获取地理位置信息的条件;304. The terminal device detects whether it meets the conditions for obtaining geographic location information;
可以理解,这里提及的终端设备是否具备获取地理位置信息的条件,是指实施例一中步骤103中所介绍的内容,先检测终端设备中的闹钟APP是否开启了访问地理位置的权限,以及检测终端设备中是否具备移动通信模块(GSM模块)、无线接入功能(WI-FI模块)或者卫星定位模块(GPS模块)等。若终端设备的闹钟APP开启了访问地理位置的权限,且终端设备中具备了移动通信模块(GSM模块)、无线接入功能(WI-FI模块)和卫星定位模块(GPS模块)等中的任意一种模块后,确定终端设备具备获取地理位置信息的条件,从而转向步骤305。若终端设备未开启访问地理位置的权限和/或不具备上述介绍的任意一种模块时,确定终端设备不具备获取地理位置信息的条件,转向步骤310。It can be understood that whether the terminal device mentioned here has the conditions for obtaining geographical location information refers to the content introduced in step 103 in the first embodiment. First, it is detected whether the alarm clock APP in the terminal device has enabled the permission to access the geographical location information, and Detect whether the terminal device has a mobile communication module (GSM module), a wireless access function (WI-FI module) or a satellite positioning module (GPS module), etc. If the alarm clock APP of the terminal device has enabled access to the geographic location, and the terminal device has any of the mobile communication module (GSM module), wireless access function (WI-FI module) and satellite positioning module (GPS module), etc. After one type of module, it is determined that the terminal device has the conditions for obtaining geographic location information, and then the process turns to step 305 . If the terminal device does not have the permission to access the geographic location and/or does not have any of the modules introduced above, it is determined that the terminal device does not meet the conditions for obtaining the geographic location information, and then turn to step 310 .
305、终端设备获取当前地理位置信息;305. The terminal device acquires current geographic location information;
可以理解,终端设备通过上述任意一种模块来获取当前地理位置信息,具体获取方法可以参阅实施例一步骤103中的详细介绍,在此不再赘述。It can be understood that the terminal device obtains the current geographic location information through any one of the above-mentioned modules, and the specific obtaining method can refer to the detailed introduction in step 103 of the first embodiment, which will not be repeated here.
306、终端设备判断获取当前地理位置信息是否成功;306. The terminal device judges whether the acquisition of the current geographic location information is successful;
在步骤305中获取当前地理位置信息,步骤306判断是否获取成功,若获取成功,转向步骤307,若获取失败,转向步骤309。In step 305, the current geographic location information is acquired, and in step 306 it is judged whether the acquisition is successful, if the acquisition is successful, turn to step 307, if the acquisition fails, turn to step 309.
307、终端设备判断当前地理位置信息所指示的地理位置是否属于预设的地理位置区域,或者判断当前地理位置信息所指示场所类型是否匹配预设的场所类型;307. The terminal device judges whether the geographic location indicated by the current geographic location information belongs to a preset geographic location area, or judges whether the location type indicated by the current geographic location information matches the preset location type;
其中,若当前地理位置信息所指示的地理位置属于预设的地理位置区域或者当前地理位置信息所指示的场所类型匹配预设的场所类型,转向步骤308;若当前地理位置信息所指示的地理位置不属于预设的地理位置区域或者当前地理位置信息所指示的场所类型不匹配预设的场所类型,转向步骤311。Wherein, if the geographic location indicated by the current geographic location information belongs to the preset geographic location area or the type of place indicated by the current geographic location information matches the preset location type, go to step 308; if the geographic location indicated by the current geographic location information If it does not belong to the preset geographic location area or the location type indicated by the current geographic location information does not match the preset location type, go to step 311 .
308、终端设备获取该地理位置区域或者该场所类型匹配的特殊提醒模式,并通过该特殊提醒模式输出闹钟提醒;308. The terminal device obtains a special reminder mode matching the geographic location area or the type of place, and outputs an alarm clock reminder through the special reminder mode;
执行完步骤308后结束流程。After step 308 is executed, the process ends.
309、终端设备弹出提示窗口,提醒用户获取地理位置信息失败;309. A prompt window pops up on the terminal device to remind the user of failure to obtain geographic location information;
执行完步骤309后,转向步骤311。After step 309 is executed, go to step 311.
310、终端设备弹出提示窗口,提醒终端设备不具备获取地理位置信息的条件;310. A prompt window pops up on the terminal device to remind the terminal device that it does not meet the conditions for obtaining geographic location information;
执行完步骤310后,转向步骤311。After step 310 is executed, go to step 311.
可以理解,在终端设备不具备获取地理位置信息的条件时,可以以振动模式输出闹钟提醒特定时间后,再转为常规提醒模式输出闹钟提醒,以这种方式实现时,能够在开始时通过振动模式输出闹钟提醒,以避免用户在一些需要安静的地点或者场所时出现不合时宜的闹钟响铃造成的尴尬,在振动模式提醒特定时间后,该闹钟还没有被关闭,则说明用户可能还未听到该闹钟提醒,可以改为常规提醒模式输出闹钟提醒,以进一步提醒用户。It can be understood that when the terminal device does not have the conditions to obtain geographical location information, it can output an alarm clock in vibration mode to remind a specific time, and then switch to a regular reminder mode to output an alarm clock reminder. Mode output alarm clock reminder to avoid the embarrassment caused by inappropriate alarm clock ringing when the user is in some places or places that need to be quiet. After the vibration mode reminds for a specific time, if the alarm clock has not been turned off, it means that the user may not have heard it. The alarm clock reminder can be changed to a regular reminder mode to output an alarm clock reminder to further remind the user.
311、终端设备获取该闹钟提醒的常规提醒模式,并通过该常规提醒模式输出该闹钟提醒。311. The terminal device obtains a regular reminder mode of the alarm clock reminder, and outputs the alarm clock reminder through the regular reminder mode.
可以看出,在本发明实施例中,基于设置好的闹钟提醒,终端设备实时检测系统的当前时钟,判断当前时钟是否匹配从闹钟数据库中读取的接下来的闹钟时刻,若匹配,进一步判断是否能够获取到终端设备的当前地理位置信息,若是获取到,判断当前地理位置信息所指示的地理位置区域是否属于预设的地理位置区域或者当前地理位置信息所指示的场所类型是否匹配预设的场所类型,在判定结果为是时,获取当前地理位置信息所指示的地理位置区域或者当前地理位置信息所指示的场所类型匹配的特殊提醒模式,并通过该特殊提醒模式输出闹钟提醒,而在其它情况下采用常规提醒模式输出闹钟提醒,通过本发明实施例,能够根据地理位置信息智能化控制闹钟提醒,满足不同地理位置或者不同场所类型需要不同提醒模式的用户需求,一方面避免了在一些需要安静的地点或者场所,终端设备出现不合时宜的闹钟响铃的尴尬;一方面也避免了用户对于一些常用闹钟提醒,只因为偶尔的地点或者场所需要临时关闭,导致后续忘记了开启,造成错过关键时间点的尴尬。It can be seen that in the embodiment of the present invention, based on the set alarm clock reminder, the terminal device detects the current clock of the system in real time to determine whether the current clock matches the next alarm clock time read from the alarm clock database. If it matches, further judge Whether the current geographic location information of the terminal device can be obtained, if obtained, determine whether the geographic location area indicated by the current geographic location information belongs to the preset geographic location area or whether the location type indicated by the current geographic location information matches the preset Place type, when the judgment result is yes, obtain the special reminder mode matching the geographic location area indicated by the current geographic location information or the location type indicated by the current geographic location information, and output an alarm clock reminder through the special reminder mode, while other Under normal circumstances, the conventional reminder mode is used to output the alarm clock reminder. Through the embodiment of the present invention, the alarm clock reminder can be intelligently controlled according to the geographic location information, to meet the needs of users who need different reminder modes in different geographical locations or different types of places. In a quiet place or place, the embarrassment of an untimely alarm clock ringing on the terminal device; on the one hand, it also avoids the user’s reminder of some common alarm clocks, only because the occasional place or place needs to be temporarily closed, resulting in subsequent forgetting to open it, resulting in missing critical time A bit embarrassing.
实施例四Embodiment four
请参阅图4,图4为本发明实施例公开的闹钟提醒的实现装置的结构示意图;如图4所示,一种闹钟提醒的实现装置可包括:Please refer to FIG. 4. FIG. 4 is a schematic structural diagram of an alarm clock reminder implementation device disclosed in an embodiment of the present invention; as shown in FIG. 4, an alarm clock reminder implementation device may include:
时钟获取单元410,用于获取终端设备的当前时钟,判断上述当前时钟是否匹配预设的闹钟时刻;上述闹钟时刻对应着一个闹钟提醒;The clock acquisition unit 410 is configured to acquire the current clock of the terminal device, and determine whether the current clock matches the preset alarm clock time; the alarm clock time corresponds to an alarm clock reminder;
位置获取单元420,若上述时钟获取单元判定上述当前时钟匹配上述预设的闹钟时刻,获取当前地理位置信息;The position acquisition unit 420, if the clock acquisition unit determines that the current clock matches the preset alarm clock time, acquire the current geographic location information;
闹钟提醒单元430,用于获取上述当前地理位置信息匹配的提醒模式,并通过上述提醒模式输出上述闹钟提醒。The alarm clock reminder unit 430 is configured to acquire the reminder mode matched by the current geographic location information, and output the alarm clock reminder through the reminder mode.
可以看出,在本发明实施例中闹钟提醒的实现装置预先设置了闹钟时刻,并进一步预先针对该闹钟时刻按照地理位置设置相应的提醒模式,在时钟获取单元410检测到终端设备的当前时钟匹配预设的闹钟时刻后,位置获取单元420获取当前地理位置信息,然后闹钟提醒单元430获取该当前地理位置信息匹配的提醒模式输出闹钟提醒,实现不同的地理位置采用不同的提醒模式,以满足用户在不同地理位置上对同一个闹钟需要不同的提醒模式的需求,实现更加灵活以及智能化的闹钟提醒,提供更好的用户体验感。It can be seen that in the embodiment of the present invention, the device for realizing the alarm clock reminder presets the alarm clock time, and further sets the corresponding reminder mode according to the geographic location for the alarm clock time in advance, and the clock acquisition unit 410 detects that the current clock of the terminal device matches After the preset alarm clock time, the position acquisition unit 420 obtains the current geographic location information, and then the alarm clock reminder unit 430 obtains the matching reminder mode of the current geographic location information to output the alarm clock reminder, so as to realize that different geographical locations adopt different reminder modes to satisfy users. Different geographical locations require different reminder modes for the same alarm clock to achieve more flexible and intelligent alarm clock reminders and provide a better user experience.
实施例五Embodiment five
请参阅图5,图5为本发明实施例公开的闹钟提醒的实现装置的另一结构示意图;其中,图5所示的闹钟提醒的实现装置是由图4所示的闹钟提醒的实现装置进行优化得到的。在图5所示的闹钟提醒的实现装置中,上述闹钟提醒单元430具体包括:Please refer to Fig. 5, Fig. 5 is another schematic structural diagram of the realization device of the alarm clock reminder disclosed in the embodiment of the present invention; wherein, the realization device of the alarm clock reminder shown in Fig. 5 is performed by the realization device of the alarm clock reminder shown in Fig. 4 optimized. In the device for realizing the alarm clock reminder shown in FIG. 5 , the above-mentioned alarm clock reminder unit 430 specifically includes:
区域识别单元510,用于识别上述当前地理位置信息所指示的地理位置所属的地理位置区域;An area identifying unit 510, configured to identify the geographic location area to which the geographic location indicated by the above current geographic location information belongs;
第一提醒单元520,用于获取上述地理位置区域匹配的提醒模式,并通过上述提醒模式输出上述闹钟提醒。The first reminding unit 520 is configured to acquire a reminding mode matched with the geographical location area, and output the alarm clock reminding through the reminding mode.
实施例六Embodiment six
请参阅图6,图6为本发明实施例公开的闹钟提醒的实现装置的另一结构示意图;其中,图6所示的闹钟提醒的实现装置是由图4所示的闹钟提醒的实现装置进行优化得到的。在图6所示的闹钟提醒的实现装置中,上述闹钟提醒单元430具体包括:Please refer to Fig. 6, Fig. 6 is another structural schematic diagram of the realization device of the alarm clock reminder disclosed by the embodiment of the present invention; wherein, the realization device of the alarm clock reminder shown in Fig. 6 is performed by the realization device of the alarm clock reminder shown in Fig. 4 optimized. In the device for realizing the alarm clock reminder shown in FIG. 6, the above-mentioned alarm clock reminder unit 430 specifically includes:
场所识别单元610,用于识别上述当前地理位置信息所指示的地理位置所对应的场所类型;A location identification unit 610, configured to identify the type of location corresponding to the geographic location indicated by the current geographic location information;
第二提醒单元620,用于获取上述场所类型匹配的提醒模式,并通过上述提醒模式输出上述闹钟提醒。The second reminder unit 620 is configured to acquire a reminder pattern matching the above-mentioned place type, and output the above-mentioned alarm clock reminder through the above-mentioned reminder pattern.
实施例七Embodiment seven
请参阅图7,图7为本发明实施例公开的闹钟提醒的实现装置的另一结构示意图;其中,图7所示的闹钟提醒的实现装置是由图4所示的闹钟提醒的实现装置进行优化得到的。在图7所示的闹钟提醒的实现装置中,上述位置获取单元420具体包括:Please refer to Fig. 7, Fig. 7 is another schematic structural diagram of the realization device of the alarm clock reminder disclosed in the embodiment of the present invention; wherein, the realization device of the alarm clock reminder shown in Fig. 7 is performed by the realization device of the alarm clock reminder shown in Fig. 4 optimized. In the device for realizing the alarm clock reminder shown in FIG. 7, the above-mentioned location acquisition unit 420 specifically includes:
第一权限检测单元710,用于检测上述终端设备的闹钟是否具备访问地理位置的权限;The first authority detection unit 710 is configured to detect whether the alarm clock of the terminal device has the authority to access the geographic location;
无线识别单元720,用于若上述终端设备的闹钟具备访问地理位置的权限,识别上述终端设备是否开启无线接入功能;The wireless identification unit 720 is used to identify whether the above-mentioned terminal device has a wireless access function if the alarm clock of the above-mentioned terminal device has the authority to access the geographic location;
搜索单元730,用于若上述终端设备开启无线接入功能,搜索上述终端设备周围的无线接入点AP以及上述AP发射的无线信号,并根据上述AP以及上述AP发射的无线信号生成AP标识符和无线接入信号;The search unit 730 is configured to search for wireless access points AP around the terminal device and wireless signals transmitted by the AP if the terminal device enables the wireless access function, and generate an AP identifier according to the AP and the wireless signals transmitted by the AP and wireless access signals;
第一位置确定单元740,用于根据上述AP标识符获取上述AP的地理位置,以及结合上述无线接入信号确定上述终端设备的地理位置信息。The first location determining unit 740 is configured to acquire the geographic location of the AP according to the AP identifier, and determine the geographic location information of the terminal device in combination with the wireless access signal.
实施例八Embodiment eight
请参阅图8,图8为本发明实施例公开的闹钟提醒的实现装置的另一结构示意图;其中,图8所示的闹钟提醒的实现装置是由图4所示的闹钟提醒的实现装置进行优化得到的。在图8所示的闹钟提醒的实现装置中,上述位置获取单元420具体包括:Please refer to FIG. 8. FIG. 8 is another structural schematic diagram of the realization device of the alarm clock reminder disclosed in the embodiment of the present invention; wherein, the realization device of the alarm clock reminder shown in FIG. 8 is performed by the realization device of the alarm clock reminder shown in FIG. optimized. In the device for realizing the alarm clock reminder shown in FIG. 8, the above-mentioned location acquisition unit 420 specifically includes:
第二权限检测单元810,用于检测上述终端设备的闹钟是否具备访问地理位置的权限;The second authority detection unit 810 is configured to detect whether the alarm clock of the terminal device has the authority to access the geographic location;
定位识别单元820,用于若上述终端设备的闹钟具备访问地理位置的权限,识别上述终端设备是否具有全球定位系统GPS模块;The location identification unit 820 is used to identify whether the above-mentioned terminal device has a global positioning system GPS module if the alarm clock of the above-mentioned terminal device has the authority to access the geographic location;
第二位置确定单元830,用于若上述终端设备具有GPS模块,通过上述GPS模块检测卫星信息,根据上述卫星信息确定上述终端设备的地理位置信息。The second position determination unit 830 is configured to detect satellite information through the GPS module if the terminal device has a GPS module, and determine geographic location information of the terminal device according to the satellite information.
实施例九Embodiment nine
请参阅图9,图9为本发明实施例公开的闹钟提醒的实现装置的另一结构示意图;其中,图9所示的闹钟提醒的实现装置是由图4所示的闹钟提醒的实现装置进行优化得到的。在图9所示的闹钟提醒的实现装置中,该闹钟提醒的实现装置还包括:Please refer to Fig. 9, Fig. 9 is another structural schematic diagram of the realization device of the alarm clock reminder disclosed in the embodiment of the present invention; wherein, the realization device of the alarm clock reminder shown in Fig. 9 is performed by the realization device of the alarm clock reminder shown in Fig. 4 optimized. In the realization device of alarm clock reminder shown in Figure 9, the realization device of this alarm clock reminder also includes:
距离获取单元910,用于在上述闹钟提醒单元输出上述闹钟提醒的过程中,获取上述终端设备内置的距离传感器所采集的上述终端设备的外部环境物体与上述终端设备之间的距离值;The distance acquisition unit 910 is configured to acquire the distance value between the external environment object of the terminal device and the terminal device collected by the built-in distance sensor of the terminal device during the process of the alarm clock reminder unit outputting the alarm clock reminder;
操作执行单元920,用于根据上述距离值,对上述闹钟提醒执行预设的操作,上述预设的操作包括关闭上述闹钟提醒或者延迟预设时间后再次输出上述闹钟提醒。The operation executing unit 920 is configured to perform a preset operation on the alarm clock reminder according to the distance value, and the preset operation includes turning off the alarm clock reminder or outputting the above alarm clock reminder after a preset time delay.
实施例十Embodiment ten
请参阅图10,图10为本发明实施例公开的终端设备的结构示意图;如图10所示,一种终端设备可包括:图4至图9中任意一个附图所指示的闹钟提醒的实现装置,其中,关于闹钟提醒的实现装置的说明具体参阅装置实施例中的介绍,在此不再一一赘述。Please refer to Figure 10, Figure 10 is a schematic structural diagram of a terminal device disclosed in an embodiment of the present invention; as shown in Figure 10, a terminal device may include: the realization of the alarm clock reminder indicated in any one of Figures 4 to 9 device, wherein, for the description of the device for realizing the alarm clock reminder, please refer to the introduction in the device embodiment for details, and details will not be repeated here.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质包括只读存储器(Read-Only Memory,ROM)、随机存储器(Random Access Memory,RAM)、可编程只读存储器(Programmable Read-only Memory,PROM)、可擦除可编程只读存储器(Erasable Programmable Read Only Memory,EPROM)、一次可编程只读存储器(One-time Programmable Read-Only Memory,OTPROM)、电子抹除式可复写只读存储器(Electrically-Erasable Programmable Read-Only Memory,EEPROM)、只读光盘(CompactDisc Read-Only Memory,CD-ROM)或其他光盘存储器、磁盘存储器、磁带存储器、或者能够用于携带或存储数据的计算机可读的任何其他介质。Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above-mentioned embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, and the storage medium includes read-only Memory (Read-Only Memory, ROM), Random Access Memory (Random Access Memory, RAM), Programmable Read-Only Memory (Programmable Read-only Memory, PROM), Erasable Programmable Read-Only Memory (Erasable Programmable Read Only Memory, EPROM), One-time Programmable Read-Only Memory (OTPROM), Electronically Erasable Programmable Read-Only Memory (EEPROM), Compact Disc Read-Only Memory (CompactDisc Read -Only Memory, CD-ROM) or other optical disk storage, magnetic disk storage, tape storage, or any other computer-readable medium that can be used to carry or store data.
以上对本发明实施例公开的一种闹钟提醒的实现方法、装置及终端设备进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。The implementation method, device and terminal equipment of an alarm clock reminder disclosed in the embodiments of the present invention have been introduced in detail above. In this paper, specific examples are used to illustrate the principle and implementation of the present invention. The description of the above embodiments is only for To help understand the method of the present invention and its core idea; at the same time, for those of ordinary skill in the art, according to the idea of the present invention, there will be changes in the specific implementation and scope of application. In summary, the content of this specification It should not be construed as a limitation of the invention.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610909106.2ACN106534491A (en) | 2016-10-18 | 2016-10-18 | Method and device for realizing alarm clock reminding and terminal equipment |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610909106.2ACN106534491A (en) | 2016-10-18 | 2016-10-18 | Method and device for realizing alarm clock reminding and terminal equipment |
| Publication Number | Publication Date |
|---|---|
| CN106534491Atrue CN106534491A (en) | 2017-03-22 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201610909106.2APendingCN106534491A (en) | 2016-10-18 | 2016-10-18 | Method and device for realizing alarm clock reminding and terminal equipment |
| Country | Link |
|---|---|
| CN (1) | CN106534491A (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108551604A (en)* | 2018-04-26 | 2018-09-18 | 海尔优家智能科技(北京)有限公司 | A kind of noise-reduction method, denoising device and noise cancelling headphone |
| WO2019041135A1 (en)* | 2017-08-29 | 2019-03-07 | 深圳传音通讯有限公司 | Alarm clock reminding method and device and computer-readable storage medium |
| CN111767766A (en)* | 2019-05-15 | 2020-10-13 | 北京京东尚科信息技术有限公司 | Reminding method and device applied to mobile equipment |
| CN111866280A (en)* | 2020-07-17 | 2020-10-30 | 维沃移动通信有限公司 | Information prompting method, device, electronic device and storage medium |
| CN112016888A (en)* | 2020-08-21 | 2020-12-01 | 苏州三六零机器人科技有限公司 | Alarm reminder method, device, device and storage medium |
| CN113114849A (en)* | 2021-03-12 | 2021-07-13 | 宇龙计算机通信科技(深圳)有限公司 | Alarm clock reminding method and device, storage medium and terminal |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20100184484A1 (en)* | 2007-07-25 | 2010-07-22 | Phillip John Lindberg | Deferring Alerts |
| CN102231774A (en)* | 2011-06-20 | 2011-11-02 | 惠州Tcl移动通信有限公司 | Mobile phone alarm clock control method and mobile phone |
| CN105120057A (en)* | 2015-06-26 | 2015-12-02 | 小米科技有限责任公司 | Alarm clock control method and device |
| CN105407212A (en)* | 2015-10-21 | 2016-03-16 | 畅索软件科技(上海)有限公司 | Method and device used for controlling alarm clock of terminal |
| CN105681571A (en)* | 2016-01-29 | 2016-06-15 | 广东欧珀移动通信有限公司 | A reminder method and device for a terminal alarm clock |
| CN105898071A (en)* | 2016-05-30 | 2016-08-24 | 北京奇虎科技有限公司 | Router, server, terminal and terminal scene mode control method and device |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20100184484A1 (en)* | 2007-07-25 | 2010-07-22 | Phillip John Lindberg | Deferring Alerts |
| CN102231774A (en)* | 2011-06-20 | 2011-11-02 | 惠州Tcl移动通信有限公司 | Mobile phone alarm clock control method and mobile phone |
| CN105120057A (en)* | 2015-06-26 | 2015-12-02 | 小米科技有限责任公司 | Alarm clock control method and device |
| CN105407212A (en)* | 2015-10-21 | 2016-03-16 | 畅索软件科技(上海)有限公司 | Method and device used for controlling alarm clock of terminal |
| CN105681571A (en)* | 2016-01-29 | 2016-06-15 | 广东欧珀移动通信有限公司 | A reminder method and device for a terminal alarm clock |
| CN105898071A (en)* | 2016-05-30 | 2016-08-24 | 北京奇虎科技有限公司 | Router, server, terminal and terminal scene mode control method and device |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2019041135A1 (en)* | 2017-08-29 | 2019-03-07 | 深圳传音通讯有限公司 | Alarm clock reminding method and device and computer-readable storage medium |
| CN108551604A (en)* | 2018-04-26 | 2018-09-18 | 海尔优家智能科技(北京)有限公司 | A kind of noise-reduction method, denoising device and noise cancelling headphone |
| CN108551604B (en)* | 2018-04-26 | 2021-05-07 | 海尔优家智能科技(北京)有限公司 | Noise reduction method, noise reduction device and noise reduction earphone |
| CN111767766A (en)* | 2019-05-15 | 2020-10-13 | 北京京东尚科信息技术有限公司 | Reminding method and device applied to mobile equipment |
| CN111767766B (en)* | 2019-05-15 | 2024-08-20 | 北京京东尚科信息技术有限公司 | Reminding method and device applied to movable equipment |
| CN111866280A (en)* | 2020-07-17 | 2020-10-30 | 维沃移动通信有限公司 | Information prompting method, device, electronic device and storage medium |
| CN112016888A (en)* | 2020-08-21 | 2020-12-01 | 苏州三六零机器人科技有限公司 | Alarm reminder method, device, device and storage medium |
| CN113114849A (en)* | 2021-03-12 | 2021-07-13 | 宇龙计算机通信科技(深圳)有限公司 | Alarm clock reminding method and device, storage medium and terminal |
| Publication | Publication Date | Title |
|---|---|---|
| CN106534491A (en) | Method and device for realizing alarm clock reminding and terminal equipment | |
| US11205427B2 (en) | Method, apparatus, system, device for controlling intelligent device and storage medium | |
| CN104539782B (en) | A kind of event-prompting method and its device | |
| US9554050B2 (en) | Mobile device using images and location for reminders | |
| CN104268129B (en) | The method and device of message back | |
| WO2018145447A1 (en) | Terminal operation control method and apparatus, and terminal | |
| CN110049179B (en) | Method for reminding user based on set position and mobile terminal | |
| KR20160055915A (en) | Method and apparatus for adjusting detection threshold for activating voice assistant function | |
| AU2015223089A1 (en) | Performing actions associated with individual presence | |
| US20140278392A1 (en) | Method and Apparatus for Pre-Processing Audio Signals | |
| CN110213712B (en) | Positioning transmission method, device, terminal and storage medium | |
| CN106170150B (en) | Mobile terminal and localization method | |
| CN105117897A (en) | Shutdown reminding method and device | |
| CN104917581A (en) | System time correction method and device, terminal and router | |
| CN105141769A (en) | Communication message processing method and device as well as terminal | |
| CN104361486A (en) | Alarm clock reminding method and device | |
| CN111696553A (en) | Voice processing method and device and readable medium | |
| CN105869345A (en) | Alarm method, device and equipment based on wearable equipment | |
| KR101599694B1 (en) | Dynamic subsumption inference | |
| CN105068651A (en) | Method, device, terminal and server for controlling alarm clock | |
| US20190271546A1 (en) | Electronic apparatus, control device, and operation method of electronic apparatus | |
| CN107371144B (en) | Method and device for intelligently sending information | |
| CN109543666A (en) | Structure light assembly control method and device | |
| CN109243447A (en) | Voice sends triggering method and device | |
| CN105954706A (en) | Intelligent device positioning method and device |
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication | Application publication date:20170322 | |
| RJ01 | Rejection of invention patent application after publication |