CN106022707B - Information prompting method and device - Google Patents

Information prompting method and device Download PDF

Info

Publication number
CN106022707B
CN106022707B CN201610299383.6A CN201610299383A CN106022707B CN 106022707 B CN106022707 B CN 106022707B CN 201610299383 A CN201610299383 A CN 201610299383A CN 106022707 B CN106022707 B CN 106022707B
Authority
CN
China
Prior art keywords
time
prompt
event
prompting
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610299383.6A
Other languages
Chinese (zh)
Other versions
CN106022707A (en
Inventor
陈劭
朱印
刘旭姝
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201610299383.6A priority Critical patent/CN106022707B/en
Publication of CN106022707A publication Critical patent/CN106022707A/en
Application granted granted Critical
Publication of CN106022707B publication Critical patent/CN106022707B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/109Time management, e.g. calendars, reminders, meetings or time accounting

Landscapes

  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Engineering & Computer Science (AREA)
  • Strategic Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Operations Research (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Data Mining & Analysis (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

The disclosure provides an information prompting method and device, and belongs to the technical field of terminals. The method comprises the following steps: acquiring first prompt time, wherein the first prompt time is used for prompting a user to execute a first event; determining a first preset time length; calculating a second prompt time according to the first preset time and the first prompt time, wherein the second prompt time is used for prompting the user to execute the second event, and the second event is associated with the first event; and prompting the user based on the second prompting time. The terminal can automatically predict the second event which is possibly required to be executed by the user according to the first event determined by the user, and prompts the user, so that the user can smoothly execute the first event, the flexibility and intelligence of a prompting mode are improved, and the viscosity of the user is improved.

Description

Information prompting method and device
Technical Field
The present disclosure relates to the field of terminal technologies, and in particular, to an information prompting method and apparatus.
Background
The user needs to deal with various matters in daily life, including many matters with time limit, such as getting up and catching up with a train at 6 am, etc. In order to ensure that these time-limited transactions can be processed in a timely manner, it is often necessary to prompt the user according to the time of the transaction processing.
In the related art, in order to facilitate the user to handle daily affairs, the terminal provides a function of prompting backlog, such as an alarm clock function. The user can add prompting items through the terminal, and one prompting item represents that a prompt needs to be made for the user to execute one transaction. The prompting item comprises prompting time set by a user and corresponding prompting content. When the terminal detects that the current time reaches the prompt time, the terminal prompts the user in a ringing or vibrating mode and displays corresponding prompt contents to prompt the user to perform corresponding event processing.
Disclosure of Invention
In order to overcome the problems in the related art, the present disclosure provides an information prompting method and device, and the technical scheme is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided an information prompting method, including:
acquiring first prompt time, wherein the first prompt time is used for prompting a user to execute a first event;
determining a first preset time length, and calculating a second prompt time according to the first preset time length and the first prompt time, wherein the second prompt time is used for prompting the user to execute a second event, and the second event is associated with the first event;
and prompting the user based on the second prompting time.
Optionally, the calculating a second prompt time according to the first preset duration and the first prompt time includes:
performing time backward pushing according to the first preset time length by taking the first prompt time as a reference, and determining the obtained first time point as the second prompt time; alternatively, the first and second electrodes may be,
performing time backward pushing according to the first preset time length by taking the first prompt time as a reference to obtain a first time point; and after the first time point is obtained, continuing to perform time backward pushing according to a second preset time length by taking the first time point as a reference, and determining an obtained second time point as the second prompt time.
Optionally, before the obtaining of the first prompt time, the method further includes:
when the prompt item adding operation is detected, displaying a prompt item adding interface;
generating a prompt item of the first event according to the first prompt time and the remark information of the first event which are input in the prompt item adding interface;
the acquiring of the first prompt time includes:
and acquiring the first prompting time in the prompting item of the first event.
Optionally, before the obtaining of the first prompt time, the method further includes:
when it is monitored that an application installed in a terminal generates a specified message with a time limit, displaying a prompt message for judging whether to add a prompt item to the specified message;
when the adding confirmation operation of the prompting item is detected, extracting the first prompting time and the remark information of the first event from the specified message;
generating a prompt item of the first event based on the first prompt time and the remark information of the first event;
the acquiring of the first prompt time includes:
and acquiring the first prompting time in the prompting item of the first event.
Optionally, before displaying the prompt information indicating whether to add the prompt item to the specified message, the method further includes:
acquiring user information of the user;
judging whether the user indicated by the specified message is consistent with the user or not according to the user information;
and if the user indicated by the specified message is consistent with the user, executing a step of displaying prompt information whether to add prompt items to the specified message.
Optionally, after calculating a second prompt time according to the first preset time and the first prompt time, the method further includes:
setting prompt content for the second event;
the prompting the user based on the second prompt time includes:
when the current time is detected to reach the second prompting time, acquiring a preset prompting mode, wherein the preset prompting mode at least comprises one of ringing and shaking;
and prompting the user based on the preset prompting mode, and displaying the prompting content.
Optionally, the first preset duration refers to a duration reserved for the user to execute the second event.
According to a second aspect of the embodiments of the present disclosure, there is provided an information presentation apparatus, the apparatus including:
the device comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring first prompt time which is used for prompting a user to execute a first event;
the calculating module is used for determining a first preset time length, and calculating a second prompting time according to the first preset time length and the first prompting time, wherein the second prompting time is used for prompting the user to execute a second event, and the second event is associated with the first event;
and the prompting module is used for prompting the user based on the second prompting time.
Optionally, the calculation module is configured to perform time backward estimation according to the first preset time length by taking the first prompt time as a reference, and determine an obtained first time point as the second prompt time; alternatively, the first and second electrodes may be,
performing time backward pushing according to the first preset time length by taking the first prompt time as a reference to obtain a first time point; and after the first time point is obtained, continuing to perform time backward pushing according to a second preset time length by taking the first time point as a reference, and determining an obtained second time point as the second prompt time.
Optionally, the apparatus further comprises:
the display module is used for displaying a prompt item adding interface when the prompt item adding operation is detected;
the generation module is used for generating the prompt item of the first event according to the first prompt time and the remark information of the first event which are input in the prompt item adding interface;
the obtaining module is further configured to obtain the first prompt time in the prompt item of the first event.
Optionally, the apparatus further comprises:
the display module is also used for displaying prompt information whether prompt items are added to the specified message or not when it is monitored that the application installed in the terminal generates the specified message with time limit;
the extracting module is used for extracting the first prompting time and the remark information of the first event from the specified message when the adding confirmation operation of the prompting item is detected;
the generation module is further used for generating a prompt item of the first event based on the first prompt time and the remark information of the first event;
the obtaining module is further configured to obtain the first prompt time in the prompt item of the first event.
Optionally, the obtaining module is further configured to obtain user information of the user; judging whether the user indicated by the specified message is consistent with the user or not according to the user information; and if the user indicated by the specified message is consistent with the user, executing a step of displaying prompt information whether to add prompt items to the specified message.
Optionally, the apparatus further comprises:
the setting module is used for setting prompt content for the second event;
the acquisition module is further used for acquiring a preset prompting mode when the current time is detected to reach the second prompting time, wherein the preset prompting mode at least comprises one of ringing and shaking;
the prompting module is further used for prompting the user based on the preset prompting mode and displaying the prompting content.
Optionally, the first preset duration refers to a duration reserved for the user to execute the second event.
According to a third aspect of the embodiments of the present disclosure, there is provided an information presentation apparatus including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to: acquiring first prompt time, wherein the first prompt time is used for prompting a user to execute a first event; determining a first preset time length, and calculating a second prompt time according to the first preset time length and the first prompt time, wherein the second prompt time is used for prompting the user to execute a second event, and the second event is associated with the first event; and prompting the user based on the second prompting time.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
after the first prompt time of the first event is acquired, the terminal determines a second prompt time of a second event associated with the first event, for example, the time that the user should sleep in the evening before the day is calculated according to the getting-up time set by the user, and then the terminal automatically prompts the user at the second prompt time to remind the user to execute the associated second event.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a flow diagram illustrating an information prompting method according to an example embodiment.
FIG. 2 is a flow diagram illustrating an information prompting method according to an example embodiment.
FIG. 3 is a block diagram illustrating an information prompting device according to an exemplary embodiment.
FIG. 4 is a block diagram illustrating an information prompting device according to an exemplary embodiment.
FIG. 5 is a block diagram illustrating an information prompting device according to an exemplary embodiment.
FIG. 6 is a block diagram illustrating an information prompting device according to an exemplary embodiment.
FIG. 7 is a block diagram illustrating an information prompting device according to an example embodiment.
Detailed Description
To make the objects, technical solutions and advantages of the present disclosure more apparent, embodiments of the present disclosure will be described in detail with reference to the accompanying drawings.
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Fig. 1 is a flowchart illustrating an information prompting method according to an exemplary embodiment, where the method is used in a terminal, as shown in fig. 1, and includes the following steps:
in step 101, a first prompt time is obtained, and the first prompt time is used for prompting a user to execute a first event.
In step 102, a first preset time duration is determined, and a second prompt time is calculated according to the first preset time duration and the first prompt time, wherein the second prompt time is used for prompting a user to execute a second event, and the second event is associated with the first event.
In step 103, the user is prompted based on the second prompt time.
According to the method provided by the embodiment of the disclosure, after the first prompt time of the first event is acquired, the terminal determines the second prompt time of the second event associated with the first event, for example, the time that the user should sleep in the evening before the day is calculated according to the getting-up time set by the user, and then automatically prompts the user at the second prompt time to remind the user to execute the associated second event.
Optionally, determining the second prompt time according to the first preset duration and the first prompt time includes:
performing time backward pushing according to a first preset time length by taking the first prompt time as a reference, and determining the obtained first time point as the second prompt time; alternatively, the first and second electrodes may be,
performing time backward pushing according to a first preset time length by taking the first prompt time as a reference to obtain a first time point; and after the first time point is obtained, continuing to perform time backward pushing according to a first preset time length by taking the first time point as a reference, and determining an obtained second time point as a second prompt time.
Optionally, before the first prompt time is acquired, the method further includes:
when the prompt item adding operation is detected, displaying a prompt item adding interface;
generating a prompt item of a first event according to first prompt time and remark information of the first event input in the prompt item adding interface;
acquiring a first prompt time, comprising:
a first presentation time is obtained in a presentation item of a first event.
Optionally, before the first prompt time is acquired, the method further includes:
when monitoring that an application installed on a terminal generates a specified message with a time limit, displaying a prompt message for judging whether to add a prompt item to the specified message;
when the adding confirmation operation of the prompting item is detected, extracting first prompting time and remark information of a first event from a specified message;
generating a prompt item of the first event based on the first prompt time and the remark information of the first event;
acquiring a first prompt time, comprising:
a first presentation time is obtained in a presentation item of a first event.
Optionally, before displaying the prompt message indicating whether to add the prompt item to the specified message, the method further includes:
acquiring user information of a user;
judging whether the user indicated by the specified message is consistent with the user or not according to the user information;
and if the user indicated by the specified message is consistent with the user, executing a step of displaying prompt information whether to add prompt items for the specified message.
Optionally, after calculating the second prompt time according to the first preset time and the first prompt time, the method further includes:
setting prompt content for the second event;
prompting the user based on the second prompt time, including:
when the current time is detected to reach the second prompt time, acquiring a preset prompt mode, wherein the preset prompt mode at least comprises one of ringing and shaking;
and prompting the user based on a preset prompting mode, and displaying prompting contents.
Optionally, the first preset duration refers to a duration reserved for the user to execute the second event.
All the above optional technical solutions may be combined arbitrarily to form the optional embodiments of the present disclosure, and are not described herein again.
Fig. 2 is a flowchart illustrating an information prompting method according to an exemplary embodiment, where the method is used in a terminal, as shown in fig. 2, and includes the following steps:
in step 201, a first presentation time is acquired in a presentation item of a first event.
The first prompt time is used for prompting the user to execute the first event. The user is a home terminal user who owns the terminal. In the disclosed embodiments, the user may often need to do corresponding events at a specified time, such as getting up at 7 am, getting up in a train at 2 pm, doing sports at 6 pm, and so on. Wherein, getting up a train, doing sports, etc. are the first events. The user can add corresponding prompting items for the first events on the terminal, and the prompting items can comprise the content of the first events and the first prompting time.
The manner of adding the prompt item to the first event may include the following two manners:
first, the user manually adds a prompt item, and the process may be: when detecting the prompt item adding operation, the terminal displays a prompt item adding interface; the user can set first prompt time and remark information of a first event in the prompt item adding interface; and the terminal generates the prompting item of the first event according to the first prompting time and the remark information of the first event which are input in the prompting item adding interface. Wherein the remark information of the first event is used for describing the content of the first event.
It should be noted that the user may input the first prompt time and the remark information of the first event in the prompt item adding interface. In addition, in order to facilitate the user to add the prompt item more conveniently and quickly, a selection area of the first prompt time can be displayed in the prompt item adding interface, and the user can select the prompt time required by the user from the selection area of the first prompt time to set. For the remark information of the first event, the terminal can set a common event of the prompt item according to the needs of the user, preset a plurality of selectable remark information, and the user can select the remark information needed by the user from the plurality of selectable remark information for setting. For example, the plurality of optional remark information may include getting up, doing sports, meetings, catching up trains, parties, etc., which are not specifically limited by the embodiments of the present disclosure. When the terminal detects the adding confirmation operation of the prompting item, the prompting time and the remark information set by the user are determined as the first prompting time and the remark information of the first event, and the prompting item of the first event is generated.
Secondly, the terminal automatically adds the prompt item, and the process may be: when monitoring that an application installed on a terminal generates a specified message with a time limit, displaying a prompt message for judging whether to add a prompt item to the specified message; when the adding confirmation operation of the prompting item is detected, extracting first prompting time and remark information of a first event from a specified message; and generating a prompting item of the first event based on the first prompting time and the remark information of the first event.
The specified message with the time limit is a message containing time information, and the form of the time information can be 20 minutes at 10 pm and 10: 20pm, 4 months, 1 day, 10 pm, 20 minutes, ten minutes, etc., which are not specifically limited in the embodiments of the present disclosure.
It should be noted that the application may generate various messages in the running process, such as a short message, an instant messaging message, a transaction success notification message of the application, and the like. The terminal can monitor the applied message and judge whether the message contains time information; if so, the message is determined to be a designated message with a time limit, and presumably the designated message may contain a first event, and the user may need to add a prompt to prompt the user to execute the first event. In order to ensure that the user really wants to add the prompting item to the specified message, prompting information whether to add the prompting item to the specified message is displayed to the user. The form of the prompt message may be a pop-up window form or a push message, and the content of the prompt message may be a word form of "the message may include an item to be made, and whether to add a prompt tweed to the item" or not.
Then, when the adding confirmation operation of the prompting item by the user is detected, the terminal automatically extracts the time information and the event content in the specified message, takes the time information as the first prompting time and takes the event content as the remark information of the first event.
For example, if the specified message is "saturday night 6 point a dinner party", the terminal extracts the time information "saturday night 6 point" and the event content is "dinner party" from the specified message, and then the terminal automatically adds a first prompting time as saturday night 6 point and the remark information as a prompting item of dinner party.
It should be noted that, if the specific message does not contain explicit event content, the terminal may analyze the content of the event according to the type and content of the specific message. For example, the designation message is a transaction success notification message "order number 10000, mr. lee, 2016-04-02, 14: 20 beijing west away ", the terminal may determine the content of the event as drive-up for the railway customer service message based on the specified message.
In another embodiment, in order to ensure that the event indicated in the specified message is an event to be executed by the local user, so as to improve the accuracy of the terminal automatically adding the prompt item, in the second manner, the terminal further needs to determine whether the user indicated in the specified message is consistent with the local user, and the process may be: the terminal acquires user information of a local terminal user; judging whether the user indicated by the specified message is consistent with the home terminal user or not according to the user information; and if the user indicated by the specified message is consistent with the home terminal user, executing a step of displaying prompt information whether to add prompt items for the specified message.
The process of determining whether the user indicated by the specified message is consistent with the home terminal user may be: extracting user related information from the specified message, and judging whether the extracted user related information exists in the user information of the local end user; and if so, determining that the user indicated by the specified message is consistent with the home terminal user.
For example, if the specified message is the transaction success notification message "mr. lees, 2016-04-02, stay 1 late, contact 12345678" of the accommodation application, the user-related information "mr. lees, contact 12345678" may be extracted from the specified message. If the user information of the local end user has the contact information 12345678, the user indicated by the specified message is determined to be consistent with the local end user, and then the step of adding the prompting information of the prompting item to the specified message is executed.
In step 202, a first preset duration is determined, and a second prompt time is calculated according to the first preset duration and the first prompt time, wherein the second prompt time is used for prompting a user to execute a second event, and the second event is associated with the first event.
Typically, the first event is not present in isolation, and the execution of the first event is typically associated with the presence of a second event by which the user may better complete the first event. For example, when the first event is getting up, the second event associated therewith may be sufficient sleep; when the first event is to catch a train, the second event associated therewith may be to pick up luggage; when the first event is doing exercise, the second event associated therewith may be changing an athletic suit, or the like.
The terminal can acquire a second event associated with the first event according to the event content of the first event, and determine a first preset time length of the second event, so as to determine the prompt time of the second event in the following. Specifically, the terminal may store an event association list in advance, where a correspondence between the first event and the second event is stored in the event association list. The terminal may acquire the second event associated with the first event from the event association list. In addition, the terminal may also store a corresponding relationship between the second event and the first preset duration in advance. And after the second event is obtained, obtaining the first preset duration of the second event according to the corresponding relation between the second event and the first preset duration. The corresponding relationship between the second event and the first preset time length may be as shown in table 1.
TABLE 1
Second event A first preset duration
Sufficient sleep 8 hours
Luggage 1 hour
Changeable sports wear 30 minutes
…… ……
It should be noted that the correspondence between the event association list stored in the terminal, the second event, and the first preset duration may be obtained from the server in advance. In addition, the server can adjust and update the corresponding relationship between the event association list, the second event and the first preset duration every other preset period, so that the terminal can acquire the adjusted or updated corresponding relationship between the event association list, the second event and the first preset duration from the server in real time, and prompt service is provided for the user better.
It should be noted that, the first preset duration refers to a duration reserved for the user to execute the second event, that is, a duration that the user may need to spend in executing the second event, and the size of the first preset duration is not specifically limited in the embodiment of the present disclosure. Of course, the first preset time duration may also be longer than the time duration that the user may need to execute the second event, and the embodiment of the present disclosure only infers the time duration that the user needs to execute the second event and prompts the user at the second prompt time. The first preset duration is an empirical value, and may be obtained by the server through statistics according to the behavior habits of the user, or may be obtained by the server through other data statistics platforms, which is not specifically limited in this embodiment of the disclosure.
In the embodiment of the present disclosure, the calculation process of the second prompt time may be as follows:
firstly, based on a first prompt time, time is reversed according to a first preset time length, and an obtained first time point is determined as a second prompt time.
For example, the first event is getting up, the corresponding first prompting time is 7 am on monday, the obtained second event associated with the first event is sleeping, and the first preset duration of the second event is 8 hours. Then, the second cue time is calculated as: and reversely pushing for 8 hours on the basis of 7 am to obtain that the first time point is 23 sunday, and the second time point 23 sunday is the second prompt time.
Secondly, performing time backward pushing according to a first preset time length by taking the first prompt time as a reference to obtain a first time point; and after the first time point is obtained, continuing to perform time backward pushing according to a second preset time length by taking the first time point as a reference, and determining the obtained second time point as a second prompt time. The second preset time period may be preset by the terminal or preset by the user, which is not specifically limited in this embodiment of the disclosure.
For example, the first event is getting up, the corresponding first prompt time is 7 am on monday, the obtained second event associated with the first event is sleeping, the first preset time of the second event is 8 hours, and the second preset time is 10 minutes. Then, the second cue time is calculated as: reversely pushing for 8 hours on the basis of 7 am to obtain 23 sundays as the first time point; and reversely deducing for 10 minutes on the basis of 23 days in the week to obtain 22 and 50 minutes in the day in the week at the second time point, wherein the 22 and 50 minutes in the day in the week at the second time point is the second prompt time.
It should be noted that, after determining the second prompt time, the terminal stores the second prompt time and the content corresponding to the second event. For example, the terminal may add the second reminder time and the content corresponding to the second event to the reminder item of the first event; the prompting item of the second event may also be generated according to the second prompting time and the content corresponding to the second event, which is not specifically limited in the embodiment of the present disclosure.
In step 203, the user is prompted based on the second prompt time.
The terminal continuously detects whether the current time reaches the second prompt time, acquires a preset prompt mode when the current time reaches the second prompt time, and prompts a user based on the preset prompt mode. The preset prompting mode at least comprises one of ringing and shaking.
In another embodiment, after determining the second prompt time, the terminal may further set prompt content for the second event, and the process of prompting the user may be: when the current time is detected to reach the second prompt time, acquiring a preset prompt mode; and prompting the user based on a preset prompting mode, and displaying prompting contents. By displaying the prompt content of the second event, the user can know the second event which is possibly required to be done more clearly, and the viscosity of the user is improved. Wherein the content of the second event can be automatically generated by the terminal according to the content of the second event and the first time point.
Taking the example given in step 203 above as an example, if the second event is sleep, and the first time point is sunday 23, the set prompting content may be "rest before 23 points to ensure that you have sufficient sleep for 8 hours", or the like.
It should be noted that after the prompt is performed based on the second prompt time, when the terminal detects that the current time reaches the first prompt time, the terminal prompts the user according to a preset prompt mode and displays the content of the first event. In addition, the above steps 201 to 203 may be implemented as a function of the terminal itself, and when the user's opening operation on the function is detected, the processes related to the steps 201 to 203 are executed again.
According to the method provided by the embodiment of the disclosure, after the first prompt time of the first event is acquired, the terminal determines the second prompt time of the second event associated with the first event, for example, the time that the user should sleep in the evening before the day is calculated according to the getting-up time set by the user, and then automatically prompts the user at the second prompt time to remind the user to execute the associated second event.
FIG. 3 is a block diagram illustrating an information prompting device according to an exemplary embodiment. Referring to fig. 3, the apparatus includes an obtaining module 301, a calculating module 302, and a prompting module 303.
The obtaining module 301 is connected to the calculating module 302, and is configured to obtain a first prompt time, where the first prompt time is used to prompt a user to execute a first event; the calculating module 302 is connected to the prompting module 303, and is configured to determine a first preset time, and calculate a second prompting time according to the first preset time and the first prompting time, where the second prompting time is used to prompt a user to execute a second event, and the second event is associated with the first event; and the prompting module 303 is configured to prompt the user based on the second prompting time.
Optionally, the calculating module 302 is further configured to perform time backward estimation according to a first preset time duration with the first prompt time as a reference, and determine an obtained first time point as the second prompt time; or, with the first prompt time as a reference, performing time backward pushing according to a first preset time length to obtain a first time point; and after the first time point is obtained, continuing to perform time backward pushing according to a second preset time length by taking the first time point as a reference, and determining the obtained second time point as a second prompt time.
Optionally, referring to fig. 4, the apparatus further comprises:
the display module 304 is configured to display a prompt item addition interface when a prompt item addition operation is detected;
a generating module 305, configured to generate a prompt item of the first event according to the first prompt time and the remark information of the first event, which are input in the prompt item adding interface;
the obtaining module 301 is further configured to obtain a first prompting time in the prompting item of the first event.
Optionally, referring to fig. 5, the apparatus further comprises:
the display module 304 is further configured to display a prompt message indicating whether to add a prompt item to the specified message when it is monitored that the application installed in the terminal generates the specified message with a time limit;
an extracting module 306, configured to extract, when an addition confirmation operation of a prompt item is detected, first prompt time and remark information of a first event from a specified message;
the generating module 305 is further configured to generate a prompt item of the first event based on the first prompt time and the remark information of the first event;
the obtaining module 301 is further configured to obtain a first prompting time in the prompting item of the first event.
Optionally, the obtaining module 301 is further configured to obtain user information of the user; judging whether the user indicated by the specified message is consistent with the user or not according to the user information; and if the user indicated by the specified message is consistent with the user, executing a step of displaying prompt information whether to add prompt items for the specified message.
Optionally, referring to fig. 6, the apparatus further comprises:
a setting module 307, configured to set a prompt content for the second event;
the obtaining module 301 is further configured to obtain a preset prompting mode when it is detected that the current time reaches the second prompting time, where the preset prompting mode at least includes one of ringing and shaking;
the prompting module 303 is further configured to prompt the user based on a preset prompting mode, and display a prompting content.
Optionally, the first preset duration refers to a duration reserved for the user to execute the second event.
According to the device provided by the embodiment of the disclosure, after the first prompt time of the first event is acquired, the terminal determines the second prompt time of the second event associated with the first event, for example, the time that the user should sleep in the evening before the day is calculated according to the getting-up time set by the user, and then automatically prompts the user at the second prompt time to remind the user to execute the associated second event.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
FIG. 7 is a block diagram illustrating an information prompting device according to an example embodiment. For example, the apparatus 700 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 7, apparatus 700 may include one or more of the following components: a processing component 702, a memory 704, a power component 706, a multimedia component 704, an audio component 710, an input/output (I/O) interface 712, a sensor component 714, and a communication component 716.
The processing component 702 generally controls overall operation of the device 700, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 702 may include one or more processors 720 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 702 may include one or more modules that facilitate interaction between the processing component 702 and other components. For example, the processing component 702 may include a multimedia module to facilitate interaction between the multimedia component 708 and the processing component 702.
The memory 704 is configured to store various types of data to support operations at the apparatus 700. Examples of such data include instructions for any application or method operating on device 700, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 704 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 706 provides power to the various components of the device 700. The power components 706 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 700.
The multimedia component 708 includes a screen that provides an output interface between the device 700 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 708 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 700 is in an operation mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 710 is configured to output and/or input audio signals. For example, audio component 710 includes a Microphone (MIC) configured to receive external audio signals when apparatus 700 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 704 or transmitted via the communication component 716. In some embodiments, audio component 710 also includes a speaker for outputting audio signals.
The I/O interface 712 provides an interface between the processing component 702 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 714 includes one or more sensors for providing status assessment of various aspects of the apparatus 700. For example, sensor assembly 714 may detect an open/closed state of device 700, the relative positioning of components, such as a display and keypad of device 700, sensor assembly 714 may also detect a change in position of device 700 or a component of device 700, the presence or absence of user contact with device 700, orientation or acceleration/deceleration of device 700, and a change in temperature of device 700. The sensor assembly 714 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 714 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 714 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 716 is configured to facilitate wired or wireless communication between the apparatus 700 and other devices. The apparatus 700 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 716 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 716 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 700 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described information prompting methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 704 comprising instructions, executable by the processor 720 of the device 700 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, there is also provided a non-transitory computer-readable storage medium having instructions therein, which when executed by a processor of a mobile terminal, enable the mobile terminal to perform the above-described information prompting method.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (14)

1. An information prompting method, characterized in that the method comprises:
acquiring first prompt time, wherein the first prompt time is used for prompting a user to execute a first event;
acquiring a second event associated with the first event from an event association list; the event association list comprises a pre-stored corresponding relation between the first event and the second event;
determining a first preset time length according to a preset corresponding relation between the second event and the first preset time length, wherein the first preset time length refers to a time length reserved for the user to execute the second event;
based on the first prompt time, performing time backward pushing according to the first preset time length, and calculating a second prompt time, wherein the second prompt time is used for prompting the user to execute the second event;
and prompting the user based on the second prompting time.
2. The method according to claim 1, wherein calculating a second cue time by performing a backward time extrapolation according to the first preset duration with the first cue time as a reference comprises:
performing time backward pushing according to the first preset time length by taking the first prompt time as a reference, and determining the obtained first time point as the second prompt time; alternatively, the first and second electrodes may be,
performing time backward pushing according to the first preset time length by taking the first prompt time as a reference to obtain a first time point; and after the first time point is obtained, continuing to perform time backward pushing according to a second preset time length by taking the first time point as a reference, and determining an obtained second time point as the second prompt time.
3. The method of claim 1, wherein prior to obtaining the first cue time, the method further comprises:
when the prompt item adding operation is detected, displaying a prompt item adding interface;
generating a prompt item of the first event according to the first prompt time and the remark information of the first event which are input in the prompt item adding interface;
the acquiring of the first prompt time includes:
and acquiring the first prompting time in the prompting item of the first event.
4. The method of claim 1, wherein prior to obtaining the first cue time, the method further comprises:
when it is monitored that an application installed in a terminal generates a specified message with a time limit, displaying a prompt message for judging whether to add a prompt item to the specified message;
when the adding confirmation operation of the prompting item is detected, extracting the first prompting time and the remark information of the first event from the specified message;
generating a prompt item of the first event based on the first prompt time and the remark information of the first event;
the acquiring of the first prompt time includes:
and acquiring the first prompting time in the prompting item of the first event.
5. The method of claim 4, wherein before displaying the reminder information of whether to add a reminder item to the specified message, the method further comprises:
acquiring user information of the user;
judging whether the user indicated by the specified message is consistent with the user or not according to the user information;
and if the user indicated by the specified message is consistent with the user, executing a step of displaying prompt information whether to add prompt items to the specified message.
6. The method according to claim 1, wherein after calculating a second cue time by performing a backward time shift according to the first preset duration based on the first cue time, the method further comprises:
setting prompt content for the second event;
the prompting the user based on the second prompt time includes:
when the current time is detected to reach the second prompting time, acquiring a preset prompting mode, wherein the preset prompting mode at least comprises one of ringing and shaking;
and prompting the user based on the preset prompting mode, and displaying the prompting content.
7. An information prompting device, the device comprising:
the device comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring first prompt time which is used for prompting a user to execute a first event; acquiring a second event associated with the first event from an event association list; the event association list comprises a pre-stored corresponding relation between the first event and the second event;
the calculation module is used for determining a first preset time length according to a preset corresponding relation between the second event and the first preset time length, wherein the first preset time length refers to a time length reserved for the user to execute the second event; based on the first prompt time, performing time backward pushing according to the first preset time length, and calculating a second prompt time, wherein the second prompt time is used for prompting the user to execute the second event;
and the prompting module is used for prompting the user based on the second prompting time.
8. The device according to claim 7, wherein the calculating module is configured to perform a time backward-stepping according to the first preset duration with the first prompt time as a reference, and determine the obtained first time point as the second prompt time; alternatively, the first and second electrodes may be,
performing time backward pushing according to the first preset time length by taking the first prompt time as a reference to obtain a first time point; and after the first time point is obtained, continuing to perform time backward pushing according to a second preset time length by taking the first time point as a reference, and determining an obtained second time point as the second prompt time.
9. The apparatus of claim 7, further comprising:
the display module is used for displaying a prompt item adding interface when the prompt item adding operation is detected;
the generation module is used for generating the prompt item of the first event according to the first prompt time and the remark information of the first event which are input in the prompt item adding interface;
the obtaining module is further configured to obtain the first prompt time in the prompt item of the first event.
10. The apparatus of claim 7, further comprising:
the display module is used for displaying prompt information whether prompt items are added to the specified message or not when it is monitored that the application installed in the terminal generates the specified message with time limit;
the extracting module is used for extracting the first prompting time and the remark information of the first event from the specified message when the adding confirmation operation of the prompting item is detected;
the generation module is used for generating a prompt item of the first event based on the first prompt time and the remark information of the first event;
the obtaining module is further configured to obtain the first prompt time in the prompt item of the first event.
11. The apparatus of claim 10, wherein the obtaining module is further configured to obtain user information of the user; judging whether the user indicated by the specified message is consistent with the user or not according to the user information; and if the user indicated by the specified message is consistent with the user, executing a step of displaying prompt information whether to add prompt items to the specified message.
12. The apparatus of claim 7, further comprising:
the setting module is used for setting prompt content for the second event;
the acquisition module is further used for acquiring a preset prompting mode when the current time is detected to reach the second prompting time, wherein the preset prompting mode at least comprises one of ringing and shaking;
the prompting module is further used for prompting the user based on the preset prompting mode and displaying the prompting content.
13. An information presentation device, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
acquiring first prompt time, wherein the first prompt time is used for prompting a user to execute a first event;
acquiring a second event associated with the first event from an event association list; the event association list comprises a pre-stored corresponding relation between the first event and the second event;
determining a first preset time length according to a preset corresponding relation between the second event and the first preset time length, wherein the first preset time length refers to a time length reserved for the user to execute the second event;
based on the first prompt time, performing time backward pushing according to the first preset time length, and calculating a second prompt time, wherein the second prompt time is used for prompting the user to execute the second event;
and prompting the user based on the second prompting time.
14. A non-transitory computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 6.
CN201610299383.6A 2016-05-06 2016-05-06 Information prompting method and device Active CN106022707B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610299383.6A CN106022707B (en) 2016-05-06 2016-05-06 Information prompting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610299383.6A CN106022707B (en) 2016-05-06 2016-05-06 Information prompting method and device

Publications (2)

Publication Number Publication Date
CN106022707A CN106022707A (en) 2016-10-12
CN106022707B true CN106022707B (en) 2022-04-26

Family

ID=57099030

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610299383.6A Active CN106022707B (en) 2016-05-06 2016-05-06 Information prompting method and device

Country Status (1)

Country Link
CN (1) CN106022707B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109982130A (en) * 2019-04-11 2019-07-05 北京字节跳动网络技术有限公司 A kind of video capture method, apparatus, electronic equipment and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104697541A (en) * 2013-12-10 2015-06-10 大陆汽车投资(上海)有限公司 Method for providing trip-associated information

Also Published As

Publication number Publication date
CN106022707A (en) 2016-10-12

Similar Documents

Publication Publication Date Title
US10264085B2 (en) Method and device for presenting push notifications
CN107438811B (en) Information screen display method and device
CN105224349B (en) Application program deletion prompting method and device
CN106325674B (en) Message prompting method and device
US10218846B2 (en) Call processing method and device
EP2977945A1 (en) Method and device for agenda management
EP3731088B1 (en) Method and device for displaying information and storage medium
CN106354571B (en) Message reminding method and device
CN109218509B (en) Information screen display method and device and computer readable storage medium
CN107454204B (en) User information labeling method and device
US20170289808A1 (en) Method and device for information presentation and computer-readable medium
US9628966B2 (en) Method and device for sending message
CN106920170B (en) Transaction reminding method and device
CN106331328B (en) Information prompting method and device
CN106843627B (en) Recording method, device and equipment of calendar event
CN107316207B (en) Method and device for acquiring display effect information
CN106527703B (en) Message reminding method and device
US20170147593A1 (en) Contact managing method and apparatus, and storage medium
CN106022707B (en) Information prompting method and device
CN107896277B (en) Method and device for setting alarm clock reminding mode and computer readable storage medium
CN108012258B (en) Data traffic management method and device for virtual SIM card, terminal and server
CN107423950B (en) Alarm clock setting method and device
CN107809538B (en) Alarm clock reminding method and device and computer readable storage medium
CN106550012B (en) Monitoring method of intelligent equipment and intelligent equipment
CN105959486B (en) Notification method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant