Alarm clock processing method and device, electronic equipment and storage medium

By acquiring the status information of the electronic device at the first point in time and controlling the alarm clock prompt of the second electronic device, the problem of insufficient flexibility in alarm clock reminding in the prior art is solved, and more efficient alarm clock management and user experience are achieved.

CN119544859APending Publication Date: 2025-02-28VIVO MOBILE COMM CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411402766.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-09
Publication Date
2025-02-28

AI Technical Summary

Technical Problem

In the prior art, electronic devices have poor flexibility in notifying alarm clocks, resulting in users being disturbed by unnecessary alarm clocks in specific scenarios.

Method used

By acquiring the status information of the electronic device at the first point in time, and when the status information indicates that the device is in a specific state, the second electronic device is controlled to prompt an alarm clock matter and cancel the alarm clock in the first electronic device.

Benefits of technology

It improves the flexibility of notifying alarm clocks with electronic devices, avoids unnecessary alarm clock disturbances in specific scenarios, and ensures user convenience in different scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119544859A_ABST
    Figure CN119544859A_ABST
Patent Text Reader

Abstract

The invention discloses an alarm clock processing method and device, electronic equipment and a storage medium, and belongs to the technical field of electronics. The method comprises: at a first time point, obtaining state information of a first electronic device, the first time point being a time point before an alarm clock starting time point corresponding to a first alarm clock item; and under the condition that the state information indicates that the first electronic equipment is in the first state, controlling the second electronic equipment to prompt the first alarm clock item, and cancelling the first alarm clock item in the first electronic equipment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of electronic technology, and specifically relates to an alarm processing method, device, electronic equipment, and storage medium. Background Art

[0002] Currently, in order not to miss important notifications, users can usually set an alarm in an electronic device. When the system time of the electronic device reaches the alarm time, the electronic device can ring to remind the user.

[0003] However, the flexibility of the alarm event notification of the electronic device in the related art is poor. Summary of the invention

[0004] The purpose of the embodiments of the present application is to provide an alarm processing method, device, electronic device and storage medium to improve the flexibility of alarm event notification of electronic devices.

[0005] In a first aspect, an embodiment of the present application provides an alarm processing method, which includes: at a first time point, obtaining status information of a first electronic device, the first time point being a time point before an alarm start time point corresponding to a first alarm event; when the status information indicates that the first electronic device is in a first state, controlling a second electronic device to prompt the first alarm event, and canceling the first alarm event in the first electronic device.

[0006] In a second aspect, an embodiment of the present application provides an alarm processing device, which includes: an acquisition module and a processing module. The acquisition module is used to acquire the state information of the first electronic device at a first time point, and the first time point is a time point before the alarm start time point corresponding to the first alarm event. The processing module is used to control the second electronic device to prompt the first alarm event and cancel the first alarm event in the first electronic device when the state information indicates that the first electronic device is in the first state.

[0007] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the program or instructions are executed by the processor, the steps of the method described in the first aspect are implemented.

[0008] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.

[0009] In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect.

[0010] In a sixth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the method described in the first aspect.

[0011] In the embodiment of the present application, at a first time point, the state information of the first electronic device can be obtained, and the first time point is a time point before the alarm start time point corresponding to the first alarm event; then, when the state information indicates that the first electronic device is in the first state, the second electronic device can be controlled to prompt the first alarm event and cancel the first alarm event in the first electronic device. In this solution, the second electronic device is determined to prompt the alarm through the state information, which improves the flexibility of the electronic device to remind the alarm event notification, and cancels the alarm of the first electronic device to avoid disturbing the user. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] Figure 1 It is one of the flow charts of the alarm processing method provided in the embodiment of the present application;

[0013] Figure 2 is a schematic diagram of an example of alarm information provided by an embodiment of the present application;

[0014] Figure 3 This is the second flowchart of the alarm processing method provided in the embodiment of the present application;

[0015] Figure 4 This is the third flowchart of the alarm processing method provided in the embodiment of the present application;

[0016] Figure 5 is a schematic diagram of an example of an alarm clock logo provided in an embodiment of the present application;

[0017] Figure 6 This is the fourth flowchart of the alarm processing method provided in the embodiment of the present application;

[0018] Figure 7 is a structural schematic diagram of an alarm clock processing device provided in an embodiment of the present application;

[0019] Figure 8 This is one of the hardware structure diagrams of the electronic device provided in the embodiment of the present application;

[0020] Fig. 9 This is the second schematic diagram of the hardware structure of the electronic device provided in the embodiment of the present application. DETAILED DESCRIPTION

[0021] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.

[0022] The terms "first", "second", etc. in the specification and claims of this application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the terms unlocked in this way are interchangeable where appropriate, so that the embodiments of the present application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", etc. are generally of the same type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the previously associated objects are in an "or" relationship.

[0023] The terms "at least one (item)", "at least one of" and the like in the specification and claims of the present application refer to any one, any two or a combination of more than two of the objects included therein. For example, at least one (item) of a, b, and c can be represented by: "a", "b", "c", "a and b", "a and c", "b and c" and "a, b and c", where a, b, and c can be single or multiple. Similarly, "at least two (items)" refers to two or more, and its meaning is similar to that of "at least one (item)".

[0024] The alarm processing method, device, electronic device and storage medium provided in the embodiments of the present application are described in detail below with reference to the accompanying drawings through specific embodiments and their application scenarios.

[0025] The alarm processing method, device, electronic device and storage medium provided in the embodiments of the present application can be applied in scenarios where an alarm is used to remind a user to handle to-do items. For example, an alarm rings in an office scenario, or in a meeting scenario, or in a chat scenario.

[0026] Scenario 1: A user sets an alarm for 10 o'clock on a first electronic device on a non-working day, such as Saturday or Sunday. The note of the alarm is to take a family photo at 10 o'clock on Sunday morning. After the first electronic device rings at 10 o'clock on Sunday morning, the user does not turn off the alarm in the alarm application, causing the first electronic device to ring at 10 o'clock on a working day, such as Monday. If the user is in a meeting at this time, the user's meeting progress will be disturbed.

