Medicine taking management method and device, electronic equipment and storage medium

By implementing multimedia reminders and indicator light prompts in the smart pill box, the problem of insufficient reminder functions of existing smart pill box is solved, and the accuracy and compliance of taking medicine is improved, which is especially suitable for the elderly.

CN119587380APending Publication Date: 2025-03-11BEIJING XIAOMI PAYMENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311161972.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-09-08
Publication Date
2025-03-11

AI Technical Summary

Technical Problem

The reminder functions of the existing smart pill boxes are not rich and detailed enough, which can easily lead to errors in obtaining drugs, and the memory of the elderly is declining and forgetting to take medications often occur, affecting disease control.

Method used

By obtaining the voice and text of medication reminder sent by the server, combined with the drug storage information in the smart medicine box, multimedia reminders are realized for each medication time, and through the light of the indicator light and voice prompts, ensure that the medication owner understands the medicine and location to be taken.

Benefits of technology

It improves the richness, precision and accuracy of the reminder information of the smart pill box, reduces the risk of wrong drug acquisition, helps the elderly take medicine on time, improves medication compliance, and thus helps disease management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119587380A_ABST
    Figure CN119587380A_ABST
Patent Text Reader

Abstract

The invention provides a medicine taking management method and device, electronic equipment and a storage medium, the method comprises the steps that medicine taking reminding voice and a medicine taking reminding text of a target object in at least one set medicine taking time sent by a server side are obtained, and the medicine taking reminding voice of each medicine taking time is obtained according to the tone and the voice style of reference audio; the medicine taking reminding text of each medicine taking time is obtained by performing voice synthesis on the medicine taking reminding text of each medicine taking time, the medicine taking reminding text of each medicine taking time comprises target attribute information of at least one first medicine to be taken at each medicine taking time and a medicine storage grid in the corresponding intelligent medicine box, and for each medicine taking time, in response to the arrival of the medicine taking time, the medicine taking reminding text of each medicine taking time is obtained. According to the method, the medicine taking reminding voice of the medicine taking time is played, the indicator lamps on the medicine storage grids corresponding to the first medicines to be taken at the medicine taking time are controlled to be turned on, the target object is reminded of the information of the medicines to be taken through multiple reminding modes, the situation that a medicine taker forgets to take medicine is avoided, and the richness, fineness and accuracy of the reminding information are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a medication management method, device, electronic device and storage medium. Background Art

[0002] With the arrival of an aging population, the vast majority of elderly people suffer from various chronic diseases and need to take long-term medications. However, the elderly’s memory and reaction ability decline, and they often forget to take or prepare medicines. Poor medication compliance will inevitably have an adverse effect on their condition.

[0003] In the related art, smart medicine boxes are used to remind patients to take medicines on time. However, the smart medicine boxes in the related art can only provide basic reminders, and the reminder information is not rich and detailed enough, and even the problem of taking the wrong medicine may occur. Therefore, how to improve the richness and accuracy of the reminder function of the smart medicine box is a technical problem that needs to be solved. Summary of the invention

[0004] The present application aims to solve one of the technical problems in the related art at least to some extent.

[0005] To this end, the present application proposes a medication management method, device, electronic device and storage medium to achieve this.

[0006] In one aspect, an embodiment of the present application provides a medication management method, which is applied to a smart medicine box, comprising:

[0007] Obtaining a medication reminder voice and a medication reminder text for a target object at at least one set medication time sent by a server; wherein the medication reminder voice for each medication time is obtained by performing speech synthesis on the medication reminder text for each medication time according to the timbre and voice style of a reference audio; and the medication reminder text for each medication time includes target attribute information of at least one first medicine to be taken at each medication time and a corresponding medicine storage compartment in a smart medicine box;

[0008] For each medication time, in response to the arrival of the medication time, a medication reminder voice is played for the medication time.

[0009] And the indicator lights on the medicine storage grids corresponding to the first medicines to be taken at the medication taking time are controlled to light up.

[0010] As a possible implementation, the medication reminder text at the medication time includes the quantity of each first medicine to be taken, and the control of lighting up the indicator lights on the medicine storage compartments corresponding to each first medicine to be taken at the medication time includes:

[0011] Determining target indicator lights to be lit on medicine storage compartments corresponding to the respective first medicines to be taken according to the quantities of the respective first medicines to be taken corresponding to the medication taking time;

[0012] The target indicators on the medicine storage grids corresponding to the first medicines to be taken are controlled to light up.

[0013] As a possible implementation, the method further includes:

[0014] Acquire a first image captured by a camera; wherein the first image includes the second medicine in each medicine storage compartment of the current smart medicine box;

[0015] Sending the first image to the server; wherein the first image is used by the server to determine whether the second medicine in each medicine storage compartment is a mixed medicine, and in response to determining that the second medicine in the first medicine storage compartment is a mixed medicine, generating a first prompt message according to a set reminder method, and sending the first prompt message to the smart medicine box;

[0016] According to the first prompt information, a reminder is given for mixing medicines in the first medicine storage compartment.

[0017] As a possible implementation, the method further includes:

[0018] For each of the medicine storage compartments, the weight of the second medicine in the medicine storage compartment is monitored according to a sensor on the medicine storage compartment;

[0019] In response to monitoring a change in the weight of the second medicine in the second medicine storage compartment, determining the amount of the second medicine stored in the second medicine storage compartment according to the weight of the second medicine in the second medicine storage compartment before and after the change;

[0020] The quantity of the second medicine stored in the second medicine storage compartment is synchronized to the server.

[0021] As a possible implementation, the method further includes:

[0022] Acquire control instructions generated by the client based on the detected user operation; wherein the control instructions include positioning instructions and shooting instructions;

[0023] According to the positioning instruction, the smart medicine box is controlled to perform positioning to obtain position information;

[0024] According to the shooting instruction, the smart medicine box is controlled to shoot the environment to obtain an environment picture;

[0025] In response to determining that the smart medicine box is in an outdoor environment according to the environment picture, the location information is sent to the server, and / or the smart medicine box is controlled to issue a voice prompt.

[0026] As a possible implementation, the method further includes:

[0027] In response to determining that the smart medicine box is in an indoor environment according to the environment picture, the smart medicine box is controlled to issue a voice prompt.

[0028] As a possible implementation, the method further includes:

[0029] In response to detecting that the first medicine to be taken corresponding to the medication time is taken out from the corresponding medicine storage compartment, the identification, quantity and corresponding medicine storage compartment of each first medicine taken out at the medication time are sent to the server.

[0030] Another aspect of the present application provides a medication management method, which is applied to a client and includes:

[0031] Obtaining a taking plan for each of at least one second drug to be taken by the target subject; wherein the taking plan for each of the second drugs includes attribute information of each of the second drugs and the drug storage compartment to which the second drugs belong in the smart medicine box;

[0032] The at least one second drug taking plan is sent to the server; wherein the at least one second drug taking plan is used for the server to generate a medication reminder text for at least one set medication time, and the medication reminder text for each medication time is voice synthesized according to the timbre and voice style of the reference audio to obtain the medication reminder voice for each medication time, and the medication reminder voice and medication reminder text for each medication time are sent to the smart medicine box; wherein each medication reminder voice and medication reminder text for each medication time is used for the smart medicine box to play the medication reminder voice for the medication time in response to the arrival of the medication time, and to control the lighting of the indicator lights on the medicine storage compartments corresponding to each first drug to be taken at the medication time;

[0033] Obtaining the medication reminder text for each medication time sent by the server;

[0034] A display page is generated according to the medication reminder texts for each medication time.

[0035] As a possible implementation manner, before sending the at least one second drug administration plan to the server, the method further includes:

[0036] For each of the medication taking time, in response to determining that there are a plurality of first drugs to be taken simultaneously at the medication taking time, comparing the medicinal property information of the plurality of first drugs;

[0037] In response to determining that there are a plurality of first drugs whose medicinal property information conflicts with each other among the plurality of first drugs, an abnormal warning of drug medicinal property conflict is issued.

[0038] As a possible implementation, the method further includes:

[0039] generating a control instruction based on the detected user operation;

[0040] The control instruction is sent to the smart medicine box; wherein the control instruction includes a positioning instruction and a shooting instruction as a possible implementation mode, and the method further includes:

[0041] Obtaining the location information of the smart medicine box sent by the server;

[0042] According to the location information of the smart medicine box, the location information of the target object carrying the smart medicine box is determined, and the location information of the target object is displayed.

[0043] Another aspect of the present application is to provide a medication management method, which is applied to a server, and includes:

[0044] Acquire the reference audio sent by the client and the medication plan of each of the at least one second drug to be taken by the target subject;

[0045] Generate a medication reminder text for at least one medication time set according to the medication plan of the at least one second medication; wherein the medication reminder text for each medication time includes target attribute information of the first medication to be taken at each medication time and the corresponding medicine storage compartment in the smart medicine box;

[0046] Perform speech synthesis on the medication reminder text for each medication taking time according to the timbre and voice style of the reference audio to obtain the medication reminder voice for each medication taking time;

[0047] The medication reminder voice and medication reminder text for each medication taking time are sent to the smart medicine box, and the medication reminder text for each medication taking time is sent to the client; wherein, each medication reminder voice and medication reminder text for each medication taking time is used for the smart medicine box to respond to the arrival of the medication time, play the medication reminder voice for the medication time, and control the lighting of the indicator lights on the medicine storage compartments corresponding to each first medicine to be taken at the medication time; the medication reminder text for each medication time is used for the client to generate a display page.

[0048] As a possible implementation, the method further includes:

[0049] Acquire a first image of a second medicine stored in the smart medicine box;

[0050] Recognize the first image to determine whether the second medicine stored in each medicine storage compartment of the smart medicine box is a mixed medicine;

[0051] In response to determining that the second medicine stored in the first medicine storage compartment is a mixed medicine, generating a first prompt message according to a set reminder method;

[0052] The first prompt message is sent to the smart medicine box; wherein the first prompt message is used for the smart medicine box to remind the mixed placement of medicines in the first medicine storage compartment.

[0053] As a possible implementation, the at least one set medication time belongs to the current set time period, and after obtaining the reference audio sent by the client and the medication plan of each of the at least one second medication to be taken by the target object, the method further includes:

[0054] Generate medication reminder texts for each medication time in the next set time period of the current set time period according to the medication plan of the at least one second drug;

[0055] Determine whether there is a target medicine storage compartment that needs to be replenished according to the first quantity of each third medicine to be taken at each medication time in the next set time period and the second quantity of each third medicine in the corresponding medicine storage compartment in the smart medicine box;

[0056] In response to the existence of a target medicine storage compartment that needs to be replenished with medicines, generating a medicine replenishment reminder for the target medicine storage compartment;

[0057] The medicine replenishment reminder of the target medicine storage compartment is sent to the client.

[0058] As a possible implementation, the method further includes:

[0059] Get the location information of the smart medicine box;

[0060] The location information of the smart medicine box is sent to the client; wherein the location information is used by the client to determine the location information of the target object carrying the smart medicine box according to the location information, and to display the location information of the target object.

[0061] Another aspect of the present application provides a medication management device, including:

