Medicine taking reminding method, device and equipment and readable storage medium
By automatically recognizing drug images to generate medication plan information and provide reminders, the problem of users having to frequently look up drug instructions is solved, improving the convenience and accuracy of medication use.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-08
- Publication Date
- 2026-03-13
AI Technical Summary
Users need to consult the drug instructions during medication use, which is cumbersome and affects the convenience of medication use.
By acquiring images of medicines, semantic recognition is performed using a multimodal large model to generate medication plan information, and medication reminders are output at the designated reminder time.
It enables automatic drug image recognition to generate medication plan information and provides automatic reminders based on the plan information, thereby improving the convenience and accuracy of medication use.
Smart Images

Figure CN121662272A_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of artificial intelligence technology, specifically relating to a medication reminder method, device, equipment, and readable storage medium. Background Technology
[0002] In the healthcare field, rational drug use is crucial for ensuring treatment effectiveness and reducing adverse reactions. However, due to the wide variety of drugs and the complexity of their instructions, users often need to consult the instructions during actual medication use, making the process cumbersome. Summary of the Invention
[0003] The purpose of this application is to provide a medication reminder method, device, equipment, and readable storage medium that can improve the convenience of medication use.
[0004] In a first aspect, embodiments of this application provide a medication reminder method, the method comprising: Given images of N drugs, determine the medication plan information for the N drugs based on the drug images; N is a positive integer. Based on the medication plan information, determine the medication reminder information for N drugs; Output medication reminders based on medication reminder information.
[0005] Secondly, embodiments of this application provide a medication reminder device, the device comprising: The first determining module is used to determine the medication plan information of N drugs based on the drug images obtained; N is a positive integer. The second determination module is used to determine medication reminder information for N drugs based on the medication plan information; The output module is used to output medication reminders based on the medication reminder information.
[0006] Thirdly, embodiments of this application provide an electronic device including a processor and a memory, wherein the memory stores programs or instructions executable on the processor, and the programs or instructions, when executed by the processor, implement the steps of the method described in the first aspect.
[0007] Fourthly, embodiments of this application provide a readable storage medium on which a program or instructions are stored, which, when executed by a processor, implement the steps of the method described in the first aspect.
[0008] Fifthly, embodiments of this application provide a chip, the chip including a processor and a communication interface, the communication interface being coupled to the processor, the processor being used to run programs or instructions to implement the method as described in the first aspect.
[0009] In a sixth aspect, embodiments of this application provide a computer program product stored in a storage medium, which is executed by at least one processor to implement the method described in the first aspect.
[0010] In this embodiment of the application, when drug images of N drugs are obtained, medication plan information for N drugs can be determined based on the drug images; N is a positive integer; medication reminder information for N drugs can be determined based on the medication plan information; and medication reminders can be output based on the medication reminder information.
[0011] In this way, medication plan information can be automatically generated through drug image recognition, and reminders can be sent automatically based on the medication plan information. This eliminates the need for users to frequently search for drug instructions, improving the convenience of medication use. Attached Figure Description
[0012] Figure 1 This is a flowchart illustrating a medication reminder method provided in some embodiments of this application; Figure 2 This is one of the interface diagrams in the medication reminder method provided in some embodiments of this application; Figure 3 This is the second schematic diagram of the interface in the medication reminder method provided in some embodiments of this application; Figure 4 These are schematic diagrams of the medication reminder device provided in some embodiments of this application; Figure 5 These are schematic diagrams of the structure of an electronic device provided in some embodiments of this application; Figure 6 These are schematic diagrams of the hardware structure of electronic devices provided in some embodiments of this application. Detailed Implementation
[0013] The technical solutions of the embodiments of this application will be clearly described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application are within the scope of protection of this application.
[0014] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such terms can be used interchangeably where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first," "second," etc., are generally of the same class and the number of objects is not limited; for example, a first object can be one or more. Furthermore, in the specification and claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.
[0015] The medication reminder method provided in this application will be described in detail below with reference to the accompanying drawings, through specific embodiments and application scenarios.
[0016] Figure 1 This is a flowchart illustrating a medication reminder method provided in some embodiments of this application. The medication reminder method may include: Step 101: Given the images of N drugs, determine the medication plan information for the N drugs based on the drug images; N is a positive integer.
[0017] In step 101, a target application or mini-program related to medication management functions can be installed on the electronic device. Taking a target application as an example, the medication management function can be activated in the target application, and then an image of the medicine can be obtained by taking a picture of at least one medicine box or medicine instruction manual.
[0018] like Figure 2 As shown, when the medication management function is activated in the target application, the electronic device can display the "Add Medication Check-in" interface 200. The "Add Medication Check-in" interface 200 can display a camera icon 201, which the user can click to take a picture of at least one medicine box or medicine instruction manual to obtain an image of the medicine.
[0019] It is understandable that each image of a drug can correspond to at least part of the drug's instruction manual information. For example, three images can be obtained by photographing three sides of the box of drug A. One image corresponds to the name of drug A, one image corresponds to the ingredient information of drug A, and the other image corresponds to information such as the dosage, frequency, and time of administration of drug A.
[0020] These drug images can be preprocessed to classify them, grouping images of the same drug into one category.
[0021] For example, the classification rules could be to identify features such as the color and size of the medicine box in the medicine image, so as to group medicine images with the same medicine box together. Alternatively, it could be to extract the drug feature information from each medicine image and classify the medicine images based on the drug feature information; no specific limitation is made here.
[0022] In some examples, when drug images of N drugs are obtained, the method further includes the following steps before determining the medication plan information for the N drugs based on the drug images: Obtain M images of the medicine; Extract drug feature information from M drug images; the drug feature information includes at least one of the following: drug name, drug ingredient information, and drug brand information; Based on drug feature information, M drug images are classified to obtain N drug images; M is a positive integer, and M is greater than or equal to N.
[0023] For example, different drug box regions in a drug image can be separated using image segmentation techniques. Drug feature information for each region can be extracted, including at least one of the following: drug name, drug ingredient information, and drug brand information. A mapping relationship between "drug feature information and drug image" can be established to obtain M image groups corresponding to M types of drugs.
[0024] For example, when drug image 1 is identified as labeled "Drug A" and drug image 2 as labeled "Drug B", the instruction manual information of the two is automatically classified into an independent information pool to avoid confusion of dosage and time during subsequent analysis.
[0025] This method of classifying drug images based on features such as drug name, ingredients, or brand improves classification accuracy, is applicable to different drugs, ensures that information for similar drugs is grouped together, and avoids confusion regarding the usage rules of different drugs. Furthermore, the classified image groups allow for the categorization of instruction information for different drugs into independent information pools, preventing confusion regarding drug dosage and timing during subsequent analysis.
[0026] After obtaining images of N drugs, semantic recognition can be performed on the drug images to obtain medication information corresponding to each drug. Then, based on the medication information of N drugs, a medication plan can be made to obtain medication plan information for N drugs.
[0027] Medication planning information can be obtained through a multimodal large model. Preprocessed drug images of N drugs can be input into the multimodal large model. The model then performs semantic recognition on each drug image to determine the corresponding medication information. This medication information can include details such as administration time, dosage, frequency, and duration of treatment. Figure 2As shown, the medication information identified for each drug can be automatically filled into the blank spaces of each item in the "Add Medication Check-in" interface 200.
[0028] Based on the medication information corresponding to N drugs, medication plan information can be generated. The medication plan information can record the corresponding medication time and dosage for each drug throughout the day, or it can record the drugs to be taken at different times of the day and the dosage for each drug, etc., without specific limitations here.
[0029] Step 102: Determine the medication reminder information for N drugs based on the medication plan information.
[0030] In step 102, medication reminder information can be created based on medication plan information; the medication reminder information includes reminder time and medication content.
[0031] For example, medication plan information can be medication plans corresponding to different times as mentioned above. Time points can be extracted from the medication plan information, such as 8:30 before breakfast and 9:30 after breakfast, corresponding to create medication reminders at 8:30 AM and 9:30 AM; similarly, 18:30 before dinner and 19:30 after dinner, corresponding to create medication reminders at 18:30 PM and 19:30 PM.
[0032] Each medication reminder can be associated with specific medication information, such as "Pill A, dosage 1 tablet", and reminder repetition rules can be set according to the medication cycle, such as "repeated daily for 7 consecutive days until the end date".
[0033] Step 103: Output medication reminders based on medication reminder information.
[0034] In step 103, when the reminder time of the medication reminder information meets the reminder condition, that is, when the system time reaches the reminder time, the electronic device can output a medication reminder. The medication reminder is used to remind the user to take the medication according to the medication content of the medication reminder information.
[0035] In this embodiment of the application, when drug images of N drugs are obtained, medication plan information for N drugs can be determined based on the drug images; N is a positive integer; medication reminder information for N drugs can be determined based on the medication plan information; and medication reminders can be output based on the medication reminder information.
[0036] In this way, medication plan information can be automatically generated through drug image recognition, and reminders can be sent automatically based on the medication plan information. This eliminates the need for users to frequently search for drug instructions, improving the convenience of medication use.
[0037] In some embodiments, determining medication plan information for N drugs based on drug images may include: Based on the drug images, determine the frequency and dosage of each drug. Based on the frequency and dosage of each drug, generate medication plan information for N drugs.
[0038] In this embodiment, the dosage and frequency of each drug can be identified based on the drug image. The dosage frequency can include recommended time of administration information, such as descriptions in the drug instructions such as "take before meals" or "take after meals." It can also include dosage frequency information, such as "twice a day" or "three times a day."
[0039] Taking the medication frequency information as 2 times as an example, the medication time can be determined by the time of breakfast and dinner. For example, "take before meals" can correspond to 8:30 and 18:30, and "take after meals" can correspond to 9:30 and 19:30.
[0040] Based on the frequency and dosage of each drug, medication plan information for N drugs can be generated.
[0041] For example, medication plan information can be shown in Tables 1-4: Table 1
[0042] Table 2
[0043] Table 3
[0044] Table 4
[0045] In this way, the two most critical medication parameters, namely frequency of administration and dosage, can be identified from the drug image, thereby automatically generating effective and reliable medication plan information.
[0046] In some examples, after generating medication plan information, such as Figure 3 As shown, medication plan information can be displayed on the medication plan display interface 300 so that users can view the medication plan information.
[0047] In some embodiments, before generating medication plan information for N drugs based on the frequency and dosage of each drug, the method may further include: Obtain user information, which includes at least one of age information and eating habit information; Based on the frequency and dosage of each drug, generate medication plan information for N drugs, including: Based on user information, as well as the frequency and dosage of each drug, generate medication plan information for N drugs.
[0048] In this embodiment, the user's breakfast and dinner times can also be determined based on user information, such as age or information configured by the user according to their own habits, so as to flexibly adjust the medication time.
[0049] It is understandable that individual meal times may differ; for example, the elderly and children may eat relatively earlier. Therefore, it is possible to obtain user information including at least one of the following: age and eating habits. This user information can be used to determine a user's meal times.
[0050] Based on user information, as well as the frequency and dosage of each medication, medication plans for N medications can be generated. As mentioned above, the user's meal times can be assumed to be 9:00 AM for breakfast and 7:00 PM for dinner. Therefore, taking a medication frequency of 2 times as an example, the medication times can be determined according to the breakfast and dinner times. For example, "taken before meals" can correspond to 8:30 AM and 6:30 PM, and "taken after meals" can correspond to 9:30 AM and 7:30 PM.
[0051] If the user information indicates that the user's meal times are breakfast at 8:00 AM and dinner at 5:00 PM, then when the medication frequency information is 2 times, "taken before meals" could correspond to 7:30 AM and 4:30 PM, and "taken after meals" could correspond to 8:30 AM and 5:30 PM. This allows for medication plan information that better matches the user's actual lifestyle.
[0052] By incorporating user information, such as age and eating habits, the generated medication plan information becomes more tailored to the individual user's situation, more accurately reflecting the user's actual needs and safe medication requirements, and significantly improving medication safety and user compliance.
[0053] In some embodiments, after determining the medication reminder information for N medications based on medication plan information, the method may further include: When displaying medication reminder information, update the medication reminder information in response to the first input of the medication reminder information.
[0054] In this embodiment, after all medication reminder information is configured, a reminder preview interface can be automatically generated, displaying all medication reminder information that is about to take effect, including reminder time, drug name, dosage, and other medication details, for the user to verify. After the user confirms that everything is correct, they can click the relevant control, and the system will save the configuration and activate the reminder mechanism. If there are any discrepancies, the user can directly edit and modify the information in the preview interface to update the medication reminder information and ensure the accuracy of subsequent medication reminders.
[0055] This allows users to update medication reminder information, adapt to changes in medication plans, and improve the flexibility and accuracy of medication reminder management.
[0056] In some embodiments, before determining the medication plan information for the N drugs based on the drug images after obtaining drug images of the N drugs, the method may further include: Determine the family member identifier of the first member from among multiple family member identifiers; Given images of N drugs, determining the medication plan information for these N drugs based on the images can include: Given images of N drugs, determine the medication plan information for the N drugs corresponding to the first member based on the drug images; Based on the medication plan information, medication reminders for N medications can be determined, which may include: Based on the medication plan information, determine the medication reminder information for N drugs corresponding to the first member.
[0057] In this embodiment, medication reminders can support joint family management. For example, a "Family Medication Library" module can be created in the target application. After entering this module, users can manually add family member information and set a unique user ID for each family member.
[0058] Given images of N medications, before determining the medication plan information based on the images, the family member identifier of the first member can be determined from multiple family member identifiers. The family member identifier of the first member can be any one of the family member identifiers.
[0059] Once the family member identifier of the first member is identified, and then the images of the medications are obtained, it can be assumed that the medications corresponding to these images are the medications that the first member needs to take. In this way, the family member identifier of the first member can be associated with medication plan information and subsequent medication reminder information.
[0060] In this way, medication use scenarios suitable for home or nursing care can differentiate medication plan information and medication reminder information for different users, reducing the risk of accidental ingestion.
[0061] In some embodiments, after determining the medication reminder information for N drugs corresponding to the first member based on the medication plan information, the method may further include: The medication reminder information for the N medicines corresponding to the first member is sent to the first member's electronic device, so that the first member's electronic device can output medication reminders based on the medication reminder information.
[0062] In this embodiment, taking the parents as the first member and "administrator" as an example, the "administrator" can manage the medicines that the parents need to take in the "family medicine library" module and generate medication reminder information for N medicines corresponding to the parents in the manner described above.
[0063] At this time, the medication reminder message can be sent to the parents' mobile phones. When the parents' mobile phones receive the medication reminder message, they can output medication reminders based on the medication reminder message so that the parents can take the medicine on time and in the correct dosage.
[0064] This allows medication reminders for specific members to be sent directly to their personal electronic devices, ensuring that reminders reach the user promptly and directly, thus improving the convenience of medication use.
[0065] In some embodiments, after sending the medication reminder information for the N medications corresponding to the first member to the first member's electronic device, the method may further include: Set the permission information for the first member; If the first member's permission information meets the permission conditions, in response to the first member's second input, update the medication reminder information for the N medicines corresponding to the first member.
[0066] In this embodiment, as mentioned above, a "Family Medication Library" module can be created in the target application. This module supports hierarchical permission settings. The default creator is the "Administrator," who has permissions such as viewing and modifying medication reminder information for all members. Other members, such as the elderly and children, can be set to "Viewers," who can only view their own medication plan information. The "Administrator" can set relevant permission information for the first member, either allowing the first member to only view medication reminder information or allowing the first member to view and modify medication reminder information.
[0067] Based on this, if the first member's permission information indicates that they can modify medication reminder information, and a second input from the first member is received (which could trigger an update to the medication reminder information), then in response to the second input, the medication reminder information for the N medications corresponding to the first member can be updated. Updating medication reminder information can include modifying medication time or dosage, deleting medication plans, and adding new medication plans, etc., without specific limitations here.
[0068] This allows for the updating of medication reminder information under access control, preventing unauthorized modification of medication reminder information and ensuring medication safety.
[0069] The medication reminder method provided in this application can be executed by a medication reminder device. This application uses a medication reminder device to execute the medication reminder method as an example to illustrate the medication reminder device provided in this application.
[0070] like Figure 4 As shown, the medication reminder device 400 provided in this application embodiment may include: The first determining module 401 is used to determine the medication plan information of N drugs based on the drug images when N drug images are obtained; N is a positive integer. The second determining module 402 is used to determine medication reminder information for N drugs based on the medication plan information; The output module 403 is used to output medication reminders based on medication reminder information.
[0071] In this way, medication plan information can be automatically generated through drug image recognition, and reminders can be sent automatically based on the medication plan information. This eliminates the need for users to frequently search for drug instructions, improving the convenience of medication use.
[0072] In some embodiments, the first determining module 401 may specifically be used for: Based on the drug images, determine the frequency and dosage of each drug. Based on the frequency and dosage of each drug, generate medication plan information for N drugs.
[0073] In this way, the two most critical medication parameters, namely frequency of administration and dosage, can be identified from the drug image, thereby automatically generating effective and reliable medication plan information.
[0074] In some embodiments, the medication reminder device 400 may further include: The acquisition module is used to acquire user information, which includes at least one of age information and dining habit information. The first determining module 401 can be specifically used for: Based on user information, as well as the frequency and dosage of each drug, generate medication plan information for N drugs.
[0075] By incorporating user information, such as age and eating habits, the generated medication plan information becomes more tailored to the individual user's situation, more accurately reflecting the user's actual needs and safe medication requirements, and significantly improving medication safety and user compliance.
[0076] In some embodiments, the medication reminder device 400 may further include: The first update module is used to update the medication reminder information in response to the first input of the medication reminder information when the medication reminder information is displayed.
[0077] This allows users to update medication reminder information, adapt to changes in medication plans, and improve the flexibility and accuracy of medication reminder management.
[0078] In some embodiments, the medication reminder device 400 may further include: The third determination module is used to determine the family member identifier of the first member from multiple family member identifiers; The first determining module 401 can be specifically used for: Given images of N drugs, determine the medication plan information for the N drugs corresponding to the first member based on the drug images; The second determining module 402 can be specifically used for: Based on the medication plan information, determine the medication reminder information for N drugs corresponding to the first member.
[0079] In this way, medication use scenarios suitable for home or nursing care can differentiate medication plan information and medication reminder information for different users, reducing the risk of accidental ingestion.
[0080] In some embodiments, the medication reminder device 400 may further include: The sending module is used to send the medication reminder information of N medicines corresponding to the first member to the first member's electronic device, so that the first member's electronic device can output medication reminders based on the medication reminder information.
[0081] This allows medication reminders for specific members to be sent directly to their personal electronic devices, ensuring that reminders reach the user promptly and directly, thus improving the convenience of medication use.
[0082] In some embodiments, the medication reminder device 400 may further include: The processing module is used to set the permission information for the first member; The second update module is used to update the medication reminder information of the N medicines corresponding to the first member in response to the second input of the first member, provided that the first member's permission information meets the permission conditions.
[0083] This allows for the updating of medication reminder information under access control, preventing unauthorized modification of medication reminder information and ensuring medication safety.
[0084] The medication reminder device in this application embodiment can be an electronic device or a component of an electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal or other devices besides a terminal. For example, the electronic device can be a mobile phone, tablet computer, laptop computer, PDA, in-vehicle electronic device, mobile internet device (MID), augmented reality (AR) / virtual reality (VR) device, robot, wearable device, ultra-mobile personal computer (UMPC), netbook, or personal digital assistant (PDA), etc. It can also be a server, network attached storage (NAS), personal computer (PC), television (TV), ATM, or self-service machine, etc. This application embodiment does not specifically limit the device.
[0085] The medication reminder device in this application embodiment can be a device with an operating system. This operating system can be Android, iOS, or other possible operating systems; this application embodiment does not specifically limit the specific operating system used.
[0086] The medication reminder device provided in this application embodiment can achieve... Figure 1 The various processes implemented in the method implementation examples will not be described again here to avoid repetition.
[0087] Optionally, such as Figure 5 As shown, this application embodiment also provides an electronic device 500, including a processor 501 and a memory 502. The memory 502 stores a program or instructions that can run on the processor 501. When the program or instructions are executed by the processor 501, they implement the various steps of the above-described medication reminder method embodiment and can achieve the same technical effect. To avoid repetition, they will not be described again here.
[0088] It should be noted that the electronic devices in the embodiments of this application include the mobile electronic devices and non-mobile electronic devices described above.
[0089] Figure 6 This is a schematic diagram of the hardware structure of the electronic device provided in the embodiments of this application.
[0090] The electronic device 600 includes, but is not limited to, components such as: radio frequency unit 601, network module 602, audio output unit 603, input unit 604, sensor 605, display unit 606, user input unit 607, interface unit 608, memory 609, and processor 610.
[0091] Those skilled in the art will understand that the electronic device 600 may also include a power supply (such as a battery) for supplying power to various components. The power supply may be logically connected to the processor 610 through a power management system, thereby enabling functions such as managing charging, discharging, and power consumption through the power management system. Figure 6 The electronic device structure shown does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown, or combine certain components, or have different component arrangements, which will not be elaborated here.
[0092] The processor 610 can be used for: Given images of N drugs, determine the medication plan information for the N drugs based on the drug images; N is a positive integer. Based on the medication plan information, determine the medication reminder information for N drugs; Output medication reminders based on medication reminder information.
[0093] In this way, medication plan information can be automatically generated through drug image recognition, and reminders can be sent automatically based on the medication plan information. This eliminates the need for users to frequently search for drug instructions, improving the convenience of medication use.
[0094] In some embodiments, the processor 610 may also be used for: Based on the drug images, determine the frequency and dosage of each drug. Based on the frequency and dosage of each drug, generate medication plan information for N drugs.
[0095] In this way, the two most critical medication parameters, namely frequency of administration and dosage, can be identified from the drug image, thereby automatically generating effective and reliable medication plan information.
[0096] In some embodiments, the processor 610 may also be used for: Obtain user information, which includes at least one of age information and eating habit information; Based on user information, as well as the frequency and dosage of each drug, generate medication plan information for N drugs.
[0097] By incorporating user information, such as age and eating habits, the generated medication plan information becomes more tailored to the individual user's situation, more accurately reflecting the user's actual needs and safe medication requirements, and significantly improving medication safety and user compliance.
[0098] In some embodiments, the processor 610 may also be used for: When displaying medication reminder information, update the medication reminder information in response to the first input of the medication reminder information.
[0099] This allows users to update medication reminder information, adapt to changes in medication plans, and improve the flexibility and accuracy of medication reminder management.
[0100] In some embodiments, the processor 610 may also be used for: Determine the family member identifier of the first member from among multiple family member identifiers; Given images of N drugs, determine the medication plan information for the N drugs corresponding to the first member based on the drug images; Based on the medication plan information, determine the medication reminder information for N drugs corresponding to the first member.
[0101] In this way, medication use scenarios suitable for home or nursing care can differentiate medication plan information and medication reminder information for different users, reducing the risk of accidental ingestion.
[0102] In some embodiments, the processor 610 may also be used for: The medication reminder information for the N medicines corresponding to the first member is sent to the first member's electronic device, so that the first member's electronic device can output medication reminders based on the medication reminder information.
[0103] This allows medication reminders for specific members to be sent directly to their personal electronic devices, ensuring that reminders reach the user promptly and directly, thus improving the convenience of medication use.
[0104] In some embodiments, the processor 610 may also be used for: Set the permission information for the first member; If the first member's permission information meets the permission conditions, in response to the first member's second input, update the medication reminder information for the N medicines corresponding to the first member.
[0105] This allows for the updating of medication reminder information under access control, preventing unauthorized modification of medication reminder information and ensuring medication safety.
[0106] It should be understood that, in this embodiment, the input unit 604 may include a graphics processing unit (GPU) 6061 and a microphone 6042. The GPU 6061 processes image data of still images or videos obtained by an image capture device (such as a camera) in video capture mode or image capture mode. The display unit 606 may include a display panel 6061, which may be configured in the form of a liquid crystal display, an organic light-emitting diode, or the like. The user input unit 607 includes at least one of a touch panel 6071 and other input devices 6072. The touch panel 6071 is also called a touch screen. The touch panel 6071 may include a touch detection device and a touch controller. Other input devices 6072 may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, power buttons, etc.), trackballs, mice, and joysticks, which will not be described in detail here.
[0107] The memory 609 can be used to store software programs and various data. The memory 609 may primarily include a first storage area for storing programs or instructions and a second storage area for storing data. The first storage area may store the operating system, application programs or instructions required for at least one function (such as sound playback, image playback, etc.). Furthermore, the memory 609 may include volatile memory or non-volatile memory, or both. The non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. Volatile memory can be random access memory (RAM), static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct memory bus RAM (DRRAM). The memory 609 in this embodiment includes, but is not limited to, these and any other suitable types of memory.
[0108] Processor 610 may include one or more processing units; optionally, processor 610 integrates an application processor and a modem processor, wherein the application processor mainly handles operations involving the operating system, user interface, and applications, and the modem processor mainly handles wireless communication signals, such as a baseband processor. It is understood that the aforementioned modem processor may also not be integrated into processor 610.
[0109] This application also provides a readable storage medium storing a program or instructions. When the program or instructions are executed by a processor, they implement the various processes of the above-described medication reminder method embodiments and achieve the same technical effect. To avoid repetition, they will not be described again here.
[0110] The processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.
[0111] This application embodiment also provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement the various processes of the above-described medication reminder method embodiment and can achieve the same technical effect. To avoid repetition, it will not be described again here.
[0112] It should be understood that the chip mentioned in the embodiments of this application may also be referred to as a system-on-a-chip, system chip, chip system, or system-on-a-chip, etc.
[0113] This application provides a computer program product, which is stored in a storage medium and executed by at least one processor to implement the various processes of the above-described medication reminder method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be described again here.
[0114] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. Furthermore, it should be noted that the scope of the methods and apparatuses in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
[0115] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a computer software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of this application.
[0116] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.
Claims
1. A medication reminder method, characterized in that, The method further includes: Given images of N drugs, determine the medication plan information for the N drugs based on the drug images; N is a positive integer. Based on the medication plan information, determine the medication reminder information for the N drugs; A medication reminder is output based on the medication reminder information.
2. The method according to claim 1, characterized in that, The step of determining the medication plan information for the N drugs based on the drug image includes: Based on the drug images, determine the frequency and dosage of each drug. Based on the frequency and dosage of each drug, generate medication plan information for the N drugs.
3. The method according to claim 2, characterized in that, Before generating the medication plan information for the N drugs based on the frequency and dosage of each drug, the method further includes: Obtain user information, which includes at least one of age information and dining habit information; The process of generating medication plan information for the N drugs based on the frequency and dosage of each drug includes: Based on the user information, as well as the frequency and dosage of each drug, medication plan information for the N drugs is generated.
4. The method according to claim 1, characterized in that, After determining the medication reminder information for the N drugs based on the medication plan information, the method further includes: When the medication reminder information is displayed, the medication reminder information is updated in response to the first input to the medication reminder information.
5. The method according to claim 1, characterized in that, Before determining the medication plan information for the N drugs based on the drug images after acquiring drug images of the N drugs, the method further includes: Determine the family member identifier of the first member from among multiple family member identifiers; The step of determining the medication plan information for the N drugs based on the drug images after acquiring drug images includes: If images of N drugs are obtained, medication plan information for the N drugs corresponding to the first member is determined based on the drug images. The step of determining the medication reminder information for the N drugs based on the medication plan information includes: Based on the medication plan information, medication reminder information for the N drugs corresponding to the first member is determined.
6. The method according to claim 5, characterized in that, After determining the medication reminder information for the N drugs corresponding to the first member based on the medication plan information, the method further includes: The medication reminder information for the N medicines corresponding to the first member is sent to the electronic device of the first member, so that the electronic device of the first member can output medication reminders based on the medication reminder information.
7. The method according to claim 6, characterized in that, After sending the medication reminder information for the N drugs corresponding to the first member to the first member's electronic device, the method further includes: Set the permission information for the first member; If the permission information of the first member meets the permission conditions, in response to the second input of the first member, the medication reminder information of the N medicines corresponding to the first member is updated.
8. A medication reminder device, characterized in that, The device further includes: The first determining module is used to determine the medication plan information of N drugs based on the drug images when N drug images are obtained; N is a positive integer. The second determining module is used to determine the medication reminder information for the N drugs based on the medication plan information; The output module is used to output medication reminders based on the medication reminder information.
9. An electronic device, characterized in that, It includes a processor and a memory, the memory storing a program or instructions that can run on the processor, the program or instructions being executed by the processor to implement the steps of the method as described in any one of claims 1-7.
10. A readable storage medium, characterized in that, The readable storage medium stores a program or instructions that, when executed by a processor, implement the steps of the method as described in any one of claims 1-7.