[0027] Scenario 2: A user sets an alarm for 9 o'clock on a first electronic device on a weekday, such as Friday. The note of the alarm is a meeting at 9 o'clock on Friday morning. After the first electronic device rings at 9 o'clock on Friday morning, the user does not turn off the alarm in the alarm application, causing the first electronic device to ring at 9 o'clock in the morning on a non-working day, such as Saturday. If the user is sleeping at this time, it will disturb the user's rest.

[0028] The execution subject of the alarm processing method provided in the embodiment of the present application may be an alarm processing device, which may be an electronic device, or a functional module or entity in an electronic device. The technical solution provided in the embodiment of the present application is described below using an electronic device as an example.

[0029] The present application embodiment provides an alarm processing method. Figure 1 FIG. 1 is a flow chart of an alarm processing method provided by an embodiment of the present application. Figure 1 As shown, the alarm processing method provided in the embodiment of the present application may include the following steps 201 and 202.

[0030] Step 201: At a first time point, a first electronic device obtains state information of the first electronic device.

[0031] In the embodiment of the present application, the above-mentioned first time point is a time point before the alarm start time point corresponding to the first alarm event.

[0032] Optionally, in the embodiment of the present application, the first time point may be user-defined or preset by the electronic device, which may be determined according to actual use requirements and is not limited by the embodiment of the present application.

[0033] For example, the first time point may be a time point corresponding to one minute before the alarm start time point corresponding to the first alarm event. Alternatively, the first time point may be a time point corresponding to 30 seconds before the alarm start time point. Alternatively, the first time point may be a time point corresponding to 3 seconds before the alarm start time point.

[0034] For example, when the alarm start time is 8:00, the first time point can be 7:59; or, when the alarm start time is 8:00, the first time point can be 7:59:30; or, when the alarm start time is 8:00, the first time point can be 7:59:57.

[0035] In the embodiment of the present application, the alarm start time point is the ringing time point of the first alarm corresponding to the first alarm event.

[0036] For example, a user sets an alarm on a mobile phone to ring at 9:00 in the morning, and 9:00 is the ringing time point.

[0037] In the embodiment of the present application, the above-mentioned state information indicates that the first electronic device is in an unlocked state or an unlocked state.

[0038] Optionally, in an embodiment of the present application, the above status information can be 0 or 1.

[0039] It can be understood that if the above status information is 0, it means that the first electronic device is in a non-unlocked state; if the above status information is 1, it means that the first electronic device is in an unlocked state.

[0040] Optionally, in an embodiment of the present application, at a first time point, the first electronic device can detect an unlocked state of the electronic device, thereby determining state information of the electronic device.

[0041] Exemplarily, at a first point in time, the first electronic device may detect whether the screen status of the electronic device is in an unlocked state. When it is determined that the screen status of the first electronic device is in an unlocked state, the first electronic device may set the status information to 1 to indicate that the first electronic device is currently in an unlocked state; when the first electronic device determines that the screen status of the first electronic device is in an unlocked state, the first electronic device may set the status information to 0 to indicate that the first electronic device is in an unlocked state.

[0042] For example, the first electronic device can determine whether the first electronic device is in an unlocked state by detecting whether the desktop or any application interface is displayed. For example, when the first electronic device displays the desktop, the first electronic device can determine that the first electronic device is in an unlocked state; when the first electronic device displays the lock screen interface, the first electronic device can determine that the first electronic device is in a non-unlocked state.

[0043] In the embodiment of the present application, at least one alarm clock may be provided in the first electronic device, and the alarm clock corresponding to the first alarm clock event may be any one of the at least one alarm clock.

[0044] Step 202: When the state information indicates that the first electronic device is in the first state, the first electronic device controls the second electronic device to prompt the first alarm event and cancels the first alarm event in the first electronic device.

[0045] Optionally, in the embodiment of the present application, the first state may be an unlocked state, and the first electronic device performs a first operation; or the first state may be a non-unlocked state.

[0046] Optionally, in the embodiment of the present application, the first operation may be any one of the following: a video call operation, a voice call operation, or a video playback operation, etc. The specific operation may be determined according to actual use requirements, and the embodiment of the present application does not limit the operation.

[0047] In the embodiment of the present application, the first state can be used to represent that the user is using the first electronic device.

[0048] In the implementation of the present application, the second electronic device may be an electronic device that at least includes an alarm clock function.

[0049] Exemplarily, when the first electronic device is a mobile phone, the second electronic device may be a watch, a personal computer, a tablet computer or other electronic device; or, when the first electronic device is a watch, the second electronic device may be a personal computer, a tablet computer, a mobile phone or other electronic device; or, when the first electronic device is a personal computer, the second electronic device may be a watch, a tablet computer, a mobile phone or other electronic device; or, when the first electronic device is a tablet computer, the second electronic device may be a watch, a personal computer, a mobile phone or other electronic device.

[0050] Exemplarily, the first electronic device may be connected to the second electronic device via Wireless Fidelity (WiFi); or the first electronic device may be connected to the second electronic device via Bluetooth.

[0051] Optionally, in an embodiment of the present application, the first electronic device may have the same system account logged in as the second electronic device, so that the second electronic device can find the first electronic device through the system account.

[0052] Exemplarily, the second electronic device can find the first electronic device through the identity document (ID) of the second electronic device in the login information corresponding to the system account.

[0053] It should be noted that the second electronic device prompts the first alarm event as a silent prompt, that is, it displays the text information corresponding to the first alarm event and does not ring the alarm.

[0054] Optionally, in the embodiment of the present application, the second electronic device may prompt the first alarm event through the first information.

[0055] Optionally, in an embodiment of the present application, the above-mentioned first information may include at least one of the following: an alarm identification and alarm event information.

[0056] Exemplarily, the alarm clock logo may be any of the following: an alarm clock icon logo, an alarm clock text logo, an alarm clock event name, an emoticon logo or a special symbol logo, etc. The specific logo may be determined according to actual usage, and the present application embodiment does not limit it.

[0057] Exemplarily, the above alarm event information may be the alarm note information of the first alarm event, for example, a meeting at 9 am; or taking a family photo at 10 am.

[0058] Optionally, in the embodiment of the present application, the first information may further include an alarm off control, which is used to turn off the alarm corresponding to the first event information. Exemplarily, the alarm off control may be any of the following: a text identification control, a picture identification control, an expression identification control, or a special symbol identification control, etc. The specific information may be determined according to actual usage, and the embodiment of the present application does not limit the information.