[0062] An acquisition module is used to acquire a medication reminder voice and a medication reminder text of a target object at at least one set medication time sent by a server; wherein the medication reminder voice at each medication time is obtained by performing speech synthesis on the medication reminder text at each medication time according to the timbre and voice style of the reference audio; and the medication reminder text at each medication time includes target attribute information of at least one first medicine to be taken at each medication time and a medicine storage compartment in the corresponding smart medicine box;

[0063] The reminder module is used for playing a medication reminder voice for each medication time in response to the arrival of the medication time, and controlling the lighting of indicator lights on the medicine storage grids corresponding to each first medicine to be taken at the medication time.

[0064] As a possible implementation method, the reminder module is specifically used to:

[0065] Determining target indicator lights to be lit on medicine storage compartments corresponding to the respective first medicines to be taken according to the quantities of the respective first medicines to be taken corresponding to the medication taking time;

[0066] The target indicators on the medicine storage grids corresponding to the first medicines to be taken are controlled to light up.

[0067] As a possible implementation, the device further includes a reminder module:

[0068] A reminder module is used to obtain a first image captured by a camera; wherein the first image includes the second medicines in each medicine storage compartment in the current smart medicine box; the first image is sent to a server; wherein the first image is used by the server to determine whether the second medicines in each medicine storage compartment are mixed medicines, and in response to determining that the second medicines in the first medicine storage compartment are mixed medicines, a first reminder message is generated according to a set reminder method, and the first reminder information is sent to the smart medicine box; according to the first reminder information, a reminder for mixing medicines in the first medicine storage compartment is performed.

[0069] As a possible implementation, the device further includes a first synchronization module;

[0070] The first synchronization module is used to monitor the weight of the second medicine in each medicine storage compartment according to the sensor on the medicine storage compartment; in response to monitoring the change in the weight of the second medicine in the second medicine storage compartment, determine the number of second medicines stored in the second medicine storage compartment according to the weight of the second medicine in the second medicine storage compartment before and after the change; and synchronize the number of second medicines stored in the second medicine storage compartment to the server.

[0071] As a possible implementation, the device further includes a positioning module;

[0072] A positioning module is used to obtain control instructions generated by the client based on detected user operations; wherein the control instructions include positioning instructions and shooting instructions; according to the positioning instructions, the smart medicine box is controlled to locate and obtain location information; according to the shooting instructions, the smart medicine box is controlled to shoot the environment to obtain an environment picture; in response to determining that the smart medicine box is in an outdoor environment according to the environment picture, the location information is sent to the server, and / or the smart medicine box is controlled to issue a voice prompt.

[0073] As a possible implementation, the device further includes a reminder module;

[0074] The reminder module is used to control the smart medicine box to issue a voice prompt in response to determining that the smart medicine box is in an indoor environment according to the environment picture.

[0075] As a possible implementation, the device further includes a second synchronization module;

[0076] The second synchronization module is used to send the identification, quantity and corresponding medicine storage compartment of each first medicine taken out at the medication time to the server in response to detecting that the first medicine to be taken at the medication time is taken out from the corresponding medicine storage compartment.

[0077] Another aspect of the present application provides a medication management device, including:

[0078] A first acquisition module is used to acquire a taking plan of each of the at least one second drug to be taken by the target subject; wherein the taking plan of each of the second drugs includes attribute information of each of the second drugs and the medicine storage compartment to which the second drugs belong in the smart medicine box;

[0079] A sending module, used for sending the taking plan of the at least one second drug to the server; wherein the taking plan of the at least one second drug is used for the server to generate a medication reminder text for at least one set medication time, perform speech synthesis on the medication reminder text for each medication time according to the timbre and voice style of the reference audio, obtain the medication reminder voice for each medication time, and send the medication reminder voice and medication reminder text for each medication time to the smart medicine box; wherein each medication reminder voice and medication reminder text for each medication time is used for the smart medicine box to play the medication reminder voice for the medication time in response to the arrival of the medication time, and control the lighting of the indicator lights on the medicine storage grids corresponding to each first drug to be taken at the medication time;

[0080] A second acquisition module is used to acquire the medication reminder text of each medication time sent by the server;

[0081] The display module is used to generate a display page according to the medication reminder text of each medication time.

[0082] As a possible implementation, the device further includes: a warning module;

[0083] The warning module is used for comparing the medicinal property information of multiple first drugs for each medication time in response to determining that there are multiple first drugs that are taken simultaneously at the medication time; and for issuing an abnormal warning of drug property conflict in response to determining that there are multiple first drugs with conflicting medicinal property information among the multiple first drugs.

[0084] As a possible implementation manner, the sending module is further used to:

[0085] generating a control instruction based on the detected user operation;

[0086] The control instruction is sent to the smart medicine box; wherein the control instruction includes a positioning instruction and a shooting instruction as a possible implementation method, and the device also includes a positioning module.

[0087] The positioning module is used to obtain the location information of the smart medicine box sent by the server; determine the location information of the target object carrying the smart medicine box according to the location information of the smart medicine box, and display the location information of the target object.

[0088] Another aspect of the present application provides a medication management device, including:

[0089] An acquisition module, used for acquiring the reference audio sent by the client and a medication plan of each of the at least one second drug to be taken by the target subject;

[0090] A generating module, for generating a medication reminder text for at least one medication taking time according to the medication taking plan of the at least one second medication; wherein the medication reminder text for each medication taking time includes target attribute information of the first medication to be taken at each medication taking time and the corresponding medicine storage compartment in the smart medicine box;

[0091] A synthesis module, used to perform speech synthesis on the medication reminder text at each medication time according to the timbre and voice style of the reference audio, to obtain the medication reminder voice at each medication time;

[0092] A sending module is used to send the medication reminder voice and medication reminder text for each medication taking time to the smart medicine box, and to send the medication reminder text for each medication taking time to the client; wherein, each medication reminder voice and medication reminder text for each medication taking time is used for the smart medicine box to respond to the arrival of the medication time, play the medication reminder voice for the medication time, and control the lighting of indicator lights on the medicine storage compartments corresponding to each first medicine to be taken at the medication time; the medication reminder text for each medication time is used for the client to generate a display page.

[0093] As a possible implementation, the device further includes a first processing module;

[0094] The first processing module is used to obtain a first image of the second drug stored in the smart medicine box; identify the first image to determine whether the second drug stored in each medicine storage compartment in the smart medicine box is a mixed drug; in response to determining that the second drug in the first medicine storage compartment is a mixed drug, generate a first prompt message according to a set reminder method; send the first prompt message to the smart medicine box; wherein the first prompt message is used for the smart medicine box to remind the mixed drugs in the first medicine storage compartment.

[0095] As a possible implementation, at least one medication taking time is set to belong to a currently set time period, and the device further includes a second processing module;

[0096] The second processing module is used to generate a medication reminder text for each medication time in the next set time period of the current set time period according to the medication plan of the at least one second drug; determine whether there is a target medicine storage compartment that needs to be replenished according to the first quantity of each third medicine to be taken at each medication time in the next set time period, and the second quantity of each third medicine in the corresponding medicine storage compartment in the smart medicine box; in response to the existence of a target medicine storage compartment that needs to be replenished, generate a medicine replenishment reminder for the target medicine storage compartment; and send the medicine replenishment reminder for the target medicine storage compartment to the client.

[0097] As a possible implementation method, the sending module is also used to:

[0098] Get the location information of the smart medicine box;

[0099] The location information of the smart medicine box is sent to the client; wherein the location information is used for the client to determine the location information of the target object carrying the smart medicine box according to the location information, and to display the location information of the target object.

[0100] Another aspect of the present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the method described in the foregoing method embodiment is implemented.

[0101] Another aspect of the present application is a non-transitory computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the method described in the foregoing method embodiment is implemented.

[0102] Another aspect of the present application provides a computer program product on which a computer program is stored. When the program is executed by a processor, the method described in the above method embodiment is implemented.

[0103] The medication management method, device, electronic device and storage medium proposed in the present application obtain the medication reminder voice and medication reminder text sent by the server to the target object at at least one set medication time; wherein, the medication reminder voice at each medication time is obtained by voice synthesis of the medication reminder text at each medication time according to the timbre and voice style of the reference audio, and the medication reminder text at each medication time includes the target attribute information of at least one first medicine to be taken at each medication time and the corresponding medicine storage grid in the smart medicine box, for each medication time, in response to the arrival of the medication time, the medication reminder voice of the medication time is played, and the indicator lights on the medicine storage grids corresponding to each first medicine to be taken at the medication time are controlled to light up, thereby realizing a reminder based on multiple reminder methods, not only reminding the medication person of the relevant information of medication, but also reminding the medication person of the location information of the medicine to be taken, so as to prevent the medication person from forgetting to take the medicine, meet the reminder needs in different scenarios, and improve the richness, precision and accuracy of the reminder information.

[0104] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0105] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:

[0106] Figure 1 A flowchart of a medication management method provided in an embodiment of the present application;

[0107] Figure 2 A flowchart of another medication management method provided in an embodiment of the present application;

[0108] Figure 3 A flowchart of another medication management method provided in an embodiment of the present application;

[0109] Figure 4 A flowchart of another medication management method provided in an embodiment of the present application;

[0110] Figure 5 A flowchart of another medication management method provided in an embodiment of the present application;

[0111] Figure 6 A flowchart of another medication management method provided in an embodiment of the present application;

[0112] Figure 7 A flowchart of another medication management method provided in an embodiment of the present application;

[0113] Figure 8 A flowchart of another medication management method provided in an embodiment of the present application;

[0114] Fig. 9 A flowchart of another medication management method provided in an embodiment of the present application;

[0115] Fig.10 A schematic diagram of the structure of a medication management device provided in an embodiment of the present application;

[0116] Fig.11 A schematic diagram of the structure of a medication management device provided in an embodiment of the present application;

[0117] Fig.12 A schematic diagram of the structure of a medication management device provided in an embodiment of the present application;

[0118] Fig.13 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0119] Embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application.

[0120] The following describes the medication management method, device, electronic device and storage medium of the embodiments of the present application with reference to the accompanying drawings.

[0121] Figure 1 A flowchart of a medication management method provided in an embodiment of the present application.

[0122] The executor of the medication management method of the embodiment of the present application is a medication management device, which can be set in a smart medicine box. The smart medicine box includes multiple medicine storage compartments for storing medicines. The multiple medicine storage compartments can be split and spliced ​​to meet the medicine storage needs of different users.

[0123] like Figure 1 As shown, the method may include the following steps:

[0124] Step 101, obtaining a medication reminder voice and a medication reminder text for a target subject at least one set medication time sent by a server.

[0125] Among them, the target object is the target medication user, who is one of multiple medication users.

[0126] The medication reminder text for each medication time includes the target attribute information of at least one first drug to be taken at each medication time and the corresponding medicine storage compartment in the smart medicine box. The target attribute information is part of the attribute information of the drug, including the name of the drug, dosage, time of taking, precautions for taking, etc. Since different drugs have different frequencies of taking, the medication reminder texts for different medication times may be different.

