Alarm clock control method, device, apparatus and storage medium

CN115379046BActive Publication Date: 2026-09-18HUBEI QIGUANG TECHNOLOGY CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210945714.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-08
Publication Date
2026-09-18
Estimated Expiration
2042-08-08

AI Technical Summary

Technical Problem

[0004]本发明的主要目的在于解决现有闹钟控制方法提醒精确度不足的问题

Benefits of technology

[0066] The technical solution provided by this invention involves receiving a target alarm schedule, collecting the current target geographical location, determining the target alarm region based on the alarm location parameters in the target alarm schedule, obtaining at least one alarm trigger location corresponding to the target alarm region, comparing the target geographical location with each alarm trigger location, and activating the alarm notification if the locations are the same. This invention obtains the terminal's geographical location to provide alarm reminders based on location changes, resulting in more accurate reminders.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115379046B_ABST
    Figure CN115379046B_ABST
Patent Text Reader

Abstract

The application relates to the technical field of alarm clock reminding, and discloses an alarm clock control method, device, equipment and storage medium.The method comprises the following steps: receiving a target alarm clock plan input by a user, wherein the target alarm clock plan comprises alarm clock setting parameters, and the alarm clock setting parameters comprise an alarm clock position parameter; calling a geographical position acquisition device based on a preset frequency to acquire a target geographical position currently located at; determining a target alarm clock area according to the alarm clock position parameter; acquiring at least one alarm clock triggering position corresponding to the target alarm clock area; and comparing the target geographical position with the at least one alarm clock triggering position respectively, and if the positions are the same, starting an alarm clock prompt.The application acquires the geographical position of a terminal, and thus alarm clock reminding is carried out based on position change, so that the reminding is more accurate.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of alarm clock technology, and in particular to an alarm clock control method, device, equipment, and storage medium. Background Technology

[0002] With the widespread use of mobile devices such as smartphones, people have become accustomed to using the alarm clock function of various mobile devices in their daily lives. These devices can support setting several different alarm times at the same time to remind users to get up or do other tasks.

[0003] In existing technologies, alarm clock control methods typically only support reminders in the time dimension, specifying the date and time period for the alarm reminder, but they cannot support reminders in the geographical dimension, such as alarm reminders for clocking in and out of the company, meaning the accuracy of the reminders is insufficient. Summary of the Invention

[0004] The main objective of this invention is to solve the problem of insufficient accuracy in existing alarm clock control methods.

[0005] The first aspect of this invention provides an alarm clock control method applied to a terminal, the terminal including a geographic location acquisition device, comprising:

[0006] Receive a target alarm clock plan input by the user, the target alarm clock plan including alarm clock setting parameters, the alarm clock setting parameters including alarm clock location parameters;

[0007] The geographic location acquisition device is invoked based on a preset frequency to acquire the current target geographic location;

[0008] Determine the target alarm clock area based on the alarm clock position parameters;

[0009] Obtain at least one alarm trigger position corresponding to the target alarm clock area;

[0010] The target geographical location is compared with the at least one alarm trigger location. If the locations are the same, the alarm is activated.

[0011] Optionally, in a first implementation of the first aspect of the present invention, the alarm clock setting parameters further include alarm clock time parameters, and after receiving the alarm clock plan input by the user, and before calling the geographic location acquisition device based on a preset frequency to acquire the current target geographic location, the method further includes:

[0012] Get the current system time;

[0013] Determine the target alarm time period for the alarm schedule to take effect based on the alarm time parameters;

[0014] The system time is compared with the target alarm time period. If the system time is within the target alarm time period, the geographic location acquisition device is activated.

[0015] Optionally, in a second implementation of the first aspect of the present invention, the terminal further includes a neural network processor, wherein comparing the target geographical location with the at least one alarm trigger location, and activating the alarm notification if the locations are the same, includes:

[0016] The target geographical location is compared with the trigger location of at least one alarm clock. If the locations are the same, the most recent target travel route is collected, and the destination of the target travel route is the target alarm clock area.

[0017] The neural network processor is invoked to perform scene recognition on the target scene data to obtain the target scene type corresponding to the target scene data. The target scene data includes the target alarm clock area, the target travel route, and the system time.

[0018] Based on the preset alarm reminder parameters for each scenario type, activate the alarm reminder corresponding to the target scenario type.

[0019] Optionally, in a third implementation of the first aspect of the present invention, before invoking the neural network processor to perform scene recognition on the target scene data and obtain the target scene type corresponding to the target scene data, the method further includes:

[0020] Obtain user travel history data within a pre-defined time period;

[0021] Clustering training is performed on the neural network processor based on the user's travel history data.

[0022] Optionally, in a fourth implementation of the first aspect of the present invention, the step of calling the neural network processor to perform scene recognition on the target scene data to obtain the target scene type corresponding to the target scene data includes:

