Event reminder method, device, computer equipment, storage medium and program product
By displaying the event execution plan to be confirmed on the computer device and responding to the enabling trigger operation, the event reminder process is simplified, the problem of low interaction efficiency in the existing technology is solved, and a more efficient event reminder is achieved.
Patent Information
- Application Number
- CN202310458461.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-18
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2043-04-18
AI Technical Summary
In the existing technology, computer equipment requires a complex interaction process when implementing event reminders, resulting in low interaction efficiency and inability to effectively help users remember important events such as taking medication.
Simplify the interaction process by displaying the event execution plan in the pending state that matches the event description information, and responding to the enable trigger operation by displaying it as enabled. When the reminder time is reached, an event reminder is triggered.
It improves the interaction efficiency during the event reminder process, ensures that users can remember important events such as taking medication in time, and enhances the effectiveness of reminders.
Smart Images

Figure CN116433206B
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to an event reminder method, device, computer equipment, storage medium and computer program product. Background Art
[0002] With the development of computer technology, various event reminders can be realized through computer devices. For example, some people need to take medicine regularly, but due to busy work and other reasons, they often forget to take the medicine on time, resulting in reduced efficacy or even worsening of the condition. In this case, medication reminders can be realized through computer devices.
[0003] In the related art, computer devices need to go through a complex interaction process to achieve event reminders, resulting in low interaction efficiency during the event reminder process. Summary of the invention
[0004] Based on this, it is necessary to provide an event reminder method, device, computer equipment, computer-readable storage medium and computer program product that can improve the interaction efficiency in the event reminder process in order to solve the above technical problems.
[0005] In one aspect, the present application provides an event reminder method. The method comprises:
[0006] When there is event description information, at least one event execution plan in a pending confirmation state adapted to the event description information is displayed; the event description information contains a project name that matches the project identifier in the event execution plan, and the event reminder time description information corresponding to the project identifier in the event execution plan matches the event execution time description information of the project name in the event description information;
[0007] In response to an activation trigger operation for any event execution plan in the pending confirmation state, displaying the event execution plan targeted by the activation trigger operation as being in an activated state;
[0008] When any reminder time divided according to the event reminder time description information of any event execution plan in an enabled state is reached, an event reminder corresponding to the event execution plan that has reached the reminder time is triggered.
[0009] In some embodiments, the multiple options include at least a first option and a second option; the filtering condition corresponding to the first option is used to determine the event execution plan set corresponding to the logged-in user account; the filtering condition corresponding to the second option is used to filter the enabled event execution plans with a reminder time within a specified period from the event execution plan set.
[0010] In some embodiments, the event description information is an electronic prescription and belongs to a logged-in user account, and the event execution plan is a medication plan: the at least one event execution plan in a pending confirmation state is generated by a medication plan generation step, and the medication plan generation step includes:
[0011] Obtaining an electronic prescription belonging to the user account, generating a prescription message based on the electronic prescription through a producer thread and writing the prescription message into a message queue;
[0012] Reading prescription messages from the message queue through a consumer thread, and extracting drug names and medication frequency from the read prescription messages;
[0013] At least one medication plan adapted to the electronic prescription is generated according to the drug name and medication frequency through the consumer thread.
[0014] On the other hand, the present application also provides an event reminder device. The device includes:
[0015] A first display module is used to display at least one event execution plan in a to-be-confirmed state adapted to the event description information when there is event description information; the event description information contains a project name that matches the project identifier in the event execution plan, and the event reminder time description information corresponding to the project identifier in the event execution plan matches the event execution time description information of the project name in the event description information;
[0016] A second display module, configured to, in response to an activation trigger operation for any event execution plan in the to-be-confirmed state, display the event execution plan targeted by the activation trigger operation as being in an activated state;
[0017] The event reminder module is used to trigger the event reminder corresponding to the event execution plan that reaches the reminder time when any reminder time divided according to the event reminder time description information of any event execution plan in an enabled state is reached.
[0018] On the other hand, the present application also provides a computer device. The computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:
[0019] When there is event description information, at least one event execution plan in a pending confirmation state adapted to the event description information is displayed; the event description information contains a project name that matches the project identifier in the event execution plan, and the event reminder time description information corresponding to the project identifier in the event execution plan matches the event execution time description information of the project name in the event description information;
[0020] In response to an activation trigger operation for any event execution plan in the pending confirmation state, displaying the event execution plan targeted by the activation trigger operation as being in an activated state;
[0021] When any reminder time divided according to the event reminder time description information of any event execution plan in an enabled state is reached, an event reminder corresponding to the event execution plan that has reached the reminder time is triggered.
[0022] On the other hand, the present application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0023] When there is event description information, at least one event execution plan in a pending confirmation state adapted to the event description information is displayed; the event description information contains a project name that matches the project identifier in the event execution plan, and the event reminder time description information corresponding to the project identifier in the event execution plan matches the event execution time description information of the project name in the event description information;
[0024] In response to an activation trigger operation for any event execution plan in the pending confirmation state, displaying the event execution plan targeted by the activation trigger operation as being in an activated state;
[0025] When any reminder time divided according to the event reminder time description information of any event execution plan in an enabled state is reached, an event reminder corresponding to the event execution plan that has reached the reminder time is triggered.
[0026] On the other hand, the present application also provides a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0027] When there is event description information, at least one event execution plan in a pending confirmation state adapted to the event description information is displayed; the event description information contains a project name that matches the project identifier in the event execution plan, and the event reminder time description information corresponding to the project identifier in the event execution plan matches the event execution time description information of the project name in the event description information;
[0028] In response to an activation trigger operation for any event execution plan in the pending confirmation state, displaying the event execution plan targeted by the activation trigger operation as being in an activated state;
[0029] When any reminder time divided according to the event reminder time description information of any event execution plan in an enabled state is reached, an event reminder corresponding to the event execution plan that has reached the reminder time is triggered.
[0030] The above-mentioned event reminder method, device, computer equipment, storage medium and computer program product, when there is event description information, display at least one event execution plan in a pending state adapted to the event description information, wherein the event description information contains a project name matching the project identifier in the event execution plan, and the event reminder time description information corresponding to the project identifier in the event execution plan matches the event execution time description information of the project name in the event description information, and in response to an enable trigger operation for any event execution plan in a pending state, the event execution plan targeted by the enable trigger operation is displayed as being in an enabled state, and when any reminder time divided according to the event reminder time description information of any event execution plan in an enabled state is reached, the event reminder corresponding to the event execution plan that reaches the reminder time is triggered, and since the event description information exists, the event execution plan can be displayed, and thus the event reminder can be triggered only by responding to the enable trigger operation for the event execution plan to make the event execution plan in an enabled state, and the entire event reminder process is interactively simple, thereby improving the interactive efficiency in the event reminder process. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Figure 1 A diagram of an application environment of an event reminder method in some embodiments;
[0032] Figure 2 A schematic diagram of a flow chart of an event reminder method in some embodiments;
[0033] Figure 3 A schematic diagram of a medication plan interaction page in some embodiments;
[0034] Figure 4 A schematic diagram of a notification message card in some embodiments;
[0035] Figure 5 A schematic diagram of a session page with a service account in some embodiments;
[0036] Figure 6 A schematic diagram of an event execution confirmation page in some embodiments;
[0037] Figure 7 A schematic diagram showing a medication confirmation entrance in some embodiments;
[0038] Figure 8 A schematic diagram of a page displaying prompt information in some embodiments;
[0039] Fig. 9A schematic diagram of a page showing a reminder message card in some embodiments;
[0040] Fig.10 Schematic diagram of a medication confirmation page in some other embodiments;
[0041] Fig.11 A schematic diagram of a page corresponding to today's medication in some embodiments;
[0042] Fig.12 A schematic diagram of a medication editing page in some embodiments;
[0043] Fig.13 Schematic diagram of a medication plan interaction page in some other embodiments;
[0044] Fig.14 A schematic diagram of the architecture of a message queue in some embodiments;
[0045] Fig.15 A schematic diagram of a specific process of generating a medication plan in some embodiments;
[0046] Fig.16 A schematic diagram of a page for a doctor to fill in a prescription in some embodiments;
[0047] Fig.17 A schematic diagram of an encryption process in some embodiments;
[0048] Fig.18 A schematic diagram of a process involved in a timing task in some embodiments;
[0049] Fig.19 Schematic diagram of the flow of event reminder methods in some specific embodiments;
[0050] Fig. 20 A schematic diagram of a process for obtaining an electronic prescription in some embodiments;
[0051] Fig.21 is a timing diagram of a request process in some embodiments;
[0052] Fig. 22 is a structural block diagram of an event reminder device in some embodiments;
[0053] Fig.23 is an internal structure diagram of a computer device in some embodiments;
[0054] Fig.24 1 is a diagram of the internal structure of a computer device in some embodiments. DETAILED DESCRIPTION
[0055] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0056] Artificial Intelligence (AI) is the theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results. In other words, artificial intelligence is a comprehensive technology in computer science that attempts to understand the essence of intelligence and produce a new intelligent machine that can respond in a similar way to human intelligence. Artificial intelligence is to study the design principles and implementation methods of various intelligent machines so that machines have the functions of perception, reasoning and decision-making.
[0057] Artificial intelligence technology is a comprehensive discipline that covers a wide range of fields, including both hardware-level and software-level technologies. Basic artificial intelligence technologies generally include sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, big data processing technology, operating / interactive systems, mechatronics and other technologies. Artificial intelligence software technologies mainly include computer vision technology, speech processing technology, natural language processing technology, as well as machine learning / deep learning, autonomous driving, smart transportation and other major directions.
[0058] Computer Vision Technology (CV) Computer vision is a science that studies how to make machines "see". To put it more specifically, it refers to machine vision such as using cameras and computers to replace human eyes to identify and measure targets, and further perform graphic processing so that computer processing becomes an image that is more suitable for human eye observation or transmission to instrument detection. As a scientific discipline, computer vision studies related theories and technologies, and attempts to establish an artificial intelligence system that can obtain information from images or multi-dimensional data. Computer vision technology usually includes image processing, image recognition, image semantic understanding, image retrieval, OCR, video processing, video semantic understanding, video content / behavior recognition, three-dimensional object reconstruction, 3D technology, virtual reality, augmented reality, simultaneous positioning and map construction, automatic driving, smart transportation and other technologies, as well as common biometric recognition technologies such as face recognition and fingerprint recognition.
[0059] Natural language processing (NLP) is an important direction in the fields of computer science and artificial intelligence. It studies various theories and methods that can achieve effective communication between people and computers using natural language. Natural language processing is a science that integrates linguistics, computer science, and mathematics. Therefore, research in this field will involve natural language, that is, the language people use in daily life, so it is closely related to the study of linguistics. Natural language processing technology usually includes text processing, semantic understanding, machine translation, robot question answering, knowledge graph and other technologies.
[0060] The solution provided in the embodiments of the present application involves artificial intelligence computer vision, natural language processing and other technologies, which are specifically described by the following embodiments:
[0061] The event reminder method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown. Among them, the terminal 102 communicates with the server 104 through the network. The data storage system can store data that the server 104 needs to process. The data storage system can be integrated on the server 104, or it can be placed on the cloud or other servers. When there is event description information, the terminal 102 can display at least one event execution plan in a pending state adapted to the event description information, and there is a project name matching the project identifier in the event execution plan in the event description information, and the event reminder time description information corresponding to the project identifier in the event execution plan matches the event execution time description information of the project name in the event description information. The terminal 102 can respond to the enable trigger operation for any event execution plan in a pending state, and display the event execution plan for which the enable trigger operation is targeted as being in an enabled state. When any reminder time divided according to the event reminder time description information of any event execution plan in an enabled state is reached, the event reminder corresponding to the event execution plan that reaches the reminder time is triggered. The terminal 102 may be, but is not limited to, various desktop computers, laptop computers, smart phones, tablet computers, IoT devices, and portable wearable devices. The IoT devices may be smart speakers, smart TVs, smart air conditioners, smart vehicle-mounted devices, etc. The portable wearable devices may be smart watches, smart bracelets, head-mounted devices, etc. The server 104 may be implemented as an independent server or a server cluster or cloud server consisting of multiple servers.
[0062] In some embodiments, Figure 2 As shown, an event reminder method is provided. In this embodiment, the method is applied to Figure 1The terminal 102 in the example is used as an example for illustration. It can be understood that the method can also be applied to a server, and can also be applied to a system including a terminal and a server, and is implemented through the interaction between the terminal and the server. In this embodiment, the method includes the following steps:
[0063] Step 202, when there is event description information, display at least one event execution plan in a pending confirmation state that is adapted to the event description information; there is a project name in the event description information that matches the project identifier in the event execution plan, and the event reminder time description information corresponding to the project identifier in the event execution plan matches the event execution time description information of the project name in the event description information.
[0064] Among them, the event can be any event that needs to trigger an event reminder, such as taking medicine, meeting, making a phone call, visiting a customer, sending an email, or picking up a courier. In different events, different projects are involved. For example, the event of taking medicine involves medicine, and the event of meeting involves a meeting. Event description information is information used to describe the event. The event description information may include project description information corresponding to the project involved in the event and event execution description information corresponding to the project involved in the event. The project description information is information used to describe the project. The project description information at least includes the project name. The event execution description information is description information related to the event execution process. The event execution description information at least includes event execution time description information. The event execution time description information refers to description information that can be used to determine the event execution time. The event execution time description information can be a specific time or other information that can be used as a basis for determining the specific time. Taking the event as taking medicine as an example, the event reminder that needs to be triggered is a reminder for taking medicine, the corresponding event description information is the description information for taking medicine, the event execution description information is the description information for taking medicine, the project name is the name of the medicine, and the event execution time description information is the frequency of taking medicine. It is understandable that in specific applications, the drug description information may also include one or more of the drug specifications, drug pictures or drug quantities, and the medication method description information may also include one or more of the medication method, medication dosage or medication duration.
[0065] The event description information can be information in various forms, including but not limited to text, pictures, voice and data in various formats. Taking the medication description information as an example, it can be any one of an electronic prescription, an electronic medicine purchase list, a prescription picture, a medicine purchase list picture or a medicine instruction picture. The event execution plan refers to a plan for executing an event. Different events correspond to different event execution plans. Taking the event as medication as an example, the event execution plan is a medication plan. The project identifier in the event execution plan is used to identify the project, which can be a project name or the number of the project in the database. Taking the event as medication as an example, the project name can be the name of the drug. Taking the event as a meeting as an example, the project name can be the name of the meeting. There is a project name in the event description information that matches the project identifier in the event execution plan, which means that the project identified by the project identifier in the event execution plan and the project name in the event description information point to the same project. Taking the event as medication as an example, the drug name in the medication description information points to "XX ointment", and the drug identifier in the medication plan also points to the "XX ointment". The event reminder time description information in the event reminder plan refers to the description information that can be used to determine the event reminder time. The event reminder time description information can be a specific time or other information that can be used as a basis for determining the specific time. For example, when the event is a meeting, the event reminder time description information can be a specific meeting reminder time; for another example, when the event is taking medicine, the event reminder time description information can be the frequency of medication reminders. The event reminder time description information corresponding to the project identifier in the event execution plan matches the event execution time description information of the project name in the event description information. Specifically, the event reminder time description information in the event execution plan can be the same as the event execution time description information in the event description information. For example, the medication reminder frequency in the medication plan is twice a day, and the medication frequency in the medication description information is also twice a day.
[0066] Specifically, when there is event description information, the terminal can obtain at least one event execution plan automatically generated based on the event description information. Since the event execution plan is automatically generated based on the event description information, there is a project name in the event description information that matches the project identifier in the event execution plan, and the event reminder time description information corresponding to the project identifier in the event execution plan matches the event execution time description information of the project name in the event description information. At this time, at least one event execution plan obtained by the terminal has not been enabled and is in a pending confirmation state. The terminal can display these event execution plans so that the user can enable these event execution plans through interactive operations with the terminal.
[0067] In some specific embodiments, an event execution plan is for a project. When there are multiple project names in the event description information, an event execution plan corresponding to the project described by the project name is generated for each project name. It is understandable that in some other embodiments, an event execution plan can also be for two or more projects, that is, multiple projects jointly generate an event execution plan.
[0068] In some specific embodiments, an application that can provide a reminder service can be installed on the terminal. The application can receive an event description picture uploaded by a user, automatically identify the event description picture to obtain the project description information and event execution description information in the event description picture, and generate at least one event execution plan in a to-be-confirmed state adapted to the event description picture according to the project name in the project description information and the event execution time description information in the event execution description information. Optionally, the application that can provide a reminder service can be a native application running in the operating system, and the native application can be any one of a communication application, a file management application, an email application, a shopping application, a map application, or a game application; the application that can provide a reminder service can also be a sub-application, which is an application running in a native application, and the sub-application can specifically be a mini-program.
[0069] In some specific embodiments, the medication description information may be an electronic prescription stored in a server. The server may automatically generate a medication plan based on the electronic prescription. When the user needs to turn on a medication reminder, the user may obtain the medication plan corresponding to the electronic prescription from the server through the terminal.
[0070] In some specific embodiments, the event execution plan is displayed on the event execution plan interaction page, which is a page that can respond to interactive operations on the event execution plan. The event execution plan interaction page can also display a new entry for the event execution plan. The terminal can respond to the trigger operation of the new entry for the event execution plan and enter the event execution plan editing page. The event execution plan editing page may include multiple editing items, and the user can edit and generate a new event execution plan through these editing items. An editing item corresponds to an editable content in the event execution plan. Taking the event execution plan as a medication plan as an example, the editing items may include one or more of the frequency of medication reminders, the name of the drug, the reminder time, the duration of the reminder cycle, the amount of each medication, or the reminder start time. The duration of the reminder cycle can be, for example, 7 consecutive reminders, and the duration of the reminder cycle matches the duration of the medication. For example, refer to Figure 3 , which is a schematic diagram of the medication plan interaction page, Figure 3 302 is a new entry for the medication plan. When the user clicks the plus sign corresponding to 302, they can enter the medication plan editing page.
[0071] In some specific embodiments, when the user edits a drug name edit item in the edit item, the terminal can display a drug selection page. When the user enters partial content of the drug name on the drug selection page, the terminal can search from the drug database based on the drug name and display candidate drug names that match the partial content. The terminal can further respond to the user's selection operation on one of the candidate drug names and use the candidate drug name affected by the selection operation as the editing content of the drug name edit item. Since the user does not need to enter the complete drug name, the interaction efficiency during the editing process can be improved.
[0072] In some specific embodiments, the event execution plan is displayed in an event execution plan card in the event execution plan display area of the event execution plan interactive page. Part or all of the event execution plan content can be displayed in the event execution plan card. When part of the event execution plan content is displayed in the event execution plan card, the terminal can respond to a viewing operation on any event execution plan and enter the details page of the event execution plan targeted by the viewing operation. The details page can display all of the event execution plan content. For example, Figure 3 As shown, the drug "XX injection" is displayed in the medication plan card 304, which displays the drug name, medication reminder frequency, medication usage and dosage information of the drug. When clicking on the blank area in the medication plan card 304, you can enter another page, which, in addition to displaying the drug name, medication reminder frequency, medication usage and dosage information, can also display the reminder start date, medication days, reminder time divided by medication reminder frequency and other information of the medication plan.
[0073] In some specific embodiments, after displaying at least one event execution plan in a pending confirmation state adapted to the event description information, the terminal can delete the event execution plan targeted by the deletion operation in response to a deletion operation on any event execution plan. After the deletion, the event execution plan is no longer displayed and no longer triggers an event reminder. For example, continue to refer to Figure 3 , when click Figure 3 The “Delete” button displayed in the medication plan card 304 can delete the medication plan card 304 .
[0074] Step 204: In response to an activation trigger operation for any event execution plan in a pending confirmation state, the event execution plan for which the activation trigger operation is performed is displayed as being in an activated state.
[0075] The enabling trigger operation refers to a preset operation acting on the enabling trigger control. The preset operation may be a touch operation, a cursor operation, a key operation or a voice operation. The touch operation may be a touch click operation, a touch press operation or a touch slide operation, and the touch operation may be a single-point touch operation or a multi-point touch operation; the cursor operation may be an operation of controlling the cursor to click or an operation of controlling the cursor to press; the key operation may be a virtual key operation or a physical key operation, etc.
[0076] Specifically, a user can perform an enable trigger operation on an enable trigger control of any event execution plan in at least one event execution plan in a pending confirmation state, and the terminal can respond to the enable trigger operation by displaying the event execution plan targeted by the enable trigger operation as being in an enabled state.
[0077] In some specific embodiments, each event execution plan may correspond to an enable trigger control. When the terminal receives a preset operation acting on an enable trigger control, the event execution plan corresponding to the enable trigger control is displayed as being in an enabled state. Figure 3 , Figure 3 Two different drugs, XX injection and XX ointment, are displayed in different medication plan cards, and an "Enable Reminder" button is displayed in each medication plan card. The "Enable Reminder" button is an enable trigger control. When the user clicks any "Enable Reminder" button, the medication plan in the card where the "Enable Reminder" button is located is displayed in an enabled state. In some other embodiments, the event execution plan interaction page may only display one enable trigger control. The terminal may respond to the selection operation for one or more event execution plans and the preset operation of the enable trigger control, and display the event execution plan selected by the selection operation as being in an enabled state. By controlling the activation of multiple event execution plans through one enable trigger control, the interaction efficiency can be improved.
[0078] In some specific embodiments, the event execution plan for enabling the trigger operation may be the original event execution plan displayed by the terminal. For example, Figure 3 As shown, when the user clicks the "Enable Reminder" button in the medication plan card 304, the terminal responds to the click operation and displays the medication plan displayed in the medication plan card as being in an enabled state. In other embodiments, the event execution plan targeted by the enable trigger operation may be an event execution plan after the original event execution plan is edited, that is, the displayed event execution plan may be edited first, and then the enable trigger operation may be performed on the edited event execution plan.
[0079] In some specific embodiments, the terminal displays the event execution plan to be confirmed in a specific manner by marking the event execution plan to be confirmed with a "pending confirmation" label, thereby displaying the event execution plan for which the trigger operation is enabled as being in an enabled state. Specifically, the "pending confirmation" label of the event execution plan for which the trigger operation is enabled is updated to an "enabled" label.
[0080] Step 206: When any reminder time divided according to the event reminder time description information of any event execution plan in an enabled state is reached, an event reminder corresponding to the event execution plan that has reached the reminder time is triggered.
[0081] Among them, the reminder time divided according to the event reminder time description information can be one or more. The reminder time can be a time point, for example, the frequency of medication reminders is twice a day, and the reminder time divided according to the medication reminder frequency can be 09:00 and 21:00; the reminder time can also be a time period, for example, the frequency of medication reminders is twice a day, and the reminder time divided according to the medication reminder frequency can be 08:55 to 09:00 and 20:55 to 21:00. For example, the meeting reminder time is 10:00, and the reminder time divided according to the meeting reminder time can be 09:55 to 10:00. In this case, it is possible to realize advance reminders for the time points set by the user, so that the user can reserve sufficient time to prepare for medication. It can be understood that the reminder time divided according to the event reminder time description information can be divided by the user or by default.
[0082] Specifically, when any reminder time divided according to the event reminder time description information of any event execution plan in an enabled state is reached, the terminal can trigger the event reminder corresponding to the event execution plan that reaches the reminder time. It can be understood that different event reminders are triggered for different events. For example, for the event of taking medicine, the reminder of taking medicine is triggered, and for the event of sending an email, the reminder of sending an email is triggered.
[0083] In a specific application, the reminder method of the triggered event reminder may include one or more of a telephone reminder, a text message reminder or a message reminder.
[0084] In the above-mentioned event reminder method, when there is event description information, at least one event execution plan in a pending state adapted to the event description information is displayed, and the event description information contains a project name that matches the project identifier in the event execution plan, and the event reminder time description information corresponding to the project identifier in the event execution plan matches the event execution time description information of the project name in the event description information. In response to an enable trigger operation for any event execution plan in a pending state, the event execution plan targeted by the enable trigger operation is displayed as being in an enabled state. When any reminder time divided according to the event reminder time description information of any event execution plan in an enabled state is reached, an event reminder corresponding to the event execution plan that reaches the reminder time is triggered. Since the event description information exists, the event execution plan can be displayed, and thus the event reminder can be triggered by only responding to the enable trigger operation for the event execution plan to make the event execution plan in an enabled state. The entire event reminder process is interactively simple, thereby improving the interactive efficiency in the event reminder process.
[0085] It can be seen from the above embodiments that the event reminder method of the present application can display an event execution plan in a pending confirmation state that is adapted to the event description information when there is event description information. The following embodiments will further introduce the specific implementation process of displaying the event execution plan in a pending confirmation state.
[0086] In some embodiments, when there is event description information, at least one event execution plan in a pending confirmation state that is adapted to the event description information is displayed, including: when there is event description information, displaying an event execution plan display entrance that is adapted to the event description information; in response to a trigger operation on the event execution plan display entrance, displaying at least one event execution plan in a pending confirmation state that is adapted to the event description information.
[0087] Among them, the event execution plan display entrance is an entrance that can respond to the trigger operation to display the event execution plan adapted to the event description information, and can specifically be the event execution plan display prompt information or trigger control. The event execution plan display prompt information is information that can prompt the user to perform the trigger operation. The event execution plan display prompt information can include one or more of text prompt information, voice prompt information or picture prompt information. For example, the event execution plan display prompt information can be "click to jump to the medication plan display page". The trigger control is a visual element that has an execution function or a function that triggers the code to run and complete the response by responding to the user operation. The trigger control can be a button, such as a click button, a slide button, or a press button; the trigger control can also be a radio button or an option group. The trigger operation for the event execution plan display entrance refers to the preset operation for triggering the event execution plan display entrance, which can specifically be any one or more types of operations such as touch operation, cursor operation, key operation, voice operation and gesture operation.
[0088] Specifically, when there is event description information, the terminal can display an event execution plan display entrance that is adapted to the event description information. The user can trigger the event execution plan display entrance to generate a trigger operation, so that the terminal can respond to the trigger operation, obtain the event execution plan automatically generated according to the event description information, and display these event execution plans as being in a pending confirmation state.
[0089] In the above embodiment, when there is event description information, an event execution plan display entrance adapted to the event description information can be displayed, and the user can display the event execution plan by triggering the event execution plan display entrance, thereby improving the convenience of the event execution plan display.
[0090] In some embodiments, when there is event description information, an event execution plan display entrance adapted to the event description information is displayed, including: when event description information belonging to a logged-in user account is generated, in response to a notification event for the event description information, a notification message card for the event description information is displayed; in the notification message card, the notification message content indicated by the notification event is displayed, and an event execution plan display entrance adapted to the event description information is displayed.
[0091] In this embodiment, an application that can provide reminder services is installed on the terminal. A user account is logged in to the application, and the event description information belongs to the logged in user account. When event description information is generated, a notification message for the event description information can be further generated. The notification message can trigger a notification event in the application logged in by the user account, and then the terminal can respond to the notification event and display a notification message card for the event description information. In the notification message card, the notification message content indicated by the notification event is displayed. In the notification message card, an event execution plan display entrance adapted to the event description information can also be displayed.
[0092] In some specific embodiments, the notification message is generated by the server corresponding to the application, that is, when the server detects the event description information belonging to the logged-in user account, it can automatically generate at least one event execution plan adapted according to the event description information, and further send a reminder message to the terminal, which triggers the notification event in the terminal application, so that the terminal can respond to the notification event and display a notification message card. For example, refer to Figure 4 , which is a schematic diagram of a notification message card in some specific embodiments, wherein the event description information is an electronic prescription, which is generated after the user performs an online consultation at the terminal. The notification message card displayed by the terminal displays a title, a consulting doctor, reminder content, a prompt description, and a medication plan display entrance 402. The medication plan display entrance displays medication plan display prompt information. When the user clicks on the medication plan display entrance 402, it can jump to the medication plan interaction page. The medication plan interaction page can be referred to, for example Figure 3 .
[0093] In the above embodiment, since the event execution plan display entrance can be displayed in the notification message card, it can be ensured that the event execution plan is displayed in the terminal in a timely manner, avoiding the user from forgetting to activate the event execution plan, and ensuring the effectiveness of the event reminder.
[0094] In some embodiments, the event reminder is a medication reminder; when there is event description information, an event execution plan display entrance adapted to the event description information is displayed, including: on the conversation page where the logged-in user account and the service account have a conversation, when the service account triggers the medication description information for the user account, a medication description information message card for browsing the medication description information is displayed; corresponding to the medication description information message card, a medication plan display entrance adapted to the medication description information is displayed.
[0095] The service account is an account used to serve the user account to generate medication description information, and the service account may be a doctor account, for example. The medication description information message card refers to a message card used to display the medication description information message, and the message card may display the specific content of the medication description information in response to a trigger operation, so that the user can browse the medication description information corresponding to the message card.
[0096] Specifically, the terminal is installed with an application that can provide reminder services, and the application is logged in to a user account. Through the user account, the terminal can establish a session connection with the service account to trigger the service account to generate medication description information. The medication description information can be sent to the terminal in the form of a session message through the established session connection. After the terminal receives the session message, the medication description information message can be displayed in the message card of the session page corresponding to the session connection. In the session page, the medication plan display entrance can be displayed at the position corresponding to the medication description information message card.
[0097] For example, Figure 5 As shown, it is a schematic diagram of a session page with a service account in some specific embodiments. Figure 5 It can be seen that the user logs in through the terminal user account and the doctor account to conduct a conversation, so that the terminal can receive the electronic prescription sent by the doctor account. The electronic prescription is displayed in the message card 502 of the conversation page. When the user clicks the "view electronic prescription" button, the detailed content of the electronic prescription can be browsed. Corresponding to the message card 502, a medication plan display entrance 504 is displayed. When the user clicks the medication plan display entrance, the medication plan interaction page corresponding to the electronic prescription can be displayed. For example, the medication plan interaction page can be referred to Figure 3 .
[0098] In the above embodiment, the medication description information is displayed in the message card of the conversation interface, and the medication plan display entrance adapted to the medication description information can also be displayed, so that the user can easily and quickly trigger the display of the medication plan, thereby improving the convenience of the medication plan display.
[0099] The above embodiment introduces the specific process of displaying the event execution plan. After the event execution plan is displayed, the event execution plan can be enabled, thereby further triggering an event reminder. It should be noted that in some other embodiments of the present application, in order to further ensure that the user can execute the event on time, when the reminder time is reached, an event execution confirmation function can also be provided, and the user can "punch in" through the event execution confirmation function. The following embodiment will introduce the event execution confirmation function.
[0100] In some embodiments, the event reminder method also includes: when any reminder time divided according to the event reminder time description information of any event execution plan in an enabled state is reached, an event execution confirmation page corresponding to the event execution plan that has reached the reminder time is displayed, and an event execution confirmation mark in a pending execution state is displayed on the event execution confirmation page; in response to a trigger operation on the event execution confirmation mark, the state of the event execution confirmation mark is updated to an executed state.
[0101] The event execution confirmation mark refers to a mark that can respond to a triggering operation to update the execution state, and the event execution confirmation mark can specifically be various forms of controls.
[0102] Specifically, when any reminder time divided according to the event reminder time description information of the event execution plan in the enabled state is reached, the terminal can display the event execution confirmation page corresponding to the event execution plan that reaches the reminder time. The event execution confirmation page can display the project information corresponding to the project identifier in the event execution plan. Taking drugs as an example, the drug information corresponding to the drug identifier can specifically be one or more of the project name, usage and dosage, or precautions when taking the drug. Corresponding to the project information, an event execution confirmation mark can also be displayed. The initial state of the event execution confirmation mark is a pending state. The pending state indicates that the user has not yet confirmed the event execution. When the user performs a trigger operation on the event execution confirmation mark, the terminal can respond to the trigger operation and update the state of the event execution confirmation mark to an executed state. The executed state indicates that the user has confirmed the event execution.
[0103] For example, see Figure 6 , is a schematic diagram of an event execution confirmation page in some embodiments, wherein the event execution confirmation page is specifically a medication confirmation page, the event execution confirmation mark is specifically a medication confirmation mark, and the medication confirmation mark in the medication waiting state is Figure 6 In the trigger control 602 in FIG. (a), after the terminal responds to the click operation on 602, the trigger control 602 is updated to the state of having taken the medicine, and is displayed as Figure 6 The trigger control 604 in (b) is shown.
[0104] In some specific embodiments, the medication confirmation page may also display other medication precautions. Figure 6 The medication confirmation page can also display the precautions for each drug and the precautions for pregnant women to take the drug.
[0105] In some specific embodiments, the medication confirmation page can also display statistical information related to the user's medication confirmation, and the statistical information can specifically be the total number of medication confirmations and the number of days they lasted. Figure 6In Figure (a), the position corresponding to the trigger control 602 in the medication confirmation page can also display "You have taken medication for 3 days and have clocked in 5 times in total". When the user clicks the trigger control 602, the statistics related to the medication confirmation will be updated. Figure 6 In Figure (b), the statistical information is updated to "You have taken the medicine for 3 days and have checked in 6 times in total."
[0106] In the above embodiment, by displaying the event execution confirmation mark in the pending state on the event execution confirmation page, the terminal can update the state of the event execution confirmation mark to the executed state in response to the trigger operation on the event execution confirmation mark, thereby improving the effectiveness of event reminders.
[0107] In some embodiments, an event execution plan in an enabled state is displayed on an event execution plan interaction page; an event execution confirmation page corresponding to the event execution plan that reaches the reminder time is displayed, including: in the event execution plan interaction page, an event execution confirmation entry corresponding to the event execution plan that reaches the reminder time is displayed; in response to a trigger operation on the event execution confirmation entry, an event execution confirmation page corresponding to the event execution plan that reaches the reminder time is displayed.
[0108] Specifically, when any reminder time divided according to the event reminder time description information of any event execution plan in an enabled state is reached, in the event execution plan interaction page, the page area corresponding to the event execution plan displayed when the reminder time is reached can also display the event execution confirmation entrance corresponding to the event execution plan when the reminder time is reached. The specific display form and distribution position of the event execution confirmation entrance can be set according to actual needs. For example, the event execution confirmation entrance can be realized through various interface elements such as text, graphics, buttons, etc., and the event execution confirmation entrance can be displayed within a preset area where the event execution plan is displayed. Through the event execution confirmation entrance, the user can easily and quickly enter the event execution confirmation page to confirm the medication. Specifically, the user can perform a trigger operation on the event execution confirmation entrance. For example, the user can click on the event execution confirmation entrance, and the terminal can respond to the trigger operation and display the event execution confirmation page corresponding to the event execution plan when the reminder time is reached.
[0109] In the above embodiment, by displaying the event execution confirmation entrance in the event execution plan interaction page, the event execution confirmation page can be entered conveniently and quickly, thereby improving the interaction efficiency in the medication confirmation process.
[0110] In some embodiments, each enabled event execution plan is respectively displayed in each event execution plan card in the event execution plan display area of the event execution plan interaction page; in the event execution plan interaction page, the event execution confirmation entry corresponding to the event execution plan that has reached the reminder time is displayed, including: when the reminder time of the event execution plan in any event execution plan card is reached, the size of the event execution plan card that has reached the reminder time is increased to increase the display area for displaying the event execution confirmation entry; in the increased display area, the event execution confirmation entry corresponding to the event execution plan that has reached the reminder time is displayed.
[0111] Specifically, each enabled event execution plan card displays an enabled event execution plan. The size of the event execution plan card can change dynamically. When the reminder time of the event execution plan in any event execution plan card is reached, the terminal can increase the size of the event execution plan card that has reached the reminder time. The increased size can be set according to actual needs. By increasing the size, a display area for displaying the event execution confirmation entry can be added to the event execution plan card, and then in the increased display area, the event execution confirmation entry corresponding to the event execution plan that has reached the reminder time can be displayed. For example, refer to Figure 7 , is a schematic diagram showing the entrance to confirm medication intake. Figure 7 In the medication plan card 702 in FIG. (a), the reminder time of the medication plan is 16:34, and the size of the medication plan card 702 is increased to be displayed as Figure 7 As can be seen from the medication plan card 704 in FIG. (b), a “Confirm Medication” button is displayed as a medication confirmation entry in the medication plan card 704 in FIG. (b).
[0112] In the above embodiment, the event execution plan and the event execution plan entrance are displayed in the same card, so that the user can better perceive the event execution confirmation entrance for the event execution plan, and thus can accurately enter the event execution confirmation page corresponding to the event execution plan through the event execution confirmation entrance, thereby improving the accuracy of medication confirmation.
[0113] In some embodiments, an event execution confirmation page corresponding to an event execution plan that reaches a reminder time is displayed, including: displaying prompt information of the event reminder; in response to a viewing operation on the prompt information, displaying a reminder message card of the event reminder; in the reminder message card, displaying the reminder message content of the event reminder, and displaying an event execution confirmation entry corresponding to the event execution plan that reaches the reminder time; in response to a trigger operation on the event execution confirmation entry, displaying an event execution confirmation page corresponding to the event execution plan that reaches the reminder time.
[0114] Among them, the prompt message of the event reminder refers to the information prompting the receipt of the event reminder. The event reminder here refers to the reminder message, that is, the event reminder is presented in the form of a reminder message. The prompt information can be of various types, for example, it can be one or more of text prompt information, sound prompt information or picture prompt information. In a specific application, when the terminal is installed with an application that can provide reminder services and the application is logged in to a user account, the server corresponding to the application can send a reminder message of the event reminder to the terminal logged in to the user account. In this case, the prompt information is used to remind the user that the reminder message of the event reminder has been received.
[0115] Specifically, when any reminder time divided according to the event reminder time description information of any event execution plan in an enabled state is reached, the terminal can receive a reminder message, and the reminder message can trigger the terminal to display a prompt message, and the prompt message prompts the user to view the received reminder message. When the user views the prompt message displayed by the terminal, the terminal can display a reminder message card in response to the viewing operation. In the reminder message card, the reminder message content of the event reminder can be displayed. The reminder message content can include one or more of the project identification, event execution time, prompt instructions, and other information in the event execution plan that reaches the reminder time. In the reminder message card, the event execution confirmation entry corresponding to the event execution plan that reaches the reminder time can also be displayed. Then, when the user performs a trigger operation on the event execution confirmation entry, the terminal can respond to the trigger operation and display the event execution confirmation page corresponding to the event execution plan that reaches the reminder time.
[0116] For example, see Figure 8 , is a schematic diagram of a page displaying prompt information, wherein the "medication reminder notification" is the prompt information of the event reminder. When the user clicks on the prompt information to view it, the terminal can continue to display the reminder message card, such as Fig. 9 The page shown is a schematic diagram of a page displaying a reminder message card. One or more reminder message cards can be displayed on the page. For example, a reminder message card Fig. 9 902 in which a medication confirmation entry is displayed in the reminder message card, for example Fig. 9 904 of them.
[0117] In the above embodiment, since the event execution confirmation entrance can be displayed in the notification message card, not only can the user be reminded in time to confirm the event execution, further ensuring the effectiveness of the event reminder, but the user can also easily and quickly enter the event execution confirmation page, thereby improving the interaction efficiency during the event execution confirmation process.
[0118] In some embodiments, the event reminder is a medication reminder, and the event execution plan is a medication plan; when any reminder time divided according to the event reminder time description information of any enabled event execution plan is reached, an event execution confirmation page corresponding to the event execution plan that has reached the reminder time is displayed, and an event execution confirmation mark in a pending execution state is displayed on the event execution confirmation page, including: when there are multiple enabled medication plans, and the same reminder time divided according to the respective medication reminder frequencies of the multiple enabled medication plans is reached, a medication confirmation page corresponding to the multiple enabled medication plans is displayed; in the medication confirmation page, the drug identifiers corresponding to the multiple enabled medication plans are displayed; in the medication confirmation page, a medication confirmation mark for simultaneous medication confirmation for multiple enabled medication plans is displayed.
[0119] Among them, the same reminder time divided according to the medication reminder frequency of multiple enabled medication plans means that the same reminder time exists between multiple enabled medication plans. For example, if one of the reminder times divided according to the medication reminder frequency of medication plan A is 9:00, if one of the reminder times divided according to the medication reminder frequency of medication plan B is also 9:00, then there is the same reminder time between medication plan A and medication plan B, and the same reminder time is 9:00.
[0120] Specifically, when there are multiple enabled medication plans, and the same reminder time is reached according to the medication reminder frequency of each of the multiple enabled medication plans, the terminal can display the drug identifiers of these medication plans on the same medication confirmation page, and use the same medication confirmation mark to control the medication confirmation for these medication plans, and then when the user triggers the medication confirmation mark, the medication confirmation can be performed on all medication plans corresponding to the medication identifiers displayed on the page at the same time. For example, refer to Fig.10 , which is a schematic diagram of a medication confirmation page in some embodiments, Fig.10 As you can see, there are two drugs displayed on this page. When the user clicks Fig.10 When you click the medicine check-in button in Fig.10 Check in to confirm the medication plan for the two drugs shown in the table.
[0121] In some specific embodiments, when the medication confirmation page displays the drug identifiers corresponding to multiple medication plans, a selection control may also be displayed for each medication identifier, and the terminal may respond to the selection operation triggered by the user through the selection control and the trigger operation of the medication confirmation mark, and perform medication confirmation for the medication plan corresponding to the drug identifier selected by the selection operation. Furthermore, for the drug identifier not selected by the user, the terminal may trigger a delayed reminder for the medication plan corresponding to the drug identifier, for example, a medication reminder may be made again after a preset time, such as 5 minutes.
[0122] In the above embodiment, by displaying the drug identifiers of multiple medication reminder plans on one page and checking in to confirm multiple medication plans through the same medication confirmation identifier, the interaction efficiency when checking in for multiple medication plans can be improved, and the terminal's operating resources can be saved during the check-in confirmation process.
[0123] In some embodiments, a medication confirmation page corresponding to multiple enabled medication plans is displayed, including: displaying medication confirmation entrances corresponding to each of the multiple enabled medication plans; in response to a trigger operation on any of the displayed medication confirmation entrances, displaying a medication confirmation page corresponding to the multiple enabled medication plans.
[0124] Specifically, when there are multiple enabled medication plans, and the same reminder time is reached according to the medication reminder frequency of each of the multiple enabled medication plans, the terminal can display the corresponding medication confirmation entry for each of these medication plans. When the user triggers any of these medication confirmation entries, the terminal can respond to the trigger operation and display a medication confirmation page. In the displayed medication confirmation page, the drug identifiers in the medication plans corresponding to all these medication confirmation entries are displayed. For example, continue to refer to Fig. 9 , Fig. 9 There are two reminder message cards 902 and 906, which respectively display medication confirmation entrances 904 and 908 corresponding to different medication plans. The user can click on any of the entrances to enter the following. Fig.10 The medication confirmation page shown can simultaneously display the drug identifiers in the medication plans corresponding to the reminder message cards 902 and 906, so that the user can confirm medication for these two medication plans at the same time.
[0125] In the above embodiment, when the user triggers any one of the multiple medication confirmation entrances, the medication confirmation page corresponding to these medication plans can be displayed, thereby improving the interaction efficiency in the medication confirmation process.
[0126] In some embodiments, an event execution plan in an enabled state is displayed in an event execution plan display area in an event execution plan interaction page, the event execution plan interaction page includes multiple options that can respond to a selection operation to be in a selected state, and the event execution plan in an enabled state displayed in the event execution plan display area meets the filtering conditions corresponding to the selected options among the multiple options.
[0127] Among them, the event execution plan display area in the event execution plan interaction page refers to the area in the event execution plan interaction page used to display the event execution plan. Multiple options can be displayed outside the event execution plan display area, and each option can respond to the selection operation to be in a selected state. Each option corresponds to a filter condition, and the filter condition is used to filter the event execution plan from the event execution plan set. The options in the event execution plan interaction page can be customized according to business needs, and specifically can include options whose filter conditions define the reminder time, such as "Today's Medication" and "This Week's Medication", and can also include options whose filter conditions define user needs, such as "Favorite Medication" and "All Medication". Of course, there can also be other customized options. This application does not limit the filter conditions for options.
[0128] In a specific application, in response to a selection operation on any option, the terminal may switch the event execution plan displayed in the event execution plan display area to an event execution plan that satisfies the screening condition corresponding to the option selected by the selection operation.
[0129] In some embodiments, multiple options include at least a first option and a second option; the filtering condition corresponding to the first option is used to determine the event execution plan set corresponding to the logged-in user account; the filtering condition corresponding to the second option is used to filter the enabled event execution plans with a reminder time within a specified period from the event execution plan set.
[0130] Specifically, when the first option is selected, the terminal can filter the event execution plan set corresponding to the logged-in user account according to the filtering conditions of the first option, so that the event execution plan set can be displayed in the event execution plan display area, that is, all event execution plans of the logged-in user are displayed, and these event execution plans may include one or more of enabled event execution plans, event execution plans to be confirmed, or disabled event execution plans. When the second option is selected, the terminal can filter the enabled event execution plans with reminder times within a specified period from the user's event execution plan set, so that the enabled event execution plans with reminder times within a specified period can be displayed in the event execution plan display area.
[0131] For example, see Figure 3 The event execution plan interactive page displays two options: "All medications" and "Today's medications". Figure 3 In the "All Medication" option, the user's entire medication plan is selected, so the page can display all the user's medication plans. When the user clicks the "Today's Medication" option, the user's medication plan for today's medication reminder can be displayed. Fig.11 , which is a schematic diagram of the page corresponding to today's medication, Fig.11 It can be seen that when the "Today's Medication" option is selected, only the medication plans that need to be reminded today are displayed in the medication plan display area.
[0132] In some specific embodiments, when the second option is selected and the event execution plan display area displays an enabled event execution plan with a reminder time within a specified period, the terminal can also increase the size of the event execution plan card displayed by the event execution plan in response to reaching the reminder time of any event execution plan in the displayed event execution plan, so as to increase the display area for displaying the event execution confirmation entry, and display the event execution confirmation entry corresponding to the event execution plan that has reached the reminder time in the increased display area. For example, continue to refer to Fig.11 When the "Today's Medication" option is selected and the reminder time 16; 34 of the medication plan in the medication plan card 1102 is reached, a "Medication Confirmation" button can be added to the medication plan card 1102 as a medication confirmation entrance.
[0133] In the above embodiment, by displaying the option for users to filter event execution plans in the event execution plan interaction page, the terminal can filter the event execution plans for display in response to the user's selection operation of the option, thereby facilitating the user's management of the event execution plan and improving the efficiency of event execution plan interaction.
[0134] It can be seen from the previous embodiments that when there is event description information, the terminal can display at least one event execution plan in a pending confirmation state that is adapted thereto. When any event execution plan in a pending confirmation state is updated from a pending confirmation state to an enabled state, the terminal can perform event reminders according to the event execution plan. In this case, the event reminder time description information of the event execution plan matches the event execution time description information in the event description information by default, and the reminder time divided according to the event reminder time description information is a preset fixed time. For example, three medication reminder times can be pre-set at 9:00, 15:00 and 21:00 for a medication reminder frequency of three times a day. Then, for any medication plan with a medication reminder frequency of three times a day, the medication reminder times are all these three times. This situation may not meet the user's needs, resulting in the event reminder becoming an invalid reminder. Therefore, the present application also provides the function of editing the event execution plan. The following embodiments will introduce the editing of the event execution plan.
[0135] In some embodiments, in response to an enable trigger operation for any event execution plan in a pending confirmation state, the event execution plan targeted by the enable trigger operation is displayed as being in an enabled state, including: in response to an edit trigger operation for any event execution plan in a pending confirmation state, entering an event execution plan editing page, and displaying at least one edit item of the event execution plan targeted by the edit trigger operation in the event execution plan editing page; in response to an edit operation for any edit item in at least one edit item, displaying the edit content of the edit operation; in response to an enable trigger operation for an event execution plan containing edit content, displaying the event execution plan targeted by the enable trigger operation as being in an enabled state.
[0136] Specifically, when a user performs an edit trigger operation on any event execution plan in a pending confirmation state, the user can enter the event execution plan editing page, where the event execution plan can be edited. The event execution plan editing page includes multiple editing items, each of which can correspond to different contents in the event execution plan. Taking the medication plan as an example, the editing items can include one or more of the medication reminder frequency, drug name, reminder time, reminder cycle duration, dosage of each medication, or reminder start time.
[0137] It is understandable that at the beginning, these editing items display the default data, that is, the event reminder time description information, project name, reminder time, reminder cycle duration and other editing items are all default display and the data matching the relevant information in the event description information. For example, if the medication description information shows that the medication frequency for a certain drug is three times a day, then when entering the medication editing page, the medication reminder frequency is three times a day; the reminder start time defaults to the current date, for example, if the current date is March 2, then when entering the medication editing page, the reminder start time defaults to March 2. For each of these editing items, the user can edit it. After the editing is completed, the event execution plan containing the edited content can be enabled and triggered, so that the terminal can display the event execution plan as being enabled. After that, the terminal will trigger the event reminder according to the edited event execution plan.
[0138] In the above embodiment, since the event execution plan in the pending confirmation state can be edited, the event reminder can better meet the needs of the user and improve the effectiveness of the event reminder.
[0139] In some embodiments, the event reminder is a medication reminder; in response to an edit operation on any one of the at least one edit items, the edit content of the edit operation is displayed, including: in response to a first edit operation on the medication reminder frequency edit item in the at least one edit item, the medication reminder frequency edited by the first edit operation is displayed, and corresponding to the number of medications within a single medication cycle specified by the displayed medication reminder frequency, a reminder time edit item of a matching number is displayed; in response to a second edit operation on the reminder time edit item, the reminder time edited by the second edit operation is displayed.
[0140] Specifically, the reminder time is divided according to the medication reminder frequency, so the number of medication reminder times changes dynamically according to the medication reminder frequency. In this embodiment, the terminal can respond to the first editing operation on the medication reminder frequency editing item in at least one editing item, display the medication reminder frequency edited by the first editing operation, and follow the number of medications within a single medication cycle specified by the medication reminder frequency edited by the first editing operation. It can also automatically and dynamically display the matching number of reminder time editing items. For example, assuming the medication reminder frequency is twice a day, the terminal can display two reminder time editing items. If the medication reminder frequency is three times a day, the terminal can display three reminder time editing items, so that the user can perform editing operations on these reminder time editing items to edit the reminder time.
[0141] For example, see Fig.12 , is a schematic diagram of a medication editing page in some embodiments, Fig.12The frequency of medication is 2 times a day, so the number of reminder time editing items displayed is 2. The default times of these two reminder time editing items are 09:00 and 21:00. Users can edit these two reminder time editing items. After editing, when the user clicks the "Turn on Reminder" button, the terminal will remind you to take the medicine according to the edited time.
[0142] In the above embodiment, the terminal can automatically adjust the number of reminder time editing items according to the medication reminder frequency edited by the user. On the one hand, it can avoid the user manually adding reminder time editing items to affect the interaction efficiency, thereby improving the interaction efficiency in the medication plan editing process. On the other hand, it can avoid the waste of resources caused by displaying too many reminder time editing items, thereby saving the terminal's memory resources.
[0143] In some embodiments, at least one event execution plan in a pending confirmation state is displayed in a pending confirmation plan display area in an event execution plan interaction page; in response to an enable trigger operation for any event execution plan in a pending confirmation state, the event execution plan targeted by the enable trigger operation is displayed as being in an enabled state, including: in response to an enable trigger operation for any event execution plan in a pending confirmation state, the event execution plan targeted by the enable trigger operation is transferred from the pending confirmation plan display area to the enabled plan display area in the event execution plan interaction page.
[0144] The pending confirmation plan display area is used to display event execution plans in the pending confirmation state. When there are multiple pending confirmation event execution plans, all pending confirmation event execution plans can be aggregated and displayed in this area. The enabled plan display area is used to display event execution plans in the enabled state. When there are multiple enabled event execution plans, all enabled event execution plans can be aggregated and displayed in this area. In specific applications, the pending confirmation plan display area can be associated with the pending confirmation label, and the enabled plan display area can be associated with the enabled flag.
[0145] Specifically, the status change of the event execution plan can be reflected by the change of the display area where it is located. When an event execution plan is in a pending confirmation state, it can be displayed in the pending confirmation plan display area. When the user performs an activation trigger operation on the event execution plan, the terminal can transfer the event execution plan from the pending confirmation plan display area to the enabled plan display area, thereby displaying the event execution plan in the enabled plan display area to display the event execution plan as being in an enabled state.
[0146] For example, see Figure 3 and Fig.13 , when click Figure 3When the "Open Reminder" control is clicked in the medication plan card 306, the medication plan in the medication plan card 306 is transferred from the pending plan display area to the Fig.13 The enabled plan display area in the , where the pending confirmation plan display area is the display area under the "Pending Confirmation" label, and the enabled plan display area is the display area under the "Enabled" label.
[0147] In the above embodiment, the change in the state of the event execution plan is reflected by the change in the display area, so that event execution plans in the same state can be displayed in the same area, which is convenient for users to manage event execution plans in various states and avoid interference from event execution plans in other states when interacting with an event execution plan in a certain state, thereby improving the interaction efficiency for the event execution plan.
[0148] In some embodiments, the event description information is an electronic prescription and belongs to a logged-in user account, and the event execution plan is a medication plan: at least one event execution plan in a pending confirmation state is generated through a medication plan generation step, and the medication plan generation step includes: obtaining an electronic prescription belonging to the user account, generating a prescription message based on the electronic prescription through a producer thread and writing it into a message queue; reading the prescription message from the message queue through a consumer thread, extracting the drug name and medication frequency from the read prescription message; and generating at least one medication plan that is compatible with the electronic prescription based on the drug name and medication frequency through the consumer thread.
[0149] Specifically, in the embodiment of the present application, the step of generating a medication plan can be executed by a terminal, or by a server, or by both a terminal and a server. The embodiment of the present application is described by taking server execution as an example. After obtaining the electronic prescription belonging to the user account, the server can call the producer thread to generate a prescription message according to the electronic prescription and put it into the message queue, read the prescription message from the message queue through the consumer thread, and generate at least one medication plan that is compatible with the electronic prescription according to the drug name and medication frequency of the drug to be taken by the user in the prescription message. The generated medication plan is in a pending confirmation state at this time. When the user performs an enable trigger operation for any medication plan, the server will receive a request to enable the medication plan sent by the terminal. The server can update the status of the medication plan for which the enable trigger operation is targeted to an enabled state according to the request. The producer thread and consumer thread of the message queue can generate medication plans asynchronously to improve the efficiency of generating medication plans.
[0150] In specific applications, the message queue can be Kafka, which is a high-throughput distributed publish-subscribe messaging system that allows the right data to appear in the right place in the right form. Kafka uses the message queue to allow the producer thread to add data to the end of the queue, allowing multiple consumers to read the data from the queue in turn and process it themselves. Fig.14 As shown in the figure, in some specific embodiments, the architecture diagram of Kafka is composed of Fig.14 It can be seen that Kafka can be used to send messages asynchronously. The producer thread is responsible for writing messages to the Kafka cluster. The producer thread does not need to pay attention to the sending of messages. The consumer thread reads messages from the Kafka cluster and sends them. In the Kafka cluster, messages can be stored in different topics. Each topic can also include multiple partitions. The data of the same topic in different partitions is not repeated. The role of the partition is to do load and improve the throughput of Kafka.
[0151] In some specific embodiments, the specific process of the medication plan generation step can be referred to Fig.15 , specifically including the following steps:
[0152] Step 1502, create an electronic prescription.
[0153] Specifically, users can conduct online consultations, and doctors can create electronic prescriptions based on the consultations. When doctors prescribe or renew prescriptions for users, the information they need to obtain is divided into two categories: user information and drug information. User information includes the user's name, age, disease diagnosis results, etc. Drug information records all data of prescription drugs, including the name of the drug, function description, specifications, quantity, usage, dosage, and doctor's instructions. Fig.16 , which is a schematic diagram of a page where a doctor fills in a prescription in some specific embodiments. When the doctor clicks Fig.16 When you click the "Confirm and Send" button in the dialog box, you can submit the electronic prescription, and the electronic prescription is created.
[0154] User information and drug information can be stored in the database. Considering that these two types of information are different in terms of data scale, read and write frequency, data update method, etc., you can analyze and compare them in various dimensions according to the actual business situation and choose a suitable database for storage. For drug information, considering that the amount of drug information is relatively fixed, the types of prescription drugs, the usage and dosage of drugs, and functional descriptions have changed little, you can choose a regular MySQL data instance on the public cloud. For user information, considering that the number of users will continue to increase, you can choose a highly reliable DBMS database and use a cache database to improve data operation performance.
[0155] Step 1504, determine whether the electronic prescription has been reviewed and approved. If so, proceed to step 1506; if not, re-enter step 1502.
[0156] Step 1506: The producer thread encrypts the prescription content to generate a prescription message.
[0157] Step 1508: The consumer thread consumes the prescription message.
[0158] Specifically, the electronic prescription created by the doctor will enter the review stage. If the review is passed, the electronic prescription will carry an identification field of the review, so that the message can be produced through Kafka and placed in the message queue of the publish-subscribe mode. Kafka has three message sending mechanisms: simple message sending, synchronous message sending, and asynchronous message sending. Considering the scenario where multiple users consult multiple doctors at the same time, if the message is sent synchronously, only one message can be sent at the same time, which will cause many messages to be unable to be sent directly, causing message delays and failure to maximize benefits. Therefore, in the implementation of this application, an asynchronous message sending mechanism can be selected, that is, the prescription content of the electronic prescription is encrypted by the producer thread to generate a prescription message and write it into the message queue of Kafka, and the prescription message is read asynchronously from the message queue by the consumer thread.
[0159] In specific applications, when producing prescription messages to Kafka, the prescription content records the user's personal information, disease information, and medication information, which are user privacy data. Therefore, the prescription message must be encrypted before being placed in the message queue to protect the security of the user's privacy data. The encryption method can be encrypted using the AES (Advanced Encryption Standard) algorithm. The process of the AES encryption algorithm can be referred to Fig.17 The encryption process includes multiple rounds, and one round of encryption can include 4 operations: byte substitution, row shift, column mixing, and round key addition, among which: byte substitution is to replace each byte with the corresponding byte through a nonlinear replacement function using a lookup table; row shift is to cyclically shift each horizontal column in the matrix; column mixing can fully mix the operations of each vertical row in the matrix, and specifically, linear transformation can be used to mix the four bytes of each column; round key addition is to perform a bit-by-bit XOR operation on each byte in the matrix with the round key.
[0160] There are five main ways to implement AES: 1. Electronic Codebook Book (ECB) 2. Cipher Block Chaining (CBC) 3. Counter (CTR) 4. Cipher FeedBack (CFB) 5. Output FeedBack (OFB). In the embodiment of the present application, the second cipher block chaining mode can be used for encryption. By introducing the two packages "crypto / aes" and "crypto / cipher", encryption can be achieved by simply passing the plaintext and the key to the encryption function. Similarly, decryption only requires passing the ciphertext and the key to the decryption function. The key is stored using configuration management.
[0161] Step 1510, determine whether the prescription corresponding to the prescription message has been reviewed and approved, if so, proceed to step 1512, if not, proceed to step 1510.
[0162] Step 1512, marking the prescription message as processed.
[0163] Step 1514, decrypt the prescription message to generate a medication plan.
[0164] Step 1516, sending a notification message to remind you to start the medication plan.
[0165] Specifically, after the encrypted prescription message is sent to the message queue, the consumer thread can obtain the prescription message from the message queue, and after decrypting it using the AES algorithm, determine whether the prescription is reviewed and identified. Only when the review is passed, a medication plan for the user is generated based on the user information and medication information in the prescription message, and the status is not enabled, that is, it is in a pending confirmation state. At the same time, a notification message to be sent is created, and the sending time of the notification message can be, for example, 24 hours later. The notification message triggers a notification event on the terminal to remind the user to turn on the medication reminder.
[0166] In the above embodiment, since the medication plan is asynchronously generated through the message queue and the prescription message is encrypted, the efficiency of generating the medication plan can be improved while improving data security.
[0167] In some embodiments, the prompt information of the event reminder is generated through a prompt information generation step, and the prompt information generation step includes: when the reminder time divided according to the event reminder time description information of any event execution plan in an enabled state is reached, the reminder message generated according to the event execution plan that reaches the reminder time is written into the reminder message data table through a first scheduled task; the reminder messages in the reminder message data table are traversed through a second scheduled task; for each reminder message traversed, trigger the generation of prompt information corresponding to the reminder message.
[0168] Specifically, the event execution plan generation step in the embodiment of the present application can be executed by the terminal, or by the server, or by the terminal and the server together. The embodiment of the present application takes the server execution as an example for explanation. In the embodiment of the present application, the server can set two timed tasks, and write the reminder message generated according to the event execution plan that reaches the reminder time into the reminder message data table through the first timed task, and traverse the reminder messages in the reminder message data table through the second timed task, and trigger the generation of the reminder message corresponding to the reminder message for the traversed reminder message.
[0169] In some specific embodiments, reference Fig.18 , which is a flowchart of the timing task. The first timing task obtains the prescription message that meets the conditions, that is, the prescription message that has been reviewed and created more than the preset time, such as 24 messages. On the one hand, it can send a notification message to the user, and on the other hand, it can generate a medication plan based on the prescription message and write the medication plan into the medication plan data table. At this time, the medication plan is in a pending confirmation state. When the user performs an activation trigger operation on the medication plan, the status of the medication plan can be updated to an enabled state. The first timing task can traverse the medication plans in the enabled state in the medication plan data table. For each traversed medication plan, if the reminder time of the medication plan is reached, a reminder message can be generated according to the medication plan and written into the reminder message data table. The second timing task can traverse the reminder messages in the reminder message data table. For each traversed reminder message, the reminder message is read and sent to the terminal, thereby triggering the generation of prompt information corresponding to the reminder message.
[0170] In the above embodiment, two scheduled tasks are set to trigger the generation of prompt information. The two scheduled tasks work in coordination and cooperate with each other, so as to improve the efficiency of generating prompt information.
[0171] In some embodiments, the event reminder is a medication reminder, the event execution plan is a medication plan, and the enabled medication plans are stored in a medication plan data table; a reminder message generated according to the event execution plan that reaches the reminder time is written into the reminder message data table through a first scheduled task, including: traversing the medication plans in the enabled state in the medication plan data table through the first scheduled task; for each traversed medication plan, querying the reminder time of the traversed medication plan from the reminder time data table associated with the medication plan data table through the first scheduled task; when any of the queried reminder times is reached, generating a reminder message based on the traversed medication plan through the first scheduled task and writing it into the reminder message data table.
[0172] Specifically, considering that there may be multiple reminder times for the same medication plan, in an embodiment of the present application, the medication plan and the reminder time can be stored in two tables for associated storage. The medication plan is stored in the medication plan data table, and the reminder time corresponding to the medication plan is stored in the reminder time data table. This can avoid repeated storage of the content of the same medication plan and save storage resources in the database. On the other hand, when the first scheduled task traverses the medication plans in the enabled state in the medication plan data table, since each medication plan only needs to be traversed once, the traversal efficiency can be significantly improved. For each traversed medication plan, the first scheduled task can query the reminder time of the traversed medication plan from the reminder time data table associated with the medication plan data table. When any of the queried reminder times is reached, the first scheduled task can generate a reminder message based on the traversed medication plan and write it into the reminder message data table, further saving the amount of data required to be queried in the process of generating the reminder message, saving the server's operating resources, and improving the efficiency of generating the reminder message.
[0173] In some specific embodiments, Fig.19 As shown, an event reminder method is provided. In this embodiment, the method is applied to Figure 1 The terminal 102 in the example is used as an example for illustration. It can be understood that the method can also be applied to a server, and can also be applied to a system including a terminal and a server, and is implemented through the interaction between the terminal and the server. In this embodiment, the method includes the following steps:
[0174] Step 1902: When event description information belonging to the logged-in user account is generated, in response to a notification event for the event description information, a notification message card for the event description information is displayed.
[0175] Among them, the event can be anything that needs to trigger an event reminder, such as taking medicine, meeting, making a phone call, visiting a customer, sending an email, or picking up a courier, etc. Different events involve different items, for example, the medication event involves medicine, and the meeting event involves a meeting.
[0176] Step 1904: In the notification message card, the notification message content indicated by the notification event is displayed, and an event execution plan display entry adapted to the event description information is displayed.
[0177] Among them, there is a project name in the event description information that matches the project identifier in the event execution plan, and the event reminder time description information corresponding to the project identifier in the event execution plan matches the event execution time description information of the project name in the event description information.
[0178] Step 1906: In response to a trigger operation on the event execution plan display portal, display at least one event execution plan in a to-be-confirmed state that is adapted to the event description information.
[0179] Among them, at least one event execution plan in a pending confirmation state is displayed in a pending confirmation plan display area in the event execution plan interaction page.
[0180] Step 1908, in response to an enable trigger operation for any event execution plan in a pending confirmation state, the event execution plan targeted by the enable trigger operation is transferred from the pending confirmation plan display area to the enabled plan display area in the event execution plan interaction page, so as to display the event execution plan targeted by the enable trigger operation as being in an enabled state.
[0181] In a specific application, the terminal can also enter the event execution plan editing page in response to an edit trigger operation for any event execution plan in a pending confirmation state, display at least one edit item of the event execution plan targeted by the edit trigger operation in the event execution plan editing page, and display the edit content of the edit operation in response to an edit operation for any edit item in at least one edit item, and then can respond to an enable trigger operation for the event execution plan containing the edit content.
[0182] Step 1910: When any reminder time divided according to the event reminder time description information of any event execution plan in an enabled state is reached, an event reminder corresponding to the event execution plan that has reached the reminder time is triggered.
[0183] In a specific application, the event reminder triggered by the terminal includes at least a message reminder, that is, when any reminder time divided according to the event reminder time description information of any enabled event execution plan is reached, the terminal can receive a reminder message sent by the server.
[0184] Furthermore, when any reminder time divided according to the event reminder time description information of any event execution plan in an enabled state is reached, the terminal can also display the event execution confirmation entrance corresponding to the event execution plan that has reached the reminder time. In an embodiment of the present application, on the one hand, the event execution confirmation entrance can be displayed through the following steps 1912 to 1916, and on the other hand, the event execution confirmation entrance can be displayed through steps 1918 to 1922.
[0185] Step 1912, displaying the event execution plan interactive page, and displaying each enabled event execution plan in each event execution plan card in the event execution plan display area of the event execution plan interactive page.
[0186] In a specific application, an event execution plan card is displayed in an event execution plan display area in an event execution plan interaction page. The event execution plan interaction page includes multiple options that can respond to selection operations to be in a selected state. The event execution plan in an enabled state displayed in the event execution plan display area meets the filtering conditions corresponding to the selected options among the multiple options.
[0187] Step 1914: Increase the size of the event execution plan card that has reached the reminder time to increase the display area for displaying the event execution confirmation entrance.
[0188] The event execution confirmation entry is an entry that can respond to a trigger operation to display an event execution confirmation page, and specifically can be a prompt message or a trigger control.
[0189] Step 1916: In the added display area, an event execution confirmation entry corresponding to the event execution plan that reaches the reminder time is displayed.
[0190] Specifically, the size of the increased event execution plan card can be set according to actual needs. By increasing the size, a display area for displaying an event execution confirmation entrance can be added to the event execution plan card, and then an event execution confirmation entrance can be displayed in the increased display area.
[0191] Step 1918, display the prompt information of the event reminder.
[0192] Specifically, when any reminder time divided according to the event reminder time description information of any event execution plan in the enabled state is reached, the terminal may also display prompt information of the event reminder.
[0193] Step 1920: In response to the viewing operation on the reminder information, a reminder message card of the event reminder is displayed.
[0194] Step 1922: Display the reminder message content of the event reminder in the reminder message card, and display the event execution confirmation entry corresponding to the event execution plan that reaches the reminder time.
[0195] The content of the reminder message may include one or more of the following information: a project identifier in the event execution plan when the reminder time is reached, an event execution time, a prompt description, and the like.
[0196] Step 1924, in response to the triggering operation on the event execution confirmation entry, display the event execution confirmation page corresponding to the event execution plan that reaches the reminder time, and display the event execution confirmation mark in the pending execution state on the event execution confirmation page.
[0197] Step 1926: In response to the triggering operation on the event execution confirmation mark, the state of the event execution confirmation mark is updated to an executed state.
[0198] In a specific application, the event execution confirmation mark displayed by the terminal may be a button displaying "check-in". When the user clicks the button, the display content of the button changes to "checked-in".
[0199] It can be understood that the explanation of this embodiment can refer to the above embodiments.
[0200] In the above embodiment, the terminal only needs to respond to the enable trigger operation for the event execution plan to make the event execution plan in the enabled state to trigger the event reminder. The entire event reminder process is interactively simple, thereby improving the interaction efficiency in the event reminder process. The terminal can also respond to the trigger operation for the event execution confirmation mark to update the state of the event execution confirmation mark to the executed state, thereby improving the effectiveness of the medication reminder.
[0201] In some specific embodiments, the present application also provides an application scenario, in which the terminal runs an application that can provide a reminder service, the application is a sub-application, and runs in one of the native applications installed on the terminal, and the native application has a user account logged in. In this application scenario, the event description information is an electronic prescription, the event execution plan is a medication plan, the item is a drug in the electronic prescription, and the event reminder is a medication reminder. The following is a detailed introduction to the implementation process of the event reminder method in this application scenario:
[0202] Users can use this sub-application to conduct online consultations and obtain electronic prescriptions from doctors. Fig. 20, is a flowchart of obtaining an electronic prescription in some specific embodiments. After the user enters the sub-application, he can choose a doctor for an online consultation. During the online consultation, the server can determine whether the user needs an electronic prescription through the user's session information. If not, only the consultation process is carried out. The user can exit the sub-application after the consultation. If an electronic prescription is required, after obtaining the electronic prescription created by the doctor, the server triggers the electronic prescription to enter the review process and detects whether the electronic prescription has passed the review. If the review fails, the doctor is instructed to re-issue the electronic prescription or modify the electronic prescription. If the review passes, the electronic prescription can be sent to the user account. The user can view the electronic prescription in the sub-application and exit the sub-application after viewing. Among them, the user's session page for online consultation can be specifically referred to. Figure 5 , the page where the doctor fills in the prescription content can be referred to Fig.16 .
[0203] After the prescription is successfully created and passed the review, the server can generate a prescription message based on the electronic prescription through the producer thread and write it into the message queue, read the prescription message from the message queue through the consumer thread, extract the drug name and medication frequency from the read prescription message, and generate at least one medication plan compatible with the electronic prescription based on the drug name and medication frequency through the consumer thread, thereby automatically generating a medication plan, which is stored in the medication plan data table. At this time, the status of the medication plan is in a pending confirmation state.
[0204] 24 hours after the prescription is successfully created and reviewed, the server can send a notification message to the terminal of the logged-in user account to remind the user to turn on the medication reminder in time. After the notification message reaches the terminal, a notification event is triggered at the terminal. The terminal can respond to the notification event and display a notification message card for the medication description information. In the notification message card, the notification message content indicated by the notification event is displayed, and a medication plan display entry that is compatible with the medication description information is displayed. The terminal can further respond to the trigger operation on the medication plan display entry and display at least one medication plan in a pending confirmation state that is compatible with the medication description information. For the specific display page of the notification message card, please refer to Figure 4 , when the user clicks Figure 4 Click to jump to [Medication Management List Page: All Medication] and enter Figure 3 The medication management interface shown in the figure integrates the functions of editing, viewing, and deleting medication reminder plans. Users can flexibly set medication time, usage and dosage or delete unnecessary medication plans as needed.
[0205] In response to an activation trigger operation for any medication plan in a pending status, the terminal can display the medication plan targeted by the activation trigger operation as being in an enabled state. Specifically, if the user directly clicks the "Turn on Reminder" button in a medication plan card displayed by the terminal, the reminder start time for this drug in the medication plan will be counted from the day of the click, and the status will be changed to an enabled state, and the display will be transferred from the pending plan display area to the enabled plan display area in the medication management page. If the user clicks on an area other than the Turn on Reminder button in the medication plan card, the medication plan editing page will be entered. For details about the medication plan editing page, please refer to Fig.12 , the user can edit the medication plan and click the "Enable Reminder" button on the page, and the edited medication plan will become enabled and displayed in the enabled plan display area on the medication management page. It is understandable that after the service plan changes from the pending confirmation state to the enabled state, the server can change the state of the medication plan in the medication plan data table accordingly.
[0206] For interactive operations such as editing, status change, viewing, and deleting medication plans, the terminal can send a request to the server, and the operation result will be displayed according to the server's response. The timing diagram of a request process can be referred to Fig.21 , the request triggered by the sub-application reaches the server through the gateway layer, and the medication management backend service is called through the BFF (Backend For Frontend, a backend service developed for the front-end application) service in the server. After the backend service processes the request through the database, it returns the result to the sub-application. Among them, the server in the embodiment of the present application can be a public cloud server, that is, all service components of the server are uniformly deployed on the public cloud, and with the help of the capabilities provided by Iaas (Infrastructure as a Service) on the cloud, a high-availability, high-performance data service is provided.
[0207] When the reminder time divided by the medication reminder frequency of any enabled medication plan is reached, the server can traverse the enabled medication plans in the medication plan data table through the first scheduled task, and for each traversed medication plan, query the reminder time of the traversed medication plan from the reminder time data table associated with the medication plan data table through the first scheduled task; when any of the queried reminder times is reached, a reminder message is generated according to the traversed medication plan and written into the reminder message data table through the first scheduled task; the server can further traverse the reminder messages in the reminder message data table through the second scheduled task, and for each traversed reminder message, trigger the generation of prompt information corresponding to the reminder message; the server can send the prompt information to the terminal, thereby realizing a medication reminder for the user.
[0208] The terminal can further display prompt information of the medication reminder, and in response to the viewing operation of the prompt information, display a reminder message card of the medication reminder. In the reminder message card, the reminder message content of the medication reminder is displayed, and the medication confirmation entry corresponding to the medication plan that has reached the reminder time is displayed. In response to the trigger operation of the medication confirmation entry, the medication confirmation page corresponding to the medication plan that has reached the reminder time is displayed. Among them, when there are multiple enabled medication plans, and the same reminder time divided according to the medication reminder frequency of each of the multiple enabled medication plans is reached, the terminal displays the medication confirmation entry corresponding to each of the multiple enabled medication plans, and in response to the trigger operation of any of the displayed medication confirmation entries, the terminal displays the medication confirmation page corresponding to the multiple enabled medication plans. In the medication confirmation page, the drug identifiers corresponding to each of the multiple enabled medication plans are displayed, and a medication confirmation mark for simultaneous medication confirmation for multiple enabled medication plans is displayed. For the specific process, please refer to Fig. 9 and Fig.10 , when the user clicks Fig. 9 You can enter the medication confirmation entry in any reminder message card Fig.10 The medication clock-in page displays the names of the two medication plans with the same reminder time. After the user clicks on the medication clock-in, they can clock in for both medications at the same time. The server can mark the user's medication clock-in operation in the reminder time data table, so that the user's clock-in times, clock-in days and other information can be counted, and the clock-in results can be displayed on the terminal's medication clock-in page. For details, please refer to Fig.10 .
[0209] In the above embodiment, based on the message queue, after the doctor creates an electronic prescription, a medication plan is automatically generated and a message notification to turn on the medication reminder can be sent to the user, so that the user only needs to perform simple operations after consulting the doctor to receive the medication reminder. The whole process is simple to interact, which greatly improves the interaction efficiency in the medication reminder process.
[0210] In some specific embodiments, the present application also provides another application scenario, in which the terminal runs an application that can provide reminder services, and the user can upload a prescription picture taken for a paper prescription through the application. The terminal can identify the prescription picture through the application, extract the prescription information in the picture and automatically generate a medication plan. When the user clicks on the medication plan display entrance displayed on the application interface, at least one medication plan in a pending state can be displayed, wherein there is a drug name in the prescription picture that matches the drug identifier in the medication plan, and the medication reminder frequency corresponding to the drug identifier in the medication plan matches the medication frequency of the drug name in the prescription picture. The terminal can further respond to the activation trigger operation for any medication plan in a pending state, and display the medication plan targeted by the activation trigger operation as being in an enabled state. When any reminder time divided according to the medication reminder frequency of any medication plan in an enabled state is reached, the medication reminder corresponding to the medication plan that reaches the reminder time is triggered. The specific implementation process can refer to the above embodiment, and the present application will not repeat it here.
[0211] In some specific embodiments, the present application also provides another application scenario, in which the terminal runs an application that can provide reminder services, and the user can enter the conversation page with the robot account through the application. The user can send voice on the conversation page, and the terminal can recognize the voice. When the event description information is recognized, the event execution plan is automatically generated, and the event reminder is performed through the event reminder method of the present application. Optionally, when the meeting description information such as the meeting name and meeting time is recognized, at least one meeting plan is generated according to the meeting description information, and the meeting plan display entrance is displayed on the conversation page. The terminal further responds to the trigger operation for the meeting plan display entrance, and displays at least one meeting plan in a pending confirmation state. The terminal can further respond to the enable trigger operation for any meeting plan in a pending confirmation state, and display the meeting plan for which the enable trigger operation is targeted as being in an enabled state. When any reminder time divided according to the meeting time of any meeting plan in an enabled state is reached, the meeting reminder corresponding to the meeting plan that reaches the reminder time is triggered. Among them, the specific implementation and explanation of each step can refer to the above embodiment, and the present application will not repeat them here.
[0212] It should be understood that, although the steps in the flowcharts involved in the above embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0213] Based on the same inventive concept, the embodiment of the present application also provides an event reminder device for implementing the event reminder method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more event reminder device embodiments provided below can refer to the limitations of the event reminder method above, and will not be repeated here.
[0214] In one embodiment, Fig. 22 As shown, an event reminder device 2200 is provided, comprising:
[0215] The first display module 2202 is used to display at least one event execution plan in a to-be-confirmed state adapted to the event description information when there is event description information; the event description information contains a project name that matches the project identifier in the event execution plan, and the event reminder time description information corresponding to the project identifier in the event execution plan matches the event execution time description information of the project name in the event description information;
[0216] The second display module 2204 is used for displaying the event execution plan targeted by the activation trigger operation as being in an activated state in response to an activation trigger operation for any event execution plan in a pending confirmation state;
[0217] The event reminder module 2206 is used to trigger the event reminder corresponding to the event execution plan that has reached the reminder time when any reminder time divided according to the event reminder time description information of any event execution plan in the enabled state is reached.
[0218] The above-mentioned event reminder device, when there is event description information, displays at least one event execution plan in a pending state that is adapted to the event description information, wherein the event description information contains a project name that matches the project identifier in the event execution plan, and the event reminder time description information corresponding to the project identifier in the event execution plan matches the event execution time description information of the project name in the event description information, and in response to an enable trigger operation for any event execution plan in a pending state, displays the event execution plan targeted by the enable trigger operation as being in an enabled state, and when any reminder time divided according to the event reminder time description information of any event execution plan in an enabled state is reached, triggers the event reminder corresponding to the event execution plan that reaches the reminder time, and since the event description information exists, the event execution plan can be displayed, and thus the event reminder can be triggered only by responding to the enable trigger operation for the event execution plan to make the event execution plan in an enabled state, and the entire event reminder process is interactively simple, thereby improving the interactive efficiency in the event reminder process.
[0219] In some embodiments, the first display module is also used to display an event execution plan display entrance adapted to the event description information when there is event description information; and in response to a trigger operation on the event execution plan display entrance, display at least one event execution plan in a to-be-confirmed state adapted to the event description information.
[0220] In some embodiments, the first display module is also used to display a notification message card for the event description information in response to a notification event for the event description information when event description information belonging to the logged-in user account is generated; in the notification message card, the notification message content indicated by the notification event is displayed, and an event execution plan display entrance adapted to the event description information is displayed.
[0221] In some embodiments, the first display module is also used to display an event description information message card for browsing the event description information on the conversation page between the logged-in user account and the service account when the service account triggers event description information for the user account; corresponding to the event description information message card, an event execution plan display entrance adapted to the event description information is displayed.
[0222] In some embodiments, the above-mentioned event reminder device also includes a medication confirmation module, which is used to display an event execution confirmation page corresponding to the event execution plan that has reached the reminder time when any reminder time divided according to the event reminder time description information of any event execution plan in an enabled state is reached, and display an event execution confirmation mark in a pending execution state on the event execution confirmation page; in response to a trigger operation on the event execution confirmation mark, update the state of the event execution confirmation mark to an executed state.
[0223] In some embodiments, an event execution plan in an enabled state is displayed on an event execution plan interaction page; the medication confirmation module is also used to display an event execution confirmation entry corresponding to the event execution plan when the reminder time is reached in the event execution plan interaction page; in response to a trigger operation on the event execution confirmation entry, an event execution confirmation page corresponding to the event execution plan when the reminder time is reached is displayed.
[0224] In some embodiments, each enabled event execution plan is respectively displayed in each event execution plan card in the event execution plan display area of the event execution plan interaction page; the medication confirmation module is also used to increase the size of the event execution plan card that reaches the reminder time when the reminder time of the event execution plan in any event execution plan card is reached, so as to increase the display area for displaying the event execution confirmation entrance; in the increased display area, the event execution confirmation entrance corresponding to the event execution plan that reaches the reminder time is displayed.
[0225] In some embodiments, the medication confirmation module is also used to display prompt information of event reminders; in response to a viewing operation on the prompt information, a reminder message card of the event reminder is displayed; in the reminder message card, the reminder message content of the event reminder is displayed, and an event execution confirmation entry corresponding to the event execution plan when the reminder time is reached is displayed; in response to a trigger operation on the event execution confirmation entry, an event execution confirmation page corresponding to the event execution plan when the reminder time is reached is displayed.
[0226] In some embodiments, the medication confirmation module is also used to display an event execution confirmation page corresponding to multiple event execution plans in enabled states when there are multiple event execution plans in enabled states and the same reminder time divided according to the event reminder time description information of each of the multiple event execution plans in enabled states is reached; in the event execution confirmation page, the project identifiers corresponding to each of the multiple event execution plans in enabled states are displayed; in the event execution confirmation page, an event execution confirmation mark for simultaneously confirming medication for multiple event execution plans in enabled states is displayed.
[0227] In some embodiments, the medication confirmation module is also used to display event execution confirmation entries corresponding to each of multiple enabled event execution plans; in response to a trigger operation on any of the displayed event execution confirmation entries, an event execution confirmation page corresponding to multiple enabled event execution plans is displayed.
[0228] In some embodiments, an event execution plan in an enabled state is displayed in an event execution plan display area in an event execution plan interaction page, the event execution plan interaction page includes multiple options that can respond to a selection operation to be in a selected state, and the event execution plan in an enabled state displayed in the event execution plan display area meets the filtering conditions corresponding to the selected options among the multiple options.
[0229] In some embodiments, multiple options include at least a first option and a second option; the filtering condition corresponding to the first option is used to determine the event execution plan set corresponding to the logged-in user account; the filtering condition corresponding to the second option is used to filter the enabled event execution plans with a reminder time within a specified period from the event execution plan set.
[0230] In some embodiments, the second display module is also used to enter the event execution plan editing page in response to an edit trigger operation for any event execution plan in a pending confirmation state, and display at least one edit item of the event execution plan targeted by the edit trigger operation in the event execution plan editing page; in response to an edit operation for any edit item in at least one edit item, display the edit content of the edit operation; in response to an enable trigger operation for an event execution plan containing edit content, display the event execution plan targeted by the enable trigger operation as being in an enabled state.
[0231] In some embodiments, the second display module is also used to respond to a first editing operation on an event reminder time description information editing item in at least one editing item, display the event reminder time description information edited by the first editing operation, and display reminder time editing items with a matching number of medication times within a single medication cycle specified by the displayed event reminder time description information; and respond to a second editing operation on the reminder time editing item, display the reminder time edited by the second editing operation.
[0232] In some embodiments, at least one event execution plan in a pending confirmation state is displayed in a pending confirmation plan display area in an event execution plan interaction page; the second display module is also used to respond to an enable trigger operation for any event execution plan in a pending confirmation state, and transfer the event execution plan targeted by the enable trigger operation from the pending confirmation plan display area to the enabled plan display area in the event execution plan interaction page.
[0233] In some embodiments, the event description information is an electronic prescription and belongs to the logged-in user account: the above-mentioned event reminder device also includes an event execution plan generation module, which is used to: obtain the electronic prescription belonging to the user account, generate a prescription message based on the electronic prescription through a producer thread and write it into a message queue; read the prescription message from the message queue through a consumer thread, and extract the project name and event execution time description information from the read prescription message; through the consumer thread, generate at least one event execution plan that is compatible with the electronic prescription based on the project name and event execution time description information.
[0234] In some embodiments, the above-mentioned event reminder device also includes a prompt information generation module, which is used to: when the reminder time divided according to the event reminder time description information of any event execution plan in an enabled state is reached, write the reminder message generated according to the event execution plan that reaches the reminder time into the reminder message data table through a first scheduled task; traverse the reminder messages in the reminder message data table through a second scheduled task; for each reminder message traversed, trigger the generation of prompt information corresponding to the reminder message.
[0235] In some embodiments, event execution plans in an enabled state are stored in an event execution plan data table; the prompt information generation module is also used to: traverse the event execution plans in an enabled state in the event execution plan data table through a first scheduled task; for each traversed event execution plan, query the reminder time of the traversed event execution plan from the reminder time data table associated with the event execution plan data table through the first scheduled task; when any of the queried reminder times is reached, generate a reminder message according to the traversed event execution plan through the first scheduled task and write it into the reminder message data table.
[0236] Each module in the above event reminder device can be implemented in whole or in part by software, hardware or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each module.
[0237] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Fig.23As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data such as event execution plans and reminder times. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, an event reminder method is implemented.
[0238] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Fig.24 As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, an event reminder method is implemented. The display unit of the computer device is used to form a visually visible image, and can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen. The input device of the computer device can be a touch layer covered on the display screen, or a button, trackball or touchpad set on the computer device casing, or an external keyboard, touchpad or mouse, etc.
[0239] Those skilled in the art will understand that Fig.23 , Fig.24The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0240] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps of the above event reminder method when executing the computer program.
[0241] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned event reminder method are implemented.
[0242] In one embodiment, a computer program product is provided, including a computer program, which implements the steps of the above event reminder method when executed by a processor.
[0243] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions.
[0244] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0245] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0246] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. An event reminder method, characterized in that: The method comprises: When there is event description information, at least one event execution plan in a pending confirmation state adapted to the event description information is displayed; the event description information contains a project name that matches the project identifier in the event execution plan, and the event reminder time description information corresponding to the project identifier in the event execution plan matches the event execution time description information of the project name in the event description information; In response to an activation trigger operation for any event execution plan in the pending confirmation state, displaying the event execution plan targeted by the activation trigger operation as being in an activated state; When any reminder time divided according to the event reminder time description information of any event execution plan in an enabled state is reached, triggering the event reminder corresponding to the event execution plan that reaches the reminder time; In the case where the event reminder is a medication reminder and the event execution plan is a medication plan, when there are multiple medication plans in an enabled state and the same reminder time divided according to the medication reminder frequencies of the multiple medication plans in an enabled state is reached, displaying medication confirmation entrances corresponding to the multiple medication plans in an enabled state; In response to a triggering operation on any of the displayed medication confirmation entrances, displaying a medication confirmation page corresponding to the plurality of medication plans in the enabled state; On the medication confirmation page, the drug identifiers corresponding to the multiple enabled medication plans and the medication precautions corresponding to the drug identifiers are displayed; In the medication confirmation page, a medication confirmation mark is displayed for simultaneously confirming medication for the multiple medication plans in the enabled state; In response to a trigger operation on the medication confirmation mark, the state of the medication confirmation mark is updated to an executed state.
2. The method according to claim 1, characterized in that When there is event description information, displaying at least one event execution plan in a to-be-confirmed state adapted to the event description information includes: When event description information exists, an event execution plan display entrance adapted to the event description information is displayed; In response to a triggering operation on the event execution plan display portal, at least one event execution plan in a to-be-confirmed state adapted to the event description information is displayed.
3. The method according to claim 2, characterized in that When event description information exists, displaying an event execution plan display entrance adapted to the event description information includes: When event description information belonging to the logged-in user account is generated, in response to a notification event for the event description information, a notification message card for the event description information is displayed; In the notification message card, the notification message content indicated by the notification event is displayed, and an event execution plan display entrance adapted to the event description information is displayed.
4. The method according to claim 2, characterized in that: The event reminder is a medication reminder; When there is event description information, displaying an event execution plan display entrance adapted to the event description information includes: On a conversation page where a logged-in user account and a service account are in conversation, when the service account triggers medication description information for the user account, a medication description information message card for browsing the medication description information is displayed; Corresponding to the medication description information message card, a medication plan display entrance adapted to the medication description information is displayed.
5. The method according to claim 1, characterized in that The event execution plan in the enabled state is displayed on the event execution plan interaction page; The display of the medication confirmation page corresponding to the plurality of medication plans in the enabled state includes: In the event execution plan interaction page, an event execution confirmation entry corresponding to the event execution plan that reaches the reminder time is displayed; In response to a triggering operation of executing a confirmation entry for the event, a medication confirmation page corresponding to the plurality of medication plans in the enabled state is displayed.
6. The method according to claim 5, characterized in that Each of the event execution plans in the enabled state is respectively displayed in each event execution plan card in the event execution plan display area of the event execution plan interaction page; In the event execution plan interaction page, an event execution confirmation entry corresponding to the event execution plan that reaches the reminder time is displayed, including: When the reminder time of the event execution plan in any of the event execution plan cards is reached, the size of the event execution plan card that has reached the reminder time is increased to increase the display area for displaying the event execution confirmation entrance; In the added display area, an event execution confirmation entry corresponding to the event execution plan reaching the reminder time is displayed.
7. The method according to claim 1, characterized in that The display of the medication confirmation page corresponding to the plurality of medication plans in the enabled state includes: Display the reminder information of the event; In response to a viewing operation on the prompt information, displaying a reminder message card of the event reminder; In the reminder message card, the reminder message content of the event reminder is displayed, and the event execution confirmation entry corresponding to the event execution plan that reaches the reminder time is displayed; In response to a triggering operation of executing a confirmation entry for the event, a medication confirmation page corresponding to the plurality of medication plans in the enabled state is displayed.
8. The method according to claim 1, characterized in that: The enabled event execution plan is displayed in the event execution plan display area in the event execution plan interaction page, and the event execution plan interaction page includes multiple options that can respond to selection operations to be in a selected state. The enabled event execution plan displayed in the event execution plan display area meets the filtering conditions corresponding to the selected options among the multiple options.
9. The method according to claim 1, characterized in that: In response to an activation trigger operation for any event execution plan in the pending confirmation state, displaying the event execution plan targeted by the activation trigger operation as being in an activated state includes: In response to an edit trigger operation for any of the event execution plans in the pending confirmation state, entering an event execution plan edit page, and displaying at least one edit item of the event execution plan targeted by the edit trigger operation on the event execution plan edit page; In response to an editing operation on any one of the at least one editing item, displaying editing content of the editing operation; In response to an activation trigger operation on an event execution plan containing edited content, the event execution plan targeted by the activation trigger operation is displayed as being in an activated state.
10. The method according to claim 9, characterized in that The event reminder is a medication reminder; The step of displaying the edit content of the edit operation in response to the edit operation on any one of the at least one edit item comprises: In response to a first editing operation on a medication reminder frequency editing item in the at least one editing item, displaying the medication reminder frequency edited by the first editing operation; Corresponding to the number of medications taken within a single medication cycle specified by the displayed medication reminder frequency, a matching number of reminder time editing items are displayed; In response to a second editing operation on the reminder time editing item, the reminder time edited by the second editing operation is displayed.
11. The method according to claim 1, characterized in that: The at least one event execution plan in a pending confirmation state is displayed in a pending confirmation plan display area in the event execution plan interaction page; In response to an activation trigger operation for any event execution plan in the pending confirmation state, displaying the event execution plan targeted by the activation trigger operation as being in an activated state includes: In response to an activation trigger operation for any event execution plan in the pending confirmation state, the event execution plan targeted by the activation trigger operation is transferred from the pending confirmation plan display area to the enabled plan display area in the event execution plan interaction page.
12. The method according to any one of claims 1 to 11, characterized in that The prompt information of the event reminder is generated by a prompt information generating step, and the prompt information generating step includes: When the reminder time divided according to the event reminder time description information of any event execution plan in an enabled state is reached, a reminder message generated according to the event execution plan reaching the reminder time is written into the reminder message data table through the first scheduled task; Traversing the reminder messages in the reminder message data table through a second scheduled task; For each traversed reminder message, trigger the generation of reminder information corresponding to the reminder message.
13. The method according to claim 12, characterized in that The event reminder is a medication reminder, the event execution plan is a medication plan, and the medication plan in the enabled state is stored in the medication plan data table; The step of writing the reminder message generated by the event execution plan when the reminder time is reached into the reminder message data table through the first scheduled task includes: Traversing the medication plans in the medication plan data table that are in an enabled state through a first scheduled task; For each traversed medication plan, query the reminder time of the traversed medication plan from the reminder time data table associated with the medication plan data table through the first scheduled task; When any of the queried reminder times is reached, a reminder message is generated according to the traversed medication plan through the first scheduled task and written into the reminder message data table.
14. An event reminder device, characterized in that: The device comprises: A first display module is used to display at least one event execution plan in a to-be-confirmed state adapted to the event description information when there is event description information; the event description information contains a project name that matches the project identifier in the event execution plan, and the event reminder time description information corresponding to the project identifier in the event execution plan matches the event execution time description information of the project name in the event description information; A second display module, configured to, in response to an activation trigger operation for any event execution plan in the to-be-confirmed state, display the event execution plan targeted by the activation trigger operation as being in an activated state; An event reminder module, configured to trigger an event reminder corresponding to the event execution plan that reaches the reminder time when any reminder time divided according to the event reminder time description information of any event execution plan that is in an enabled state is reached; A medication confirmation module is used for displaying medication confirmation entries corresponding to each of the multiple enabled medication plans when the event reminder is a medication reminder and the event execution plan is a medication plan, and when there are multiple enabled medication plans and the same reminder time divided according to the medication reminder frequencies of the multiple enabled medication plans is reached; in response to a trigger operation on any of the displayed medication confirmation entries, displaying a medication confirmation page corresponding to the multiple enabled medication plans; in the medication confirmation page, displaying the drug identification corresponding to each of the multiple enabled medication plans and the medication precautions corresponding to each drug identification; in the medication confirmation page, displaying a medication confirmation mark for simultaneous medication confirmation for the multiple enabled medication plans; in response to a trigger operation on the medication confirmation mark, updating the state of the medication confirmation mark to an executed state.
15. The device according to claim 14, characterized in that The first display module is also used to: when there is event description information, display an event execution plan display entrance adapted to the event description information; in response to a trigger operation on the event execution plan display entrance, display at least one event execution plan in a to-be-confirmed state adapted to the event description information.
16. The device according to claim 15, characterized in that The first display module is further configured to: when event description information belonging to a logged-in user account is generated, in response to a notification event for the event description information, display a notification message card for the event description information; In the notification message card, the notification message content indicated by the notification event is displayed, and an event execution plan display entrance adapted to the event description information is displayed.
17. The device according to claim 15, characterized in that The event reminder is a medication reminder; the first display module is also used for: on the conversation page where the logged-in user account and the service account have a conversation, when the service account triggers the medication description information for the user account, displaying a medication description information message card for browsing the medication description information; corresponding to the medication description information message card, displaying a medication plan display entrance adapted to the medication description information.
18. The device according to claim 14, characterized in that The event execution plan in the enabled state is displayed on the event execution plan interaction page; the medication confirmation module is also used to: display the event execution confirmation entry corresponding to the event execution plan that has reached the reminder time in the event execution plan interaction page; and display the medication confirmation page corresponding to the multiple medication plans in the enabled state in response to a trigger operation on the event execution confirmation entry.
19. The device according to claim 18, characterized in that Each of the event execution plans in the enabled state is respectively displayed in each event execution plan card in the event execution plan display area of the event execution plan interaction page; The medication confirmation module is further used to: when the reminder time of the event execution plan in any of the event execution plan cards is reached, increase the size of the event execution plan card that has reached the reminder time to increase the display area for displaying the event execution confirmation entrance; In the added display area, an event execution confirmation entry corresponding to the event execution plan reaching the reminder time is displayed.
20. The device according to claim 14, characterized in that The medication confirmation module is further used to: display the reminder information of the event reminder; in response to the viewing operation on the reminder information, display the reminder message card of the event reminder; in the reminder message card, display the reminder message content of the event reminder, and display the event execution confirmation entrance corresponding to the event execution plan when the reminder time is reached; In response to a triggering operation of executing a confirmation entry for the event, a medication confirmation page corresponding to the plurality of medication plans in the enabled state is displayed.
21. The device according to claim 14, characterized in that The enabled event execution plan is displayed in the event execution plan display area in the event execution plan interaction page, and the event execution plan interaction page includes multiple options that can respond to selection operations to be in a selected state. The enabled event execution plan displayed in the event execution plan display area meets the filtering conditions corresponding to the selected options among the multiple options.
22. The device according to claim 14, characterized in that The second display module is further used to: in response to an edit trigger operation for any event execution plan in the pending confirmation state, enter an event execution plan editing page, and display at least one edit item of the event execution plan targeted by the edit trigger operation on the event execution plan editing page; In response to an editing operation on any one of the at least one editing item, displaying editing content of the editing operation; In response to an activation trigger operation on an event execution plan containing edited content, the event execution plan targeted by the activation trigger operation is displayed as being in an activated state.
23. The device according to claim 22, characterized in that The event reminder is a medication reminder; the second display module is further used to: in response to a first editing operation on the medication reminder frequency editing item in the at least one editing item, display the medication reminder frequency edited by the first editing operation; Corresponding to the number of medications taken within a single medication cycle specified by the displayed medication reminder frequency, a matching number of reminder time editing items are displayed; In response to a second editing operation on the reminder time editing item, the reminder time edited by the second editing operation is displayed.
24. The device according to claim 14, characterized in that The at least one event execution plan in a pending confirmation state is displayed in a pending confirmation plan display area in the event execution plan interaction page; The second display module is also used to: in response to an enable trigger operation for any event execution plan in the pending confirmation state, transfer the event execution plan targeted by the enable trigger operation from the pending confirmation plan display area to the enabled plan display area in the event execution plan interaction page.
25. The device according to any one of claims 14 to 24, characterized in that The device also includes a reminder information generating module, which is used to: when a reminder time divided according to the event reminder time description information of any event execution plan in an enabled state is reached, write a reminder message generated according to the event execution plan reaching the reminder time into a reminder message data table through a first scheduled task; Traversing the reminder messages in the reminder message data table through a second scheduled task; For each traversed reminder message, trigger the generation of reminder information corresponding to the reminder message.
26. The device according to claim 25, characterized in that The enabled medication plans are stored in the medication plan data table; the prompt information generation module is further used to: traverse the enabled medication plans in the medication plan data table through the first scheduled task; for each traversed medication plan, query the reminder time of the traversed medication plan from the reminder time data table associated with the medication plan data table through the first scheduled task; When any of the queried reminder times is reached, a reminder message is generated according to the traversed medication plan through the first scheduled task and written into the reminder message data table.
27. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 13 are implemented.
28. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 13 are implemented.
29. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 13 are implemented.