[0059] Optionally, in the embodiment of the present application, the second electronic device may display the first information in a status bar; or, the second electronic device may display the first information through a pop-up window.

[0060] It can be understood that the above-mentioned status bar can be the area at the top of the screen in the first electronic device that displays the battery level, network operator and message notifications.

[0061] For example, when the second electronic device is displaying a video application interface, the second electronic device may display the first information through a pop-up window. Alternatively, when the second electronic device is displaying a desktop, the first electronic device may display the first information through a pop-up window.

[0062] Optionally, in an embodiment of the present application, when the system time of the second electronic device reaches the alarm start time of the first alarm event, the second electronic device may prompt the first alarm event by displaying the above-mentioned first information.

[0063] For example, Figure 2 As shown, taking the second electronic device as a mobile phone as an example, and taking the alarm start time as 9:00 as an example, when the mobile phone displays the desktop 10, when the system time of the mobile phone reaches 9:00, the mobile phone can display the alarm event information "Meeting at 9 o'clock in the morning" in the status bar 11.

[0064] In the alarm processing method provided in the embodiment of the present application, at a first time point, the state information of the first electronic device can be obtained, and the first time point is a time point before the alarm start time point corresponding to the first alarm event; then, when the state information indicates that the first electronic device is in the first state, the second electronic device can be controlled to prompt the first alarm event and cancel the first alarm event in the first electronic device. In this solution, the second electronic device is determined to prompt the alarm through the state information, which improves the flexibility of the electronic device to remind the alarm event notification, and cancels the alarm of the first electronic device to avoid disturbing the user.

[0065] Optionally, in the embodiment of the present application, combined with Figure 1 ,like Figure 3 As shown, the above step 202 can be specifically implemented through the following step 202a.

[0066] Step 202a: When the state information indicates that the first electronic device is in the first state and when it is obtained that the second electronic device is in the second state, the first electronic device controls the second electronic device to prompt the first alarm event and cancels the first alarm event in the first electronic device.

[0067] Optionally, in the embodiment of the present application, the second state may be an unlocked state or a non-unlocked state.

[0068] Exemplarily, when the second electronic device is in an unlocked state, the second electronic device may display the first information in an alarm clock interface; when the second electronic device is in an unlocked state, the second electronic device may display the first information in a screen-off interface.

[0069] Optionally, in the embodiment of the present application, when the second electronic device is in a non-unlocked state, the electronic device may prompt the first alarm event information in a second manner.

[0070] Optionally, in the embodiment of the present application, the second manner may be at least one of the following: the breathing light module flashes and vibrates, etc. The specific method may be determined according to actual usage, and the embodiment of the present application does not limit it.

[0071] It should be noted that the specific process of the second electronic device determining whether the second electronic device is in an unlocked state can be found in the above embodiment, and will not be described again here to avoid repetition.

[0072] In the embodiment of the present application, the first electronic device can control the second electronic device to prompt the first matter information, that is, the first electronic device can transmit the alarm information across devices to improve the user's experience of using the alarm.

[0073] Optionally, in the embodiment of the present application, combined with Figure 1 ,like Figure 4As shown, the above step 202 can be specifically implemented through the following steps 202b and 202c.

[0074] Step 202b: The first electronic device sends a first message to the second electronic device.

[0075] In an embodiment of the present application, after the first electronic device creates the first alarm event, the first electronic device can send the alarm setting method corresponding to the first alarm event to the first electronic device through a first message, so that the second electronic device can receive the alarm information corresponding to the first alarm event, that is, the above-mentioned first message contains the alarm setting method corresponding to the first alarm event.

[0076] Optionally, in the embodiment of the present application, the above-mentioned alarm setting method may include at least one of the following: vibration and text display of the first alarm item.

[0077] Optionally, in an embodiment of the present application, the first electronic device may send the first message to the second electronic device via Bluetooth, WiFi, or through a transmission path corresponding to a system account.

[0078] Step 202c: The first electronic device controls the second electronic device to prompt the first alarm event based on the first message, and cancels the first alarm event in the first electronic device.

[0079] Optionally, in an embodiment of the present application, when the first message includes vibration and text display, the second electronic device can randomly select an alarm setting method from the first message to prompt the first alarm item.

[0080] It should be noted that the specific process of the second electronic device prompting the first alarm event can be found in the above embodiment, and will not be described again here to avoid repetition.

[0081] In an embodiment of the present application, the second electronic device can prompt the first alarm event based on the first message generated by the first electronic device to prevent the user from missing the first alarm event; and prompting the first alarm event by the second electronic device improves the flexibility of the electronic device in reminding the alarm event notification.

[0082] Optionally, in the embodiment of the present application, the alarm processing method provided in the embodiment of the present application also includes the following step 301.

[0083] Step 301: When the state information indicates that the first electronic device is in the second state, the first electronic device prompts a first alarm event in a first manner based on the scene information where the first electronic device is located.

[0084] In the embodiment of the present application, the above-mentioned first method corresponds to the scene information.

[0085] In the embodiment of the present application, the second state may be an unlocked state.

[0086] In the embodiment of the present application, the above-mentioned scene information is used to indicate the scene in which the first electronic device is currently located.

[0087] Optionally, in an embodiment of the present application, the above-mentioned scene information may include at least one of the following: an office scene, a meeting scene, a sleeping scene or a shopping scene.

[0088] In an embodiment of the present application, the first electronic device may obtain the second information at a first time point, and determine the scene in which the first electronic device is currently located through the first information.

[0089] Optionally, in an embodiment of the present application, the second information may include at least one of the following: geographic location information, user posture information, user pulse information, ambient sound information, power consumption information, etc.

[0090] In an example, the second information includes geographic location information. At a first time point, the first electronic device can obtain the geographic location information of the first electronic device through a Global Positioning System (GPS) module.

[0091] Exemplarily, the above-mentioned geographic location information includes longitude and latitude.

[0092] In another example, the second information includes user posture information. At a first time point, the first electronic device may take a picture of the user through a camera, and then output the picture to the first algorithm to obtain the user posture information.

[0093] Exemplarily, the first algorithm may be an artificial intelligence (AI) algorithm or a neural network algorithm.

[0094] Also exemplarily, the camera may be a front camera or a rear camera.