[0023] The neural network processor is invoked to perform cluster analysis on the target scenario data to obtain the target data cluster in which the target scenario data belongs.

[0024] Based on the scenario labels pre-labeled for each data cluster, the target scenario type corresponding to the target data cluster is determined.

[0025] Optionally, in a fifth implementation of the first aspect of the present invention, after comparing the target geographical location with the at least one alarm clock trigger location, and if the locations are the same, then after activating the alarm clock notification, the method further includes:

[0026] Upon receiving a user's alarm confirmation command, the target alarm plan is moved from the preset first plan queue to the preset second plan queue. After a preset time period, the target alarm plan is moved from the second plan queue back to the first plan queue. The first plan queue is used to activate alarm plans, and the second plan queue is used to temporarily store invalid alarm plans.

[0027] Upon receiving a user's input command to delete an alarm, the target alarm schedule is moved from the first schedule queue or the second schedule queue to a preset third schedule queue, wherein the third schedule queue is used to periodically release alarm schedules.

[0028] Optionally, in a sixth implementation of the first aspect of the present invention, after comparing the target geographical location with the at least one alarm trigger location, and activating the alarm notification if the locations are the same, the method further includes:

[0029] If the locations are different, the distance between the target geographical location and each of the alarm clock trigger locations is calculated separately;

[0030] Determine the shortest distance between the target geographical location and each of the alarm clock trigger locations;

[0031] If the shortest distance is not greater than a preset threshold, then alarm clock ringing parameters corresponding to the shortest distance are generated based on preset rules. The alarm clock ringing parameters include the alarm clock ringing type, volume, vibration intensity, and ringing duration.

[0032] The alarm will be activated based on the alarm ringing parameters corresponding to the shortest distance.

[0033] A second aspect of the present invention provides an alarm clock control device applied to a terminal, the terminal including a geographic location acquisition device, the alarm clock control device comprising:

[0034] The data receiving module is used to receive the target alarm clock plan input by the user. The target alarm clock plan includes alarm clock setting parameters, including alarm clock position parameters.

[0035] The location acquisition module is used to call the geographic location acquisition device based on a preset frequency to acquire the current target geographic location;

[0036] The region determination module is used to determine the target alarm clock region based on the alarm clock location parameters.

[0037] The location acquisition module is used to acquire at least one alarm trigger location corresponding to the target alarm clock area;

[0038] The alarm clock notification module is used to compare the target geographical location with the at least one alarm clock trigger location. If the locations are the same, the alarm clock notification is activated.

[0039] Optionally, in a first implementation of the second aspect of the present invention, the alarm clock control device further includes:

[0040] The time acquisition module is used to obtain the current system time;

[0041] The time period determination module is used to determine the target alarm time period in which the alarm plan will take effect based on the alarm time parameters.

[0042] The device activation module is used to compare the system time with the target alarm time period. If the system time is within the target alarm time period, the geographic location acquisition device is activated.

[0043] Optionally, in a second implementation of the second aspect of the present invention, the terminal further includes a neural network processor, and the alarm clock notification module specifically includes:

[0044] The route acquisition unit is used to compare the target geographical location with the at least one alarm clock trigger location. If the locations are the same, the most recent target travel route is acquired, and the destination of the target travel route is the target alarm clock area.

[0045] The scene recognition unit is used to call the neural network processor to perform scene recognition on the target scene data to obtain the target scene type corresponding to the target scene data. The target scene data includes the target alarm clock area, the target travel route, and the system time.

[0046] The response prompt unit is used to activate the alarm prompt corresponding to the target scenario type according to the alarm prompt parameters preset for each scenario type.

[0047] Optionally, in a third implementation of the second aspect of the present invention, the alarm clock notification module specifically includes:

[0048] The route acquisition unit is used to compare the target geographical location with the at least one alarm clock trigger location. If the locations are the same, the most recent target travel route is acquired, and the destination of the target travel route is the target alarm clock area.

[0049] The data acquisition unit is used to acquire users' travel history data within a preset time period.

[0050] A clustering training unit is used to perform clustering training on the neural network processor based on the user's travel history data;

[0051] The scene recognition unit is used to call the neural network processor to perform scene recognition on the target scene data to obtain the target scene type corresponding to the target scene data. The target scene data includes the target alarm clock area, the target travel route, and the system time.

[0052] The response prompt unit is used to activate the alarm prompt corresponding to the target scenario type according to the alarm prompt parameters preset for each scenario type.

[0053] Optionally, in a fourth implementation of the second aspect of the present invention, the scene recognition unit is specifically used for:

[0054] The neural network processor is invoked to perform cluster analysis on the target scenario data to obtain the target data cluster in which the target scenario data belongs.

[0055] Based on the scenario labels pre-labeled for each data cluster, the target scenario type corresponding to the target data cluster is determined.

