Method for determining getting-up time, reminding method and electronic equipment
By obtaining and analyzing the user's updated itinerary information, combining the predicted data of third-party service providers and user portraits, a reasonable wake-up time is determined, which solves the problem of difficulty in determining the wake-up time caused by changes in the user's itinerary, and a more reasonable wake-up time arrangement is achieved, avoiding the risk of missing important activities.
Patent Information
- Application Number
- CN202311584748.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-23
- Publication Date
- 2025-05-30
AI Technical Summary
When a user's itinerary changes, it is difficult for the prior art to determine a reasonable wake-up time, resulting in the possibility of missing out on transportation or being late for attending events.
By obtaining updated itinerary information, predict and determine a reasonable wake-up time by combining the time it takes for a third-party service provider to arrive at the destination, the time it takes to get up to go out in the user's portrait, and the time it is used to wake up, and the time it is used to wake up.
Ensure that users can respond to updated schedules in a timely manner, avoid missing important transportation or activities, and the determined wake-up time is more reasonable.
Smart Images

Figure CN120069830A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of electronic devices, and in particular, to a method for determining wake-up time, a reminder method, and an electronic device. Background Art
[0002] By performing data mining on the user's behavior, a user profile can be constructed. According to the user profile, the wake-up time that the user is used to can be determined. According to the wake-up time that the user is used to, the ringing time of the alarm can be determined, and the user can be reminded to wake up by using the ringing of the alarm.
[0003] When the user's itinerary is updated (for example: the user needs to take a plane or high-speed rail and other means of transportation to a different place on the target date, or participate in a meeting at a specified time on the target date, etc.), if the start time corresponding to the itinerary is earlier, getting up according to the wake-up time that the user is used to may affect the itinerary, resulting in missing the means of transportation that needs to be taken or being late for the event. In this case, the user needs to get up earlier than the wake-up time that the user is used to. Therefore, how to determine a reasonable wake-up time is an urgent problem to be solved. Summary of the Invention
[0004] This application provides a method for determining wake-up time, a reminder method, and an electronic device, which can determine a reasonable wake-up time after the itinerary changes.
[0005] In a first aspect, this application provides a method for determining wake-up time, the method including: when the itinerary is updated, obtaining the updated itinerary; the updated itinerary includes: the starting time T1 of the itinerary and the destination; determining a first duration T2 that needs to be arrived at the destination in advance according to the itinerary type of the updated itinerary; obtaining a second duration T3, where T3 is the duration predicted by a third-party service provider from the departure place to the destination according to the departure place, the destination, and the road conditions; determining a third duration T4 that the user needs from waking up to going out according to the user profile; predicting a wake-up time T5 according to T1, T2, T3, and T4, where T5 = T1 - T2 - T3 - T4; determining the wake-up time according to T5 and the user's habitual wake-up time T6.
[0006] When adopting this embodiment, the predicted wake-up time is predicted according to the updated itinerary, and the wake-up time is determined according to the predicted wake-up time and the habitual wake-up time. When determining the predicted wake-up time, the starting time of the itinerary, the first duration that needs to be arrived at the destination in advance determined according to the travel mode or itinerary type of the itinerary, the duration required to reach the destination from the departure place determined according to the map service provider, and the duration that the user needs from waking up to going out determined according to the user profile are considered. The wake-up time determined in this way is more reasonable and is conducive to the user responding to the updated schedule in a timely manner.
[0007] In some possible implementations, the third-party service provider may be a map service provider.
[0008] In some possible implementations, determining the wake-up time according to the T5 and the user's habitual wake-up time T6 includes: when the T5 is earlier than the T6 by more than a first preset value, determining the T5 as the wake-up time; when the T5 is not earlier than the T6 by more than the first preset value, determining the T6 as the wake-up time.
[0009] In some possible implementations, the method further includes: re-determining the wake-up time at preset time intervals.
[0010] In some possible implementations, the method further includes: re-determining the wake-up time when a preset update event occurs.
[0011] In some possible implementations, the preset update event includes: an update to the itinerary or a change in the departure location.
[0012] In some possible implementations, the T6 is determined according to the wake-up time every day within a recent preset time interval.
[0013] In a second aspect, the present application provides a reminder method, the method including: determining a wake-up time according to any one of the technical solutions in the first aspect; when the predicted wake-up time T5 is earlier than the user's habitual wake-up time T6 by more than a first preset value, triggering the execution of a first reminder message, the first reminder message reminding the user to modify the alarm time; when the user responds to the first reminder message and determines to modify the alarm time, modifying the alarm time to the T5.
[0014] In some possible implementations, the method further includes: after modifying the alarm time to T5; when re-determining the wake-up time according to any one of the technical solutions in the first aspect, the determined wake-up time is T7; when the T7 is earlier than the T5 by more than a second preset value, triggering the execution of a second reminder message, the second reminder message reminding the user to modify the alarm time; when the user responds to the second reminder message and determines to modify the alarm time, modifying the alarm time to the T7.
[0015] In some possible implementations, the method further includes: if the user does not respond to the first reminder message, when re-determining the wake-up time according to any one of the technical solutions in the first aspect, the determined wake-up time is T8; when the T8 is earlier than the T6 by more than the first preset value, triggering the execution of a third reminder message, the third reminder message reminding the user to modify the alarm time; when the user responds to the third reminder message and determines to modify the alarm time, modifying the alarm time to the T8.
[0016] In some possible implementations, when the user has not gone to bed beyond a preset time the night before T1, a fourth reminder message is triggered, and the fourth reminder message reminds the user to go to bed earlier.
[0017] In a third aspect, the present application provides an electronic device, including: a processor, a memory, and an interface; the processor, the memory, and the interface cooperate with each other to enable the electronic device to execute any one of the methods in the technical solutions described in the first aspect to determine the wake-up time, and / or to enable the electronic device to execute any one of the reminder methods in the technical solutions described in the second aspect.
[0018] In a fourth aspect, the present application provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the processor is enabled to execute any one of the methods in the technical solutions described in the first aspect, and / or to enable the electronic device to execute any one of the reminder methods in the technical solutions described in the second aspect.
[0019] In a fifth aspect, the present application provides a chip system, which includes a processor for calling and running a computer program from a memory, so that an electronic device installed with the chip system executes any one of the methods in the technical solutions described in the first aspect, and / or to enable the electronic device to execute any one of the reminder methods in the technical solutions described in the second aspect.
[0020] It should be understood that for the technical solutions provided in the second to fifth aspects above, their technical features can all correspond to the wake-up time determination method provided in the first aspect and its possible implementations, and thus the beneficial effects that can be achieved are similar and will not be elaborated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] Figure 1 is a schematic diagram of an application scenario applicable to the wake-up time determination method provided in an embodiment of the present application;
[0022] Figure 2A is a schematic flowchart of the wake-up time determination method provided in an embodiment of the present application;
[0023] Figure 2B is a schematic flowchart of the reminder method provided in an embodiment of the present application;
[0024] Figure 2C is a schematic flowchart of the reminder method provided in an embodiment of the present application;
[0025] Figure 2D is a schematic diagram of a reminder card displayed on a mobile phone interface in an embodiment of the present application;
[0026] Figure 2E It is a schematic diagram of a prompt card displayed on a mobile phone interface in an embodiment of the present application;
[0027] Figure 3 It is a schematic diagram of the timing process of a method for determining the wake-up time provided in an embodiment of the present application;
[0028] Figure 4 It is a schematic diagram of the software system of an electronic device that executes the method for determining the wake-up time provided in the embodiment of the present application;
[0029] Figure 5 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Detailed implementation manners
[0030] Next, the technical solutions in the embodiments of the present application will be described in conjunction with the accompanying drawings in the embodiments of the present application. Among them, in the description of the embodiments of the present application, unless otherwise specified, " / " means "or". For example, A / B may mean A or B; herein, "and / or" is merely a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B may mean: A exists alone, A and B exist simultaneously, and B exists alone. In addition, in the description of the embodiments of the present application, "a plurality of" means two or more than two.
[0031] Hereinafter, the terms "first", "second", and "third" are only used for descriptive purposes and cannot be construed as indicating or implying relative importance or implicitly specifying the quantity of the indicated technical features. Thus, features defined with "first", "second", and "third" may explicitly or implicitly include one or more of such features.
[0032] Figure 1 It is a schematic diagram of an application scenario applicable to the method for determining the wake-up time provided in the embodiment of the present application. As Figure 1 shown, the electronic device 101 can communicate with the map service provider 102 through a communication network. The specific type of the communication network is not limited in the present application. For example, it can be a communication network of the cellular mobile type, etc.
[0033] The method for determining wake-up time, related modules, and electronic devices provided by the embodiments of the present application can be applied to electronic devices such as mobile phones, tablet computers, personal digital assistants (PDAs), wearable devices, vehicle-mounted communication terminals, augmented reality (AR) / virtual reality (VR) devices, laptop computers, ultra-mobile personal computers (UMPCs), netbooks, etc. The embodiments of the present application do not impose any restrictions on the specific types of electronic devices. For the convenience of description, the electronic device in the embodiments of the present application is described by taking a mobile phone as an example.
[0034] The following describes the technical solution corresponding to the method for determining wake-up time provided by the present application. Please refer to Figure 2A , Figure 2A which is a schematic flowchart of the method for determining wake-up time provided by an embodiment of the present application. As Figure 2A shown, the method for determining wake-up time includes the following steps: 201 to 206.
[0035] 201. When the itinerary is updated, obtain the updated itinerary; the updated itinerary includes: the starting time T1 of the itinerary and the destination.
[0036] As Figure 3 shown, the itinerary update can be that the user orders a high-speed rail ticket or orders a flight, etc. For example, if the updated itinerary is a high-speed rail ticket ordered by the user, as Figure 2D shown, the user orders a high-speed rail ticket numbered G1012 with a date of January 12th, the departure time is 16:20, the departure location of the high-speed rail ticket is Beijing East Station, the ticket check-in gate is A12, the arrival time is 19:50, the arrival location is Shanghai West Station, and the seat number is 9 car 18C. The mobile phone can obtain the itinerary information from Ctrip after successfully booking the ticket on a ticketing software such as Ctrip. Taking the example shown in Figure 2D , the initial time of this itinerary is 16:20 pm on January 12th, and the destination corresponding to the present application is Beijing East Station ticket check-in gate A12.
[0037] It can be understood that the updated itinerary can also be the purchase of an air ticket or the arrangement of activities such as meetings. The technical solutions provided by the present application are applicable to different types of itineraries and are not limited here.
[0038] 202. Determine the first duration T2 required to arrive at the destination in advance according to the itinerary type of the updated itinerary.
[0039] For example, when the itinerary type is by air, check-in, security check, and boarding need to be completed before the flight departs. It is necessary to reserve time for these processes, that is, reserve the necessary time to reach the event venue, and calculate the latest time for the user to reach the destination.
[0040] For example, if the flight itinerary time is 8:10 for departure and you need to arrive 40 minutes in advance before departure, the latest arrival time at the departure is 40 minutes before departure (it may vary for different airports and flights), that is, 7:30.
[0041] 203. Obtain the second duration T3. T3 is the duration required to reach the destination from the place of residence predicted by a third-party service provider based on the departure place, destination, and road conditions.
[0042] Among them, the third-party service provider can be a map service provider.
[0043] For example, in an embodiment, the duration required for a map service provider to predict the journey from the place of residence to the destination based on the departure place, destination, and road conditions can be 50 minutes.
[0044] 204. Determine the third duration T4 required for the user to get out of bed and go out according to the user profile.
[0045] For example, some users apply makeup after getting up and washing up. The T4 required for makeup is about 1 hour. Some users have a puppy at home and may need to take the dog for a walk before going out. The corresponding T4 is about one and a half hours. Of course, some users may be able to go out after washing up, and the corresponding T4 may only take 10 minutes. The specific value can be determined according to the user profile of different users. As Figure 3 shown, parameters such as wifi, base station cell, screen on / off, sleep state data, and location data can be obtained using the android framework software development kit in an Android framework application. The status perception APK perceives the user's sleeping, getting up, leaving home behavior, staying status, etc. based on the parameters obtained by the android framework. The reminder service APK learns the user profile according to the perception information such as the user's sleep, getting up, leaving home behavior, staying status, etc. obtained by the status perception APK. The user profile can include the wake-up time, leaving home time, home address, company address, etc.
[0046] 205. Predict the wake-up time T5 based on T1, T2, T3, and T4. T5 = T1 - T2 - T3 - T4.
[0047] For example, if the departure time of the flight corresponding to the flight itinerary is 8:10, and the latest arrival time at the departure location is 40 minutes before departure (which can be adjusted for different airports and flights), that is, 7:30. When the departure location is home, it is estimated that it takes 50 minutes for the user to travel from home to the airport, and the user is used to spending 30 minutes leaving home after getting up. Then the recommended time for the user to get up is: 7:30 - 50 minutes - 30 minutes = 6:10.
[0048] It should be noted that the departure location can be the usual residence, such as home, or it may be a temporary residence, or it may be the address of a hotel. For example, when a hotel order is obtained, the departure location can be determined as the address of the reserved hotel.
[0049] 206. Determine the wake-up time according to T5 and the user's habitual wake-up time T6.
[0050] The user's habitual wake-up time T6 can be determined according to the user profile. In the user profile, the user's habitual wake-up time T6 can be determined according to the average value of the user's wake-up time every day in the last two weeks. It can be understood that other methods can also be used to determine the user's habitual wake-up time, which is not limited here.
[0051] When adopting this embodiment, the predicted wake-up time is obtained according to the updated itinerary, and the wake-up time is determined according to the predicted wake-up time and the habitual wake-up time. When determining the predicted wake-up time, the starting time of the itinerary, the first duration required to arrive at the destination in advance determined according to the travel mode or itinerary type of the itinerary, the duration required to travel from the departure location to the destination determined according to the map service provider, and the duration required for the user to leave home after getting up determined according to the user profile are considered. The wake-up time determined in this way is more reasonable and is conducive to the user to respond to the updated schedule in a timely manner.
[0052] In some possible implementation manners, determining the wake-up time according to T5 and the user's habitual wake-up time T6 includes: when T5 is earlier than T6 by more than a first preset value, determining T5 as the wake-up time; when T5 is not earlier than T6 by more than the first preset value, determining T6 as the wake-up time.
[0053] For example, if T5 is 6:10, the user's habitual wake-up time T6 is 8:00, and the first preset value is 10 minutes. Since 6:10 is earlier than 8:00 by more than 10 minutes, 6:10 can be determined as the wake-up time.
[0054] If T5 is 7:55, the user's habitual wake-up time T6 is 8:00, and the first preset value is 10 minutes. Since 7:55 is not earlier than 8:00 by more than 10 minutes, T6 can be determined as the wake-up time.
[0055] During the existence of the early wake-up reminder or other recommended services, the wake-up time prediction may change. For example, when the departure and destination remain the same, due to changes in road conditions, the future travel time queried by third-party service providers such as map service providers may be shortened or increased. If it is shortened, the wake-up time will be correspondingly later, and the same applies if it is increased. When the user's evening location habits within the last 14 days change, the future travel time duration will also be updated. Considering power consumption limitations, it is refreshed every 24 hours (supporting configuration), and in addition, each electronic device starts logical calculations after a random time between 0 and 30 minutes of delay, which helps to reduce the peak access of third-party server providers.
[0056] In some possible implementation manners, the wake-up time can be re-determined every preset duration. For example, when the wake-up time is first determined by obtaining the updated itinerary, if the preset duration is 24 hours, the wake-up time is calculated again after 24 hours.
[0057] It can be understood that 24 hours is relatively long. If some parameters, such as the departure location, change during this period, if the address before the change is still used as the departure location, the obtained wake-up time will be inaccurate. Therefore, in some embodiments, an update event can be preset, and when an update event occurs, the wake-up time is recalculated. The preset update events can include: the itinerary is updated or the departure location changes.
[0058] As Figure 2B shown, in some possible implementation manners, the reminder method may include steps 201 to 208, where the implementation of steps 201 to 206 can refer to the description above Figure 2A and will not be elaborated here.
[0059] Step 207, when T5 is earlier than T6 by more than a first preset value, trigger the execution of a first reminder message, and the first reminder message reminds the user to modify the alarm time.
[0060] For example, if T5 is 6:10 and T6 is 8:00, and the first preset value is 10 minutes, since 6:10 is earlier than 8:00 by more than 10 minutes, the first reminder message is triggered, and the first reminder message reminds the user to modify the alarm time. The first reminder message can be Figure 2D and Figure 2E the reminder cards in, and the user can create an alarm according to the reminder of the reminder card. It can be understood that the user can also not create an alarm. For example, the reminder card can be swiped away by swiping.
[0061] In some possible embodiments, after modifying the alarm time to T5; when determining the wake-up time again according to any of the previous wake-up time determination methods, the determined wake-up time is T7; when T7 is earlier than T5 by more than a second preset value, trigger the execution of a second prompt message, and the second prompt message reminds the user to modify the alarm time; when the user responds to the second prompt message and determines to modify the alarm time, modify the alarm time to T7. The second preset value may be equal to the first preset value. Of course, in some embodiments, the second preset value may also not be equal to the first preset value, which is also feasible.
[0062] In some possible embodiments, if the user does not respond to the first prompt message, when determining the wake-up time again according to any of the previous wake-up time determination methods, the determined wake-up time is T8; when T8 is earlier than T6 by more than a first preset value, trigger the execution of a third prompt message, and the third prompt message reminds the user to modify the alarm time; when the user responds to the third prompt message and determines to modify the alarm time, modify the alarm time to T8.
[0063] As Figure 2C shown, in some possible embodiments, the reminder method may include steps 201 to 209, and the implementation of steps 201 to 209 may refer to the description above Figure 2B and will not be elaborated here.
[0064] Step 209, when the user has not gone to bed yet at a time exceeding the preset time on the night before T1, trigger the execution of a prompt message to remind the user to go to bed earlier.
[0065] Next, the software structure of the electronic device will be introduced in conjunction with the accompanying drawings. It can be understood that the software architecture of the electronic device shown below Figure 4 can provide the wake-up time determination method provided in the embodiments of the present application. Exemplarily, Figure 4 the schematic diagram of the software system of the electronic device is shown. Refer to Figure 4, the software system adopts a layered architecture. The layered architecture divides the software into several layers, and each layer has clear roles and divisions of labor. The communication between layers is through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom: the display layer, the reminder service APK layer, the status perception APK layer, and the framework layer. Among them, the display layer is used to display reminder service cards, and the display layer can be the desktop or the negative first screen of an electronic device such as a mobile phone. The reminder service APK layer may include a trip acquisition module, user portrait tags, and a reminder decision-making module. The reminder service APK is responsible for obtaining trip data from high-speed rail, flight text messages, and calendar schedules, and predicting the departure place, wake-up time, and the time consumed from waking up to going out on the departure day in combination with user portrait tags, predicting the trip duration, and inferring a reasonable wake-up time on the trigger day. If the wake-up time is earlier than the user's wake-up time statistically recorded in the user portrait tags, a card can be displayed to notify the user. The status perception APK layer includes behavior recording modules such as user falling asleep, waking up, leaving home, etc., and a map merchant SDK module. Among them, the map merchant SDK can be Amap or Baidu Map, etc. Using the SDK of the map merchant can provide queries for future trip duration data. The status perception APK is responsible for listening to system status, mobile phone status, and environmental perception, etc. The framework layer includes a power module, a call module, a wifi module, and a location module. This layer can provide information such as the mobile phone's sleep state, screen on / off, cellid location information, wifissid information, longitude and latitude information, etc. See Figure 3 , which is a schematic timing diagram of the method for determining the wake-up time provided based on the software architecture; it includes steps 301 to 313.
[0066] 301. The Android framework transmits information such as the obtained wifi, base station cell, screen on / off, sleep state data, and location to the status perception APK.
[0067] 302. The status perception APK sends information such as the user's sleep, wake-up, leaving home behavior, and staying status obtained based on the obtained wifi, base station cell, screen on / off, sleep state data, and location to the reminder service APK.
[0068] 303. The reminder service APK learns the user portrait based on the obtained information such as the user's sleep, wake-up, leaving home behavior, and staying status. The user portrait includes wake-up and leaving home times, home, company address, etc.
[0069] 304. The reminder service APK obtains schedules such as high-speed rail tickets and flight information ordered by the user.
[0070] 305. The reminder service APK starts logical calculation after a random event within 0 to 30 minutes of delay, which helps to reduce the access peak of third-party servers such as map providers.
[0071] 306. The reminder service APK obtains the latest arrival time according to different trip types, waiting durations.
[0072] 307. The reminder service APK obtains the time taken from waking up to leaving home based on the user profile.
[0073] 308. When the reminder service APK determines that the user is in the resident city, it uses the home as the departure location.
[0074] 309. When the reminder service APK determines that the user is not in the resident city, if hotel order information can be obtained, it can use the hotel as the departure location. If hotel order information cannot be obtained, it can use the location where the user fell asleep the previous night as the departure location.
[0075] 310. The reminder service APK obtains the trip duration.
[0076] 311. The reminder service APK predicts the user's wake-up time on the departure day based on the results obtained in the above steps.
[0077] 312. If the detected wake-up time is earlier than the statistically obtained user wake-up time, the reminder service APK pops up a card to prompt the user.
[0078] It can be understood that a threshold can also be set. When the detected wake-up time is earlier than the statistically obtained user wake-up time by more than the threshold (such as 10 minutes), a card is popped up to prompt the user.
[0079] 313. It is refreshed once every 24 hours (supporting configuration). If the user does not set an alarm or the time difference from the last alarm setting exceeds 10 minutes, a card can be popped up again for reminder.
[0080] The wake-up time determined in the embodiments of the present application is determined by combining the trip and the user profile, and the obtained wake-up time is more reasonable, which helps to avoid missing the transportation means to be taken or being late for activities.
[0081] Some embodiments of the present application also provide an electronic device, including: a processor, a memory, and an interface; the processor, the memory, and the interface cooperate with each other to enable the electronic device to execute the method described in any of the previous method embodiments. The implementation of the method embodiments can be referred to the previous description and will not be elaborated here.
[0082] As an example, please refer to Figure 5 , which is a schematic structural diagram of an electronic device 500 provided by the embodiments of the present application. As shown in Figure 5As shown, the electronic device 500 may include a processor 501, a communication module 502, a display screen 503, etc.
[0083] Among them, the processor 501 may include one or more processing units. For example, the processor 501 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a memory, a video stream codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Among them, different processing units may be independent devices or integrated in one or more processors 501.
[0084] The controller may be the nerve center and command center of the electronic device 500. The controller may generate operation control signals according to the instruction operation code and timing signal to complete the control of fetching and executing instructions.
[0085] A memory may also be provided in the processor 501 for storing instructions and data. In some embodiments, the memory in the processor 501 is a cache memory. This memory may save the instructions or data that the processor 501 has just used or recycled. If the processor 501 needs to use the instruction or data again, it can be directly called from the memory. This avoids repeated accesses, reduces the waiting time of the processor 501, and thus improves the efficiency of the system.
[0086] In some embodiments, the processor 501 may include one or more interfaces. The interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface 511, etc.
[0087] The electronic device 500 implements the display function through the GPU, the display screen 503, the application processor 501, etc. The GPU is a microprocessor for image processing, connecting the display screen 503 and the application processor 501. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 501 may include one or more GPUs, which execute program instructions to generate or change the display information.
[0088] The display screen 503 is used to display images, video streams, etc.
[0089] The communication module 502 may include antenna x, antenna y, a mobile communication module 502A, and / or a wireless communication module 502B. Take the communication module 502 that includes antenna x, antenna y, the mobile communication module 502A, and the wireless communication module 502B at the same time as an example.
[0090] In addition, the MIMO receiving module provided in the embodiments of the present application may also be disposed in the communication module 502.
[0091] The wireless communication function of the electronic device 500 may be implemented through antenna x, antenna y, the mobile communication module 502A, the wireless communication module 502B, a modulation / demodulation processor, and a baseband processor, etc.
[0092] Antenna x and antenna y are used to transmit and receive electromagnetic wave signals. Each antenna in the electronic device 500 can be used to cover a single or multiple communication frequency bands. Different antennas can also be multiplexed to improve the utilization rate of the antennas. For example: Antenna x can be multiplexed as the diversity antenna of the wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.
[0093] The mobile communication module 502A can provide solutions for wireless communications such as 2G / 3G / 4G / 5G applied to the electronic device 500. The mobile communication module 502A may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 502A can receive electromagnetic waves through antenna x, filter and amplify the received electromagnetic waves, and then transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 502A can also amplify the signal modulated by the modulation and demodulation processor and convert it into electromagnetic waves through antenna x for radiation. In some embodiments, at least some functional modules of the mobile communication module 502A may be provided in the processor 501. In some embodiments, at least some functional modules of the mobile communication module 502A and at least some modules of the processor 501 may be provided in the same device.
[0094] The modulation and demodulation processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. Subsequently, the demodulator transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After being processed by the baseband processor, the low-frequency baseband signal is transmitted to the application processor. The application processor outputs sound signals through an audio device (not limited to the speaker 506A, receiver 506B, etc.), or displays images or video streams through the display screen 503. In some embodiments, the modulation and demodulation processor may be an independent device. In other embodiments, the modulation and demodulation processor may be independent of the processor 501 and be provided in the same device as the mobile communication module 502A or other functional modules.
[0095] The wireless communication module 502B can provide solutions for wireless communications applied to the electronic device 500, including wireless local area networks (WLANs) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite systems (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc. The wireless communication module 502B can be one or more devices integrating at least one communication processing module. The wireless communication module 502B receives electromagnetic waves via the antenna y, performs frequency modulation and filtering processing on the electromagnetic wave signals, and sends the processed signals to the processor 501. The wireless communication module 502B can also receive the signals to be sent from the processor 501, perform frequency modulation and amplification on them, and convert them into electromagnetic waves through the antenna y for radiation.
[0096] In some embodiments, the antenna x of the electronic device 500 is coupled to the mobile communication module 502A, and the antenna y is coupled to the wireless communication module 502B, so that the electronic device 500 can communicate with the network and other devices through wireless communication technologies. The wireless communication technologies may include Global System for Mobile Communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Time-Division Code Division Multiple Access (TD-SCDMA), Long Term Evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technologies, etc. The GNSS may include Global Positioning System (GPS), Global Navigation Satellite System (GLONASS), BeiDou Navigation Satellite System (BDS), Quasi-Zenith Satellite System (QZSS), and / or Satellite Based Augmentation Systems (SBAS).
[0097] As Figure 5 shown, in some implementations, the electronic device 500 may further include an external memory interface 510, an internal memory 504, a Universal Serial Bus (USB) interface 511, a charging management module 512, a power management module 513, a battery 514, an audio module 506, a speaker 506A, a receiver 506B, a microphone 506C, a headphone interface 506D, a sensor module 505, keys 509, a motor, an indicator 508, a camera 507, and a Subscriber Identification Module (SIM) card interface, etc.
[0098] The charging management module 512 is used to receive charging input from a charger. Here, the charger can be a wireless charger or a wired charger. In some embodiments of wired charging, the charging management module 512 can receive the charging input of the wired charger through the USB interface 511. In some embodiments of wireless charging, the charging management module 512 can receive the wireless charging input through the wireless charging coil of the electronic device 500. While charging the battery 514, the charging management module 512 can also supply power to the electronic device 500 through the power management module 513.
[0099] The power management module 513 is used to connect the battery 514, the charging management module 512, and the processor 501. The power management module 513 receives the input from the battery 514 and / or the charging management module 512 and supplies power to the processor 501, the internal memory 504, the external memory, the display screen 503, the camera 507, the wireless communication module 502B, etc. The power management module 513 can also be used to monitor parameters such as the capacity of the battery 514, the number of battery 514 charge cycles, and the health status (leakage, impedance) of the battery 514. In some other embodiments, the power management module 513 can also be provided in the processor 501. In some other embodiments, the power management module 513 and the charging management module 512 can also be provided in the same device.
[0100] The external memory interface 510 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 500. The external memory card communicates with the processor 501 through the external memory interface 510 to implement the data storage function. For example, files such as music and video streams are saved in the external memory card.
[0101] The internal memory 504 can be used to store computer-executable program code, and the executable program code includes instructions. The processor 501 executes various functional applications and data processing of the electronic device 500 by running the instructions stored in the internal memory 504.
[0102] The electronic device 500 can implement audio functions through the audio module 506, the speaker 506A, the receiver 506B, the microphone 506C, the headphone interface 506D, and the application processor 501, etc. For example, music playback, recording, etc.
[0103] The keys 509 include a power-on key, volume keys, etc. The keys 509 can be mechanical keys 509 or touch keys 509. The electronic device 500 can receive the input of the keys 509 and generate key signal inputs related to the user settings and function control of the electronic device 500.
[0104] The indicator 508 can be an indicator light, which can be used to indicate the charging status, power change, and can also be used to indicate messages, missed calls, notifications, etc.
[0105] The SIM card interface is used to connect the SIM card. The SIM card can be inserted into or pulled out from the SIM card interface to achieve contact and separation from the electronic device 500. The electronic device 500 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface can support Nano SIM cards, Micro SIM cards, SIM cards, etc. Multiple cards can be inserted into the same SIM card interface simultaneously. The types of the multiple cards can be the same or different. The SIM card interface can also be compatible with different types of SIM cards. The SIM card interface can also be compatible with external memory cards. The electronic device 500 interacts with the network through the SIM card to implement functions such as calls and data communication. In some embodiments, the electronic device 500 uses an eSIM, that is, an embedded SIM card. The eSIM card can be embedded in the electronic device 500 and cannot be separated from the electronic device 500.
[0106] The sensor module 505 in the electronic device 500 can include components such as a touch sensor, a pressure sensor, a gyroscope sensor, a barometric pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, an ambient light sensor, a fingerprint sensor, a temperature sensor, a bone conduction sensor, etc., to implement the function of sensing and / or acquiring different signals.
[0107] The above introduces the electronic device provided by the embodiments of the present application. It should be understood that the structure shown in the embodiments does not constitute a specific limitation on the electronic device 500. In other embodiments, the electronic device 500 may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or have different component arrangements. The components shown in the figure can be implemented in hardware, software, or a combination of software and hardware.
[0108] The embodiments of the present application also provide a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the processor is caused to execute the wake-up time determination method or reminder method described in any of the above embodiments.
[0109] The embodiments of the present application also provide a computer program product. When the computer program product runs on a computer, the computer is caused to execute the above-related steps to implement the wake-up time determination method or reminder method in the above embodiments.
[0110] An embodiment of the present application also provides a chip system. The chip system includes a processor for calling and running a computer program from a memory, so that an electronic device equipped with the chip system executes the wake-up time determination method or the reminder method described in any of the above embodiments.
[0111] The electronic device, computer-readable storage medium, computer program product or chip system provided in this embodiment are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods provided above, and will not be elaborated here.
[0112] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of modules or units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the displayed or discussed couplings or direct couplings or communication connections to each other can be through some interfaces, indirect couplings or communication connections of devices or units. The replaced units may or may not be physically separated. The components displayed as units can be one physical unit or multiple physical units, that is, they can be located in one place, or they can be distributed to multiple different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0113] In addition, in each embodiment of the present application, the functional units can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit. The above integrated units can be implemented in the form of hardware or in the form of software functional units.
[0114] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application, 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. The software product is stored in a storage medium and includes several instructions for causing a device (which can be a single-chip microcomputer, a chip, etc.) or a processor to execute all or part of the steps of the methods in the various embodiments of the present application. The foregoing storage medium includes: USB flash drive, mobile hard disk, read only memory (ROM), random access memory (RAM), magnetic disk or optical disc and other various media that can store program codes.
[0115] The above content is only a specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art within the technical scope disclosed by the present application can easily think of changes or substitutions, which should all be covered within the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims
1. A method for determining wake-up time, characterized in that, the method includes: When the itinerary is updated, obtain the updated itinerary; the updated itinerary includes: the starting time T1 of the itinerary and the destination; Determine the first duration T2 required to arrive at the destination in advance according to the itinerary type of the updated itinerary; Obtain the second duration T3, where T3 is the duration required to reach the destination from the departure place predicted by a third-party service provider based on the departure place, the destination, and road conditions; Determine the third duration T4 required for the user to get out of bed and go out according to the user profile; Predict the wake-up time T5 based on T1, T2, T3, and T4, where T5 = T1 - T2 - T3 - T4; Determine the wake-up time according to T5 and the user's habitual wake-up time T6.
2. The method according to claim 1, characterized in that, the determining the wake-up time according to T5 and the user's habitual wake-up time T6 includes: When T5 is earlier than T6 by more than the first preset value, determine T5 as the wake-up time; When T5 is not earlier than T6 by more than the first preset value, determine T6 as the wake-up time.
3. The method according to claim 1 or 2, characterized in that, the method further includes: Re-determine the wake-up time every preset duration.
4. The method according to any one of claims 1 to 3, characterized in that, the method further includes: When a preset update event occurs, re-determine the wake-up time.
5. The method according to claim 4, characterized in that, the preset update event includes: the itinerary is updated or the departure place changes.
6. The method according to any one of claims 1 to 5, characterized in that, T6 is determined according to the wake-up time every day within the recent preset time interval.
7. A reminder method, characterized in that, the method includes: Determine the wake-up time according to any one of claims 1 to 6; When the predicted wake-up time T5 is earlier than the user's habitual wake-up time T6 by more than the first preset value, trigger the execution of the first reminder message, and the first reminder message reminds the user to modify the alarm time; When the user responds to the first reminder message and determines to modify the alarm time, modify the alarm time to T5.
8. The method according to claim 7, characterized in that, the method further includes: After modifying the alarm time to T5; When re-determining the wake-up time according to any one of claims 1 to 6, the determined wake-up time is T7; When T7 is earlier than T5 by more than the second preset value, trigger the execution of the second reminder message, and the second reminder message reminds the user to modify the alarm time; When the user responds to the second reminder message and determines to modify the alarm time, modify the alarm time to T7.
9. The method according to claim 7, characterized in that, the method further includes: If the user does not respond to the first reminder message, when re-determining the wake-up time according to any one of claims 1 to 6, the determined wake-up time is T8; When T8 is earlier than T6 by more than the first preset value, trigger the execution of a third prompt message, and the third prompt message reminds the user to modify the alarm time; When the user responds to the third prompt message and determines to modify the alarm time, modify the alarm time to T8.
10. The method according to any one of claims 7 to 9, characterized in that, When the user has not slept yet at a time exceeding a preset time on the night before T1, trigger the execution of a fourth prompt message, and the fourth prompt message reminds the user to go to bed earlier.
11. An electronic device, characterized in that, comprising: a processor, a memory and an interface; The processor, the memory and the interface cooperate with each other to enable the electronic device to execute the method according to any one of claims 1 to 6 and / or 7 to 10.
12. A computer-readable storage medium, characterized in that, A computer program is stored in the computer-readable storage medium, and when the computer program is executed by an electronic device, the electronic device is enabled to execute the method according to any one of claims 1 to 6 and / or 7 to 10.
13. A chip system, characterized in that, The chip system includes a processor for calling and running a computer program from a memory, so that an electronic device installed with the chip system executes the method according to any one of claims 1 to 6 and / or 7 to 10.
Citation Information
Patent Citations
Schedule information intelligent reminding method and device, storage medium and software program product
CN113780975A
Schedule management method, electronic equipment and computer readable storage medium
CN114493470A
Travel reminding method and electronic equipment
CN115018437A
Schedule reminding method and related device
CN116708653A