[0127] Among them, at least one set medication time can be at least one medication time in a set period, for example, the current set period. The set period refers to a period set based on demand, and the set period is associated with the medication cycle of the drug to be taken by the medication user, for example, 12 hours, 18 hours, or 24 hours, etc., which is not limited in the embodiments of the present application. The current set period is the most recent set period, or the set period of current concern.

[0128] In the embodiment of the present application, the medication reminder voice for each medication time is obtained by performing speech synthesis on the medication reminder text for each medication time based on the timbre and voice style of the reference audio, wherein the reference audio may be a person familiar to the target object, such as a relative of the target object. For example, if the target object is an elderly person, the reference audio may be the audio of the elderly person's children. As an implementation method, the timbre features and voice style features of the reference audio may be extracted, and based on the timbre features and voice style features, the medication reminder text for each medication time may be speech synthesized to obtain the reference audio, so that the reminder voice for each medication time has the timbre and voice style of a specific user, so that when the medication reminder text for each medication time is played, the person taking the medication feels that a relative is reminding him, which makes the person taking the medication feel intimate and easier to accept.

[0129] Step 102, for each medication time, in response to the medication time arriving, playing the medication reminder voice of the medication time, and controlling the indicator lights on the medicine storage grids corresponding to the first medicines to be taken at the medication time to light up.

[0130] In an embodiment of the present application, when the smart medicine box obtains the medicine reminder voice and medicine reminder text of at least one medicine taking time set in the current set time period, a timer for each medicine taking time will be set. In response to the arrival of the time of the timer corresponding to each medicine taking time, the medicine reminder voice of the medicine taking time will be played, and the indicator lights on the medicine storage compartments corresponding to each to-be-taken medicine included in the medicine reminder text of the medicine taking time will be controlled to light up.

[0131] Among them, the medicine reminder voice of the medicine taking time is played, and the medicine reminder voice of the medicine taking time is generated based on the medicine reminder text of the medicine taking time. The medicine reminder text includes the target attribute information of the medicine to be taken and the corresponding medicine storage grid, that is, it includes rich medicine reminder information and the location of the medicine to be taken, so that the user can accurately determine the various target attribute information of the medicine to be taken and the location of the medicine to be taken in the smart medicine box based on the medicine reminder voice of the medicine taking time, so as to remind the person taking the medicine to take the medicine, avoid the person taking the medicine missing the time, and increase convenience.

[0132] At the same time, considering that those who carry smart medicine boxes are usually elderly people, in order to avoid the situation where the person taking the medicine has poor hearing and cannot clearly hear the target attribute information of the medicines to be taken and the information of the corresponding medicine storage compartments included in the reminder voice, for each medication time, the smart medicine box controls the indicator lights on the medicine storage compartments corresponding to the medicines to be taken included in the medication reminder text for that medication time to light up, so that the person taking the medicine can take the medicine based on the reminder of the lit indicator lights if his hearing is weak, thereby meeting the reminder needs in different scenarios.

[0133] In the embodiment of the present application, in response to the time of the timer corresponding to each medication time arriving, a medication reminder voice of the medication time is played, and the indicator light on the medicine storage compartment corresponding to the medicine to be taken included in the medication reminder text of the medication time is lit, thereby realizing two reminder methods through voice reminder and indicator light lighting reminder, which not only reminds the person taking the medicine of the relevant information of taking the medicine, but also reminds the person taking the medicine of the location information of the medicine to be taken, thereby preventing the person taking the medicine from forgetting to take the medicine, and improving the richness, precision and accuracy of the reminder information.

[0134] In the medication management method of the embodiment of the present application, a medication reminder voice and a medication reminder text of the target object at at least one set medication time sent by the server are obtained; wherein, the medication reminder voice at each medication time is obtained by voice synthesis of the medication reminder text at each medication time according to the timbre and voice style of the reference audio, and the medication reminder text at each medication time includes the target attribute information of at least one first medicine to be taken at each medication time and the corresponding medicine storage grid in the smart medicine box, and for each medication time, in response to the arrival of the medication time, the medication reminder voice of the medication time is played, and the indicator lights on the medicine storage grids corresponding to each first medicine to be taken at the medication time are controlled to light up, thereby realizing a reminder based on multiple reminder methods, not only reminding the medication person of the relevant information of the medication, but also reminding the medication person of the location information of the medicine to be taken, thereby preventing the medication person from forgetting to take the medicine, meeting the reminder requirements in different scenarios, and improving the richness, precision and accuracy of the reminder information.

[0135] Based on the above embodiments, Figure 2 A flowchart of another medication management method provided in an embodiment of the present application is applied to a smart medicine box, such as Figure 2 As shown, the method comprises the following steps:

[0136] Step 201, obtaining a medication reminder voice and a medication reminder text for a target subject at least one set medication time sent by a server.

[0137] Step 202: for each medication time, in response to the medication time arriving, play a medication reminder voice for the medication time.

[0138] Among them, step 201 and step 202 can refer to the explanation in the above-mentioned embodiment, and the principles are the same, which will not be repeated here.

[0139] Step 203, according to the quantity of each first medicine to be taken corresponding to the medication time, determine the target indicator light to be lit on the medicine storage grid corresponding to each first medicine to be taken.

[0140] Among them, for each medication time, the medication reminder text of the medication time includes the quantity of at least one first medicine to be taken at the medication time, and the types of first medicines to be taken included in the medication reminder texts of different medication times may be different, and the quantities of different types of first medicines to be taken may also be different. At the medication time, for each first medicine to be taken, the quantity of the first medicine to be taken is determined, and the target indicator light that needs to be lit in the medicine storage compartment corresponding to the first medicine to be taken is determined, wherein the number of the target indicator lights is the same as the number of the first medicine to be taken, so that the number of the first medicine to be taken is intuitively conveyed to the person to be taken by lighting the same number of indicator lights, thereby improving the intuitiveness of obtaining medication information.

[0141] For example, the medication time is M, and there are two first medicines to be taken corresponding to the medication time M. The first medicine A to be taken at the medication time M needs to be taken 3 tablets each time, and the first medicine B to be taken at the medication time M needs to be taken one tablet each time. The medicine storage grid corresponding to the first medicine A to be taken at the medication time M is 1 grid, and the number of target indicator lights that need to be lit on grid 1 is 3; and the medicine storage grid corresponding to the first medicine B to be taken at the medication time M is 2 grids, and the number of target indicator lights that need to be lit on grid 2 is 1, thereby achieving intuitive display.

[0142] It should be noted that when there are multiple first medicines to be taken, different first medicines may have a sequence of taking. After the target indicator light is turned on, the target indicator light can also be controlled to indicate the sequence of taking the medicines with different brightnesses. That is, the brightness of the target indicator light corresponding to the first medicine taken first is brighter, and the brightness of the target indicator light corresponding to the first medicine taken later is darker, thereby intuitively indicating to the user the sequence of taking the first medicines to be taken.

[0143] Step 204, controlling the target indicators on the medicine storage compartments corresponding to the first medicines to be taken to light up.

[0144] In an embodiment of the present application, the smart medicine box includes multiple medicine storage compartments, and each medicine storage compartment is provided with an indicator light, such as an LED indicator light. By controlling the number of flashing indicator lights on each medicine storage compartment, the number of medicines that the person taking the medicine needs to take in the medicine storage compartment is indicated, so that the location and amount of the medicines to be taken can be directly indicated to the person taking the medicine through visual means. The display of information is more intuitive, and the reminders are more diverse, so that people with hearing impairments can obtain supplementary information on medication more intuitively.

[0145] Step 205, in response to detecting that the first medicine to be taken corresponding to the medication time is taken out from the corresponding medicine storage compartment, the identification, quantity and corresponding medicine storage compartment of each first medicine taken out at the medication time are sent to the server.

[0146] In one implementation of the embodiment of the present application, the weight changes of the medicines on each medicine storage compartment are monitored by pressure sensors on each medicine storage compartment of the smart medicine box, and whether the medicines in each medicine storage compartment have been taken out is determined based on the weight changes of the medicines and the weight of a single medicine. In response to detecting that each first medicine corresponding to the medication time has been taken out, the quantity of each first medicine taken out is determined, and the quantity and identification of each first medicine taken out are sent to the server for storage, so that the server can store the information of the medicines taken by the person taking the medicine at each medication time, so as to facilitate the subsequent generation of a medication report for the person taking the medicine.

[0147] In the medication management method of the embodiment of the present application, the target indicator lights to be flashing in the medicine storage compartments corresponding to the respective first medicines to be taken are determined according to the quantities of the respective first medicines to be taken corresponding to the medication time, and the target indicator lights on the medicine storage compartments corresponding to the respective first medicines to be taken are controlled to flash, so as to directly indicate the positions of the respective first medicines to be taken and the quantities to be taken by the medication taker through visual means. The display of information is more intuitive, and the reminders are more diverse, so that medication takers with hearing impairments can obtain supplementary medication information more intuitively.

[0148] Based on the above embodiments, the present application provides another medication management method, which is applied to a smart medicine box. Figure 3 A flowchart of another medication management method provided in an embodiment of the present application is shown in FIG. Figure 3 As shown, the method comprises the following steps:

[0149] Step 301, obtaining a medication reminder voice and a medication reminder text for a target subject at least one set medication time sent by a server.

[0150] Step 302, for each medication time, in response to the medication time arriving, playing the medication reminder voice of the medication time, and controlling the indicator lights on the medicine storage grids corresponding to the first medicines to be taken at the medication time to light up.

[0151] Among them, step 301 and step 302 can refer to the explanation in the above-mentioned embodiment, and the principles are the same, which will not be repeated here.

[0152] Step 303: Acquire a first image captured by a camera, wherein the first image includes the second medicine in each medicine storage compartment in the current smart medicine box.

[0153] The first image may be captured by a camera on the smart medicine box, or may be captured by a device other than the smart medicine box and then sent to the smart medicine box.

[0154] In one implementation of an embodiment of the present application, a camera is installed on the smart medicine box. In one scenario, there is one camera, which can be installed on the lid of a medicine storage compartment of the smart medicine box. The camera has a large field of view and can capture the medicines stored in all the medicine storage compartments in the smart medicine box.

[0155] In another scenario, the number of cameras installed on the smart medicine box is the same as the number of medicine storage compartments of the smart medicine box, that is, a camera is installed on the lid of each medicine storage compartment, and sub-images of the medicines in the corresponding medicine storage compartments are captured by the cameras on the respective lids, and the sub-images corresponding to the multiple medicine storage compartments are spliced ​​to obtain a first image, wherein each sub-image in the first image has identification information to correspond to each medicine storage compartment.

[0156] It should be noted that the first image can be acquired by driving the camera to acquire the image after all the medicines are stored in any medicine storage compartment in the smart medicine box; or by driving the camera to acquire the image after all the medicines in multiple medicine storage compartments in the smart medicine box are stored; or by driving the camera to acquire the image after each time the medicines are taken.

[0157] Step 304: Send the first image to the server.

[0158] Among them, the first image is used by the server to determine whether the second medicine in each medicine storage compartment is a mixed medicine. In response to determining that the second medicine stored in the first medicine storage compartment is a mixed medicine, a first prompt message is generated according to the set reminder method, and the first prompt information is sent to the smart medicine box.