[0056] Optionally, in a fifth implementation of the second aspect of the present invention, the alarm clock control device further includes:

[0057] The plan storage module is used to move the target alarm plan from the preset first plan queue to the preset second plan queue after receiving the alarm confirmation command input by the user, and to move the target alarm plan from the second plan queue to the first plan queue after a preset time period. The first plan queue is used to activate the alarm plan, and the second plan queue is used to temporarily store the invalid alarm plan.

[0058] The plan release module is used to move the target alarm plan from the first plan queue or the second plan queue to a preset third plan queue after receiving a user input alarm deletion command. The third plan queue is used to release alarm plans periodically.

[0059] Optionally, in a sixth implementation of the second aspect of the present invention, the alarm clock control device further includes:

[0060] The distance calculation module is used to calculate the distance between the target geographical location and each of the alarm clock trigger locations if the locations are different.

[0061] The shortest distance determination module is used to determine the shortest distance between the target geographical location and each of the alarm clock trigger locations;

[0062] The alarm parameter generation module is used to generate alarm clock alarm parameters corresponding to the shortest distance based on preset rules if the shortest distance is not greater than a preset threshold. The alarm clock alarm parameters include the alarm type, volume, vibration intensity and alarm duration.

[0063] The response prompt module is used to activate the alarm clock prompt based on the alarm clock ringing parameters corresponding to the shortest distance.

[0064] A third aspect of the present invention provides an alarm clock control device, comprising: a memory and at least one processor, wherein the memory stores instructions; the at least one processor invokes the instructions in the memory to cause the alarm clock control device to perform the various steps of the above-described alarm clock control method.

[0065] A fourth aspect of the present invention provides a computer-readable storage medium storing instructions that, when executed on a computer, cause the computer to perform the steps of the alarm clock control method described above.

[0066] The technical solution provided by this invention involves receiving a target alarm schedule, collecting the current target geographical location, determining the target alarm region based on the alarm location parameters in the target alarm schedule, obtaining at least one alarm trigger location corresponding to the target alarm region, comparing the target geographical location with each alarm trigger location, and activating the alarm notification if the locations are the same. This invention obtains the terminal's geographical location to provide alarm reminders based on location changes, resulting in more accurate reminders. Attached Figure Description

[0067] Figure 1 This is a schematic diagram of the first embodiment of the alarm clock control method in this invention;

[0068] Figure 2 This is a schematic diagram of a second embodiment of the alarm clock control method in this invention;

[0069] Figure 3 This is a schematic diagram of a third embodiment of the alarm clock control method in this invention;

[0070] Figure 4 This is a schematic diagram of the fourth embodiment of the alarm clock control method in this invention;

[0071] Figure 5 This is a schematic diagram of one embodiment of the alarm clock control device in this invention;

[0072] Figure 6 This is a schematic diagram of another embodiment of the alarm clock control device in this invention;

[0073] Figure 7 This is a schematic diagram of one embodiment of the alarm clock control device in this invention. Detailed Implementation

[0074] This invention provides an alarm clock control method, device, equipment, and storage medium that provides alarm reminders based on location changes, making the reminders more accurate.

[0075] The terms “first,” “second,” “third,” “fourth,” etc. (if present) in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms “comprising” or “having,” and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0076] It is understood that the executing entity of this invention can be an alarm clock control device, a terminal, or a server; no specific limitation is made here. This embodiment of the invention will be described using a server as an example.

[0077] The embodiments of this application can acquire and process relevant data based on artificial intelligence technology. Artificial intelligence (AI) refers to the theories, methods, technologies, and application systems that use digital computers or machines controlled by digital computers to simulate, extend, and expand human intelligence, perceive the environment, acquire knowledge, and use that knowledge to obtain optimal results.

[0078] Foundational technologies for artificial intelligence generally include sensors, dedicated AI chips, cloud computing, distributed storage, big data processing, operating / interactive systems, and mechatronics. AI software technologies mainly encompass computer vision, robotics, biometrics, speech processing, natural language processing, and machine learning / deep learning.

[0079] It should be noted that in all embodiments of the present invention, data collection of user privacy data (such as user travel history data) is performed only after obtaining the user's permission to collect data.

[0080] For ease of understanding, the specific process of the embodiments of the present invention is described below. Please refer to [link / reference]. Figure 1 The first embodiment of the alarm clock control method in this invention includes:

[0081] 101. Receive the target alarm clock plan input by the user, which includes alarm clock setting parameters, including alarm clock location parameters;

[0082] It is understandable that the terminal generates an alarm plan based on the alarm settings parameters, which include at least the alarm location parameters. Users can set the alarm location parameters of the target alarm plan according to the application scenario that requires alarm reminders and their geographical location.