[0095] In yet another example, the second information includes user pulse information. At a first time point, the first electronic device can obtain the user's pulse information through a pulse detection module.

[0096] In yet another example, the second information includes ambient sound information, and at a first time point, the first electronic device can obtain the ambient sound information through a microphone module.

[0097] Optionally, in an embodiment of the present application, the first electronic device may determine that the first electronic device is currently in a meeting scene through geographic location information, user posture information, and ambient sound information.

[0098] Exemplarily, the geographical location information obtained by the mobile phone is Building A, the user posture information is a sitting posture, and the volume of the sound of the current environment obtained by the mobile phone is greater than a preset volume value, the mobile phone can determine that it is currently in a meeting scene.

[0099] Optionally, in an embodiment of the present application, the first electronic device may determine that the first electronic device is currently in a sleeping scene through geographic location information, user posture information, and ambient sound information.

[0100] Exemplarily, the geographic location information obtained by the mobile phone is the B cell, the user posture information is a lying posture, and the volume of the current environment sound obtained by the mobile phone is less than a preset volume value, the mobile phone can determine that it is currently in a sleeping scene.

[0101] Optionally, in an embodiment of the present application, the first electronic device may determine that the first electronic device is currently in an office scene through geographic location information and user posture information.

[0102] For example, the geographical location information obtained by the mobile phone is Building A, and the user posture information is a sitting posture, so the mobile phone can determine that the user is currently in an office scene.

[0103] Optionally, in an embodiment of the present application, the first electronic device may determine that the first electronic device is currently in a shopping scene through geographic location information and user posture information.

[0104] For example, the geographical location information acquired by the mobile phone is C shopping mall, and the user posture information is walking, so the mobile phone can determine that it is currently in a shopping scene.

[0105] Optionally, in an embodiment of the present application, the first mode mentioned above includes any one of the following: a breathing light flashing mode, a motor vibration mode or a ringing mode.

[0106] In the embodiment of the present application, when the first electronic device is in an unlocked state, the first electronic device can prompt the user in a first manner corresponding to the current scene according to the current scene.

[0107] For example, when the first electronic device is in an unlocked state and the first electronic device is currently in a meeting scene, the first electronic device can control the breathing light module in the first electronic device to flash to prompt the user to handle the alarm.

[0108] As another example, when the first electronic device is in an unlocked state and the current scene of the first electronic device is an office scene, the first electronic device can control the motor module of the first electronic device to vibrate to prompt the user to handle the alarm.

[0109] It should be noted that when the first electronic device is a personal computer, a watch, or a tablet computer, the scene in which the first electronic device is currently located can be determined through the above examples, and the user can be prompted in the first manner corresponding to the scene in which the first electronic device is currently located. To avoid repetition, it will not be described here.

[0110] Optionally, in an embodiment of the present application, when the first electronic device is in an unlocked state, at a second time point, the first electronic device displays an alarm icon in a status bar of the first electronic device, and at a third time point, the first electronic device updates the display parameters of the alarm icon, and when the system time of the first electronic device reaches the alarm start time point, the first electronic device updates the display status of the alarm icon.

[0111] In the embodiment of the present application, the second time point is later than the first time point, and the interval between the second time point and the alarm start time point is the first duration, and the second time point is before the alarm start time point.

[0112] In an embodiment of the present application, the third time point is later than the second time point, and the interval between the third time point and the alarm start time point is the second duration, the third time point is before the alarm start time point, and the display parameter is used to indicate the display style of the alarm logo.

[0113] Optionally, in an embodiment of the present application, the first duration may be user-defined or preset for the electronic device.

[0114] Exemplarily, when the alarm start time is 9:00, the first duration may be 30 seconds, and the second time point may be 8:59:30.

[0115] In the embodiment of the present application, the first electronic device may use a certain display parameter to display an alarm icon in the status bar.

[0116] Optionally, in the embodiment of the present application, the above display parameters may be user-defined; or preset by the first electronic device.

[0117] Exemplarily, the above display parameters may include at least one of the following: color parameter, size parameter, transparency, etc.

[0118] For example, at the second time point, the first electronic device may display an orange alarm clock icon in the status bar. Alternatively, at the second time point, the first electronic device may display an orange alarm clock icon in the status bar in a first size.

[0119] Exemplarily, the first size may be user-defined or preset by the first electronic device.

[0120] It can be understood that the second duration is shorter than the first duration.

[0121] Optionally, in the embodiment of the present application, the first duration may be user-defined or preset for the electronic device. For example, when the alarm start time is 9:00, the second duration may be 3 seconds, and the third time point may be 8:59:57.

[0122] For example, at the third time point, the first electronic device may update the orange alarm clock icon to a red alarm clock icon. Alternatively, at the third time point, the first electronic device updates the orange alarm clock icon of the first size to a red alarm clock icon of the second size, wherein the second size is larger than the first size.

[0123] It should be noted that the first size, second size, red and orange mentioned above are display styles.

[0124] In the embodiment of the present application, the above display status is used to indicate the display mode of the alarm clock logo.

[0125] Optionally, in the embodiment of the present application, the above-mentioned display state may include at least one of the following: a shaking state, a color gradient state or a jumping state, etc.

[0126] Exemplarily, when the system time of the first electronic device reaches the alarm start time point, the first electronic device may update the static red alarm icon to a dynamic red gradient alarm icon.

[0127] As another example, when the system time of the first electronic device reaches the alarm start time point, the first electronic device may update the static red alarm icon to a dynamic red gradient alarm icon, and display the red gradient alarm icon in a shaking manner.

[0128] It should be noted that the execution timing of the above step 301 can be after the above step 201, and the step 301 and the above step 202 are executed in parallel.

[0129] In an embodiment of the present application, the first electronic device can display an alarm logo through different display parameters before the alarm start time of the alarm is reached, so as to remind the user that the alarm start time is about to arrive, and when the system time of the first electronic device reaches the alarm start time, the display status of the alarm logo is updated to remind the user to avoid the user missing the notification of the event.

[0130] Optionally, in an embodiment of the present application, the first electronic device may receive a first input of an alarm identifier, and then respond to the first input to display alarm event information corresponding to the alarm identifier.

[0131] In the embodiment of the present application, the above-mentioned first input is an input used to trigger the first electronic device to display the alarm event information corresponding to the alarm identifier.