[0159] Step 305: According to the first prompt information, a reminder is given for mixing medicines in the first medicine storage compartment.

[0160] In an embodiment of the present application, the first image is sent to the server, and the server recognizes the first image to determine whether the medicines stored in each medicine storage compartment of the smart medicine box are single medicines. As an implementation method, the first image is input into a trained recognition model, and the recognition model has learned the corresponding relationship between the input first image and whether there are mixed medicines in the image through training. When the server determines that there is a first medicine storage compartment in which medicines are mixed in the smart medicine box, a first prompt message is generated according to the set reminder method, and the first prompt message is sent to the smart medicine box.

[0161] Among them, as a first implementation method, if the set reminder method is a voice prompt, a first voice prompt message is generated. When the smart medicine box receives the first voice prompt message, it plays the first prompt message to remind the person taking the medicine that the medicines in the first medicine storage compartment of the smart medicine box are mixed, so as to avoid the person taking the wrong medicines and improve the safety of taking medicines based on the smart medicine box.

[0162] As a second implementation method, if the set reminder method is a vibration reminder, the generated first reminder information includes the instruction information of the vibration device on the target medicine storage compartment, so that the smart medicine box controls the vibration device on the first medicine storage compartment to vibrate according to the instruction information to remind the person taking the medicine that there are mixed medicines in the first medicine storage compartment and that the mixed medicines need to be cleared to prevent the user from taking the wrong medicines, thereby improving the safety of taking medicines based on the smart medicine box.

[0163] As a third implementation method, if the set reminder method is indicator light indication, the generated first prompt information includes the instruction information of the indicator light on the first medicine storage compartment, so that the smart medicine box controls the indicator light on the first medicine storage compartment to flash at a set frequency or a set color according to the instruction information to remind the person taking the medicine that there is mixed medicine in the target medicine storage compartment and the mixed medicine needs to be cleared to prevent the user from taking the wrong medicine, thereby improving the safety of taking medicine based on the smart medicine box.

[0164] It should be noted that steps 303 to 305 in the embodiment of the present application may be performed after step 302 or before step 301, which is not limited in the present embodiment.

[0165] In the medication management method of the embodiment of the present application, a first image captured by a camera is obtained; wherein the first image includes the second medicines in each medicine storage compartment in the smart medicine box in the current set time period, and the first image is sent to the server, wherein the first image is used by the server to determine whether the second medicines stored in each medicine storage compartment are single medicines. In response to determining that the second medicines in the first medicine storage compartment are mixed medicines, a first prompt message is generated according to the set reminder method, and a first prompt information is sent to the smart medicine box. According to the first prompt information, a reminder is given for mixed medicines in the first medicine storage compartment. By identifying the mixed medicines, a reminder for mixed medicines is realized, thereby avoiding errors in the number of medicines taken by users and improving the safety of medication.

[0166] Based on the above embodiments, the present application provides another medication management method, which is applied to a smart medicine box. Figure 4 A flowchart of another medication management method provided in an embodiment of the present application is shown in FIG. Figure 4 As shown, the method comprises the following steps:

[0167] Step 401, obtaining a medication reminder voice and a medication reminder text for a target subject at least one set medication time sent by a server.

[0168] Step 402, for each medication time, in response to the medication time arriving, playing the medication reminder voice of the medication time, and controlling the indicator lights on the medicine storage grids corresponding to the first medicines to be taken at the medication time to light up.

[0169] Among them, step 401 and step 402 can refer to the explanation in the above-mentioned embodiment, and the principles are the same, so they will not be repeated here.

[0170] Step 403: For each medicine storage compartment, the weight of the second medicine in the medicine storage compartment is monitored using sensors on the medicine storage compartment.

[0171] In the embodiment of the present application, pressure sensors are installed on each medicine storage compartment of the smart medicine box, and the weight information of the medicines in each medicine storage compartment is collected through the pressure sensors installed on each medicine storage compartment to monitor the changes in the medicines in each medicine storage compartment. Specifically, if the weight information of the medicines collected by the pressure sensor corresponding to a medicine storage compartment changes, it means that the medicines in the medicine storage compartment have been taken away or new medicines have been replenished. For example, in one scenario, the weight of the second medicine in medicine storage compartment A changes from 6g to 3g, indicating that the second medicine in medicine storage compartment A has been taken away; in another scenario, the weight of the second medicine in medicine storage compartment A changes from 6g to 10g, indicating that the amount of the second medicine in medicine storage compartment A has increased.

[0172] Step 404, in response to monitoring a change in the weight of the second medicine in the second medicine storage compartment, determining the amount of the second medicine stored in the second medicine storage compartment according to the weight of the second medicine in the second medicine storage compartment before and after the change.

[0173] In the embodiment of the present application, the name of the second medicine stored in each medicine storage compartment and the weight of the second medicine can be obtained from the server. For each second medicine storage compartment, a subtraction operation is performed based on the weight of the medicine collected from the second medicine storage compartment before the change to obtain the absolute value of the weight difference. The absolute value of the weight difference and the unit weight of the second medicine stored in the second medicine storage compartment can be used to obtain the number of second medicines stored and accessed, wherein the unit weight of the second medicine is the weight of one tablet of the second medicine. Different second medicines usually have different unit weights.

[0174] Step 405, synchronizing the quantity of the second medicine stored in the second medicine storage compartment to the server.

[0175] In an embodiment of the present application, the quantity of medicines stored in and accessed from each second medicine storage compartment is synchronized to the server, so that the server can update the information of medicines stored in each medicine storage compartment in the smart medicine box stored on the server according to the changes in the medicines in each medicine storage compartment in the smart medicine box, thereby achieving timely synchronization of attribute information and avoiding the accuracy of attribute information in the smart medicine box stored on the server.

[0176] In the embodiment of the present application, by installing pressure sensors in each medicine storage compartment in the smart medicine box, the changes in the quantity of medicines in each medicine storage compartment can be monitored, and the precise information stored or taken out of each medicine storage compartment can be determined, thereby achieving more accurate operation feedback and avoiding the loss of information feedback.

[0177] Based on the above embodiments, the present application provides another medication management method, which is applied to a smart medicine box. Figure 5 A flowchart of another medication management method provided in an embodiment of the present application is shown in FIG. Figure 5 As shown, the method comprises the following steps:

[0178] Step 501, obtaining a medication reminder voice and a medication reminder text for a target subject at least one set medication time sent by a server.

[0179] Step 502, for each medication time, in response to the medication time arriving, playing the medication reminder voice of the medication time, and controlling the indicator lights on the medicine storage grids corresponding to the first medicines to be taken at the medication time to light up.

[0180] Among them, step 501 and step 502 can refer to the explanation in the above-mentioned embodiment, and the principles are the same, so they will not be repeated here.

[0181] Step 503: Acquire a control instruction generated by the client based on the detected user operation.

[0182] The control instructions include positioning instructions for controlling the smart medicine box to position itself, and shooting instructions for controlling the smart medicine box to shoot the surrounding environment.

[0183] The client sends a control instruction when receiving a trigger operation from the user, or automatically triggers the sending of a control instruction when the medication user fails to take the medication after the medication time has arrived.

[0184] Step 504: According to the positioning instruction, the smart medicine box is controlled to perform positioning to obtain location information.

[0185] In an embodiment of the present application, the smart medicine box controls a positioning module in the smart medicine box to perform positioning according to a positioning instruction included in a control instruction to obtain location information of the smart medicine box, wherein the positioning module may be a navigation positioning module, such as a GPS module.

[0186] Step 505: According to the shooting instruction, the smart medicine box is controlled to shoot the environment to obtain an environment picture.

[0187] In the embodiment of the present application, the smart medicine box can obtain an environmental picture of the surrounding environment by photographing the environment using a camera installed on the smart medicine box.

[0188] Step 506, in response to determining that the smart medicine box is in an outdoor environment according to the environment picture, sending the location information to the server, and / or controlling the smart medicine box to issue a voice prompt.

[0189] In the embodiment of the present application, based on the features of the objects contained in the environmental image, it can be identified whether the smart medicine box is in an outdoor environment or an indoor environment.

[0190] In one implementation of the embodiment of the present application, in response to determining that the smart medicine box is in an outdoor environment, location information is sent to the server, wherein the location information is used for the server to send the location information of the smart medicine box to the client and display it on the client, so that the medication user can determine the location of the smart medicine box according to the client, or when the medication user does not carry a mobile phone, the contacts associated with the medication user can determine the location information of the medication user according to the location of the smart medicine box, so as to help the contacts of the medication user find the medication user and avoid situations such as the medication user fainting.

[0191] In another implementation of the embodiment of the present application, in response to determining that the smart medicine box is in an outdoor environment, the smart medicine box is controlled to issue a voice prompt. The voice issued by the smart medicine box can help the person taking the medicine to quickly locate the location of the smart medicine box in one scenario, especially for the person taking the medicine who cannot use the client application. In one scenario, the associated contacts of the person taking the medicine can be helped to quickly find the person taking the medicine in an outdoor environment according to the voice prompt issued by the smart medicine box, so as to avoid the danger of the person taking the medicine fainting, thereby increasing the intelligence of the smart medicine box.

[0192] Step 507, in response to determining that the smart medicine box is in an indoor environment according to the environment picture, controlling the smart medicine box to issue a voice prompt.

[0193] Among them, the indoor environment usually refers to the home of the person taking the medicine.

[0194] In the embodiment of the present application, in response to determining that the smart medicine box is in an indoor environment based on the environmental image, there is no need to send the location information of the smart medicine box to the server, because the location information obtained by positioning in an indoor environment is inaccurate. At the same time, the indoor environment is not large, and controlling the smart medicine box to issue a voice prompt can help the person taking the medicine quickly find the smart medicine box to avoid the loss of the smart medicine box. In the medication management method of the embodiment of the present application, the smart medicine box includes a positioning module, which can help the person taking the medicine quickly locate the smart medicine box by controlling the smart medicine box to locate and shoot environmental information, thereby avoiding the loss of the smart medicine box and affecting the effect of taking the medicine. At the same time, in an outdoor environment, the person taking the medicine can also be quickly found based on the location information and voice prompt information obtained by positioning, avoiding the danger of the person taking the medicine fainting, etc., which increases the intelligence of the smart medicine box.

[0195] Based on the above embodiments, the smart medicine box can be self-cleaning: as an implementation method, an ultraviolet sterilization device is provided in the smart medicine box. For example, an ultraviolet lamp is provided on the frame of the box. When the sterilization mode on the smart medicine box is clicked, the ultraviolet lamp in the open space will be monitored for light sterilization.

[0196] As another implementation method, a vibration module is provided in the smart medicine box. By starting the dust removal mode, the medicine box vibrates to peel off the residual dust on the box, and finally the air blows the peeled dust away from the box.

[0197] As another implementation method, vibration dust removal: put an empty medicine storage grid without medicine in a vibrating component box, click the dust removal mode to peel off the residual dust on the medicine storage grid, and finally blow the peeled dust away from the medicine storage grid.

