A schedule reminder method, device, server and readable storage medium
By pushing reminder messages for a schedule event collection to the user when the aggregation reminder time arrives, the problem that the existing schedule management system cannot meet the user's global notification and aggregation management is solved, and efficient aggregation reminder and management of the schedule is achieved.
Patent Information
- Application Number
- CN201910751991.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-08-14
- Publication Date
- 2024-11-22
- Estimated Expiration
- 2040-04-30
AI Technical Summary
The existing schedule management system cannot meet users' global notification and aggregation management needs for the schedule, and cannot help users plan their itinerary in advance.
When the aggregation reminder time arrives, the aggregation reminder and management of the agenda is pushed to the target user for the reminder message of the agenda event collection during the target aggregation reminder cycle.
It meets users' aggregation management needs for the agenda, helps users manage their own agenda globally, and improves the efficiency and accuracy of schedule planning.
Smart Images

Figure CN110796426B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a schedule reminder method, device, server and readable storage medium. Background Art
[0002] There are many "schedule" products on the market. Users can enter their schedules and set reminder times. Before the schedule starts, the schedule system will remind the user. Although this method basically meets the basic schedule management needs of users, in actual business, users also hope to have a global notification of their schedules to help users plan their trips in advance.
[0003] Therefore, how to meet users' needs for aggregated schedule management has become an urgent problem to be solved. Summary of the invention
[0004] The embodiments of the present invention provide a schedule reminder method, device, server and readable storage medium, which push a reminder message about the schedule event set of the target user within the target aggregation reminder period to the target user when the aggregation reminder time arrives, so as to meet the user's demand for aggregate management of the schedule.
[0005] In a first aspect, an embodiment of the present invention provides a schedule reminder method, comprising:
[0006] Acquire a schedule reminder queue, wherein the schedule reminder queue includes an aggregate reminder time and an aggregate reminder cycle corresponding to each user;
[0007] When it is detected that the aggregate reminder time corresponding to the target user in the schedule reminder queue arrives, determining a target aggregate reminder period according to the aggregate reminder time corresponding to the target user;
[0008] Acquire a schedule event set of the target user within the target aggregation reminder period, where the schedule event set includes at least one schedule event;
[0009] Push a reminder message about the schedule event set to a terminal corresponding to the target user.
[0010] In a second aspect, an embodiment of the present invention provides a schedule reminder device, including:
[0011] A first acquisition unit is used to acquire a schedule reminder queue, wherein the schedule reminder queue includes an aggregate reminder time and an aggregate reminder cycle corresponding to each user;
[0012] A determination unit, configured to determine a target aggregation reminder period according to the aggregation reminder time corresponding to the target user in the schedule reminder queue when it is detected that the aggregation reminder time corresponding to the target user has arrived;
[0013] A second acquisition unit is used to acquire a schedule event set of the target user in the target aggregation reminder period, wherein the schedule event set includes at least one schedule event;
[0014] The push unit is used to push a reminder message about the schedule event set to a terminal corresponding to the target user.
[0015] In the third aspect, an embodiment of the present invention further provides a server, comprising: a processor and a storage device; the storage device is used to store program instructions; the processor calls the program instructions to execute: obtaining a schedule reminder queue, the schedule reminder queue including the aggregate reminder time and aggregate reminder cycle corresponding to each user; when it is detected that the aggregate reminder time corresponding to the target user in the schedule reminder queue arrives, determining the target aggregate reminder cycle according to the aggregate reminder time corresponding to the target user; obtaining the schedule event set of the target user within the target aggregate reminder cycle, the schedule event set including at least one schedule event; and pushing a reminder message about the schedule event set to the terminal corresponding to the target user.
[0016] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, in which program instructions are stored. When the program instructions are executed, they are used to implement the method described in the first aspect above.
[0017] The embodiment of the present invention can obtain a schedule reminder queue including the aggregate reminder time and aggregate reminder cycle corresponding to each user, determine the target aggregate reminder cycle according to the aggregate reminder time corresponding to the target user when the aggregate reminder time is detected to have arrived, obtain the schedule event set of the target user within the target aggregate reminder cycle, and push a reminder message about the schedule event set to the terminal corresponding to the target user. Through this implementation, aggregate reminders for schedule events can be realized, meeting the needs of users for aggregate reminders and management of schedules. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0019] Figure 1 It is a flowchart of a schedule reminder method provided by an embodiment of the present invention;
[0020] Figure 2ais a schematic diagram of a schedule configuration interface provided by an embodiment of the present invention;
[0021] Figure 2b is a schematic diagram of a schedule aggregation reminder setting interface provided by an embodiment of the present invention;
[0022] Figure 2c is a schematic diagram of an aggregation reminder cycle setting interface provided by an embodiment of the present invention;
[0023] Figure 2d is a schematic diagram of a time setting interface provided by an embodiment of the present invention;
[0024] Figure 2e is a schematic diagram of another time setting interface provided by an embodiment of the present invention;
[0025] Figure 2f is a schematic diagram of an aggregate reminder time setting interface provided by an embodiment of the present invention;
[0026] Figure 2g is a schematic diagram of another schedule aggregation reminder setting interface provided by an embodiment of the present invention;
[0027] Figure 3 is a schematic diagram of module interaction provided by an embodiment of the present invention;
[0028] Figure 4 It is a schematic diagram of a business process diagram of a schedule reminder method provided by an embodiment of the present invention;
[0029] Figure 5a is a schematic diagram of a text-based reminder message provided by an embodiment of the present invention;
[0030] Figure 5b is a schematic diagram of a card-format reminder message provided by an embodiment of the present invention;
[0031] Figure 6a is a schematic diagram of another schedule configuration interface provided by an embodiment of the present invention;
[0032] Figure 6b is a schematic diagram of another text-based reminder message provided by an embodiment of the present invention;
[0033] Figure 6c is a schematic diagram of another card-format reminder message provided by an embodiment of the present invention;
[0034] Figure 7 is a structural schematic diagram of a schedule reminder device provided by an embodiment of the present invention;
[0035] Figure 8 It is a structural diagram of a server provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0036] The technical solutions in the embodiments of the present invention will be described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0037] Some embodiments of the present invention are described in detail below in conjunction with the accompanying drawings. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.
[0038] The schedule reminder method provided in the embodiment of the present invention may be executed by a server, and specifically, may be executed by a schedule reminder device in the server.
[0039] Currently, with the calendar products on the market, users can create calendars and add, delete, modify, and check calendars; users can be reminded before the calendar starts; calendars created by users can be synchronized to the default calendar application in the system; users can actively view calendars in different views such as "day", "week", and "month". These basic functions basically meet the basic calendar management needs of users, but they cannot provide aggregate reminders for users and cannot help users actively manage global schedules. Users can only check their schedules themselves. In terms of "schedules", some application platforms such as WeChat for Enterprises and WeChat for Government Affairs also provide users with basic functions of creating schedules and schedule reminders. However, in actual business applications, users also hope to have a global understanding of their schedules. For example, users want to know the schedule for today or this week.
[0040] Therefore, this solution proposes a schedule reminder method with the help of the message notification capabilities of some application platforms such as WeChat for Enterprise. This method is a "schedule aggregation reminder" solution that can provide users with the function of schedule aggregation reminder to help users manage their schedules from a global perspective. For example: users can choose to be reminded of all schedules for the day at 9 am every day, and can adjust or otherwise manage today's schedule.
[0041] In one embodiment, the user can configure the reminder frequency, i.e., the aggregate reminder time and the aggregate reminder cycle, in the schedule reminder configuration interface. When the reminder time point, i.e., the aggregate reminder time, is reached, the system can remind the user of the aggregate schedule. If there is no corresponding schedule event when the reminder time point is reached, no reminder will be given. For example, to remind all schedules of the day, the reminder time can be customized, such as 9:00; for another example, to remind all schedules of the next day, the reminder time can be customized, such as 17:00; for another example, to remind all schedules of the week, the reminder time can be customized, such as 9:00 on Monday; for another example, to remind all schedules of the next week, the reminder time can be customized, such as 17:00 on Friday.
[0042] In some embodiments, the present solution can be implemented by setting up modules such as a configuration service module, a schedule aggregation service module, a schedule reminder task module, a message push service module, and a reminder queue module; in some embodiments, a module refers to a type of data that is parsed and encapsulated from data returned by one or more interfaces.
[0043] In some embodiments, the configuration service module is used to provide user reminder frequency, namely, aggregate reminder time and aggregate reminder cycle configuration, and generate a schedule reminder queue according to the configured aggregate reminder time, and can aggregate schedule reminder settings of multiple application platforms through a schedule reading interface.
[0044] In some embodiments, the schedule aggregation service module is used to obtain log data of various application platforms through a schedule reading interface, such as log data of enterprise WeChat, government WeChat and other application platforms.
[0045] In some embodiments, the schedule reminder task module is used to poll the schedule reminder queue at a preset frequency, and after acquiring the schedule event set through the schedule aggregation service module, push the reminder message about the schedule event set to the message push service module.
[0046] In some embodiments, the message push service module is used to push reminder messages about a set of schedule events to a designated application platform (such as enterprise WeChat, government WeChat, etc.).
[0047] In some embodiments, the reminder queue module is used to generate a schedule reminder queue according to the aggregate reminder time and aggregate reminder period configured by the user. The queue uses the reminder time as the key and the set of users who need to execute the reminder task at the current time as the value. For example, the reminder queue can be generated on a daily basis, and the schedule reminder queue that needs to be executed the next day is generated at a fixed time every night. After the user changes the schedule reminder settings through the configuration service module, the schedule reminder queue is updated in real time.
[0048] In one embodiment, the interaction between the modules can be specifically Figure 3Take this as an example to illustrate: Figure 3 Schematic diagram of module interaction provided by an embodiment of the present invention. Figure 3 As shown, user 301, user 302, and user 303 respectively configure the aggregation reminder time and aggregation reminder period through the configuration service module 31, and generate a schedule reminder queue 32 according to the configured aggregation reminder time and aggregation reminder period; poll the schedule reminder queue 32 at a preset frequency through the schedule reminder task module 33, obtain the schedule event set from the enterprise WeChat 351, government WeChat 352 and other application platforms through the schedule aggregation service module 34, and push the reminder message about the schedule event set to the message push service module 36, so that the reminder message is pushed to the specified application platform in the enterprise WeChat 351, government WeChat 352, etc. through the message push service module 36.
[0049] In this solution, each module can be managed based on a policy. The "module manager" determines the data flow between modules through a policy, which facilitates the free combination of modules and provides good adaptability for a variety of business scenarios. The data flow between the modules of the system is based on messages and queues, which realizes the decoupling of modules and facilitates the independent expansion of modules. The schedule aggregation service module and the message push service module adopt the thread pool mode to realize multi-task concurrent execution. By configuring the service module interface, the data connection of each application platform can be quickly realized, and the hot-swappable expansion capability can be realized. The reminder message is guaranteed by logging and status tracking to avoid repeated push.
[0050] A process of the schedule reminder method provided by an embodiment of the present invention can be specifically Figure 4 Take this as an example to illustrate, Figure 4 Schematic diagram of a business process diagram of a schedule reminder method provided by an embodiment of the present invention. Figure 4 As shown, the server can obtain the configured aggregate reminder time and aggregate reminder cycle from the schedule reminder configuration interface, and determine whether the aggregate reminder time and aggregate reminder cycle comply with the rules. If they comply with the rules, it determines to configure and process the aggregate reminder time and aggregate reminder cycle, and stores the aggregate reminder time and aggregate reminder cycle, and generates a schedule reminder queue according to the configured aggregate reminder time and aggregate reminder cycle.
[0051] The server can poll the corresponding aggregate reminder time in the schedule reminder queue at a preset frequency to monitor the schedule reminder queue, and determine whether there is a reminder task by monitoring whether the current time matches the aggregate reminder time. If a reminder task is detected, task distribution is performed, that is, a task queue is generated according to the schedule event set within the target aggregate reminder cycle. In some embodiments, the task queue is obtained by calling the schedule reading interface through thread pool task scheduling to obtain the schedule event set set by the target user on various application platforms such as government WeChat and enterprise WeChat; the schedule event set is obtained by schedule aggregation of schedule events whose schedule time is within the target aggregate reminder cycle.
[0052] When it is determined that there is schedule information, i.e., a schedule event set, that needs to be reminded at the schedule reminder time, a reminder message about the schedule event set is pushed to a designated application platform such as government WeChat and enterprise WeChat through a message push service module.
[0053] The schedule reminder method provided by the embodiment of the present invention is schematically described below with reference to the accompanying drawings.
[0054] For details, please see Figure 1 , Figure 1 The following is a flow chart of a schedule reminder method provided by an embodiment of the present invention, wherein the method can be executed by a schedule reminder device in a server, wherein the specific explanation of the server is as described above. Specifically, the method of the embodiment of the present invention includes the following steps.
[0055] S101: Acquire a schedule reminder queue, where the schedule reminder queue includes an aggregate reminder time and an aggregate reminder cycle corresponding to each user.
[0056] In an embodiment of the present invention, the server may obtain a schedule reminder queue, which includes an aggregate reminder time and an aggregate reminder cycle corresponding to each user. In some embodiments, a queue refers to a type of ordered data set composed of multiple key-value pairs.
[0057] In one embodiment, before obtaining the schedule reminder queue, the server can also output a schedule reminder configuration interface through a terminal that establishes a connection with the server. The user can configure the aggregate reminder time and the aggregate reminder cycle through the schedule reminder configuration interface output by the terminal. The terminal can send the aggregate reminder time and the aggregate reminder cycle configured by the user on the schedule reminder configuration interface to the server, so that the server obtains the aggregate reminder time and the aggregate reminder cycle configured by each user in the schedule reminder configuration interface, and generates the schedule reminder queue according to the configured aggregate reminder time and aggregate reminder cycle.
[0058] In one embodiment, the schedule reminder configuration interface may be specifically displayed in an application interface of a schedule management application.
[0059] In some embodiments, the aggregate reminder time may be a specific time such as 9:00, and the aggregate reminder period may be a day period, a week period, a month period, etc., which is not specifically limited in the embodiment of the present invention.
[0060] In some embodiments, the schedule reminder queue can be generated on a daily basis with the aggregate reminder time as the dimension. For example, if user A sets a reminder at 9 o'clock and user B sets a reminder at 9 o'clock, a schedule reminder queue of "09-00-00:[A,B]" will be generated. By using this queue method at the same time, multi-threaded processing is conveniently implemented, solving the problem of single-thread limitation of common polling tasks.
[0061] Specific can be combined Figure 2a-2g Take this as an example to illustrate, Figure 2a Schematic diagram of a schedule configuration interface provided by an embodiment of the present invention. Before obtaining the schedule reminder queue, the server can output the following information through a terminal connected to the server: Figure 2a The schedule reminder configuration interface 20 shown in the figure can be used by the user to configure the schedule reminder configuration interface 20 of the terminal. The schedule configuration interface 20 includes calendar information, and the schedule configuration interface 20 includes a setting control 201, a calendar area 202, and a schedule event area 203. When the user clicks the setting control 201 on the schedule configuration interface 20, the following output can be displayed: Figure 2b The setting interface 21 shown, Figure 2b is a schematic diagram of a schedule aggregation reminder setting interface provided by an embodiment of the present invention, where a user can click Figure 2b The schedule aggregation reminder control 211 in the setting interface 21 shown in the figure outputs Figure 2c The aggregation reminder cycle setting interface 22 shown, Figure 2c Schematic diagram of an aggregation reminder cycle setting interface provided by an embodiment of the present invention. Figure 2c As shown, the user can click on the control 221 for reminding the schedule of the current day, click on the control 222 for reminding the schedule of the next day, click on the control 223 for reminding the schedule of this week, and click on the control 224 for reminding the schedule of the next week in the aggregation reminder cycle setting interface 22. For example, when the user clicks on the control 221 for reminding the schedule of the current day, the following output can be output: Figure 2d The time setting interface 23 shown, Figure 2d is a schematic diagram of a time setting interface provided by an embodiment of the present invention. For another example, when a user clicks on the control 223 for reminding the schedule of this week, the following may be output: Figure 2e The time setting interface 24 shown, Figure 2eIt is a schematic diagram of another time setting interface provided by an embodiment of the present invention.
[0062] The user can select the reminder time of the current day's schedule as 9:00 am in the time setting interface 23, and the user can select the reminder time of this week's schedule as 9:00 am on Monday in the time setting interface 24. Similarly, the user can also select the reminder time of the next day's schedule as 17:00 pm, and the user can also select the reminder time of the next week's schedule as 17:00 pm on Friday. After selecting the reminder time, the user can output the following information: Figure 2f The aggregation reminder time setting interface 25 shown, Figure 2f is a schematic diagram of an aggregate reminder time setting interface provided by an embodiment of the present invention. When the user clicks the return control 251 in the aggregate reminder time setting interface 25, the user will return to the same Figure 2b Corresponding Figure 2g The setting interface 26 shown, Figure 2g is a schematic diagram of another schedule aggregation reminder setting interface provided by an embodiment of the present invention, Figure 2g Yes Figure 2b The corresponding interface after the schedule aggregation reminder.
[0063] It can be seen that through this implementation, the user can configure the aggregate reminder time and aggregate reminder cycle on the schedule reminder configuration interface through the terminal, and return the configuration result to the server, which improves the flexibility of configuring the aggregate reminder time and aggregate reminder cycle.
[0064] S102: When it is detected that the aggregate reminder time corresponding to the target user in the schedule reminder queue arrives, a target aggregate reminder period is determined according to the aggregate reminder time corresponding to the target user.
[0065] In an embodiment of the present invention, when it is detected that the aggregate reminder time corresponding to the target user in the schedule reminder queue arrives, the server can determine the target aggregate reminder period according to the aggregate reminder time corresponding to the target user. In some embodiments, the aggregate reminder time corresponding to the target user is before the target aggregate reminder period.
[0066] In one embodiment, before detecting that the aggregate reminder time corresponding to the target user in the schedule reminder queue has arrived, the server may also poll the aggregate reminder time corresponding to each user in the schedule reminder queue at a preset frequency, and match the current time with the aggregate reminder time corresponding to each user, respectively, to detect whether there is an arrived aggregate reminder time in the schedule reminder queue. For example, the aggregate reminder time corresponding to each user in the schedule reminder queue may be polled at a preset frequency of 1 time / second, and if it is detected that the current time 9:00 matches the aggregate reminder time 9:00 corresponding to the target user, it may be determined that there is an arrived aggregate reminder time 9:00 in the schedule reminder queue.
[0067] S103: Acquire a schedule event set of the target user within the target aggregation reminder period, where the schedule event set includes at least one schedule event.
[0068] In an embodiment of the present invention, the server may obtain a schedule event set of the target user within the target aggregation reminder period, wherein the schedule event set includes at least one schedule event. In some embodiments, the schedule event includes time information and event content information, for example, visiting an exhibition at Tianhe Sports Center at 9:00 am on April 20.
[0069] In one embodiment, before obtaining the schedule event set of the target user in the target aggregation reminder cycle, wherein the schedule event set includes at least one schedule event, the server may also call a schedule reading interface to obtain the schedule events set by the target user on various application platforms.
[0070] In one embodiment, when the server obtains the set of schedule events of the target user that is within the target aggregation reminder period, it can obtain the schedule time of the schedule events set by the target user on the various application platforms, and determine the set of schedule events of the target user whose schedule time is within the target aggregation reminder period from the schedule events set by the target user on the various application platforms.
[0071] For example, assuming the target aggregation reminder period is April 1st, the server can obtain the schedule time of the schedule events set by the target user on each application platform, and determine the set of schedule events of the target user whose schedule time is on April 1st from the schedule events set by the target user on each application platform.
[0072] S104: Pushing a reminder message about the schedule event set to a terminal corresponding to the target user.
[0073] In an embodiment of the present invention, the server can push a reminder message about the schedule event set to the terminal corresponding to the target user. In some embodiments, the message is a description of the event that occurred, and the message notifies the program of the occurrence of the event. A message includes the name of the message, an identifier, some parameters when the message occurs, and the destination of the message flow.
[0074] In one embodiment, before the server pushes a reminder message about the set of schedule events to the terminal corresponding to the target user, it can also obtain the schedule time of each schedule event included in the set of schedule events, and sort the schedule events according to the sequence of the schedule time to obtain a task queue to be reminded, thereby generating a reminder message about the set of schedule events according to the task queue to be reminded. For example, assuming that the set of schedule events includes visiting an exhibition at Tianhe Sports Center at 9:00 a.m. and attending a committee meeting at 14:00 p.m., then the schedule events can be sorted according to the sequence of the schedule time, and the task queue to be reminded is 9:00 a.m. to visit an exhibition at Tianhe Sports Center and 14:00 p.m. to attend a committee meeting.
[0075] In one embodiment, the server pushes a reminder message about the schedule event set to the terminal corresponding to the target user, so that the terminal can output the reminder message about the schedule event set through a designated application platform, or output the reminder message about the schedule event set in the form of a system notification.
[0076] In some embodiments, the reminder message includes title information and content information, the title information is used to prompt the target aggregation reminder period, and the content information includes the content of each schedule event in the schedule event set.
[0077] In one embodiment, the server pushes a reminder message about the schedule event set to the terminal corresponding to the target user, and the terminal may display the reminder message about the schedule event set to the target user in text form.
[0078] Specific can be combined Figure 2a and Figure 5a An example is given of displaying a reminder message about a set of schedule events to the target user in text form. Figure 5a It is a schematic diagram of a text-format reminder message provided by an embodiment of the present invention. Figure 2a The schedule event area 203 in the schedule event list is used to display the schedule event set to be reminded. Figure 2aWhen the calendar area 202 in the image shows the 26th, when the aggregate reminder time arrives, the schedule event area 203 displays the schedule event set for the 26th, such as visiting the exhibition at Tianhe Sports Center at 9:00 am and attending the committee meeting at 14:00 pm. Figure 2a When the text link in 204 or text link 205 is output Figure 5a The reminder message in text form about the schedule event set in the schedule event area 203 is shown, such as Figure 5a The interface of the reminder message in text form includes title information 51 such as today's schedule, and content information 52.
[0079] For example, you can combine Figure 6a and Figure 6b An example is given of displaying a reminder message about a set of schedule events to the target user in text form. Figure 6a is a schematic diagram of another schedule configuration interface provided by an embodiment of the present invention. Figure 6b It is a schematic diagram of another text-format reminder message provided by an embodiment of the present invention. Figure 6a The schedule event area 601 in the display is used to display the schedule event set to be reminded. Figure 6a When the aggregate reminder time arrives at the 23rd in the calendar area 602, the schedule event area 601 displays the schedule event set for the 23rd, such as visiting the exhibition at Tianhe Sports Center at 9:00 am and attending the committee meeting at 14:00 pm. Figure 6a When the text link 603 or text link 604 is in the output Figure 6b The reminder message in text form about the schedule event set in the schedule event area 601 includes title information 611 and content information 612 .
[0080] Specific can be combined Figure 2a and Figure 5b An example of displaying reminder messages about a set of schedule events to target users in the form of cards is given. Figure 5b It is a schematic diagram of a card-format reminder message provided by an embodiment of the present invention. Figure 2a The schedule event area 203 in the schedule event list is used to display the schedule event set to be reminded. Figure 2a When the calendar area 202 in the image shows the 26th, when the aggregate reminder time arrives, the schedule event area 203 displays the schedule event set for the 26th, such as visiting the exhibition at Tianhe Sports Center at 9:00 am and attending the committee meeting at 14:00 pm. Figure 2a When the card link 206 or card link 207 is in the output Figure 5b The reminder message in the form of a card regarding the schedule event set in the schedule event area 203 includes title information 53 and content information 54 .
[0081] For example, you can combine Figure 6a and Figure 6c An example of displaying reminder messages about a set of schedule events to target users in the form of cards is given. Figure 6c is a schematic diagram of another card-style reminder message provided by an embodiment of the present invention. Figure 6a When the aggregate reminder time arrives at the 23rd in the calendar area 602, the schedule event area 601 displays the schedule event set for the 23rd, such as visiting the exhibition at Tianhe Sports Center at 9:00 am and attending the committee meeting at 14:00 pm. Figure 6a When the card link 605 or card link 606 is in Figure 6c The reminder message shown is in the form of a card for a set of schedule events in the schedule event area 601 .
[0082] The embodiment of the present invention can obtain a schedule reminder queue including the aggregate reminder time and aggregate reminder cycle corresponding to each user, determine the target aggregate reminder cycle according to the aggregate reminder time corresponding to the target user when the aggregate reminder time is detected to have arrived, obtain the schedule event set of the target user within the target aggregate reminder cycle, and push a reminder message about the schedule event set to the terminal corresponding to the target user. Through this implementation, aggregate reminders for schedule events can be realized, meeting the needs of users for aggregate reminders and management of schedules.
[0083] See also Figure 7 , Figure 7 701 is a schematic diagram of a schedule reminder device provided by an embodiment of the present invention. Specifically, the device includes: a first acquisition unit 701, a determination unit 702, a second acquisition unit 703, and a push unit 704;
[0084] The first acquisition unit 701 is used to acquire a schedule reminder queue, where the schedule reminder queue includes an aggregate reminder time and an aggregate reminder cycle corresponding to each user;
[0085] The determining unit 702 is configured to determine a target aggregate reminder period according to the aggregate reminder time corresponding to the target user in the schedule reminder queue when it is detected that the aggregate reminder time corresponding to the target user has arrived;
[0086] A second acquisition unit 703 is used to acquire a schedule event set of the target user in the target aggregation reminder period, where the schedule event set includes at least one schedule event;
[0087] The push unit 704 is configured to push a reminder message about the schedule event set to a terminal corresponding to the target user.
[0088] Furthermore, before the first acquiring unit 701 acquires the schedule reminder queue, it is also used to:
[0089] Outputting a schedule reminder configuration interface through a terminal, the schedule reminder configuration interface is used to configure the aggregate reminder time and aggregate reminder cycle;
[0090] Obtaining the aggregate reminder time and aggregate reminder cycle configured by each user in the schedule reminder configuration interface;
[0091] The schedule reminder queue is generated according to the configured aggregate reminder time and aggregate reminder period.
[0092] Furthermore, before the second acquisition unit 703 acquires the schedule event set of the target user within the target aggregation reminder period, it is further configured to:
[0093] Calling the schedule reading interface to obtain the schedule events set by the target user on each application platform;
[0094] Wherein, when the second acquisition unit 703 acquires the schedule event set of the target user within the target aggregation reminder period, it is specifically used to:
[0095] Obtaining the schedule time of the schedule event set by the target user on each application platform;
[0096] A set of schedule events of the target user whose schedule time is within the target aggregation reminder period is determined from the schedule events set by the target user on the various application platforms.
[0097] Furthermore, before the pushing unit 704 pushes the reminder message about the schedule event set to the terminal corresponding to the target user, it is also used to:
[0098] Obtaining the schedule time of each schedule event included in the schedule event set;
[0099] Sorting the various schedule events according to the order of the schedule time to obtain a task queue to be reminded;
[0100] A reminder message about the set of schedule events is generated according to the task queue to be reminded.
[0101] Furthermore, when the push unit 704 pushes the reminder message about the schedule event set to the terminal corresponding to the target user, it is specifically used to:
[0102] Pushing a reminder message about the schedule event set to the terminal corresponding to the target user, so that the terminal corresponding to the target user outputs the reminder message through a designated application platform, or outputs the reminder message in a system notification manner.
[0103] Furthermore, before detecting that the aggregated reminder time corresponding to the target user in the schedule reminder queue arrives, the determining unit 702 is further configured to:
[0104] Polling the aggregate reminder time corresponding to each user in the schedule reminder queue according to a preset frequency;
[0105] The current time is matched with the aggregate reminder time corresponding to each user respectively to detect whether there is an arrived aggregate reminder time in the schedule reminder queue.
[0106] Furthermore, the reminder message includes title information and content information, the title information is used to prompt the target aggregation reminder period, and the content information includes the content of each schedule event in the schedule event set.
[0107] The embodiment of the present invention can obtain a schedule reminder queue including the aggregate reminder time and aggregate reminder cycle corresponding to each user, determine the target aggregate reminder cycle according to the aggregate reminder time corresponding to the target user when the aggregate reminder time is detected to have arrived, obtain the schedule event set of the target user within the target aggregate reminder cycle, and push a reminder message about the schedule event set to the terminal corresponding to the target user. Through this implementation, aggregate reminders for schedule events can be realized, meeting the needs of users for aggregate reminders and management of schedules.
[0108] See also Figure 8 , Figure 8 801 and 802. The server 802 is a schematic diagram of a server provided by an embodiment of the present invention.
[0109] In one embodiment, the server further includes a data interface 803, and the data interface 803 is used to transmit data information between the schedule reminder device and other devices.
[0110] The memory 801 may include a volatile memory; the memory 801 may also include a non-volatile memory; the memory 801 may also include a combination of the above-mentioned types of memories. The processor 802 may be a central processing unit (CPU). The processor 802 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD) or a combination thereof. The PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA) or any combination thereof.
[0111] The memory 801 is used to store program instructions, and the processor 802 can call the program instructions stored in the memory 801 to perform the following steps:
[0112] Acquire a schedule reminder queue, wherein the schedule reminder queue includes an aggregate reminder time and an aggregate reminder cycle corresponding to each user;
[0113] When it is detected that the aggregate reminder time corresponding to the target user in the schedule reminder queue arrives, determining a target aggregate reminder period according to the aggregate reminder time corresponding to the target user;
[0114] Acquire a schedule event set of the target user within the target aggregation reminder period, where the schedule event set includes at least one schedule event;
[0115] Push a reminder message about the schedule event set to a terminal corresponding to the target user.
[0116] Furthermore, before acquiring the schedule reminder queue, the processor 802 is further configured to:
[0117] Outputting a schedule reminder configuration interface through a terminal, the schedule reminder configuration interface is used to configure the aggregate reminder time and aggregate reminder cycle;
[0118] Obtaining the aggregate reminder time and aggregate reminder cycle configured by each user in the schedule reminder configuration interface;
[0119] The schedule reminder queue is generated according to the configured aggregate reminder time and aggregate reminder period.
[0120] Furthermore, before the processor 802 obtains the schedule event set of the target user in the target aggregation reminder period, it is further configured to:
[0121] Calling the schedule reading interface to obtain the schedule events set by the target user on each application platform;
[0122] When the processor 802 obtains the schedule event set of the target user within the target aggregation reminder period, it is specifically configured to:
[0123] Obtaining the schedule time of the schedule event set by the target user on each application platform;
[0124] A set of schedule events of the target user whose schedule time is within the target aggregation reminder period is determined from the schedule events set by the target user on the various application platforms.
[0125] Furthermore, before pushing the reminder message about the schedule event set to the terminal corresponding to the target user, the processor 802 is further configured to:
[0126] Obtaining the schedule time of each schedule event included in the schedule event set;
[0127] Sorting the various schedule events according to the order of the schedule time to obtain a task queue to be reminded;
[0128] A reminder message about the set of schedule events is generated according to the task queue to be reminded.
[0129] Further, when the processor 802 pushes a reminder message about the schedule event set to the terminal corresponding to the target user, it is specifically configured to:
[0130] Pushing a reminder message about the schedule event set to the terminal corresponding to the target user, so that the terminal corresponding to the target user outputs the reminder message through a designated application platform, or outputs the reminder message in a system notification manner.
[0131] Furthermore, before detecting that the aggregated reminder time corresponding to the target user in the schedule reminder queue arrives, the processor 802 is further configured to:
[0132] Polling the aggregate reminder time corresponding to each user in the schedule reminder queue according to a preset frequency;
[0133] The current time is matched with the aggregate reminder time corresponding to each user respectively to detect whether there is an arrived aggregate reminder time in the schedule reminder queue.
[0134] Furthermore, the reminder message includes title information and content information, the title information is used to prompt the target aggregation reminder period, and the content information includes the content of each schedule event in the schedule event set.
[0135] The embodiment of the present invention can obtain a schedule reminder queue including the aggregate reminder time and aggregate reminder cycle corresponding to each user, determine the target aggregate reminder cycle according to the aggregate reminder time corresponding to the target user when the aggregate reminder time is detected to have arrived, obtain the schedule event set of the target user within the target aggregate reminder cycle, and push a reminder message about the schedule event set to the terminal corresponding to the target user. Through this implementation, aggregate reminders for schedule events can be realized, meeting the needs of users for aggregate reminders and management of schedules.
[0136] The embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the present invention is implemented. Figure 1 The method described in the corresponding embodiment can also be implemented Figure 7 The device corresponding to the embodiment of the present invention will not be described in detail here.
[0137] The computer-readable storage medium may be an internal storage unit of the device described in any of the foregoing embodiments, such as a hard disk or memory of the device. The computer-readable storage medium may also be an external storage device of the device, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the device. Furthermore, the computer-readable storage medium may also include both an internal storage unit of the device and an external storage device. The computer-readable storage medium is used to store the computer program and other programs and data required by the server. The computer-readable storage medium may also be used to temporarily store data that has been output or is to be output.
[0138] A person skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.
[0139] The above disclosure is only part of the embodiments of the present invention, which certainly cannot be used to limit the scope of the rights of the present invention. Ordinary technicians in this field can understand that all or part of the processes of the above embodiments and equivalent changes made according to the claims of the present invention are still within the scope of the invention.
Claims
1. A schedule reminder method, characterized in that: The method is applied to a server and includes: Outputting a schedule reminder configuration interface through a terminal, wherein the schedule reminder configuration interface is used to configure an aggregate reminder time and an aggregate reminder cycle; Obtain the aggregate reminder time and aggregate reminder cycle configured by each user in the schedule reminder configuration interface; Determine whether the configured aggregate reminder time and aggregate reminder period comply with the rules, and if so, determine to configure the configured aggregate reminder time and aggregate reminder period, store the configured aggregate reminder time and aggregate reminder period, and generate a schedule reminder queue according to the configured aggregate reminder time and aggregate reminder period; Acquire the schedule reminder queue, where the schedule reminder queue includes the aggregate reminder time and aggregate reminder period corresponding to each user; Polling the aggregate reminder time corresponding to each user in the schedule reminder queue according to a preset frequency, and when detecting that the aggregate reminder time corresponding to the target user in the schedule reminder queue has arrived, determining a target aggregate reminder cycle according to the aggregate reminder time corresponding to the target user; Calling the schedule reading interface to obtain the schedule events set by the target user on each application platform; Acquire a schedule event set of the target user whose schedule time is within the target aggregation reminder period, wherein the schedule event set includes at least one schedule event; Push a reminder message about the schedule event set to a terminal corresponding to the target user.
2. The method according to claim 1, characterized in that: The step of acquiring the schedule event set of the target user whose schedule time is within the target aggregation reminder period includes: Obtaining the schedule time of the schedule event set by the target user on each application platform; A set of schedule events of the target user whose schedule time is within the target aggregation reminder period is determined from the schedule events set by the target user on the various application platforms.
3. The method according to claim 1, characterized in that Before pushing a reminder message about the schedule event set to a terminal corresponding to the target user, the method further includes: Obtaining the schedule time of each schedule event included in the schedule event set; Sorting the various schedule events according to the order of the schedule time to obtain a task queue to be reminded; A reminder message about the set of schedule events is generated according to the task queue to be reminded.
4. The method according to claim 3, characterized in that The pushing a reminder message about the schedule event set to a terminal corresponding to the target user includes: Pushing a reminder message about the schedule event set to the terminal corresponding to the target user, so that the terminal corresponding to the target user outputs the reminder message through a designated application platform, or outputs the reminder message in a system notification manner.
5. The method according to claim 1, characterized in that Before the arrival of the aggregate reminder time corresponding to the target user in the schedule reminder queue is detected, the method further includes: The current time is matched with the aggregate reminder time corresponding to each user respectively to detect whether there is an arrived aggregate reminder time in the schedule reminder queue.
6. The method according to claim 4, characterized in that The reminder message includes title information and content information, the title information is used to prompt the target aggregation reminder period, and the content information includes the content of each schedule event in the schedule event set.
7. A schedule reminder device, characterized in that: The device is applied to a server, and comprises: A configuration unit, configured to output a schedule reminder configuration interface through a terminal, wherein the schedule reminder configuration interface is used to configure an aggregate reminder time and an aggregate reminder cycle; A third acquisition unit is used to acquire the aggregated reminder time and aggregated reminder period configured by each user in the schedule reminder configuration interface; A configuration processing unit, used to determine whether the configured aggregate reminder time and aggregate reminder period comply with the rules, and if so, determine to perform configuration processing on the configured aggregate reminder time and aggregate reminder period, store the configured aggregate reminder time and aggregate reminder period, and generate a schedule reminder queue according to the configured aggregate reminder time and aggregate reminder period; A first acquisition unit, configured to acquire the schedule reminder queue, wherein the schedule reminder queue includes an aggregate reminder time and an aggregate reminder period corresponding to each user; A determination unit, configured to poll the aggregate reminder time corresponding to each user in the schedule reminder queue at a preset frequency, and when it is detected that the aggregate reminder time corresponding to the target user in the schedule reminder queue arrives, determine a target aggregate reminder cycle according to the aggregate reminder time corresponding to the target user; A second acquisition unit, configured to call a schedule reading interface to acquire schedule events set by the target user on each application platform; The second acquisition unit is further used to acquire a schedule event set of the target user whose schedule time is within the target aggregation reminder period, and the schedule event set includes at least one schedule event; The push unit is used to push a reminder message about the schedule event set to a terminal corresponding to the target user.
8. A server, characterized in that: The method comprises a processor and a storage device, wherein the processor and the storage device are connected to each other, wherein the storage device is used to store a computer program, the computer program comprises program instructions, and the processor is configured to call the program instructions to execute the method according to any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores program instructions, which, when executed, are used to implement the method according to any one of claims 1 to 6.