[0132] Optionally, in an embodiment of the present application, the above-mentioned first input includes but is not limited to: a click input of the alarm clock logo by the user through a touch device such as a finger or a stylus, or a voice command input by the user, or a specific gesture input by the user, or other feasible input, which can be determined based on actual usage requirements and is not limited in the embodiment of the present application.

[0133] Optionally, in an embodiment of the present application, the above-mentioned specific gesture can be any one of a single-click gesture, a sliding gesture, a drag gesture, a pressure recognition gesture, a long press gesture, an area change gesture, a double-press gesture, and a double-click gesture.

[0134] Optionally, in the embodiment of the present application, the click input may be a single click input, a double click input, or any number of click inputs, etc., and may also be a long press input or a short press input. For example, the first input may be: a user clicks on the alarm clock logo.

[0135] In the embodiment of the present application, the above-mentioned alarm event information may be alarm note information.

[0136] Optionally, in an embodiment of the present application, the first electronic device may display the alarm event information corresponding to the alarm identifier in a status bar; or, the first electronic device may display the alarm event information corresponding to the alarm identifier in a pop-up window; or, the first electronic device may jump to an alarm application and display the alarm event information corresponding to the alarm identifier in the interface of the alarm application.

[0137] For example, Figure 5 As shown, when the first electronic device displays the desktop 10 and the system time of the first electronic device reaches 9:00, the alarm clock logo 12 can be displayed in the status bar 11, and the user can click on the alarm clock logo 12 to input the alarm event information "Meeting at 9 o'clock in the morning" of the first electronic device in the status bar 11.

[0138] Optionally, in an embodiment of the present application, after the first electronic device displays the alarm event information corresponding to the alarm identifier, the user can input the alarm identifier again so that the first electronic device can cancel displaying the alarm event information.

[0139] In an embodiment of the present application, the first electronic device may display the alarm event information corresponding to the alarm identifier based on the user's input to the alarm identifier; or, the first electronic device may cancel the display of the alarm event information corresponding to the alarm identifier based on the user's input to the alarm identifier, thereby improving the flexibility of the first electronic device in displaying the alarm event information corresponding to the alarm identifier.

[0140] Optionally, in an embodiment of the present application, when the first electronic device is in a non-unlocked state and the scene information of the first electronic device satisfies a first condition, when the system time of the first electronic device reaches the alarm start time point, if the first electronic device is still in a non-unlocked state, the first electronic device may use a second method to prompt the first alarm event.

[0141] In the embodiment of the present application, the second method includes any one of the following: a method of controlling the vibration of a motor of the first electronic device with a first intensity, and a method of flashing a breathing light.

[0142] In the embodiment of the present application, the above-mentioned first condition includes that the ambient volume in the scene is less than or equal to a first threshold; and the above-mentioned first intensity is less than or equal to a second threshold.

[0143] In the embodiment of the present application, the second threshold may be user-defined or preset by the first electronic device. The second threshold is less than the default motor vibration intensity of the first electronic device (also referred to as the preset motor vibration intensity), and the first intensity is less than the default motor vibration intensity of the first electronic device, that is, the first electronic device reduces the motor vibration intensity to prompt the first alarm event in the form of motor vibration.

[0144] In the embodiment of the present application, the first intensity is less than the preset motor vibration intensity of the first electronic device. For example, when the first electronic device is in a non-unlocked state and the scene information of the first electronic device meets the first condition, when the system time of the first electronic device reaches the alarm start time point, if the first electronic device is still in a non-unlocked state, the first electronic device can prompt the first alarm event through a smaller motor vibration intensity.

[0145] In the embodiment of the present application, after determining the scene, the first electronic device can determine the method of prompting the first alarm event through the ambient volume in the scene.

[0146] For example, when the mobile phone determines that the current scene is a meeting scene and the volume of the current environment sound obtained by the mobile phone is 180 decibels, which is less than the preset volume threshold of 200 decibels, then when the system time of the mobile phone reaches the alarm start time, if the mobile phone is still in a non-unlocked state, the mobile phone can control the breathing light to flash to remind the user, and cancel the alarm ringtone corresponding to the first alarm event to avoid disturbing the user and preventing the user from missing the notification of the alarm event.

[0147] Optionally, in an embodiment of the present application, when the above-mentioned scenario information does not meet the first condition, when the system time of the first electronic device reaches the alarm start time point, if the first electronic device is still in a non-unlocked state, the second method is used to prompt the first alarm event.

[0148] In the embodiment of the present application, the second method includes any one of the following: a ringing method, and a method of controlling the vibration of the motor of the first electronic device using the second intensity.

[0149] In the embodiment of the present application, the second intensity is greater than the second threshold.

[0150] In the embodiment of the present application, the second intensity may be greater than or equal to the preset motor vibration intensity of the first electronic device. For example, when the first electronic device is in a non-unlocked state and the scene information of the first electronic device does not meet the first condition, when the system time of the first electronic device reaches the alarm start time point, if the first electronic device is still in a non-unlocked state, the first electronic device may prompt the first alarm event through a larger or default motor vibration intensity.

[0151] Exemplarily, when the mobile phone determines that the current scene is a shopping scene and the volume of the current environmental sound obtained by the mobile phone is 210 decibels, which is greater than the preset volume threshold of 200 decibels; and when the system time of the mobile phone reaches the alarm start time point, if the mobile phone is still in a non-unlocked state, the mobile phone will sound the alarm ringtone corresponding to the first alarm event to remind the user of the first alarm event to prevent the user from missing the event notification.

[0152] Optionally, in an embodiment of the present application, at a first time point, the first electronic device may obtain the alarm type of the alarm corresponding to the first alarm event; then, when the scene in which the first electronic device is currently located matches the alarm type, when the system time of the first electronic device reaches the alarm start time point, if the first electronic device is still in a non-unlocked state, the first method is used to prompt the first alarm event.

[0153] Example 1: When the first electronic device determines that the current scene is an office scene and the alarm type is an office type, the first electronic device can determine that the alarm type matches the office scene. Then when the system time of the first electronic device reaches the alarm start time, if the first electronic device is still in a non-unlocked state, the above-mentioned second method is used to prompt the first alarm event to prevent the user from missing the event notification.