[0198] Based on the above embodiments, the embodiments of the present application provide another medication management method, which is applied to the client, wherein the client is an application installed in the terminal device, and the terminal device can be a smart phone, a PDA, a smart wearable device, etc., which is not limited in this embodiment. Figure 6 A flowchart of another medication management method provided in an embodiment of the present application is shown in FIG. Figure 6 As shown, the method comprises the following steps:

[0199] Step 601: Obtain a taking plan for each second drug in at least one second drug to be taken by a target subject.

[0200] Among them, the taking plan of each second drug includes the attribute information of each second drug and the medicine storage compartment to which it belongs in the smart medicine box. Among them, as a way to achieve the acquisition of attribute information, the client can take a picture of the drug instructions and prescription on the packaging box of each second drug to be taken, and obtain partial attribute information of each second drug to be taken based on the image obtained by the photo. At the same time, the attribute information supplemented by the user can also be obtained through the display page of the client, so as to finally obtain the attribute information of each second drug to be taken. Among them, the attribute information includes the name of the drug (chemical name and / or trade name), the single dose of the drug, the frequency of taking the drug per day, the interval between taking the drug (how many days to take it once), the total number of times the drug is taken, the expiration date of the drug, and the precautions for taking the drug.

[0201] As an example, the second drugs to be taken include three, namely drug A, drug B and drug C. The taking plan of the three drugs to be taken is shown in the form of a table as follows:

[0202] The taking plan of the second drug A to be taken is shown in Table 1:

[0203] Table 1

[0204]

[0205] The taking plan of the second drug B to be taken is shown in Table 2:

[0206] Table 2

[0207]

[0208] The plan for taking the second drug C to be taken is shown in Table 3:

[0209] Table 3

[0210]

[0211] It should be noted that each taking plan of the second drug to be taken has identification information, and the identification information is used to indicate whether the taking plan is in a valid state or an invalid state. The valid state or invalid state is determined based on the restricted use period of the second drug to be taken. The restricted use period is compared with the current time. If it is earlier than the current time, the second drug is expired and marked as invalid, and the taking plan of the second drug cannot be used; if it is later than the current time, the second drug is not expired, it is marked as valid, and the taking plan of the second drug can be used.

[0212] Step 602: Send at least one second drug administration plan to the server.

[0213] Among them, a taking plan of at least one second medicine to be taken is used for the server to generate a medicine reminder text for at least one set medicine taking time, and according to the timbre and voice style of the reference audio, the medicine reminder text for each medicine taking time is voice synthesized to obtain the medicine reminder voice for each medicine taking time, and the medicine reminder voice and medicine reminder text for each medicine taking time are sent to the smart medicine box; wherein, the medicine reminder voice and medicine reminder text for each medicine taking time are used for the smart medicine box to respond to the arrival of the medicine taking time, play the medicine reminder voice for the medicine taking time, and control the lighting of the indicator lights on the medicine storage compartments corresponding to each first medicine to be taken at the medicine taking time.

[0214] The at least one medication taking time that is set may be at least one medication taking time in a set time period, for example, the current set time period, that is, the current day.

[0215] It should be noted that, when the server determines that there is an invalid medication plan, it will warn the user of the name of the second medication to be taken in the invalid medication plan on the client's page, informing the user that the second medication to be taken can no longer be taken.

[0216] Among them, the relevant explanations in the aforementioned embodiments are also applicable to this embodiment, and the principles are the same, so they will not be repeated here.

[0217] In an embodiment of the present application, the client sends a plan for taking at least one second medicine to be taken to the server via a network.

[0218] It should be noted that the client can scan the QR code on the smart medicine box to obtain the basic information of the smart medicine box, and upload the basic information of the smart medicine box to the server, so that the server can bind the client and the smart medicine box, that is, establish a corresponding relationship between the client and the smart medicine box. The terminal devices corresponding to the smart medicine box and the client can transmit data via Bluetooth or wireless network.

[0219] Step 603, obtaining the medication reminder text for each medication time sent by the server.

[0220] The second medicines are all the medicines that the target medication user needs to take within a set period of time, for example, the last 3 months. Since not all second medicines are taken every day, and not all second medicines are taken at the same time and frequency every day, the quantity and type of first medicines to be taken included in the medication reminder texts at different medication times are also different, and usually the quantity of first medicines is less than the quantity of second medicines.

[0221] The medication reminder text for the medication time is generated based on the attribute information included in the medication plan of at least one second medication to be taken by the medication user and the corresponding medicine storage grid. The medication reminder text for each medication time includes the target attribute information of the first medication to be taken at the medication time and the corresponding medicine storage grid in the smart medicine box. The target attribute information is the information in the attribute information used to remind the user to take the medication.

[0222] As an example, the set time period corresponds to 24 hours a day, and there are three set medication times, namely 8 am, 12 noon, and 7 pm. Taking 12 noon as an example, the medication reminder text content of this medication time is as follows:

[0223] Old man, it's 12 o'clock in the morning. It's time to take medicine. Take two tablets of vitamin C from box 1 to supplement vitamin C and improve immunity. Be careful not to take it with coffee or alcohol. Take two tablets of medicine A from box 2 and take it after meals.

[0224] It should be understood that, since different second drugs are taken at different times and times per day, the first drugs to be taken included in the medication reminder text corresponding to different medication times are also different.

[0225] Step 604, generating a display page according to the medication reminder texts for each medication time.

[0226] In an embodiment of the present application, the drug-related information in the medication reminder text at each medication time can be displayed on the client's interactive interface, and the displayed information includes the name, quantity, location in the smart medicine box (medicine storage compartment identification), precautions and picture information of each first medicine that needs to be taken at each medication time.

[0227] In the medication management method of the embodiment of the present application, the taking plan of each second drug in at least one second drug to be taken is obtained, and the taking plan of at least one second drug is sent to the server, so that the server generates reminder voices and medication reminder texts for each medication time according to the taking plan of at least one second drug, and sends the reminder voices and medication reminder texts to the smart medicine box, realizing a plurality of reminder methods, which not only reminds the medication user of the relevant information of medication, but also reminds the medication user of the location information of the medication to be taken, so as to prevent the medication user from forgetting to take the medication, meet the reminder requirements in different scenarios, and improve the richness, precision and accuracy of the reminder information. And the medication reminder text is sent to the client for display, so as to help users better manage the medication to be taken.

[0228] Based on the above embodiments, the present application provides another medication management method, which is applied to a client. Figure 7 A flowchart of another medication management method provided in an embodiment of the present application is shown in FIG. Figure 7 As shown, the method comprises the following steps:

[0229] Step 701: Obtain a taking plan for each second drug in at least one second drug to be taken by a target subject.

[0230] Among them, step 701 can refer to the explanation in the above-mentioned embodiment, and the principle is the same, which will not be repeated here.

[0231] In an embodiment of the present application, the taking plan of each second drug includes the taking time of each second drug, for example, taking the drug at 8 o'clock, taking the drug at 10 o'clock, taking the drug at 12 o'clock, taking the drug at 19:30, etc. Each taking time is determined based on the frequency of taking the drug and the time interval between each dose.

[0232] Step 702 : for each medication taking time, in response to determining that there are multiple first drugs to be taken simultaneously at the medication taking time, compare the medicinal property information of the multiple first drugs.

[0233] Step 703 , in response to determining that there are a plurality of first drugs whose medicinal property information conflicts with each other among the plurality of first drugs, an abnormal warning of drug medicinal property conflict is issued.

[0234] In the embodiment of the present application, for each medication time, the first medicine to be taken at the medication time is counted. If there is only one first medicine, there will be no problem of drug efficacy conflict or toxicity accumulation of the medicines at that time. If there are multiple first medicines, the medicinal property information of the multiple first medicines will be compared to identify whether there is a medicinal property conflict between the multiple first medicines, or the situation where the accumulation of a certain set toxin exceeds a set threshold. If there are multiple first medicines with conflicting medicinal property information, that is, the conflicting multiple first medicines cannot be taken at the same time, then an abnormal warning of the drug medicinal property conflict is required, for example, through voice reminders, through pop-up window display reminders on the interface, etc. The reminder method is not limited in this embodiment, so as to prompt the target object or the target object's associated person to change the taking time of the multiple conflicting first medicines to avoid harm to the body due to taking them at the same time.

[0235] Step 704: Send at least one second drug administration plan to the server.

[0236] Step 705, obtaining the medication reminder text for each medication time sent by the server.

[0237] Step 706, generating a display page according to the medication reminder texts for each medication time.

[0238] Among them, steps 704 to 706 can refer to the explanations in the aforementioned embodiments, and the principles are the same, so they will not be repeated here.

[0239] In the medication management method of the embodiment of the present application, before sending the taking plan of the at least one second drug to the server, the medicinal property information of the drugs to be taken at the same taking time is compared to determine that multiple first drugs have conflicting medicinal property information, and an abnormal warning is issued, thereby avoiding the target object from taking conflicting drugs and improving the safety of drug taking.

[0240] Based on the above embodiment, in one implementation of the embodiment of the present application, the method further includes:

[0241] A control instruction is generated based on the detected user operation, and the control instruction is sent to the smart medicine box; wherein the control instruction includes a positioning instruction and a shooting instruction.

[0242] The smart medicine box obtains the positioning instruction and shooting instruction generated by the client based on the detected user operation, controls the smart medicine box to locate and obtain the location information according to the positioning instruction, and controls the smart medicine box to shoot the environment to obtain the environment picture according to the shooting instruction, and in response to determining that the smart medicine box is in an outdoor environment according to the environment picture, sends the location information to the server, and / or controls the smart medicine box to issue a voice prompt. The explanations and beneficial effects in the aforementioned embodiments are also applicable to this embodiment, and the principles are the same, so they will not be repeated here. The steps of this embodiment can be Figure 6 Any step in the embodiment may be performed before or after the above step, which is not limited here.

[0243] Based on the above embodiment, in one implementation of the embodiment of the present application, after the client sends the control instruction to the smart medicine box, it also includes:

[0244] The location information of the smart medicine box sent by the server is obtained, and the location information of the target object carrying the smart medicine box is determined according to the location information of the smart medicine box, and the location information of the target object is displayed.

[0245] Among them, the location information of the smart medicine box can not only determine the location of the smart medicine box, but also because the target object usually carries its own smart medicine box, the location information of the target object can be determined based on the location information of the smart medicine box, that is, the target object can be located to quickly find the target object.

[0246] The explanations and beneficial effects in the aforementioned embodiments are also applicable to this embodiment, and the principles are the same, so they will not be repeated here.

[0247] It should be noted that when the data in the client is sent to the server, the data can be encrypted. As an implementation method, the key entered by the customer on the client is used to generate the key of the public key cryptographic algorithm RSA, including the public key and private key, and the platform's public key to encrypt and sign personal sensitive data (SHA1 with RSA) and transmit it to the server. The server uses the platform's private key and the customer's public key to decrypt and verify the signature to ensure the security and integrity of the data. Sensitive personal data is encrypted and stored in the warehouse.

[0248] As an implementation method, in order to improve confidentiality, the data sent by the client to the server may not be sent to the server, but the public data required for processing is obtained from the server, such as the information of the smart medicine box, the information of the medicine storage compartment in the smart medicine box, etc., and processed locally on the client to avoid information leakage during transmission.