[0083] For example, in a commuting scenario, the geographical location of the user's office building can be used as the alarm clock's location parameter. When the user enters or leaves the office building, an alarm clock will be generated to remind the user to clock in and out.

[0084] The alarm clock location parameter is used to characterize the geographical location of the alarm clock plan execution. For example, it can be specific street and building number information, latitude and longitude information, etc. This embodiment does not limit it.

[0085] 102. Based on a preset frequency, invoke the geographic location acquisition device to collect the current target geographic location;

[0086] It is understood that the geographic location acquisition device can collect addresses based on modules such as GPS, WIFI, and mobile networks, and the collection frequency can also be adjusted according to actual needs. This embodiment does not limit it.

[0087] 103. Determine the target alarm clock area based on the alarm clock's location parameters;

[0088] It is understandable that the target alarm clock area is the area actually included by the alarm clock location parameter. For example, if the alarm clock location parameter is Building 01 in Park A, then the target alarm clock area includes all areas of Building 01.

[0089] Optionally, to improve the accuracy of the target alarm clock area positioning, the terminal can determine multiple candidate alarm clock areas based on the alarm clock location parameters, and display these multiple candidate alarm clock areas on the terminal for the user to select and confirm, thereby using the candidate alarm clock area selected by the user as the target alarm clock area.

[0090] Optionally, to further improve the accuracy of the target alarm area, the terminal can display the target alarm area and receive user-inputted area adjustment commands to customize the coverage of the target alarm area. These area adjustment commands include, but are not limited to, screen touch commands, keyboard input commands, and voice input commands; this embodiment does not specifically limit their application.

[0091] 104. Obtain at least one alarm trigger position corresponding to the target alarm clock area;

[0092] It is understood that the alarm trigger location can be any location within the target alarm clock area, such as the entrance of an office building or a corridor. This embodiment does not limit it.

[0093] Users can set at least one alarm trigger location in the target alarm area according to their actual needs and store it. The storage location can be the terminal's local storage unit or a remote server. This embodiment does not make any specific limitations on it.

[0094] 105. Compare the target's geographical location with the trigger locations of each alarm clock. If the locations are the same, then activate the alarm clock notification.

[0095] It is understandable that when the target geographical location of the terminal reaches the set alarm trigger location, the alarm will be activated and an alarm reminder will be generated. In this embodiment, the form and specific content of the alarm reminder are not specifically limited. For example, the terminal obtains the alarm response parameters contained in the target alarm plan, such as ringing or vibrating, the volume of the ringing, the intensity of the vibration, etc.

[0096] Optionally, once the alarm is activated, the user can confirm receipt of the alarm via their device. Confirmation methods include, but are not limited to, touchscreen, button, and voice.

[0097] Understandably, because this target alarm plan is based on location-based triggering, it is prone to frequent false alarms. For example, the target alarm area includes four relatively close alarm trigger locations: A, B, C, and D. When the device reaches location A, the target alarm plan is triggered, and the user confirms it. However, as the user moves, they may move to locations B, C, or D, triggering the alarm again, resulting in frequent false alarms. Therefore, the device sets an invalid period for the target alarm plan after it is enabled. During this invalid period, the target alarm plan will not trigger even if the trigger location conditions are met, thus avoiding the problem of frequent false alarms.

[0098] Specifically, after receiving the alarm confirmation command input by the user, the terminal can move the target alarm plan from the preset first plan queue to the preset second plan queue, and after a preset time period, move the target alarm plan from the second plan queue to the first plan queue. The first plan queue is used to activate the alarm plan, and the second plan queue is used to temporarily store the invalid alarm plan.

[0099] Optionally, when the terminal receives the alarm clock deletion command input by the user, it moves the target alarm clock plan from the first plan queue or the second plan queue to a preset third plan queue, wherein the third plan queue is used to periodically release the alarm clock plan.

[0100] In this embodiment of the invention, by obtaining the geographical location of the terminal, alarm reminders are made based on location changes, making the reminders more accurate.

[0101] Please see Figure 2The second embodiment of the alarm clock control method in this invention includes:

[0102] 201. Receive the target alarm clock plan input by the user. The target alarm clock plan includes alarm clock setting parameters, which include alarm clock location parameters and alarm clock time parameters.

[0103] Step 201 is similar to the execution steps of step 101 above, and will not be described in detail here.

[0104] 202. Get the current system time;

[0105] 203. Determine the target alarm time period for the alarm schedule to take effect based on the alarm time parameters;

[0106] Understandably, the terminal formats the alarm time parameters into a target alarm time period in a standard time format, such as Coordinated Universal Time (UTC), according to a preset time formatting function. It should be noted that the time standard used for this target alarm time period is the same as the terminal's system time.

[0107] 204. Compare the system time with the target alarm time period. If the system time is within the target alarm time period, then activate the geolocation acquisition device.