[0154] Example 2: When the first electronic device determines that the current scene is an office scene and the alarm type is a non-office type, the first electronic device can determine that the alarm type does not match the office scene. When the system time of the first electronic device reaches the alarm start time, if the first electronic device is still in a non-unlocked state, the first method mentioned above is used to prompt the first alarm event.

[0155] Example 3, when the first electronic device determines that the current scene is a non-office scene and the alarm type is an office type, the first electronic device can determine that the alarm type does not match the non-office scene. When the system time of the first electronic device reaches the alarm start time point, if the first electronic device is still in a non-unlocked state, the above-mentioned first method is used to prompt the first alarm event.

[0156] Example 4, when the first electronic device determines that the current scene is a non-office scene and the alarm type is a non-office type, the first electronic device can determine that the alarm type matches the non-office scene. When the system time of the first electronic device reaches the alarm start time, if the first electronic device is still in a non-unlocked state, the above-mentioned second method is used to prompt the first alarm event.

[0157] In the embodiment of the present application, the electronic device can determine the alarm type according to the first alarm event.

[0158] In one example, taking the first alarm event as "meeting at nine o'clock in the morning", the first electronic device can perform semantic analysis on "meeting at nine o'clock in the morning" to obtain the keyword "meeting", and the first electronic device can determine that the alarm type of the alarm corresponding to the first alarm event is the office type based on the association between the keyword "meeting" and the alarm type "office".

[0159] In another example, taking the first alarm event as "take a family portrait at nine in the morning", the first electronic device can perform semantic analysis on "take a family portrait at nine in the morning" to obtain the keyword "take a family portrait", and the first electronic device can determine that the alarm type of the alarm corresponding to the first alarm event is a non-office type based on the association between the keyword "take a family portrait" and the alarm type "non-office".

[0160] It should be noted that the above keywords and alarm types are preset in advance.

[0161] In an embodiment of the present application, when the first electronic device is in a non-unlocked state and the scene information of the first electronic device meets the first condition, when the system time of the first electronic device reaches the alarm start time point, if the first electronic device is still in a non-unlocked state, the first electronic device uses a first intensity to control the vibration of the motor of the first electronic device or a breathing light flashing method to prompt the first alarm item. That is, when the first electronic device is in a non-unlocked state, the prompting method of the first alarm item can be determined by the scene in which the first electronic device is currently located, rather than directly reminding the user through an alarm, thereby avoiding the alarm disturbing the user in certain scenarios while effectively reminding the alarm item.

[0162] Optionally, in an embodiment of the present application, when the first electronic device is in a non-unlocked state and the scene information of the first electronic device satisfies a first condition, when the system time of the first electronic device reaches the alarm start time point, if the first electronic device is in an unlocked state, the alarm event information corresponding to the first alarm event is displayed.

[0163] Optionally, in an embodiment of the present application, the first electronic device may display the alarm event information corresponding to the alarm identifier in a status bar; or, the first electronic device may display the alarm event information corresponding to the alarm identifier in a pop-up window; or, the first electronic device may jump to an alarm application and display the alarm event information corresponding to the alarm identifier in the interface of the alarm application.

[0164] Optionally, in an embodiment of the present application, when the above-mentioned scenario information does not meet the first condition, when the system time of the first electronic device reaches the alarm start time point, if the first electronic device is in an unlocked state, the first electronic device can display the alarm event information corresponding to the first alarm event and ring the alarm.

[0165] In an embodiment of the present application, when the scenario information satisfies the first condition, when the system time of the first electronic device reaches the alarm start time, if the first electronic device is in an unlocked state, the first electronic device can display the alarm event information corresponding to the first alarm event and cancel the alarm, thereby avoiding the inconvenience caused to the user by the alarm ringing of the first electronic device in certain scenarios, and by displaying the alarm event information corresponding to the first alarm event, the user can avoid missing event notifications.

[0166] Optionally, in the embodiment of the present application, combined with Figure 1 ,like Figure 6 As shown, before the above step 201, the alarm processing method provided in the embodiment of the present application also includes the following step 401.

[0167] Step 401: A first electronic device creates a first alarm event and sends a second message to a second electronic device.

[0168] In an embodiment of the present application, the second message includes alarm information corresponding to the first alarm event, and the second message is used to instruct the second electronic device to create the first alarm event based on the alarm information.

[0169] Optionally, in an embodiment of the present application, the first electronic device may create a first alarm event through user input to an alarm application.

[0170] Optionally, in an embodiment of the present application, the first electronic device may receive the second message sent by the second electronic device via Bluetooth, WiFi, or through a transmission path corresponding to a system account.

[0171] It should be noted that after the first electronic device creates the first alarm event, the first electronic device can immediately send the alarm information corresponding to the first alarm event to the second electronic device. In other words, each time the first electronic device creates an alarm event, the alarm event can be synchronized to the second electronic device.

[0172] In the embodiment of the present application, after receiving the second message, the second electronic device can create the first alarm event according to the alarm information corresponding to the first alarm event contained in the second message.

[0173] In an embodiment of the present application, the second electronic device can parse the alarm information corresponding to the first alarm event to obtain the alarm name, alarm start time, alarm notes information and alarm setting method corresponding to the first alarm event, and then automatically create the first alarm event in the alarm application through the alarm name, alarm start time, alarm notes information and alarm setting method.

[0174] Exemplarily, the following is a specific example of a process in which the second electronic device receives the second message from the first electronic device and creates the first alarm event through the second message. Specifically, the process can be implemented through the following steps 20 to 23.

[0175] Step 20: The first electronic device creates an alarm event.

[0176] Step 21: The first electronic device sends a second message to the second electronic device via WiFi.

[0177] Step 22: The second electronic device receives the first message.

[0178] Step 23: The second electronic device creates an alarm event based on the alarm information in the second message.

[0179] In an embodiment of the present application, the second electronic device can receive the alarm information sent by the first electronic device and automatically create an alarm event based on the alarm information without the need for manual creation by the user, thereby improving the flexibility and efficiency of the second electronic device in creating alarm events.

[0180] Optionally, in the embodiment of the present application, when the first electronic device cancels the first alarm event, the first electronic device may send a third message to the second electronic device.

[0181] In the embodiment of the present application, the third message is used to instruct to cancel the first alarm event in the second electronic device.

