Wake-up method, device, electronic device, storage medium and program product
By obtaining simulated call requests at the target time and outputting call request ringtones, and using virtual characters to simulate call reminders from friends, lovers or family members, the problem of low efficiency in existing wake-up methods is solved, and a personalized and effective wake-up plan is implemented.
Patent Information
- Application Number
- CN202210671374.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-14
- Publication Date
- 2025-09-26
- Estimated Expiration
- 2042-06-14
AI Technical Summary
Existing wake-up methods such as alarm clocks and manual wake-up are difficult to effectively improve users' wake-up efficiency, especially when there is flexibility in wake-up time and differences in sleep quality.
Get a simulated call request at the target time, and output a call request ringtone based on the request. Use a virtual character to simulate a call from a friend, lover, or family member to remind the user, and adjust the wake-up time and ringtone type according to sleep status and traffic conditions.
It improves the effectiveness of wake-up calls and the user's efficiency in getting up, and enhances the user experience, especially by providing personalized wake-up plans when sleep quality and traffic conditions change.
Smart Images

Figure CN114971577B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the fields of artificial intelligence technology, such as virtual technology and robotics technology, and in particular to a wake-up method, device, electronic device, storage medium, and program product. Background Art
[0002] At present, many people have difficulty getting up in the morning, and the main waking up methods now include alarm clock waking up and manual waking up. Alarm clock waking up is to set a time in advance, and the alarm clock works when the time arrives, while manual waking up is to wake up by family members. Summary of the Invention
[0003] The present disclosure provides a wake-up method, device, electronic device, storage medium, and program product.
[0004] According to one aspect of the present disclosure, a wake-up method is provided, comprising:
[0005] When the target time is reached, obtaining a simulated call request, wherein the simulated call request is a call request for waking up;
[0006] Based on the simulated call request, a call request ring tone is output.
[0007] According to another aspect of the present disclosure, there is provided a wake-up device, comprising:
[0008] A first acquisition module is used to acquire a simulated call request when the target time is reached, wherein the simulated call request is a call request for waking up;
[0009] The output module is used to output a call request ring tone based on the simulated call request.
[0010] According to another aspect of the present disclosure, there is provided an electronic device, comprising:
[0011] at least one processor; and
[0012] a memory communicatively connected to the at least one processor; wherein,
[0013] The memory stores instructions that can be executed by the at least one processor. The instructions are executed by the at least one processor to enable the at least one processor to perform the method provided by the present disclosure.
[0014] According to another aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to cause the computer to execute the method provided by the present disclosure.
[0015] According to another aspect of the present disclosure, a computer program product is provided, including a computer program, which implements the method provided in the present disclosure when executed by a processor.
[0016] In the present disclosure, since a call request for waking up is obtained when the target time is reached, and a call request ringtone is output based on the simulated call request, the user can be woken up by the call request ringtone to improve the waking effect.
[0017] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present disclosure, nor are they intended to limit the scope of the present disclosure. Other features of the present disclosure will become readily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] The accompanying drawings are provided to facilitate a better understanding of the present invention and do not constitute a limitation of the present disclosure.
[0019] Figure 1 This is a flow chart of a wake-up method provided by the present disclosure;
[0020] Figures 2a to 2d is a schematic diagram of a wake-up device provided by the present disclosure;
[0021] Figure 3 is a block diagram of an electronic device for implementing the embodiments of the present disclosure. DETAILED DESCRIPTION
[0022] The following description of exemplary embodiments of the present disclosure is made in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding. These details should be considered as merely exemplary. Therefore, those skilled in the art will recognize that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.
[0023] See Figure 1 , Figure 1 This is a flowchart of a wake-up method provided by the present disclosure, such as Figure 1 As shown, the following steps are included:
[0024] Step S101: When the target time is reached, a simulated call request is obtained, where the simulated call request is a call request for waking up.
[0025] Among them, the above-mentioned target time can be the wake-up time preset by the user. In some embodiments, the above-mentioned target time can be a time flexibly set based on the wake-up time preset by the user, such as postponing or advancing the wake-up time based on the above-mentioned wake-up time according to traffic conditions, which can make the wake-up time more flexible.
[0026] The above-mentioned acquisition of the simulated call request may be a locally generated simulated call request. In some implementations, it may also be a simulated call request sent by a receiving server.
[0027] In the present disclosure, a simulated call request may be a call request initiated by an avatar. In some embodiments, the simulated call request may not include an initiator, meaning the simulated call request is merely used to output a call request ringtone. Alternatively, the simulated call request may be a simulated phone call request, such as a simulated call to a mobile phone, or a simulated voice or video call request, such as a simulated voice or video call request in a chat application.
[0028] The above-mentioned call request for waking up can be understood as the main purpose of the call request being to wake up the user. In this disclosure, the user can also be referred to as the wake-up target.
[0029] In this disclosure, waking up can also be referred to as waking up early, which can be specifically understood as waking the user up.
[0030] Step S102: output a call request ring tone based on the simulated call request.
[0031] Step S102 may be to output a call request ring tone after obtaining the above-mentioned simulated call request.
[0032] The outputting of the call request ringtone may be playing the call request ringtone, or may be outputting a vibration ringtone, or may be playing the call request ringtone and outputting a vibration ringtone, that is, audio and vibration are output simultaneously.
[0033] In some implementations, the call request ringtone may also be referred to as an incoming call reminder, such as a phone call reminder, a voice or video call reminder.
[0034] In the present disclosure, the above steps can be used to wake up the user by the call request ringtone to improve the wake-up effect. In actual applications, users are often more sensitive to the call request ringtone, so the call request ringtone can have a better wake-up effect.
[0035] It should be noted that the above method of the present disclosure can be performed by an electronic device, that is, all steps of the above method are performed by the electronic device. The electronic device may include a mobile phone, a smart wearable device or a robot, wherein the smart wearable device may include a smart watch, a smart bracelet, a smart headset, smart jewelry (smart bracelet, smart bracelet, smart ring, smart necklace, smart anklet, smart anklet, etc.), a smart wristband, smart clothing, etc.
[0036] In one embodiment, the method is executed by an electronic device, and the simulated call request includes: a call request for a virtual character to call a target account, the target account is an account logged in to the electronic device, and the virtual character is a virtual character that has a friend relationship with the target account.
[0037] The target account is the account currently logged in by the electronic device. For example, the wake-up method disclosed in the present invention can be applied to a certain application. The target account is the account used by the electronic device to log in to the application, and the virtual character is a virtual character with which the target account has a friend relationship in the application.
[0038] The virtual character can be pre-set, such as a friend of the target account, a lover of the target account, or a family member of the target account. This can further improve the wake-up effect by simulating a friend, lover, or family member to wake up the user.
[0039] In some embodiments, the avatar is a avatar that chats with the target account. For example, in a chat application, the avatar is a virtual chat character created for the target account. The user can use the chat application to chat with the avatar, and the chat method may include at least one of voice chat, video chat, and text chat. Alternatively, the chat application may be an artificial intelligence (AI) chat application, such as an input method AI chat application.
[0040] The call request of the virtual character to call the target account can be understood as the initiator of the call request being the virtual character.
[0041] In this embodiment, the wake-up can be achieved by having a virtual character call the target account to improve the wake-up effect, such as by simulating a friend, lover or family member to wake up to improve the wake-up effect.
[0042] In one embodiment, the above further includes:
[0043] Based on the simulated call request, displaying a call request interface;
[0044] When an input operation for establishing a call is received during the display of the call request interface, a call interface between the virtual character and the target account is displayed;
[0045] Play the dialogue content of the virtual character.
[0046] The above-mentioned input operation may be an input operation of clicking the answering component in the above-mentioned call request interface, or the above-mentioned input operation may be a voice input operation, i.e., voice control, such as detecting that the user says "answer the call".
[0047] The above-mentioned display of the call interface between the virtual character and the target account may be, in response to the above-mentioned input operation, suggesting the call between the virtual character and the target account and displaying the call interface.
[0048] The above-mentioned conversation content may be pre-configured conversation content, or may be conversation content generated based on the chat history between the above-mentioned virtual character and the above-mentioned target account.
[0049] In this embodiment, a conversation with the user can be carried out during the waking process to simulate a real person waking up, thereby improving the waking effect.
[0050] In one embodiment, the conversation content includes at least one of the following:
[0051] The first conversation content, the second conversation content, and the third conversation content;
[0052] The first conversation content is a reminder conversation content generated based on the chat record between the virtual character and the target account, the reminder conversation content is used to remind the user of event information involved in the chat record, the event information is event information in the chat record associated with the target time period, and the target time period is the time period associated with the target time;
[0053] The second dialogue content is a dialogue content generated based on environmental information and used to describe the environmental information, wherein the environmental information includes at least one of weather information and traffic condition information;
[0054] The third conversation content is a reply conversation to the fourth conversation content, the fourth conversation content is the conversation content received by the electronic device, and the reply conversation is a conversation content for the purpose of prompting the awakened object to get up.
[0055] In this embodiment, the chat history between the virtual character and the target account may be extracted, and the event information may be extracted from the chat history, wherein the event information may be work event information that the user needs to complete within the target time period during the chat between the user and the virtual character through the target account, such as the user saying "there is an important meeting at the company tomorrow"; or, the event information may be a place that the user needs to go within the target time period, such as the user saying "I need to go on a business trip to XX city tomorrow".
[0056] The time period associated with the target time may be the same day, or the morning or afternoon of the same day.
[0057] In this embodiment, the wake-up effect can be further improved by reminding the user of the event information involved in the chat record. For example, if the user forgets that he has an important meeting or needs to go on a business trip that day, he will get up immediately after hearing the content of the first conversation.
[0058] The weather information and traffic condition information may be weather forecast information and traffic forecast information detected by the electronic device, and the traffic condition information may include traffic condition information of the user from home to the company.
[0059] The second conversation allows users to obtain weather and traffic information in advance, so that they can plan their trips in advance.
[0060] The fourth conversation content is the audio content input by the user into the electronic device, such as when the user says "I don't want to get up" or "It's still early." The third conversation content is the reply content of the real-time conversation with the user, such as when a virtual character says "Hurry up and get up, there are still many things to do today." In some embodiments, the conversation content for the purpose of prompting the awakened person to get up may be conversation content predicted by an AI model, specifically, reply content predicted by an AI model for the purpose of prompting the awakened person to get up. The conversation content for the purpose of prompting the awakened person to get up may also be the reply content generated and returned by the server after the fourth conversation content is sent to the server. The awakened person is the user.
[0061] In this embodiment, the third dialogue content can prompt the user to get up as soon as possible.
[0062] In one embodiment, the method further comprises:
[0063] Monitor the sleep state of the awakened subject;
[0064] In a case where the sleep state is a first preset sleep state, setting the target time as a first time based on a preset time, the first time being no later than the preset time;
[0065] When the sleep state is a second preset sleep state, setting the target time to a second time based on the preset time, the second time being later than the preset time;
[0066] The sleep quality of the first preset sleep state is better than the sleep quality of the second preset sleep state.
[0067] The above preset time is the pre-set time to get up.
[0068] In this embodiment, monitoring the sleeping state of the awakened subject may be by detecting tiny movements through an actigraphy device to determine the sleeping state of the awakened subject, or by measuring the sleeping state through transmission through a photoelectric sensor, or by measuring the sleeping state through an electrocardiographic sensor.
[0069] The sleep quality of the first preset sleep state is better than the sleep quality of the second preset sleep state in that the deep sleep time of the first preset sleep state is longer than the deep sleep time of the second preset sleep state, or the light sleep time of the first preset sleep state is shorter than the light sleep time of the second preset sleep state.
[0070] In this embodiment, the target time can be flexibly set according to the sleep state, so that when the sleep quality is good, the wake-up call can be performed in advance, and when the sleep quality is good, the wake-up call can be performed later, so as to reasonably arrange the sleep time of the awakened person and promote the physical health of the awakened person.
[0071] In one embodiment, the time difference between the first time and the preset time is negatively correlated with the predicted travel time, and the time difference between the second time and the preset time is negatively correlated with the predicted travel time, and the predicted travel time is the travel time predicted based on traffic condition information;
[0072] The simulated call request is associated with a first ringtone and a second ringtone, the first ringtone is used for waking up and reminding exercise, and the second ringtone is used for waking up;
[0073] When the target time is the first time and the time difference between the first time and the preset time is greater than a preset exercise time threshold, the call request ringtone includes the first ringtone;
[0074] When the target time is the second time, the call request ringtone includes the second ringtone.
[0075] The time difference between the first time and the preset time is negatively correlated with the predicted travel time, which can be understood as indicating that, if the predicted travel time is shorter, the user can be woken up earlier. Furthermore, since the first time is set in the first preset sleep state with better sleep quality, the first ringtone can allow the terminal to have sufficient time and energy for morning exercises, thereby promoting the health of the awakened subject. For example, if the awakened subject has good sleep quality at night and the route to work is not predicted to be congested, the first ringtone used for waking up and reminding the subject to exercise can be used to remind the subject to exercise in the morning.
[0076] In addition, since the time difference between the second time and the preset time is negatively correlated with the predicted passage time, this can ensure that the awakened person has more sleep time to make up for the lack of sleep caused by the second preset sleep state with poor sleep quality.
[0077] In this embodiment, corresponding ringtones can be selected according to different time differences to further improve the wake-up effect.
[0078] In one embodiment, the method further comprises:
[0079] If no response operation to the simulated call request is received within a first preset time after the start time of outputting the call request ringtone, obtaining associated information of the wake-up object;
[0080] If the associated information satisfies a preset condition, stop outputting the call request ringtone and set a silent mode, wherein the silent mode is valid for a second preset time;
[0081] The associated information meeting the preset conditions includes at least one of the following:
[0082] The total sleep duration of the N sleep times of the awakened subject is less than a first preset duration;
[0083] The average sleep duration of the N sleep times of waking up the subject is less than a second preset duration;
[0084] The work content information of the awakened object indicates that the workload is on a downward trend;
[0085] N is a positive integer.
[0086] The N sleep times may be the most recent N sleep times. For example, if the target time is 8 a.m. on the 9th, the N sleep times may be the sleep times on the nights of the 6th, 7th, and 8th.
[0087] The above-mentioned setting of the silent mode refers to setting the electronic device executing the above-mentioned method to the silent mode.
[0088] This embodiment allows the user to get more sleep if they've recently slept a short amount of time, further improving the wake-up effect. For example, if the user has slept longer for several consecutive nights, but their pre-set wake-up time remains the same, then after the call request ringtone plays for a while and the user doesn't wake up, the ringtone is muted and silent mode is set to allow the user adequate sleep. In this case, the user may have been overworked recently, so this embodiment allows the user to get more sleep to recover from physical fatigue.
[0089] The above work content information may be the work content of the awakened object on that day, and the above workload showing a downward trend may be that the work content of the awakened object on that day shows a downward trend compared with the workload of the previous day or several days.
[0090] The above-mentioned indication of a downward trend in workload through work content information can be determined by using chat records between the virtual character and the target account, such as the chat record including the awakened object sending "XX project is finally completed" or "I can finally relax tomorrow" through the account; or, the above-mentioned indication of a downward trend in workload through work content information can be determined by the home time of the awakened object, such as if the awakened object had been home late for several days before yesterday, but suddenly came home early the night before, then it can be determined that the work project of the awakened object may have been completed, so that he can leave work early, and then determine that the workload is on a downward trend.
[0091] In this embodiment, when the workload is on a downward trend, the awakened object can be given more sleep time as much as possible, thereby further improving the awakening effect.
[0092] In the present disclosure, since a call request for waking up is obtained when the target time is reached, and a call request ringtone is output based on the simulated call request, the user can be woken up by the call request ringtone to improve the waking effect.
[0093] See Figure 2a , Figure 2a This invention provides a wake-up device, such as Figure 2a As shown, the wake-up device 200 includes:
[0094] A first acquisition module 201 is configured to acquire a simulated call request when a target time is reached, wherein the simulated call request is a call request for waking up the user;
[0095] The output module 202 is configured to output a call request ring tone based on the simulated call request.
[0096] Optionally, the device is executed by an electronic device, and the simulated call request includes: a call request for a virtual character to call a target account, the target account is an account logged in to the electronic device, and the virtual character is a virtual character that has a friend relationship with the target account.
[0097] Optional, such as Figure 2b As shown, it also includes:
[0098] A first display module 203 is configured to display a call request interface based on the simulated call request;
[0099] The second display module 204 is configured to display a call interface between the virtual character and the target account when an input operation for establishing a call is received during the display of the call request interface;
[0100] The playing module 205 is used to play the dialogue content of the virtual character.
[0101] Optionally, the conversation content includes at least one of the following:
[0102] The first conversation content, the second conversation content, and the third conversation content;
[0103] The first conversation content is a reminder conversation content generated based on the chat record between the virtual character and the target account, the reminder conversation content is used to remind the user of event information involved in the chat record, the event information is event information in the chat record associated with the target time period, and the target time period is the time period associated with the target time;
[0104] The second dialogue content is a dialogue content generated based on environmental information and used to describe the environmental information, wherein the environmental information includes at least one of weather information and traffic condition information;
[0105] The third conversation content is a reply conversation to the fourth conversation content, the fourth conversation content is the conversation content received by the electronic device, and the reply conversation is a conversation content for the purpose of prompting the awakened object to get up.
[0106] Optional, such as Figure 2c As shown, the device also includes:
[0107] Monitoring module 206, for monitoring the sleeping state of the awakened subject;
[0108] A first setting module 207 is configured to set the target time to a first time based on a preset time when the sleep state is a first preset sleep state, the first time being no later than the preset time;
[0109] A second setting module 208 is configured to set the target time to a second time based on the preset time when the sleep state is a second preset sleep state, the second time being later than the preset time;
[0110] The sleep quality of the first preset sleep state is better than the sleep quality of the second preset sleep state.
[0111] Optionally, the time difference between the first time and the preset time is negatively correlated with the predicted travel time, and the time difference between the second time and the preset time is negatively correlated with the predicted travel time, and the predicted travel time is the travel time predicted based on traffic condition information;
[0112] The simulated call request is associated with a first ringtone and a second ringtone, the first ringtone is used for waking up and reminding exercise, and the second ringtone is used for waking up;
[0113] When the target time is the first time and the time difference between the first time and the preset time is greater than a preset exercise time threshold, the call request ringtone includes the first ringtone;
[0114] When the target time is the second time, the call request ringtone includes the second ringtone.
[0115] Optional, such as Figure 2d As shown, the device also includes:
[0116] The second acquisition module 209 is configured to acquire associated information of the wake-up object if no response operation to the simulated call request is received within a first preset time after the output start time of the call request ringtone;
[0117] The setting module 210 is configured to stop outputting the call request ringtone and set a silent mode when the associated information satisfies a preset condition, wherein the silent mode is valid for a second preset time;
[0118] The associated information meeting the preset conditions includes at least one of the following:
[0119] The total sleep duration of the N sleep times of the awakened subject is less than a first preset duration;
[0120] The average sleep duration of the N sleep times of waking up the subject is less than a second preset duration;
[0121] The work content information of the awakened object indicates that the workload is on a downward trend;
[0122] N is a positive integer.
[0123] The wake-up device provided in the present disclosure can implement each process implemented by the wake-up method provided in the present disclosure and achieve the same technical effect. To avoid repetition, it will not be described here.
[0124] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium, and a computer program product.
[0125] The electronic device includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the wake-up method provided in the present disclosure.
[0126] The above-mentioned readable storage medium stores computer instructions, wherein the computer instructions are used to enable the computer to execute the wake-up method provided by the present disclosure.
[0127] The above-mentioned computer program product includes a computer program, and when the computer program is executed by a processor, it implements the wake-up method provided by the present disclosure.
[0128] In the technical solutions disclosed herein, the acquisition, storage, and application of user personal information involved comply with the provisions of relevant laws and regulations and do not violate public order and good morals.
[0129] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium, and a computer program product.
[0130] Figure 3 A schematic block diagram of an example electronic device 300 that can be used to implement embodiments of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are provided as examples only and are not intended to limit the implementation of the present disclosure described and / or claimed herein.
[0131] like Figure 3 As shown, the device 300 includes a computing unit 301, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 302 or a computer program loaded from a storage unit 308 into a random access memory (RAM) 303. Various programs and data required for the operation of the device 300 can also be stored in the RAM 303. The computing unit 301, the ROM 302, and the RAM 303 are connected to each other via a bus 304. An input / output (I / O) interface 305 is also connected to the bus 304.
[0132] Various components in device 300 are connected to I / O interface 305, including: an input unit 306, such as a keyboard, mouse, etc.; an output unit 307, such as various types of displays, speakers, etc.; a storage unit 308, such as a magnetic disk, optical disk, etc.; and a communication unit 309, such as a network card, modem, wireless communication transceiver, etc. The communication unit 309 allows device 300 to exchange information / data with other devices via a computer network such as the Internet and / or various telecommunication networks.
[0133] The computing unit 301 can be a variety of general-purpose and / or specialized processing components with processing and computing capabilities. Some examples of the computing unit 301 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units that run machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The computing unit 301 performs the various methods and processes described above, such as the wake-up method. For example, in some embodiments, the wake-up method can be implemented as a computer software program that is tangibly contained in a machine-readable medium, such as the storage unit 308. In some embodiments, part or all of the computer program can be loaded and / or installed on the device 300 via the ROM 302 and / or the communication unit 309. When the computer program is loaded into the RAM 303 and executed by the computing unit 301, one or more steps of the wake-up method described above can be performed. Alternatively, in other embodiments, the computing unit 301 can be configured to perform the wake-up method by any other appropriate means (e.g., by means of firmware).
[0134] Various embodiments of the systems and techniques described herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), system-on-chip systems (SOCs), programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include being implemented in one or more computer programs that are executable and / or interpreted on a programmable system that includes at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0135] The program code for implementing the method of the present disclosure can be written in any combination of one or more programming languages. These program codes can be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device so that when the program code is executed by the processor or controller, the functions / operations specified in the flow chart and / or block diagram are implemented. The program code can be executed entirely on the machine, partially on the machine, as a stand-alone software package, partially on the machine and partially on a remote machine, or entirely on a remote machine or server.
[0136] In the context of the present disclosure, a machine-readable medium can be a tangible medium that can contain or store a program for use by or in conjunction with an instruction execution system, device or equipment. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium can include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0137] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0138] The systems and techniques described herein can be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network (LAN), a wide area network (WAN), and the Internet.
[0139] A computer system may include a client and a server. The client and server are generally remote from each other and typically interact through a communication network. The client-server relationship arises through computer programs running on the respective computers and having a client-server relationship with each other. The server may be a cloud server, a server in a distributed system, or a server integrated with a blockchain.
[0140] It should be understood that the various forms of the processes shown above can be used to reorder, add, or delete steps. For example, the steps described in this disclosure can be performed in parallel, sequentially, or in a different order, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved. This is not limited herein.
[0141] The above specific embodiments do not constitute a limitation on the scope of protection of this disclosure. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions may be made based on design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this disclosure shall be included within the scope of protection of this disclosure.
Claims
1. A waking method comprising: When the target time is reached, obtaining a simulated call request, wherein the simulated call request is a call request for waking up; Based on the simulated call request, output a call request ringtone; The method is executed by an electronic device, and the simulated call request includes: a call request from a virtual character to a target account, the target account is an account logged in by the electronic device, and the virtual character is a virtual character that has a friend relationship with the target account; Also includes: Based on the simulated call request, displaying a call request interface; When an input operation for establishing a call is received during the display of the call request interface, a call interface between the virtual character and the target account is displayed; Play the conversation content of the virtual character, wherein the conversation content includes at least one of the following: The first conversation content, the second conversation content, and the third conversation content; The first conversation content is a reminder conversation content generated based on the chat record between the virtual character and the target account, the reminder conversation content is used to remind the user of event information involved in the chat record, the event information is event information in the chat record associated with the target time period, and the target time period is the time period associated with the target time; The second dialogue content is a dialogue content generated based on environmental information and used to describe the environmental information, wherein the environmental information includes at least one of weather information and traffic condition information; The third conversation content is a reply conversation to the fourth conversation content, the fourth conversation content is the conversation content received by the electronic device, and the reply conversation is a conversation content for the purpose of prompting the awakened object to get up.
2. The method according to claim 1, further comprising: Monitor the sleep state of the awakened subject; In a case where the sleep state is a first preset sleep state, setting the target time as a first time based on a preset time, the first time being no later than the preset time; When the sleep state is a second preset sleep state, setting the target time to a second time based on the preset time, the second time being later than the preset time; The sleep quality of the first preset sleep state is better than the sleep quality of the second preset sleep state.
3. The method according to claim 2, wherein: The time difference between the first time and the preset time is negatively correlated with the predicted travel time, and the time difference between the second time and the preset time is negatively correlated with the predicted travel time, wherein the predicted travel time is the travel time predicted based on traffic condition information; The simulated call request is associated with a first ringtone and a second ringtone, the first ringtone is used for waking up and reminding exercise, and the second ringtone is used for waking up; When the target time is the first time and the time difference between the first time and the preset time is greater than a preset exercise time threshold, the call request ringtone includes the first ringtone; When the target time is the second time, the call request ringtone includes the second ringtone.
4. The method according to claim 1, further comprising: If no response operation to the simulated call request is received within a first preset time after the start time of outputting the call request ringtone, obtaining associated information of the wake-up object; If the associated information satisfies a preset condition, stop outputting the call request ringtone and set a silent mode, wherein the silent mode is valid for a second preset time; The associated information meeting the preset conditions includes at least one of the following: The total sleep duration of the N sleep times of the awakened subject is less than a first preset duration; The average sleep duration of the N sleep times of waking up the subject is less than a second preset duration; The work content information of the awakened object indicates that the workload is on a downward trend; N is a positive integer.
5. A wake-up device comprising: A first acquisition module is used to acquire a simulated call request when the target time is reached, wherein the simulated call request is a call request for waking up; An output module, configured to output a call request ring tone based on the simulated call request; The device is executed by an electronic device, and the simulated call request includes: a call request from a virtual character to a target account, the target account is an account logged in by the electronic device, and the virtual character is a virtual character that has a friend relationship with the target account; Also includes: A first display module, configured to display a call request interface based on the simulated call request; a second display module, configured to display a call interface between the virtual character and the target account when an input operation for establishing a call is received during the display of the call request interface; A playback module is configured to play the conversation content of the virtual character, wherein the conversation content includes at least one of the following: The first conversation content, the second conversation content, and the third conversation content; The first conversation content is a reminder conversation content generated based on the chat record between the virtual character and the target account, the reminder conversation content is used to remind the user of event information involved in the chat record, the event information is event information in the chat record associated with the target time period, and the target time period is the time period associated with the target time; The second dialogue content is a dialogue content generated based on environmental information and used to describe the environmental information, wherein the environmental information includes at least one of weather information and traffic condition information; The third conversation content is a reply conversation to the fourth conversation content, the fourth conversation content is the conversation content received by the electronic device, and the reply conversation is a conversation content for the purpose of prompting the awakened object to get up.
6. The apparatus according to claim 5, further comprising: A monitoring module, used to monitor the sleeping state of the awakened subject; a first setting module, configured to set the target time to a first time based on a preset time when the sleep state is a first preset sleep state, the first time being no later than the preset time; a second setting module, configured to set the target time to a second time based on the preset time when the sleep state is a second preset sleep state, the second time being later than the preset time; The sleep quality of the first preset sleep state is better than the sleep quality of the second preset sleep state.
7. The device according to claim 6, wherein The time difference between the first time and the preset time is negatively correlated with the predicted travel time, and the time difference between the second time and the preset time is negatively correlated with the predicted travel time, wherein the predicted travel time is the travel time predicted based on traffic condition information; The simulated call request is associated with a first ringtone and a second ringtone, the first ringtone is used for waking up and reminding exercise, and the second ringtone is used for waking up; When the target time is the first time and the time difference between the first time and the preset time is greater than a preset exercise time threshold, the call request ringtone includes the first ringtone; When the target time is the second time, the call request ringtone includes the second ringtone.
8. The apparatus according to claim 5, further comprising: A second acquisition module is configured to acquire associated information of a wake-up object if no response operation to the simulated call request is received within a first preset time after the output start time of the call request ringtone; A setting module, configured to stop outputting the call request ringtone and set a silent mode when the associated information meets a preset condition, wherein the effective time of the silent mode is a second preset time; The associated information meeting the preset conditions includes at least one of the following: The total sleep duration of the N sleep times of the awakened subject is less than a first preset duration; The average sleep duration of the N sleep times of waking up the subject is less than a second preset duration; The work content information of the awakened object indicates that the workload is on a downward trend; N is a positive integer.
9. An electronic device comprising: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 4.
10. A non-transitory computer-readable storage medium storing computer instructions, wherein: The computer instructions are used to cause the computer to execute the method according to any one of claims 1-4.
11. A computer program product comprising a computer program, which, when executed by a processor, implements the method according to any one of claims 1 to 4.
Citation Information
Patent Citations
Response method and response device of mobile terminal to user operation, and mobile terminal
CN105391850A
Alarm clock reminding method and alarm clock reminding device
CN109302534A