[0108] It is understandable that when the system time is within the target alarm time period, it means that the target alarm plan meets the alarm activation conditions in the time dimension at the current time point, thereby further activating the geolocation acquisition device to collect the current geolocation information, and then determining whether the target alarm plan meets the alarm activation conditions in the geolocation dimension.

[0109] 205. Based on a preset frequency, invoke the geographic location acquisition device to collect the current target geographic location;

[0110] 206. Determine the target alarm clock area based on the alarm clock's location parameters;

[0111] 207. Obtain at least one alarm trigger position corresponding to the target alarm clock area;

[0112] 208. Compare the target's geographical location with the trigger locations of each alarm clock. If the locations are the same, then activate the alarm clock notification.

[0113] Steps 205-208 are similar to the execution steps of steps 102-105 above, and will not be described in detail here.

[0114] In this embodiment of the invention, the process of activating the geolocation collection device is described in detail. By determining whether it is within the time period when the alarm clock is scheduled to take effect, the geolocation collection device is activated. This allows for further determination of whether to turn on the alarm clock notification from the geolocation perspective, making brain control more precise.

[0115] Please see Figure 3 The third embodiment of the alarm clock control method in this invention includes:

[0116] 301. Receive the target alarm clock plan input by the user, which includes alarm clock setting parameters, including alarm clock location parameters;

[0117] 302. Based on a preset frequency, invoke the geographic location acquisition device to acquire the current target geographic location;

[0118] 303. Determine the target alarm clock area based on the alarm clock's location parameters;

[0119] 304. Obtain at least one alarm trigger position corresponding to the target alarm clock area;

[0120] Steps 301-304 are similar to the execution steps of steps 101-104 above, and will not be described in detail here.

[0121] 305. Compare the target's geographical location with the trigger locations of each alarm clock. If the locations are the same, collect the most recent travel route of the target. The destination of the target's travel route is the target alarm clock area.

[0122] Understandably, the terminal stores user travel history data for the most recent preset time period. This historical data is deleted when the preset time period expires, thus saving storage space. The terminal filters out at least one candidate travel route whose destination is the target alarm clock area, and selects the route closest to the current time as the target travel route for further scenario recognition. It should be noted that this embodiment does not specifically limit the starting point of the selected candidate travel routes.

[0123] 306. Call the neural network processor to perform scene recognition on the target scene data to obtain the target scene type corresponding to the target scene data. The target scene data includes the target alarm clock area, the target travel route, and the system time.

[0124] It is understood that the terminal may include various processors, such as a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), and an embedded Neural-network Processing Unit (NPU). In this embodiment, the terminal includes the NPU. The terminal collects the user's historical travel data over a recent period and uses the NPU to perform unsupervised learning on the collected historical travel data, thereby completing NPU-based scene recognition. Optionally, this embodiment does not specifically limit the unsupervised learning algorithm, such as Principal Component Analysis (PCA), K-means, etc.

[0125] Optionally, the terminal can obtain user travel history data within a preset time period, such as data from the most recent month, and then call the NPU to perform cluster analysis on it. This divides the user travel history data from the past month into multiple data clusters, each representing a type of scenario. This user travel history data includes, but is not limited to, travel routes, travel destinations, and travel times.

[0126] Furthermore, when the terminal acquires the target scenario data, it invokes the NPU to perform cluster analysis on the target scenario data to determine the target data cluster corresponding to the target scenario data. Then, based on the scenario labels pre-labeled for each data cluster, the target scenario type corresponding to the target data cluster is determined. This scenario type could be, for example, a commuting scenario or a commuting scenario; this embodiment does not limit the specific scenario type.

[0127] 307. Based on the preset alarm reminder parameters for each scenario type, activate the alarm reminder corresponding to the target scenario type.

[0128] It is understandable that different alarm clock prompts are required for different scenario types, including the content of the prompt, the prompt method (ringing or vibrating), the volume of the ringing, the vibration intensity, etc. This embodiment does not limit these.

[0129] In this embodiment of the invention, the process of scene recognition and generating scene-corresponding alarm reminders is described in detail. By performing scene recognition based on travel information, alarm reminders of the corresponding scene type are generated, making the alarm reminders more accurate.

[0130] Please see Figure 4 The fourth embodiment of the alarm clock control method in this invention includes:

[0131] 401. Receive the target alarm clock plan input by the user, which includes alarm clock setting parameters, including alarm clock location parameters;

[0132] 402. Based on a preset frequency, invoke the geographic location acquisition device to acquire the current target geographic location;

[0133] 403. Determine the target alarm clock area based on the alarm clock's location parameters;

[0134] 404. Obtain at least one alarm trigger position corresponding to the target alarm clock area;

[0135] 405. Compare the target's geographical location with the trigger locations of each alarm clock. If the locations are the same, then activate the alarm clock notification.

[0136] Steps 401-405 are similar to steps 101-105 above, and will not be described in detail here.