[0182] In an embodiment of the present application, after displaying the alarm event information corresponding to the first alarm event, the first electronic device may display an alarm off control. The first electronic device may cancel the first alarm event based on the user's input to the alarm cancel control and send a third message to the second electronic device.

[0183] Optionally, in an embodiment of the present application, when the alarm event information corresponding to the first alarm event is displayed in the status bar, the first electronic device may display an alarm cancel control in the status bar; or, when the alarm event information corresponding to the first alarm event is displayed in a pop-up window, the first electronic device may display an alarm cancel control in the pop-up window.

[0184] In an embodiment of the present application, after canceling the first alarm event, the first electronic device can send a third message to the second electronic device to instruct the second electronic device to cancel the first alarm event, thereby avoiding the second electronic device disturbing the user. Moreover, the first alarm event in the second electronic device connected to the first electronic device can be canceled through a single operation, without the user having to cancel them manually one by one, thereby improving the efficiency of the first electronic device in canceling alarm events.

[0185] By way of example, the alarm processing method provided in the embodiment of the present application is explained below by taking the first electronic device as a mobile phone and the second electronic device as a watch as an example. Specifically, it can be implemented through the following steps 30 to 40.

[0186] Step 30: The watch creates the first alarm event.

[0187] Step 31: The watch sends a second message to the mobile phone, where the second message includes the alarm information corresponding to the first alarm event.

[0188] Step 32: The mobile phone receives the second message sent by the watch.

[0189] Step 33: The mobile phone creates a first alarm event based on the second message.

[0190] Step 34: When the system time of the mobile phone reaches one minute before the alarm start time, the mobile phone determines whether the mobile phone is in an unlocked state and determines the current scene of the mobile phone.

[0191] In the embodiment of the present application, the mobile phone can execute the following step 35 or step 36 according to the unlocking state.

[0192] Step 35: When the mobile phone is unlocked, when the system time of the mobile phone reaches 30 seconds before the alarm start time, the mobile phone may display an orange alarm icon in the status bar;

[0193] When the system time of the mobile phone reaches 3 seconds before the alarm start time, the mobile phone can display a red alarm icon in the status bar;

[0194] When the system time of the mobile phone reaches the alarm start time, the mobile phone can display a red gradient alarm icon in the status bar and display the event information corresponding to the first alarm event "meeting at 9 am" in the status bar.

[0195] Step 36: When the mobile phone is in an unlocked state, the system time of the mobile phone reaches the alarm start time, and the current scene of the mobile phone is a meeting scene, the mobile phone controls the breathing light to flash.

[0196] In the embodiment of the present application, the flashing of the breathing light is a preset alarm reminder mode of the mobile phone in the meeting scene.

[0197] In the embodiment of the present application, after the above step 36, the mobile phone can execute the following step 37.

[0198] Step 37: When the system time of the mobile phone reaches the alarm start time, and the current scene of the mobile phone is a meeting scene, and the mobile phone changes from a non-unlocked state to an unlocked state, the mobile phone can display the event information corresponding to the first alarm event "Meeting at 9 am" in the status bar.

[0199] In the embodiment of the present application, after the above step 35 or step 37, the mobile phone can execute the following step 38 or step 39.

[0200] Step 38: When the mobile phone displays the alarm clock icon, the user clicks the alarm clock icon to input event information "Meeting at 9:00 AM" in the status bar of the mobile phone.

[0201] Step 39: When the mobile phone displays the alarm icon, the user double-clicks the alarm icon to allow the mobile phone to cancel the first alarm event and send a first message to the watch.

[0202] Step 40: The watch receives the first message sent by the mobile phone and cancels the first alarm event.

[0203] It is understandable that when the first electronic device is a personal computer, a watch, or a tablet computer, the execution method is the same as the above example. To avoid repetition, it will not be described here.

[0204] It should be noted that the alarm processing method provided in the embodiment of the present application can be executed by an alarm processing device. In the embodiment of the present application, the alarm processing device provided in the embodiment of the present application is described by taking the alarm processing method executed by the alarm processing device as an example.

[0205] Figure 7 A possible structural diagram of the alarm clock processing device involved in the embodiment of the present application is shown. Figure 7As shown, the alarm processing device 70 may include: an acquisition module 71 and a processing module 72 .

[0206] The acquisition module 71 is used to acquire the state information of the first electronic device at a first time point, where the first time point is a time point before the alarm start time point corresponding to the first alarm event. The processing module 72 is used to control the second electronic device to prompt the first alarm event and cancel the first alarm event in the first electronic device when the state information indicates that the first electronic device is in the first state.

[0207] In a possible implementation, the processing module 72 is specifically configured to control the second electronic device to prompt the first alarm event when it is determined that the second electronic device is in the second state.

[0208] In a possible implementation, the alarm processing device 70 provided in the embodiment of the present application further includes: a sending module. The sending module is used to send the first message to the second electronic device. The processing module 72 is specifically used to control the second electronic device to prompt the first alarm event based on the first message.

[0209] In a possible implementation, the processing module 72 is further configured to prompt the first alarm event in a first manner based on scene information of the first electronic device when the state information indicates that the first electronic device is in the second state, and the first manner corresponds to the scene information.

[0210] In one possible implementation, the processing module 72 is also used to create a first alarm event at a first time point before obtaining status information of the first electronic device, and send a second message to the second electronic device, wherein the second message includes alarm information corresponding to the first alarm event, and the second message is used to instruct the second electronic device to create the first alarm event based on the alarm information.

[0211] An embodiment of the present application provides an alarm processing device, which can control a second electronic device to prompt a first alarm event and cancel the first alarm event in the first electronic device when status information of the first electronic device indicates that the first electronic device is in a first state; in this scheme, it is determined by status information that the second electronic device prompts the alarm, which improves the flexibility of electronic devices in notifying alarm events, and cancels the alarm of the first electronic device to avoid disturbing the user.