[0249] Based on the above embodiments, the embodiments of the present application provide another medication management method, which is applied to the server side, wherein the server side can be set on a cloud server, or a local server, and the local server can be a server cluster, or a single server, which is not limited in this embodiment. Figure 8 A flowchart of another medication management method provided in an embodiment of the present application is shown in FIG. Figure 8 As shown, the method comprises the following steps:

[0250] Step 821 , obtaining the reference audio sent by the client and the medication plan of each second drug in at least one second drug to be taken by the target subject.

[0251] Step 822: Generate a medication reminder text for at least one set medication time according to the medication plan of at least one second drug.

[0252] The medication reminder text for each medication time includes target attribute information of the first medicine to be taken at each medication time and the corresponding medicine storage compartment in the smart medicine box.

[0253] Step 823, based on the timbre and voice style of the reference audio, voice synthesis is performed on the medication reminder text for each medication taking time to obtain the medication reminder voice for each medication taking time.

[0254] Step 824 sends the medication reminder voice and medication reminder text for each medication taking time to the smart medicine box, and sends the medication reminder text for each medication taking time to the client.

[0255] Among them, the medication reminder voice and medication reminder text for each medication time are used for the smart medicine box to respond to the arrival of the medication time, play the medication reminder voice at the medication time, and control the lighting of the indicator lights on the medicine storage grids corresponding to each first medicine to be taken at the medication time; the medication reminder text for each medication time is used for the client to generate a display page.

[0256] It should be noted that the reminder text for each medication time also includes at least one of a text message reminder and a phone reminder. The objects of the text message reminder and the phone reminder can be at least one of the target object and the contacts associated with the target object, so that the target object can be further reminded through multiple reminder methods if he fails to take the medicine on time.

[0257] The explanations and beneficial effects in the aforementioned embodiments are also applicable to this embodiment, and the principles are the same, so they will not be repeated here.

[0258] Based on the above embodiments, Fig. 9 A flowchart of another medication management method provided in an embodiment of the present application is shown in FIG. Fig. 9 As shown, after step 824, the following steps are included:

[0259] Step 901: Generate medication reminder texts for each medication time in at least one medication time in a next set time period of a current set time period according to a medication plan of at least one second drug.

[0260] Among them, the medication reminder text for each medication time in the next set time period includes the target attribute information of the first medicine to be taken at each medication time and the corresponding medicine storage grid in the smart medicine box. Among them, the first medicine is for identification, because the medicines to be taken at each medication time in different set time periods may be different, in order to distinguish them from all the medicines that the target object needs to take within a set time period, that is, the second medicine. The second medicine to be taken by the target object is stored in the medicine storage grid of the smart medicine box, and each medicine storage grid stores a second medicine, and the name and quantity of the second medicine stored in each medicine storage grid are synchronized to the server. It should be understood that the medication reminder text for each medication time in the next set time period can be regarded as a medication sub-plan for the medicines to be taken in the next set time period.

[0261] For example, the set time period is one day, and 8 o'clock is one of the set medication times. At 8 o'clock on August 10, the drugs to be taken are A and B, while at 8 o'clock on August 11, only drug B is to be taken. This is because drug A is taken every other day.

[0262] Step 902, based on the first quantity of each third drug to be taken at at least one medication time in the next set time period and the second quantity of each third drug in the corresponding storage compartment in the smart medicine box, determine whether there is a target storage compartment that needs to be replenished.

[0263] Among them, the third medicine is a medicine to be taken at least one time in the next set time period. Since the medicines taken at different times may be different, different names are used for identification and distinction.

[0264] As an example, the next set time period is July 5, including 3 medication times, namely, time 1, time 2, and time 3. The drugs to be taken at time 1 include drugs A and drugs B, the third drug to be taken at time 2 includes drugs A, and the third drug to be taken at time 3 includes drugs C. Among them, drugs A is taken 2 tablets each time, drugs B is taken 3 tablets each time, and drugs C is taken 2 tablets each time. Then, the first quantities of the third drugs to be taken in the next set time period, i.e., July 5, are determined as follows:

[0265] Drug A, 4 tablets; Drug B, 3 tablets; Drug C, 2 tablets.

[0266] The server records the name and quantity of the medicines stored in each storage compartment in the smart medicine box, and is updated in real time. Therefore, the number of medicines in each storage compartment that stores each third medicine in the current smart medicine box can be obtained, that is, medicine A is stored in storage compartment 1, and there are currently 3 tablets in storage compartment 1; the medicine is stored in storage compartment 2, and there are currently 4 tablets in storage compartment 2; the medicine is stored in storage compartment 3, and there are currently 4 tablets in storage compartment 3.

[0267] Therefore, it is determined that the quantity 3 of the third medicine A in the medicine storage compartment 1 is less than the quantity 4 tablets of the third medicine that needs to be taken on July 5, and it is determined that the medicine in the medicine storage compartment 1 is insufficient, and the medicine storage compartment 1 is the target medicine storage compartment.

[0268] Step 903: In response to the existence of a target medicine storage compartment that needs to be replenished with medicines, a medicine replenishment reminder for the target medicine storage compartment is generated.

[0269] Step 904: Send the medicine replenishment reminder of the target medicine storage compartment to the client.

[0270] In the embodiment of the present application, medicine storage compartment 1 is the target medicine storage compartment, and a medicine replenishment reminder for medicine storage compartment 1 is generated and sent to the client, where a reminder is made, for example, by voice reminder, page pop-up window reminder, etc., which is not limited here.

[0271] Optionally, a medicine replenishment reminder may be sent to the smart medicine box, and the target medicine storage compartment of the smart medicine box may be controlled to indicate that the medicine storage compartment is insufficient by flashing an indicator light.

[0272] In the medication management method of the embodiment of the present application, the server detects the medication reminder text for each medication time in at least one medication time in the next set time period on the way. If the amount of medicine in the medicine grid does not meet the next medication amount or is lower than the set amount, a reminder to replenish the medicine is given to remind you to replenish the medicine as soon as possible, thereby improving intelligence.

[0273] Based on the above embodiment, in one implementation of the embodiment of the present application, the method further includes:

[0274] Acquire a first image of a second medicine stored in the smart medicine box;

[0275] Recognize the first image to determine whether the second medicine stored in each medicine storage compartment of the smart medicine box is a mixed medicine;

[0276] As an implementation method, whether the drug is a mixed drug can be identified by the shape, size and identification information on the drug.

[0277] As another implementation method, it is also possible to identify whether the drugs are mixed based on the weight of the second drug in each storage compartment. Specifically, the number of drugs included in each storage compartment can be obtained based on the captured image recognition, and the type of drugs stored in each storage compartment and the weight of a single drug are obtainable. Therefore, the actual weight of the drugs actually detected by the pressure sensor installed in the storage compartment and the calculated weight of the drugs can be compared to determine which storage compartments have mixed drugs.

[0278] In response to determining that the second medicine in the first medicine storage compartment is a mixed medicine, generating a first prompt message according to a set reminder method;

[0279] The first prompt message is sent to the smart medicine box; wherein the first prompt message is used for the smart medicine box to remind the mixed placement of medicines in the first medicine storage compartment.

[0280] It should be noted that the steps of the above method in this embodiment may be performed before step 821, or after step 824, or may be performed after step 825. Figure 8 It is executed before or after any step in the embodiment, and the specific execution sequence is not limited in the embodiment of the present application.

[0281] The explanations and beneficial effects in the aforementioned embodiments are also applicable to this embodiment, and the principles are the same, so they will not be repeated here.

[0282] Based on the above embodiment, in one implementation of the embodiment of the present application, the method further includes:

[0283] Get the location information of the smart medicine box;

[0284] The location information of the smart medicine box is sent to the client; wherein the location information is used to determine the location information of the target object carrying the smart medicine box at the client according to the location information, and to display the location information of the target object.

[0285] It should be noted that the steps of the above method in this embodiment may be performed before step 821, or after step 824, or may be performed after step 825. Figure 8 It is executed before or after any step in the embodiment, and the specific execution sequence is not limited in the embodiment of the present application.

[0286] The explanations and beneficial effects in the aforementioned embodiments are also applicable to this embodiment, and the principles are the same, so they will not be repeated here.

[0287] Based on the above embodiments, in one implementation method of the embodiments of the present application, the server will generate a medication report for the target object according to the type and quantity of the first medicine taken by the target object at each medication time according to the set period, and compare the quantity of each first medicine taken in the medication report with the corresponding set medication quantity. If it is greater than the corresponding set medication quantity, a prompt message for the user to return for a follow-up visit is given, and the prompt message for the follow-up visit and the medication report for the period are sent to the client for display on the client to remind the target object.

[0288] The set period is one month, three months, etc.

[0289] In the above embodiment, it is explained that after the service end sends the medication reminder voice and medication reminder text of at least one medication time set by the target object in the current set time period to the smart medicine box, and sends the medication reminder text of at least one medication time to the client to remind the target object to take medicine, if the service end does not receive the feedback information of the medication already taken from the smart medicine box within the first set time after each medication time, and does not receive the feedback information of skipping medication at each medication time sent by the client, then a text message reminder is sent to the medication taker. If the feedback information that the medication taker has completed medication is not received within the second set time after sending the text message reminder, the medication taker is called to notify. Furthermore, if the feedback information that the medication taker has completed medication is not received within the third set time after calling the medication taker, a text message reminder is sent to the contact associated with the target object to remind the contact that the target object has not taken the medication and to urge the contact to take the medication in time. Furthermore, if no feedback is received that the target subject has taken the medicine within the fourth set time after sending the text message, the server will call the contact of the target subject to remind him / her to avoid danger to the target subject due to not taking the medicine, thereby improving the reliability of the medicine reminder.

[0290] As an example, if the person has not taken the medicine within 5 minutes, a text message will be sent to the person; if he or she still has not taken the medicine within 10 minutes, a phone call will be made to the person; if he or she has not taken the medicine within 15 minutes, a text message will be sent to the person's associated contact; if he or she has not taken the medicine within 20 minutes, a phone call will be made to the contact. The person is proactively notified through various means, and if the person still has not taken the medicine, the person's associated contacts are proactively notified. Various reminder methods are used to ensure that the person can complete the medication on time.

[0291] In order to implement the above embodiment, the embodiment of the present application also proposes a medication management device.

[0292] Fig.10 A schematic diagram of the structure of a medication management device provided in an embodiment of the present application, which is arranged in a smart medicine box.

[0293] like Fig.10As shown, the device may include:

[0294] The acquisition module 1001 is used to acquire the medication reminder voice and medication reminder text of the target object at at least one set medication time sent by the server; wherein the medication reminder voice at each medication time is obtained by performing speech synthesis on the medication reminder text at each medication time according to the timbre and voice style of the reference audio; the medication reminder text at each medication time includes the target attribute information of at least one first medicine to be taken at each medication time and the corresponding medicine storage compartment in the smart medicine box;

[0295] The reminder module 1002 is used for playing a medication reminder voice for each medication time in response to the arrival of the medication time, and controlling the lighting of indicator lights on the medicine storage compartments corresponding to each first medicine to be taken at the medication time.

[0296] Further, in an implementation of the embodiment of the present application, the reminder module 1002 is specifically used to:

[0297] Determining target indicator lights to be lit on medicine storage compartments corresponding to the respective first medicines to be taken according to the quantities of the respective first medicines to be taken corresponding to the medication taking time;

[0298] The target indicators on the medicine storage grids corresponding to the first medicines to be taken are controlled to light up.

[0299] In one implementation of the embodiment of the present application, the device further includes a reminder module:

[0300] A reminder module is used to obtain a first image captured by a camera; wherein the first image includes the second medicines in each medicine storage compartment in the current smart medicine box; the first image is sent to a server; wherein the first image is used by the server to determine whether the second medicines in each medicine storage compartment are mixed medicines, and in response to determining that the second medicines in the first medicine storage compartment are mixed medicines, a first reminder message is generated according to a set reminder method, and the first reminder information is sent to the smart medicine box; according to the first reminder information, a reminder for mixing medicines in the first medicine storage compartment is performed.

[0301] In one implementation of the embodiment of the present application, the device also includes a first synchronization module.

[0302] The first synchronization module is used to monitor the weight of the second medicine in each medicine storage compartment according to the sensor on the medicine storage compartment; in response to monitoring the change in the weight of the second medicine in the second medicine storage compartment, determine the number of second medicines stored in the second medicine storage compartment according to the weight of the second medicine in the second medicine storage compartment before and after the change; and synchronize the number of second medicines stored in the second medicine storage compartment to the server.

[0303] In one implementation of the embodiment of the present application, the device further includes a positioning module:

[0304] A positioning module is used to obtain control instructions generated by the client based on detected user operations; wherein the control instructions include positioning instructions and shooting instructions; according to the positioning instructions, the smart medicine box is controlled to locate and obtain location information; according to the shooting instructions, the smart medicine box is controlled to shoot the environment to obtain an environment picture; in response to determining that the smart medicine box is in an outdoor environment according to the environment picture, the location information is sent to the server, and / or the smart medicine box is controlled to issue a voice prompt.

[0305] In one implementation of the embodiment of the present application, the device also includes a reminder module.

[0306] The reminder module is used to control the smart medicine box to issue a voice prompt in response to determining that the smart medicine box is in an indoor environment according to the environment picture.

[0307] In one implementation of the embodiment of the present application, the device also includes a second synchronization module.

[0308] The second synchronization module is used to send the identification, quantity and corresponding medicine storage compartment of each first medicine taken out at the medication time to the server in response to detecting that the first medicine to be taken at the medication time is taken out from the corresponding medicine storage compartment.

[0309] It should be noted that the above explanation of the method embodiment is also applicable to the device of this embodiment, and will not be repeated here.

[0310] In the medication management device of the embodiment of the present application, a medication reminder voice and a medication reminder text of the target object at at least one set medication time sent by the server are obtained; wherein, the medication reminder voice at each medication time is obtained by voice synthesis of the medication reminder text at each medication time according to the timbre and voice style of the reference audio, and the medication reminder text at each medication time includes the target attribute information of at least one first medicine to be taken at each medication time and the corresponding medicine storage grid in the smart medicine box, and for each medication time, in response to the arrival of the medication time, the medication reminder voice of the medication time is played, and the indicator lights on the medicine storage grids corresponding to each first medicine to be taken at the medication time are controlled to light up, thereby realizing a reminder based on multiple reminder methods, which not only reminds the medication person of the relevant information of the medication, but also reminds the medication person of the location information of the medicine to be taken, so as to prevent the medication person from forgetting to take the medicine, meet the reminder needs in different scenarios, and improve the richness, precision and accuracy of the reminder information.

[0311] In order to implement the above embodiment, the embodiment of the present application also proposes a medication management device.

[0312] Fig.11 A schematic diagram of the structure of a medication management device provided in an embodiment of the present application, which is arranged in a client.

[0313] like Fig.11 As shown, the device may include:

[0314] The first acquisition module 1101 is used to acquire a taking plan of each second drug in at least one second drug to be taken by the target subject; wherein the taking plan of each second drug includes attribute information of each second drug and a medicine storage compartment to which the second drug belongs in the smart medicine box;

[0315] The sending module 1102 is used to send the taking plan of the at least one second drug to the server; wherein the taking plan of the at least one second drug is used for the server to generate a medication reminder text for at least one set medication time, perform speech synthesis on the medication reminder text for each medication time according to the timbre and voice style of the reference audio, obtain the medication reminder voice for each medication time, and send the medication reminder voice and medication reminder text for each medication time to the smart medicine box; wherein each medication reminder voice and medication reminder text for each medication time is used for the smart medicine box to play the medication reminder voice for the medication time in response to the arrival of the medication time, and control the lighting of the indicator lights on the medicine storage grids corresponding to each first drug to be taken at the medication time;

[0316] The second acquisition module 1103 is used to acquire the medication reminder text of each medication time sent by the server;

[0317] The display module 1104 is used to generate a display page according to the medication reminder texts of each medication time.

[0318] Furthermore, in an implementation of the embodiment of the present application, the device also includes: a warning module.

[0319] The warning module is used for comparing the medicinal property information of multiple first drugs for each medication time in response to determining that there are multiple first drugs that are taken simultaneously at the medication time; and for issuing an abnormal warning of drug property conflict in response to determining that there are multiple first drugs with conflicting medicinal property information among the multiple first drugs.

[0320] In one implementation of the embodiment of the present application, the sending module 1102 is further configured to:

[0321] generating a control instruction based on the detected user operation;

[0322] The control instruction is sent to the smart medicine box; wherein the control instruction includes a positioning instruction and a shooting instruction.

[0323] In one implementation of the embodiment of the present application, the device further includes a positioning module.

[0324] The positioning module is used to obtain the location information of the smart medicine box sent by the server; determine the location information of the target object carrying the smart medicine box according to the location information of the smart medicine box, and display the location information of the target object.

[0325] It should be noted that the aforementioned explanations and beneficial effects of the method embodiment are also applicable to the device of this embodiment and will not be described in detail here.

[0326] In order to implement the above embodiment, the embodiment of the present application also proposes a medication management device.

[0327] Fig.12 A schematic diagram of the structure of a medication management device provided in an embodiment of the present application, which is arranged in a server.

[0328] like Fig.12 As shown, the device may include:

[0329] An acquisition module 1201 is used to acquire the reference audio sent by the client and a medication plan of each of the at least one second drug to be taken by the target subject;

[0330] The generating module 1202 is used to generate a medication reminder text for at least one medication taking time according to the medication taking plan of the at least one second medication; wherein the medication reminder text for each medication taking time includes target attribute information of the first medication to be taken at each medication taking time and the corresponding medicine storage compartment in the smart medicine box;

[0331] The synthesis module 1203 is used to perform speech synthesis on the medication reminder text at each medication time according to the timbre and voice style of the reference audio to obtain the medication reminder voice at each medication time;

[0332] The sending module 1204 is used to send the medication reminder voice and medication reminder text for each medication taking time to the smart medicine box, and send the medication reminder text for each medication taking time to the client; wherein, each medication reminder voice and medication reminder text for each medication taking time is used for the smart medicine box to respond to the arrival of the medication time, play the medication reminder voice for the medication time, and control the lighting of the indicator lights on the medicine storage compartments corresponding to each first medicine to be taken at the medication time; the medication reminder text for each medication time is used for the client to generate a display page.

[0333] In one implementation of the embodiment of the present application, the device further includes a first processing module.

[0334] The first processing module is used to obtain a first image of the second drug stored in the smart medicine box; identify the first image to determine whether the second drug stored in each medicine storage compartment in the smart medicine box is a mixed drug; in response to determining that the second drug in the first medicine storage compartment is a mixed drug, generate a first prompt message according to a set reminder method; send the first prompt message to the smart medicine box; wherein the first prompt message is used for the smart medicine box to remind the mixed drugs in the first medicine storage compartment.

[0335] In one implementation of the embodiment of the present application, at least one set medication time belongs to a currently set time period, and the device further includes a second processing module.

[0336] The second processing module is used to generate a medication reminder text for each medication time in the next set time period of the current set time period according to the medication plan of the at least one second drug; determine whether there is a target medicine storage compartment that needs to be replenished according to the first quantity of each third medicine to be taken at each medication time in the next set time period, and the second quantity of each third medicine in the corresponding medicine storage compartment in the smart medicine box; in response to the existence of a target medicine storage compartment that needs to be replenished, generate a medicine replenishment reminder for the target medicine storage compartment; and send the medicine replenishment reminder for the target medicine storage compartment to the client.

[0337] In one implementation of the embodiment of the present application, the sending module 1204 is further configured to:

[0338] Get the location information of the smart medicine box;

[0339] The location information of the smart medicine box is sent to the client; wherein the location information is used for the client to determine the location information of the target object carrying the smart medicine box according to the location information, and to display the location information of the target object.

[0340] It should be noted that the aforementioned explanations and beneficial effects of the method embodiment are also applicable to the device of this embodiment and will not be described in detail here.

[0341] In order to implement the above embodiments, the present application also proposes an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the method described in the above method embodiments is implemented.

[0342] In order to implement the above embodiments, the present application also proposes a non-temporary computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the method described in the above method embodiments is implemented.

[0343] In order to implement the above embodiments, the present application also proposes a computer program product on which a computer program is stored. When the computer program is executed by a processor, the method described in the above method embodiments is implemented.

[0344] Fig.13 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. For example, the electronic device 800 may be a mobile phone, a computer, a digital broadcast terminal, a message transceiver device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.

[0345] Reference Fig.13 , the electronic device 800 may include one or more of the following components: a processing component 802 , a memory 804 , a power component 806 , a multimedia component 808 , an audio component 810 , an input / output (I / O) interface 812 , a sensor component 814 , and a communication component 816 .

[0346] The processing component 802 generally controls the overall operation of the electronic device 800, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 802 may include one or more modules to facilitate the interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.

[0347] The memory 804 is configured to store various types of data to support operations on the electronic device 800. Examples of such data include instructions for any application or method operating on the electronic device 800, contact data, phone book data, messages, pictures, videos, etc. The memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0348] The power component 806 provides power to the various components of the electronic device 800. The power component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the electronic device 800.

[0349] The multimedia component 808 includes a screen that provides an output interface between the electronic device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the electronic device 800 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

[0350] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC), and when the electronic device 800 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 804 or sent via the communication component 816. In some embodiments, the audio component 810 also includes a speaker for outputting audio signals.

[0351] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: home button, volume button, start button, and lock button.

[0352] The sensor assembly 814 includes one or more sensors for providing various aspects of status assessment for the electronic device 800. For example, the sensor assembly 814 can detect the open / closed state of the electronic device 800, the relative positioning of the components, such as the display and keypad of the electronic device 800, and the sensor assembly 814 can also detect the position change of the electronic device 800 or a component of the electronic device 800, the presence or absence of contact between the user and the electronic device 800, the orientation or acceleration / deceleration of the electronic device 800, and the temperature change of the electronic device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0353] The communication component 816 is configured to facilitate wired or wireless communication between the electronic device 800 and other devices. The electronic device 800 can access a wireless network based on a communication standard, such as WiFi, 4G or 5G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0354] In an exemplary embodiment, the electronic device 800 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above methods.