[0137] 406. If the locations are not the same, calculate the distance between the target geographical location and the trigger location of each alarm clock separately;

[0138] It is understood that this embodiment does not specifically limit the type of distance; it can be the straight-line distance between two points or the distance between two points based on the actual geographical environment.

[0139] 407. Determine the shortest distance between the target's geographical location and the trigger locations of each alarm clock;

[0140] 408. If the shortest distance is not greater than the preset threshold, then generate the alarm clock ringing parameters corresponding to the shortest distance based on the preset rules. The alarm clock ringing parameters include the alarm clock ringing type, volume, vibration intensity and ringing duration.

[0141] Understandably, when the shortest distance is not greater than the preset threshold, it means that the user is close to the destination, and the terminal can set an alarm to inform the user that they are about to arrive at the destination; conversely, when the shortest distance is greater than the preset threshold, it means that the user is far from the destination, and the terminal does not need to remind the user.

[0142] 409. Set the alarm clock to ring based on the alarm clock ringing parameters corresponding to the shortest distance.

[0143] Understandably, alarm ringing parameters are used to set alarm reminders. For example, when the shortest distance is 1km, the alarm volume is 10, the vibration intensity is 15, and the alarm duration is 20 seconds; when the shortest distance is 2km, the alarm volume is 15, the vibration intensity is 20, and the alarm duration is 30 seconds. Different alarm ringing parameters can provide users with a more noticeable reminder, thus creating different levels of urgency; at the same time, it allows users to quickly understand the distance between their current location and their destination.

[0144] In this embodiment of the invention, the process of activating the corresponding type of alarm based on the distance between the terminal location and the alarm trigger location is described in detail. The response parameters of the alarm are controlled by this distance, resulting in more accurate control.

[0145] The alarm clock control method in the embodiments of the present invention has been described above. The alarm clock control device in the embodiments of the present invention is described below. Please refer to [link / reference]. Figure 5 One embodiment of the alarm clock control device in this invention includes:

[0146] Data receiving module 501 is used to receive a target alarm clock plan input by a user, wherein the target alarm clock plan includes alarm clock setting parameters, and the alarm clock setting parameters include alarm clock position parameters;

[0147] Location acquisition module 502 is used to call the geographic location acquisition device based on a preset frequency to acquire the current target geographic location;

[0148] The region determination module 503 is used to determine the target alarm clock region based on the alarm clock position parameters;

[0149] Location acquisition module 504 is used to acquire at least one alarm clock trigger location corresponding to the target alarm clock area;

[0150] The alarm clock notification module 505 is used to compare the target geographical location with the at least one alarm clock trigger location. If the locations are the same, the alarm clock notification is activated.

[0151] In this embodiment of the invention, by obtaining the geographical location of the terminal, alarm reminders are made based on location changes, making the reminders more accurate.

[0152] Please see Figure 6 Another embodiment of the alarm clock control device in this invention includes:

[0153] Data receiving module 501 is used to receive a target alarm clock plan input by a user, wherein the target alarm clock plan includes alarm clock setting parameters, and the alarm clock setting parameters include alarm clock position parameters;

[0154] Location acquisition module 502 is used to call the geographic location acquisition device based on a preset frequency to acquire the current target geographic location;

[0155] The region determination module 503 is used to determine the target alarm clock region based on the alarm clock position parameters;

[0156] Location acquisition module 504 is used to acquire at least one alarm clock trigger location corresponding to the target alarm clock area;

[0157] The alarm clock notification module 505 is used to compare the target geographical location with the at least one alarm clock trigger location. If the locations are the same, the alarm clock notification is activated.

[0158] Optionally, the alarm clock control device further includes:

[0159] Time acquisition module 506 is used to acquire the current system time;

[0160] The time period determination module 507 is used to determine the target alarm time period in which the alarm plan takes effect based on the alarm time parameters.

[0161] The device activation module 508 is used to compare the system time with the target alarm time period. If the system time is within the target alarm time period, the geographic location acquisition device is activated.

[0162] Optionally, the alarm clock control device further includes:

[0163] The plan storage module 509 is used to move the target alarm plan from the preset first plan queue to the preset second plan queue after receiving the alarm confirmation command input by the user, and to move the target alarm plan from the second plan queue to the first plan queue after a preset time period. The first plan queue is used to activate the alarm plan, and the second plan queue is used to temporarily store the invalid alarm plan.

[0164] The plan release module 510 is used to move the target alarm plan from the first plan queue or the second plan queue to a preset third plan queue after receiving an alarm deletion command input by the user. The third plan queue is used to release alarm plans periodically.

[0165] Optionally, the alarm clock control device further includes:

[0166] The distance calculation module 511 is used to calculate the distance between the target geographical location and each of the alarm clock trigger locations if the locations are different.