[0212] The alarm clock processing device in the embodiment of the present application can be an electronic device, or a component in the electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal, or it can be other devices other than the terminal. Exemplarily, the mobile electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a car electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR) / virtual reality (virtual reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc., and can also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.

[0213] The alarm event device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.

[0214] The alarm event device provided in the embodiment of the present application can implement each process implemented in the above embodiment. To avoid repetition, it will not be repeated here.

[0215] Alternatively, if Figure 8 As shown, an embodiment of the present application further provides an electronic device 90, including a processor 91 and a memory 92, wherein the memory 92 stores programs or instructions that can be executed on the processor 91, and when the program or instructions are executed by the processor 91, the various steps of the above-mentioned alarm clock processing method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, they are not described here.

[0216] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.

[0217] Fig. 9 A schematic diagram of the hardware structure of a first electronic device to implement an embodiment of the present application.

[0218] The electronic device 100 includes but is not limited to components such as a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, and a processor 110.

[0219] Those skilled in the art will appreciate that the first electronic device 100 may further include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 110 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Fig. 9 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.

[0220] Among them, the processor 110 is used to obtain status information of the first electronic device at a first time point, and the first time point is a time point before the alarm start time point corresponding to the first alarm event; and when the status information indicates that the first electronic device is in the first state, control the second electronic device to prompt the first alarm event and cancel the first alarm event in the first electronic device.

[0221] Optionally, in an embodiment of the present application, the processor 110 is specifically configured to control the second electronic device to prompt the first alarm event when it is determined that the second electronic device is in the second state.

[0222] Optionally, in an embodiment of the present application, the processor 110 is specifically configured to send a first message to a second electronic device; and control the second electronic device to prompt a first alarm event based on the first message.

[0223] Optionally, in an embodiment of the present application, the processor 110 is further used to prompt the first alarm event in a first manner based on scene information of the first electronic device when the state information indicates that the first electronic device is in a second state, and the first manner corresponds to the scene information.

[0224] Optionally, in an embodiment of the present application, the above-mentioned processor 110 is also used to create a first alarm event at a first time point before obtaining status information of the first electronic device, and send a second message to the second electronic device, the second message including alarm information corresponding to the first alarm event, and the second message is used to instruct the second electronic device to create the first alarm event based on the alarm information.

[0225] An embodiment of the present application provides an electronic device, which can control a second electronic device to prompt a first alarm event and cancel the first alarm event in the first electronic device when status information of the first electronic device indicates that the first electronic device is in a first state; it is determined by the status information that the second electronic device prompts the alarm, thereby improving the flexibility of the electronic device in notifying the alarm event, and canceling the alarm of the first electronic device to avoid disturbing the user.

[0226] The electronic device provided in the embodiment of the present application can implement each process implemented in the above method embodiment and can achieve the same technical effect. To avoid repetition, it will not be described here.

[0227] The beneficial effects of various implementations in this embodiment can be specifically referred to the beneficial effects of the corresponding implementations in the above method embodiment. To avoid repetition, they will not be described again here.

[0228] It should be understood that in the embodiment of the present application, the input unit 104 may include a graphics processor (Graphics Processing Unit, GPU) 1041 and a microphone 1042, and the graphics processor 1041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 107 includes a touch panel 1071 and at least one of other input devices 1072. The touch panel 1071 is also called a touch screen. The touch panel 1071 may include two parts: a touch detection device and a touch controller. Other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.

[0229] The memory 109 can be used to store software programs and various data. The memory 109 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 109 may include a volatile memory or a non-volatile memory, or the memory 109 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM). The memory 109 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.

[0230] The processor 110 may include one or more processing units; optionally, the processor 110 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 110.

[0231] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0232] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.

[0233] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0234] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0235] An embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the above-mentioned alarm processing method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0236] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0237] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0238] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims

1. An alarm clock processing method, characterized in that: The method is performed by a first electronic device and includes: At a first time point, obtaining status information of the first electronic device, the first time point being a time point before an alarm start time point corresponding to a first alarm event; When the state information indicates that the first electronic device is in the first state, the second electronic device is controlled to prompt the first alarm event and the first alarm event in the first electronic device is canceled.

2. The method according to claim 1, characterized in that The controlling the second electronic device to prompt the first alarm event includes: When it is obtained that the second electronic device is in the second state, the second electronic device is controlled to prompt the first alarm event.

3. The method according to claim 1, characterized in that The controlling the second electronic device to prompt the first alarm event includes: sending a first message to the second electronic device; Control the second electronic device to prompt the first alarm event based on the first message.

4. The method according to claim 1, characterized in that: The method further comprises: When the state information indicates that the first electronic device is in the second state, based on the scene information where the first electronic device is located, the first alarm event is prompted in a first manner, and the first manner corresponds to the scene information.

5. The method according to claim 1, characterized in that: Before acquiring the status information of the first electronic device at the first time point, the method further includes: The first alarm event is created, and a second message is sent to the second electronic device, wherein the second message includes alarm information corresponding to the first alarm event, and the second message is used to instruct the second electronic device to create the first alarm event based on the alarm information.

6. An alarm clock processing device, characterized in that: The alarm clock processing device comprises: an acquisition module and a processing module; The acquisition module is used to acquire the state information of the first electronic device at a first time point, where the first time point is a time point before the alarm start time point corresponding to the first alarm event; The processing module is used to control the second electronic device to prompt the first alarm event and cancel the first alarm event in the first electronic device when the state information indicates that the first electronic device is in the first state.

7. The device according to claim 6, characterized in that The processing module is specifically configured to control the second electronic device to prompt the first alarm event when it is determined that the second electronic device is in the second state.

8. The device according to claim 6, characterized in that The alarm clock processing device further includes: a sending module; The sending module is used to send the first message to the second electronic device; The processing module is specifically used to control the second electronic device to prompt the first alarm event based on the first message.

9. The device according to claim 6, characterized in that The processing module is further configured to, when the status information indicates that the first electronic device is in a second status, prompt the first alarm event in a first manner based on scene information where the first electronic device is located, and the first manner corresponds to the scene information.

10. The device according to claim 6, characterized in that The processing module is also used to create the first alarm event at a first time point before obtaining the status information of the first electronic device, and send a second message to the second electronic device, wherein the second message includes alarm information corresponding to the first alarm event, and the second message is used to instruct the second electronic device to create the first alarm event based on the alarm information.

11. An electronic device, characterized in that: The method comprises a processor, a memory and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the alarm processing method as claimed in any one of claims 1 to 5.

12. A readable storage medium, characterized in that: The readable storage medium stores a program or an instruction, and when the program or the instruction is executed by the processor, the steps of the alarm processing method according to any one of claims 1 to 5 are implemented.