[0355] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions, and the instructions can be executed by a processor 820 of an electronic device 800 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0356] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.

[0357] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0358] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, fragment or portion of code comprising one or more executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.

[0359] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute the instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purpose of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.

[0360] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0361] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.

[0362] In addition, each functional unit in each embodiment of the present application may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.

[0363] The storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, etc. Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limiting the present application. A person of ordinary skill in the art may change, modify, replace and modify the above embodiments within the scope of the present application.

Claims

1. A medication management method, characterized in that: Applied to smart medicine boxes, including: Obtaining a medication reminder voice and a medication reminder text for a target object at at least one set medication time sent by a server; wherein the medication reminder voice for each medication time is obtained by performing speech synthesis on the medication reminder text for each medication time according to the timbre and voice style of a reference audio; and the medication reminder text for each medication time includes target attribute information of at least one first medicine to be taken at each medication time and a corresponding medicine storage compartment in a smart medicine box; For each medication time, in response to the arrival of the medication time, a medication reminder voice for the medication time is played, and indicator lights on the medicine storage compartments corresponding to the first medicines to be taken at the medication time are controlled to light up.

2. The method according to claim 1, characterized in that The medication reminder text at the medication time includes the quantity of each first medicine to be taken, and the control of lighting up the indicator lights on the medicine storage grids corresponding to each first medicine to be taken at the medication time includes: Determining target indicator lights to be lit on medicine storage compartments corresponding to the respective first medicines to be taken according to the quantities of the respective first medicines to be taken corresponding to the medication taking time; The target indicators on the medicine storage grids corresponding to the first medicines to be taken are controlled to light up.

3. The method according to claim 1, characterized in that The method further comprises: Acquire a first image captured by a camera; wherein the first image includes the second medicine in each medicine storage compartment of the current smart medicine box; Sending the first image to the server; wherein the first image is used by the server to determine whether the second medicine in each medicine storage compartment is a mixed medicine, and in response to determining that the second medicine in the first medicine storage compartment is a mixed medicine, generating a first prompt message according to a set reminder method, and sending the first prompt message to the smart medicine box; According to the first prompt information, a reminder is given for mixing medicines in the first medicine storage compartment.

4. The method according to claim 1, characterized in that The method further comprises: For each of the medicine storage compartments, the weight of the second medicine in the medicine storage compartment is monitored according to a sensor on the medicine storage compartment; In response to monitoring a change in the weight of the second medicine in the second medicine storage compartment, determining the amount of the second medicine stored in the second medicine storage compartment according to the weight of the second medicine in the second medicine storage compartment before and after the change; The quantity of the second medicine stored in the second medicine storage compartment is synchronized to the server.

5. The method according to claim 1, characterized in that The method further comprises: Acquire control instructions generated by the client based on the detected user operation; wherein the control instructions include positioning instructions and shooting instructions; According to the positioning instruction, the smart medicine box is controlled to perform positioning to obtain position information; According to the shooting instruction, the smart medicine box is controlled to shoot the environment to obtain an environment picture; In response to determining that the smart medicine box is in an outdoor environment according to the environment picture, the location information is sent to the server, and / or the smart medicine box is controlled to issue a voice prompt.

6. The method according to claim 5, characterized in that The method further comprises: In response to determining that the smart medicine box is in an indoor environment according to the environment picture, the smart medicine box is controlled to issue a voice prompt.

7. The method according to claim 1, characterized in that The method further comprises: In response to detecting that the first medicine to be taken corresponding to the medication time is taken out from the corresponding medicine storage compartment, the identification, quantity and corresponding medicine storage compartment of each first medicine taken out at the medication time are sent to the server.

8. A medication management method, characterized in that: Applied to the client, including: Obtaining a taking plan for each of at least one second drug to be taken by the target subject; wherein the taking plan for each of the second drugs includes attribute information of each of the second drugs and the drug storage compartment to which the second drugs belong in the smart medicine box; The at least one second drug taking plan is sent to the server; wherein the at least one second drug taking plan is used for the server to generate a medication reminder text for at least one set medication time, and the medication reminder text for each medication time is voice synthesized according to the timbre and voice style of the reference audio to obtain the medication reminder voice for each medication time, and the medication reminder voice and medication reminder text for each medication time are sent to the smart medicine box; wherein each medication reminder voice and medication reminder text for each medication time is used for the smart medicine box to play the medication reminder voice for the medication time in response to the arrival of the medication time, and to control the lighting of the indicator lights on the medicine storage compartments corresponding to each first drug to be taken at the medication time; Obtaining the medication reminder text for each medication time sent by the server; A display page is generated according to the medication reminder texts for each medication time.

9. The method according to claim 8, characterized in that Before sending the at least one second drug administration plan to the server, the method further includes: For each of the medication taking time, in response to determining that there are a plurality of first drugs to be taken simultaneously at the medication taking time, comparing the medicinal property information of the plurality of first drugs; In response to determining that there are a plurality of first drugs whose medicinal property information conflicts with each other among the plurality of first drugs, an abnormal warning of drug medicinal property conflict is issued.

10. The method according to claim 8, characterized in that The method further comprises: generating a control instruction based on the detected user operation; The control instruction is sent to the smart medicine box; wherein the control instruction includes a positioning instruction and a shooting instruction.

11. The method according to claim 10, characterized in that The method further comprises: Obtaining the location information of the smart medicine box sent by the server; According to the location information of the smart medicine box, the location information of the target object carrying the smart medicine box is determined, and the location information of the target object is displayed.

12. A medication management method, characterized in that: Applied to the server, including: Acquire the reference audio sent by the client and the medication plan of each of the at least one second drug to be taken by the target subject; Generate a medication reminder text for at least one medication time set according to the medication plan of the at least one second medication; wherein the medication reminder text for each medication time includes target attribute information of the first medication to be taken at each medication time and the corresponding medicine storage compartment in the smart medicine box; Perform speech synthesis on the medication reminder text for each medication taking time according to the timbre and voice style of the reference audio to obtain the medication reminder voice for each medication taking time; The medication reminder voice and medication reminder text for each medication taking time are sent to the smart medicine box, and the medication reminder text for each medication taking time is sent to the client; wherein, each medication reminder voice and medication reminder text for each medication taking time is used for the smart medicine box to respond to the arrival of the medication time, play the medication reminder voice for the medication time, and control the lighting of the indicator lights on the medicine storage compartments corresponding to each first medicine to be taken at the medication time; the medication reminder text for each medication time is used for the client to generate a display page.

13. The method according to claim 12, characterized in that The method further comprises: Acquire a first image of a second medicine stored in the smart medicine box; Recognize the first image to determine whether the second medicine stored in each medicine storage compartment of the smart medicine box is a mixed medicine; In response to determining that the second medicine stored in the first medicine storage compartment is a mixed medicine, generating a first prompt message according to a set reminder method; The first prompt message is sent to the smart medicine box; wherein the first prompt message is used for the smart medicine box to remind the mixed placement of medicines in the first medicine storage compartment.

14. The method according to claim 12, characterized in that The at least one set medication time belongs to the current set time period, and after obtaining the reference audio sent by the client and the medication plan of each of the at least one second medication to be taken by the target object, the method further includes: Generate medication reminder texts for each medication time in the next set time period of the current set time period according to the medication plan of the at least one second drug; Determine whether there is a target medicine storage compartment that needs to be replenished according to the first quantity of each third medicine to be taken at each medication time in the next set time period and the second quantity of each third medicine in the corresponding medicine storage compartment in the smart medicine box; In response to the existence of a target medicine storage compartment that needs to be replenished with medicines, generating a medicine replenishment reminder for the target medicine storage compartment; The medicine replenishment reminder of the target medicine storage compartment is sent to the client.

15. The method according to claim 12, characterized in that The method further comprises: Get the location information of the smart medicine box; The location information of the smart medicine box is sent to the client; wherein the location information is used for the client to determine the location information of the target object carrying the smart medicine box according to the location information, and to display the location information of the target object.

16. A medication management device, characterized in that: Applied to smart medicine boxes, including: An acquisition module is used to acquire a medication reminder voice and a medication reminder text of a target object at at least one set medication time sent by a server; wherein the medication reminder voice at each medication time is obtained by performing speech synthesis on the medication reminder text at each medication time according to the timbre and voice style of the reference audio; and the medication reminder text at each medication time includes target attribute information of at least one first medicine to be taken at each medication time and a medicine storage compartment in the corresponding smart medicine box; The reminder module is used for playing a medication reminder voice for each medication time in response to the arrival of the medication time, and controlling the lighting of indicator lights on the medicine storage grids corresponding to each first medicine to be taken at the medication time.

17. A medication management device, characterized in that: Applied to the client, including: A first acquisition module is used to acquire a taking plan of each of the at least one second drug to be taken by the target subject; wherein the taking plan of each of the second drugs includes attribute information of each of the second drugs and the medicine storage compartment to which the second drugs belong in the smart medicine box; A sending module, used for sending the taking plan of the at least one second drug to the server; wherein the taking plan of the at least one second drug is used for the server to generate a medication reminder text for at least one set medication time, perform speech synthesis on the medication reminder text for each medication time according to the timbre and voice style of the reference audio, obtain the medication reminder voice for each medication time, and send the medication reminder voice and medication reminder text for each medication time to the smart medicine box; wherein each medication reminder voice and medication reminder text for each medication time is used for the smart medicine box to play the medication reminder voice for the medication time in response to the arrival of the medication time, and control the lighting of the indicator lights on the medicine storage grids corresponding to each first drug to be taken at the medication time; A second acquisition module is used to acquire the medication reminder text of each medication time sent by the server; The display module is used to generate a display page according to the medication reminder text of each medication time.

18. A medication management device, characterized in that: Applied to the server, including: An acquisition module, used for acquiring the reference audio sent by the client and a medication plan of each of the at least one second drug to be taken by the target subject; A generating module, for generating a medication reminder text for at least one medication taking time according to the medication taking plan of the at least one second medication; wherein the medication reminder text for each medication taking time includes target attribute information of the first medication to be taken at each medication taking time and the corresponding medicine storage compartment in the smart medicine box; A synthesis module, used to perform speech synthesis on the medication reminder text at each medication time according to the timbre and voice style of the reference audio, to obtain the medication reminder voice at each medication time; A sending module is used to send the medication reminder voice and medication reminder text for each medication taking time to the smart medicine box, and to send the medication reminder text for each medication taking time to the client; wherein, each medication reminder voice and medication reminder text for each medication taking time is used for the smart medicine box to respond to the arrival of the medication time, play the medication reminder voice for the medication time, and control the lighting of indicator lights on the medicine storage compartments corresponding to each first medicine to be taken at the medication time; the medication reminder text for each medication time is used for the client to generate a display page.

19. An electronic device, characterized in that: The invention comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the method described in any one of claims 1 to 7 is implemented, or the method described in any one of claims 8 to 11 is implemented, or the method described in any one of claims 12 to 15 is implemented.

20. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, it implements the method according to any one of claims 1 to 7, or implements the method according to any one of claims 8 to 11, or implements the method according to any one of claims 12 to 15.