[0167] The shortest distance determination module 512 is used to determine the shortest distance between the target geographical location and each of the alarm clock trigger locations;

[0168] The alarm parameter generation module 513 is used to generate alarm clock alarm parameters corresponding to the shortest distance based on preset rules if the shortest distance is not greater than a preset threshold. The alarm clock alarm parameters include the alarm clock alarm type, volume, vibration intensity and alarm duration.

[0169] The response prompt module 514 is used to activate the alarm clock prompt based on the alarm clock ringing parameters corresponding to the shortest distance.

[0170] Optionally, the alarm clock notification module 505 includes:

[0171] The route acquisition unit 5051 is used to compare the target geographical location with the at least one alarm clock trigger location. If the locations are the same, the most recent target travel route is acquired, and the destination of the target travel route is the target alarm clock area.

[0172] Data acquisition unit 5052 is used to acquire user travel history data within a preset time period.

[0173] Clustering training unit 5053 is used to perform clustering training on the neural network processor based on the user's travel history data;

[0174] The scene recognition unit 5054 is used to call the neural network processor to perform scene recognition on the target scene data to obtain the target scene type corresponding to the target scene data. The target scene data includes the target alarm clock area, the target travel route and the system time.

[0175] The response prompt unit 5055 is used to activate the alarm prompt corresponding to the target scenario type according to the alarm prompt parameters preset for each scenario type.

[0176] Optionally, the scene recognition unit 5054 is specifically used for:

[0177] The neural network processor is invoked to perform cluster analysis on the target scenario data to obtain the target data cluster in which the target scenario data belongs.

[0178] Based on the scenario labels pre-labeled for each data cluster, the target scenario type corresponding to the target data cluster is determined.

[0179] In this embodiment of the invention, the modular design allows the hardware of each part of the alarm clock control device to focus on the implementation of a specific function, maximizing the performance of the hardware. At the same time, the modular design also reduces the coupling between the modules of the device, making it more convenient to maintain.

[0180] above Figure 5 and Figure 6The alarm clock control device in the embodiments of the present invention will be described in detail from the perspective of modular functional entities. The alarm clock control device in the embodiments of the present invention will be described in detail from the perspective of hardware processing.

[0181] Figure 7 This is a schematic diagram of the structure of an alarm clock control device 700 provided in an embodiment of the present invention. The alarm clock control device 700 can vary significantly due to different configurations or performance characteristics. It may include one or more processors 710 (e.g., one or more processors) and a memory 720, and one or more storage media 730 (e.g., one or more mass storage devices) for storing application programs 733 or data 732. The memory 720 and storage media 730 can be temporary or persistent storage. The program stored in the storage media 730 may include one or more modules (not shown in the diagram), each module including a series of instruction operations on the alarm clock control device 700. Furthermore, the processor 710 may be configured to communicate with the storage media 730 and execute the series of instruction operations in the storage media 730 on the alarm clock control device 700.

[0182] The alarm clock control device 700 may also include one or more power supplies 740, one or more wired or wireless network interfaces 750, one or more input / output interfaces 760, and / or one or more operating systems 731, such as Windows Server, Mac OS X, Unix, Linux, FreeBSD, etc. Those skilled in the art will understand that... Figure 7 The alarm clock control device structure shown does not constitute a limitation on the alarm clock control device, and may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0183] The present invention also provides an alarm clock control device, wherein the computer device includes a memory and a processor, the memory storing computer-readable instructions, and when the computer-readable instructions are executed by the processor, the processor performs the various steps of the alarm clock control method in the above embodiments.

[0184] The present invention also provides a computer-readable storage medium, which can be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium, wherein the computer-readable storage medium stores instructions that, when the instructions are executed on a computer, cause the computer to perform the various steps of the alarm clock control method.

[0185] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0186] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0187] This application can be used in a wide variety of general-purpose or special-purpose computer system environments or configurations. Examples include: personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, and distributed computing environments including any of the above systems or devices. This application can be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc., that perform specific tasks or implement specific abstract data types. This application can also be practiced in distributed computing environments where tasks are performed by remote processing devices connected via a communication network. In distributed computing environments, program modules can reside in local and remote computer storage media, including storage devices.

[0188] The above-described embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. An alarm clock control method, applied to a terminal, the terminal including a geographic location acquisition device and a neural network processor, characterized in that, The alarm clock control method includes: Receive a target alarm clock plan input by the user, the target alarm clock plan including alarm clock setting parameters, the alarm clock setting parameters including alarm clock location parameters; The geographic location acquisition device is invoked based on a preset frequency to acquire the current target geographic location; Determine the target alarm clock area based on the alarm clock position parameters; Obtain at least one alarm trigger position corresponding to the target alarm clock area; The target geographical location is compared with the at least one alarm trigger location. If the locations are the same, the alarm is activated. The step of comparing the target geographical location with the at least one alarm trigger location, and activating the alarm notification if the locations are the same, includes comparing the target geographical location with the at least one alarm trigger location, and if the locations are the same, collecting the most recent target travel route, the destination of which is the target alarm area; calling the neural network processor to perform scene recognition on the target scene data to obtain the target scene type corresponding to the target scene data, the target scene data including the target alarm area, the target travel route, and the current system time; and activating the alarm notification corresponding to the target scene type according to the alarm notification parameters preset for each scene type.

2. The alarm clock control method according to claim 1, characterized in that, The alarm clock setting parameters also include alarm clock time parameters. After receiving the alarm clock plan input by the user, and before calling the geographic location acquisition device based on the preset frequency to acquire the current target geographic location, the following steps are also included: Determine the target alarm time period for the alarm schedule to take effect based on the alarm time parameters; The system time is compared with the target alarm time period. If the system time is within the target alarm time period, the geographic location acquisition device is activated.

3. The alarm clock control method according to claim 1, characterized in that, Before invoking the neural network processor to perform scene recognition on the target scene data and obtain the target scene type corresponding to the target scene data, the method further includes: Obtain user travel history data within a pre-defined time period; Clustering training is performed on the neural network processor based on the user's travel history data.

4. The alarm clock control method according to claim 1, characterized in that, The step of calling the neural network processor to perform scenario recognition on the target scenario data to obtain the target scenario type corresponding to the target scenario data includes: The neural network processor is invoked to perform cluster analysis on the target scenario data to obtain the target data cluster in which the target scenario data belongs. Based on the scenario labels pre-labeled for each data cluster, the target scenario type corresponding to the target data cluster is determined.

5. The alarm clock control method according to claim 1, characterized in that, The step of comparing the target geographical location with the at least one alarm trigger location, and then, after activating the alarm notification, further includes: Upon receiving a user's alarm confirmation command, the target alarm plan is moved from the preset first plan queue to the preset second plan queue. After a preset time period, the target alarm plan is moved from the second plan queue back to the first plan queue. The first plan queue is used to activate alarm plans, and the second plan queue is used to temporarily store invalid alarm plans. Upon receiving a user's input command to delete an alarm, the target alarm schedule is moved from the first schedule queue or the second schedule queue to a preset third schedule queue, wherein the third schedule queue is used to periodically release alarm schedules.

6. The alarm clock control method according to any one of claims 1-5, characterized in that, The step of comparing the target geographical location with the at least one alarm trigger location, and then activating the alarm notification if the locations are the same, further includes: If the locations are different, the distance between the target geographical location and each of the alarm clock trigger locations is calculated separately; Determine the shortest distance between the target geographical location and each of the alarm clock trigger locations; If the shortest distance is not greater than a preset threshold, then alarm clock ringing parameters corresponding to the shortest distance are generated based on preset rules. The alarm clock ringing parameters include the alarm clock ringing type, volume, vibration intensity, and ringing duration. The alarm will be activated based on the alarm ringing parameters corresponding to the shortest distance.

7. An alarm clock control device, applied to a terminal, the terminal including a geographic location acquisition device and a neural network processor, characterized in that, The alarm clock control device includes: The data receiving module is used to receive the target alarm clock plan input by the user. The target alarm clock plan includes alarm clock setting parameters, including alarm clock position parameters. The location acquisition module is used to call the geographic location acquisition device based on a preset frequency to acquire the current target geographic location; The region determination module is used to determine the target alarm clock region based on the alarm clock location parameters. The location acquisition module is used to acquire at least one alarm trigger location corresponding to the target alarm clock area; An alarm clock notification module is used to compare the target geographical location with the at least one alarm clock trigger location. If the locations are the same, the alarm clock notification is activated. The step of comparing the target geographical location with the at least one alarm trigger location, and activating the alarm notification if the locations are the same, includes comparing the target geographical location with the at least one alarm trigger location, and if the locations are the same, collecting the most recent target travel route, the destination of which is the target alarm area; calling the neural network processor to perform scene recognition on the target scene data to obtain the target scene type corresponding to the target scene data, the target scene data including the target alarm area, the target travel route, and the current system time; and activating the alarm notification corresponding to the target scene type according to the alarm notification parameters preset for each scene type.

8. An alarm clock control device, characterized in that, The alarm clock control device includes: a memory and at least one processor, wherein the memory stores instructions; The at least one processor invokes the instructions in the memory to cause the alarm clock control device to perform the steps of the alarm clock control method as described in any one of claims 1-6.

9. A computer-readable storage medium storing instructions thereon, characterized in that, When the instructions are executed by the processor, they implement the steps of the alarm clock control method as described in any one of claims 1-6.

Citation Information

Patent Citations

  • Alarm clock prompting method and alarm clock prompting device based on geographic position

    CN106447276A