A medicinal material feeding method, system, terminal device and storage medium

By acquiring feeding demand information and using target feeding equipment for medicinal material feeding planning and real-time monitoring, the problems of high manual handling intensity and feeding errors in the traditional medicinal material feeding process have been solved, thereby improving the accuracy and efficiency of medicinal material feeding.

CN116227880BActive Publication Date: 2026-03-03HUNAN WIDESEA INTELLIGENCE EQUIP CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310236471.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-03-08
Publication Date
2026-03-03
Estimated Expiration
2043-03-08

AI Technical Summary

Technical Problem

In traditional Chinese medicine manufacturing plants, the traditional process of adding medicinal materials involves high manual handling intensity, a high risk of errors in material addition, and the ease with which errors can occur in the timing and completion of material addition, resulting in poor efficacy of the added medicinal materials.

Method used

By acquiring feeding requirements, analyzing the extraction tank number, medicinal material type, and feeding quantity, the target feeding equipment is used for weighing and route planning to control the delivery of medicinal materials to the extraction tank. The feeding progress is monitored in real time and warning information is generated to ensure that the feeding of medicinal materials meets the standards.

Benefits of technology

This reduces extraction failures and drug deterioration caused by non-standard dosage of medicinal materials, improves the accuracy and efficiency of medicinal material application, and ensures the effectiveness of medicinal materials in the final extraction tank.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116227880B_ABST
    Figure CN116227880B_ABST
Patent Text Reader

Abstract

The application relates to the technical field of medicinal material processing, and in particular relates to a medicinal material feeding method and system, a terminal device and a storage medium. The method comprises the following steps: if the current weight is in a feeding weight difference interval corresponding to a feeding amount, obtaining and associating a corresponding device identification number and an extraction tank number, generating and identifying a corresponding conveying and feeding route; obtaining a predicted feeding time corresponding to the conveying and feeding route; if the predicted feeding time does not exceed a medicinal material conveying time threshold value, moving to a target extraction tank according to the conveying and feeding route; if the identification number of the target extraction tank is consistent with the extraction tank number, feeding a medicinal material type into the target extraction tank and obtaining a corresponding feeding progress; and if the feeding progress does not meet a feeding progress standard corresponding to the medicinal material type, obtaining a current medicinal material feeding real-time picture and generating corresponding warning information according to the current medicinal material feeding real-time picture. The medicinal material feeding method, system, terminal device and storage medium provided by the application can improve the feeding effect of medicinal materials.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of medicinal material processing technology, and in particular to a method, system, terminal equipment and storage medium for dispensing medicinal materials. Background Technology

[0002] In traditional Chinese medicine (TCM) pharmaceutical factories, TCM extraction is a crucial technology, and decoction and maceration are currently the most commonly used extraction methods. Most older workshops in pharmaceutical factories typically use manual labor to transport medicinal materials to the extraction workshop and feed them into the extraction tanks. Some newly built workshops also use conveyor belts to feed the medicinal materials.

[0003] In the traditional process of dispensing medicinal materials, operators usually need to manually carry the weighed materials to the front of the container for dispensing. However, this method is physically demanding, and if not careful, there is a risk of dispensing errors, which can lead to the waste of the entire container. In addition, workers are prone to misremembering information such as whether dispensing is complete and the dispensing time, resulting in poor dispensing effect. Summary of the Invention

[0004] To improve the effectiveness of medicinal herb delivery, this application provides a method, system, terminal equipment, and storage medium for medicinal herb delivery.

[0005] In a first aspect, this application provides a method for dispensing medicinal materials, comprising the following steps:

[0006] Obtain material feeding requirements;

[0007] Analyze the feeding requirements information to determine the corresponding extraction tank number, medicinal material type, and feeding quantity;

[0008] If a target dispensing device exists, the target medicinal material corresponding to the medicinal material type is put into the target dispensing device according to the feeding amount and the corresponding current weighing weight is obtained;

[0009] If the current weighing weight is within the range of the difference in material weight corresponding to the feeding amount, then obtain the device identification number corresponding to the target feeding device;

[0010] By associating the device identification number with the extraction tank number, the corresponding delivery route can be obtained;

[0011] Identify the delivery route and obtain the estimated delivery time corresponding to the target delivery device;

[0012] If the estimated delivery time does not exceed the medicinal material delivery time threshold, then control the target delivery device to move to the target extraction tank corresponding to the extraction tank number according to the delivery route;

[0013] If the identification number of the target extraction tank matches the extraction tank number, then the medicinal material type is put into the target extraction tank and the corresponding delivery progress is obtained;

[0014] If the delivery progress meets the delivery progress standard corresponding to the medicinal material type, then a delivery record corresponding to the current medicinal material type is generated;

[0015] If the delivery progress does not meet the delivery progress standard corresponding to the type of medicinal material, then the real-time image of the current medicinal material delivery is obtained, and a corresponding warning message is generated based on the real-time image of the current medicinal material delivery.

[0016] By adopting the above technical solution, based on the analysis results of the feeding demand information, the basic feeding information of the current medicinal materials can be determined. Then, it is determined whether the current weighing weight corresponding to the target feeding equipment meets the specified error standard for the feeding amount, i.e., the feeding weight difference range. This can reduce the occurrence of medicinal material extraction failures due to non-standard feeding amounts. If the current weighing weight meets the corresponding error standard, the current equipment identification number and the extraction tank number corresponding to the current medicinal material feeding extraction tank are associated to generate a corresponding conveying route. Further, it is determined whether the estimated delivery time corresponding to the above conveying route meets the time range specified by the medicinal material delivery time threshold. This can reduce the occurrence of some medicinal materials deteriorating or losing their effectiveness due to excessive delivery time. If the conditions are met, the dispensing progress of the target dispensing equipment during the dispensing of medicinal materials is further obtained. By monitoring the dispensing progress, it is possible to promptly detect whether the medicinal materials are flowing smoothly into the extraction tank, which can reduce the occurrence of decreased extraction efficiency due to excessive dispensing time. If the dispensing progress meets the dispensing progress standard corresponding to the type of medicinal material, a corresponding dispensing record is generated for the purpose of retaining dispensing information. If it does not meet the standard, the real-time image of the current dispensing of medicinal materials is obtained as a corresponding warning message to prompt staff to handle it in a timely manner. Because the dispensing process of medicinal materials is comprehensively controlled by combining the demand for medicinal materials, the working status of the target dispensing equipment, and the receiving information of the corresponding extraction tank during the process of assembling medicinal materials into the final extraction tank, the dispensing effect of medicinal materials is improved.

[0017] Optionally, after parsing the feeding requirement information and determining the corresponding extraction tank number, medicinal material type, and feeding amount, the following steps are also included:

[0018] If the target delivery device does not currently exist, obtain the current delivery device status table;

[0019] Identify the current deployment device status table and obtain the deployment implementation progress corresponding to the deployment device;

[0020] Based on the deployment implementation progress, set the corresponding priority of the deployment device;

[0021] Based on the specified priority, the device identification number corresponding to the delivery device is output.

[0022] By adopting the above technical solution, and combining the current implementation progress of the delivery equipment with its corresponding priority sequence number to obtain the delivery equipment corresponding to the equipment identification number, the efficiency of obtaining idle delivery equipment is improved, thereby further enhancing the delivery efficiency of medicinal materials.

[0023] Optionally, obtaining the device identification number corresponding to the delivery device according to the priority of the index includes the following steps:

[0024] If the priority of the label corresponding to the delivery device is the same, then the corresponding pre-selected delivery device is obtained;

[0025] Identify the pre-selected delivery device and obtain its corresponding performance parameters;

[0026] By combining the performance parameters and the material feeding requirements, a corresponding feeding matching degree is generated;

[0027] Based on the delivery matching degree, the device identification number corresponding to the delivery device is output.

[0028] By adopting the above technical solution, and combining the performance parameters of the dispensing equipment with the actual dispensing requirements of the medicinal materials corresponding to the current dispensing needs, a matching degree of medicinal material dispensing can be generated that can be intuitively displayed to the staff, thereby improving the efficiency of selecting suitable dispensing equipment.

[0029] Optionally, after the step of feeding the medicinal material type into the target feeding device according to the feeding amount and obtaining the corresponding current weight if a target feeding device exists, the method further includes the following steps:

[0030] If the current weighing weight exceeds the range of the weight difference corresponding to the feeding amount, then the corresponding feeding amount difference is obtained;

[0031] Identify the differences in dosage and obtain the corresponding results of herbal extraction;

[0032] Based on the differences in dosage and the results of the extraction of medicinal materials, corresponding abnormal prompts are generated.

[0033] By adopting the above technical solution, based on the abnormal prompts, staff can easily understand what kind of medicinal material extraction consequences will be caused by the differences in the addition of different medicinal materials, thereby improving the safety of medicinal materials in the assembly process.

[0034] Optionally, after generating the corresponding abnormal prompt item by combining the dosage difference and the result of the medicinal material extraction, the following steps are also included:

[0035] Determine whether the error message is in a confirmed state;

[0036] If the abnormality prompt is in the confirmed state, then determine whether the difference in dosage has been eliminated;

[0037] If the discrepancy in the amount of delivery is not eliminated, the current target delivery device is locked, and the delivery location and delivery personnel information corresponding to the target delivery device are recorded;

[0038] If the difference in delivery volume has been eliminated, then the device identification number corresponding to the target delivery device is output.

[0039] By adopting the above technical solution, it is possible to further determine whether the dosage difference when the abnormal prompt item is in the confirmed state has been eliminated, thereby reducing the occurrence of extraction abnormalities caused by multiple oversights in the assembly of medicinal materials.

[0040] Optionally, if the estimated delivery time does not exceed the medicinal material delivery time threshold, then the target delivery device moves to the target extraction tank corresponding to the extraction tank number according to the delivery route, which includes the following steps:

[0041] If the estimated delivery time does not exceed the medicinal material delivery time threshold, the target delivery device moves according to the delivery route and obtains the corresponding driving information.

[0042] Based on the driving information, determine whether the target delivery device is blocked;

[0043] If the target delivery device becomes congested, the corresponding delivery route will be adjusted.

[0044] If there are multiple adjusted delivery routes, then the historical passage records corresponding to each adjusted delivery route are obtained. The historical passage records include the ground material traveled, the load weight of the target delivery equipment, and the width and length of the route.

[0045] Based on the historical travel records, obtain the corresponding target adjustment delivery route from multiple adjustment delivery routes;

[0046] The target delivery device adjusts its delivery route according to the target and moves to the target extraction tank corresponding to the extraction tank number.

[0047] By adopting the above technical solution, a comprehensive analysis of the historical traffic records corresponding to the adjusted delivery route can be conducted, thereby selecting the optimal target delivery route and reducing the occurrence of a decline in the quality of medicinal materials due to untimely delivery.

[0048] Optionally, if the delivery progress does not meet the delivery progress standard corresponding to the type of medicinal material, then obtaining the current real-time image of the medicinal material delivery and generating corresponding warning information based on the current real-time image of the medicinal material delivery includes the following steps:

[0049] If the feeding progress does not meet the feeding progress standard corresponding to the type of medicinal material, then identify the real-time feed of the current medicinal material and obtain the corresponding abnormal feeding screen;

[0050] Identify the abnormal feeding screen and obtain the corresponding abnormal handling strategy;

[0051] Based on the abnormal material feeding screen and the abnormal handling strategy, the corresponding warning information is generated.

[0052] By adopting the above technical solution, abnormal feeding screens can be identified to obtain corresponding abnormal handling strategies, and corresponding warning information can be generated, thereby improving the efficiency of staff in handling abnormal feeding situations.

[0053] Secondly, this application provides a medicinal material dispensing system, comprising:

[0054] The first acquisition module is used to acquire material feeding requirement information;

[0055] The parsing module is used to parse the feeding requirement information and determine the corresponding extraction tank number, medicinal material type and feeding amount;

[0056] The assembly module, if a target dispensing device exists, is used to dispense the medicinal material type into the target dispensing device according to the feeding amount and obtain the corresponding current weighing weight;

[0057] If the current weighing weight is within the range of weight difference corresponding to the feeding amount, the second acquisition module is used to acquire the device identification number corresponding to the target feeding device.

[0058] The association module is used to associate the device identification number and the extraction tank number to obtain the corresponding delivery route;

[0059] The identification module is used to identify the delivery route and obtain the estimated delivery time corresponding to the target delivery device;

[0060] If the estimated delivery time does not exceed the medicinal material delivery time threshold, the control module is used to control the target delivery device to move to the target extraction tank corresponding to the extraction tank number according to the delivery route.

[0061] The feeding module is used to feed the medicinal material into the target extraction tank and obtain the corresponding feeding progress if the identification number of the target extraction tank matches the extraction tank number.

[0062] If the delivery progress meets the delivery progress standard corresponding to the medicinal material type, the first generation module is used to generate the delivery record corresponding to the current medicinal material type.

[0063] If the delivery progress does not meet the delivery progress standard corresponding to the type of medicinal material, the second generation module is used to obtain the real-time image of the current medicinal material delivery and generate corresponding warning information based on the real-time image of the current medicinal material delivery.

[0064] By adopting the above technical solution, based on the analysis results of the material feeding requirement information from the analysis module, the basic feeding information of the current medicinal materials can be determined. Then, it is determined whether the current weighing weight corresponding to the target feeding device obtained through the assembly module meets the specified error standard for the feeding amount, i.e., the feeding weight difference range. This can reduce the occurrence of medicinal material extraction failures due to non-standard feeding amounts. If the current weighing weight meets the corresponding error standard, the current equipment identification number and the extraction tank number corresponding to the current medicinal material feeding extraction tank are associated through the association module to generate a corresponding conveying route. Further, it is determined whether the estimated delivery time corresponding to the above conveying route meets the time range specified for the medicinal material delivery time threshold. This can reduce the occurrence of some medicinal materials deteriorating or losing their effectiveness due to excessive delivery time. If the specified time is met... Furthermore, the feeding module obtains the feeding progress of the target feeding device during the feeding of medicinal materials. By monitoring the feeding progress, it is possible to promptly detect whether the medicinal materials are flowing smoothly into the extraction tank, which can reduce the occurrence of decreased extraction efficiency due to excessive feeding time. If the feeding progress meets the feeding progress standard corresponding to the type of medicinal material, the first generation module generates a corresponding feeding record for information retention. If it does not meet the standard, the second generation module obtains the real-time image of the current feeding of medicinal materials as a corresponding warning message to prompt staff to handle it in a timely manner. Since the feeding process of medicinal materials is comprehensively controlled by combining the demand for medicinal materials, the working status of the target feeding device, and the receiving information of the corresponding extraction tank during the feeding process, the feeding effect of medicinal materials is improved.

[0065] Thirdly, this application provides a terminal device, which adopts the following technical solution:

[0066] A terminal device includes a memory and a processor. The memory stores computer instructions that can run on the processor. When the processor loads and executes the computer instructions, it employs the aforementioned method for dispensing medicinal materials.

[0067] By adopting the above technical solution, a computer instruction is generated by the above-mentioned method of administering medicinal materials and stored in a memory, so that it can be loaded and executed by a processor. In this way, a terminal device can be made based on the memory and the processor, which is convenient to use.

[0068] Fourthly, this application provides a computer-readable storage medium, which adopts the following technical solution:

[0069] A computer-readable storage medium storing computer instructions, wherein when the computer instructions are loaded and executed by a processor, the aforementioned method for dispensing medicinal materials is employed.

[0070] By adopting the above technical solution, a method for dispensing medicinal materials is used to generate computer instructions, which are then stored in a computer-readable storage medium for loading and execution by a processor. The computer-readable storage medium facilitates the reading and storage of computer instructions.

[0071] In summary, this application includes at least one of the following beneficial technical effects: Based on the analysis results of the feeding demand information, the basic feeding information of the current medicinal materials can be determined. Then, it is determined whether the current weighing weight corresponding to the target feeding device meets the specified error standard for the feeding amount, i.e., the feeding weight difference range. This can reduce the occurrence of medicinal material extraction failures due to non-standard feeding amounts. If the current weighing weight meets the corresponding error standard, the current equipment identification number and the extraction tank number corresponding to the current medicinal material feeding extraction tank are associated to generate a corresponding conveying route. Further, it is determined whether the expected delivery time corresponding to the above conveying route meets the time range specified for the medicinal material delivery time threshold. This can reduce the possibility of some medicinal materials deteriorating or losing their effectiveness due to excessive delivery time. If the conditions are met, the feeding progress of the target feeding device during the feeding process is further obtained. By observing the feeding progress, it is possible to promptly detect whether the feeding process of the medicinal materials is smooth when entering the extraction tank, which can reduce the occurrence of reduced extraction effect due to excessive feeding time. If the feeding progress meets the feeding progress standard corresponding to the medicinal material type, a corresponding feeding record is generated for the purpose of retaining the feeding information. If it does not meet the standard, the real-time image of the current feeding process is obtained as a corresponding warning message to prompt the staff to handle it in time. Since the feeding process of medicinal materials is comprehensively controlled by combining the medicinal material requirements, the working status of the target feeding device, and the corresponding extraction tank receiving information during the feeding process, the feeding effect of medicinal materials is improved. Attached Figure Description

[0072] Figure 1 This is a flowchart illustrating steps S101 to S110 of a method for applying medicinal materials according to this application.

[0073] Figure 2 This is a flowchart illustrating steps S201 to S204 of a method for applying medicinal materials according to this application.

[0074] Figure 3 This is a flowchart illustrating steps S301 to S304 of a method for applying medicinal materials according to this application.

[0075] Figure 4 This is a flowchart illustrating steps S401 to S403 of a method for applying medicinal materials according to this application.

[0076] Figure 5 This is a flowchart illustrating steps S501 to S504 of a method for applying medicinal materials according to this application.

[0077] Figure 6 This is a flowchart illustrating steps S601 to S606 of a method for applying medicinal materials according to this application.

[0078] Figure 7 This is a flowchart illustrating steps S701 to S703 of a method for applying medicinal materials according to this application.

[0079] Figure 8 This is a schematic diagram of a medicinal herb dispensing system according to this application.

[0080] Explanation of reference numerals in the attached figures:

[0081] 1. First Acquisition Module; 2. Parsing Module; 3. Assembly Module; 4. Second Acquisition Module; 5. Association Module; 6. Identification Module; 7. Control Module; 8. Feeding Module; 9. First Generation Module; 10. Second Generation Module. Detailed Implementation

[0082] The following is in conjunction with the appendix Figure 1-8 This application will be described in further detail.

[0083] This application discloses a method for dispensing medicinal materials, such as... Figure 1 As shown, it includes the following steps:

[0084] S101. Obtain material feeding requirements information;

[0085] S102. Analyze the feeding requirement information to determine the corresponding extraction tank number, medicinal material type, and feeding quantity;

[0086] S103. If a target feeding device exists, the target medicinal material corresponding to the type of medicinal material is fed into the target feeding device according to the feeding amount and the corresponding current weighing weight is obtained;

[0087] S104. If the current weighing weight is within the range of the difference between the feeding weight and the feeding amount, then obtain the equipment identification number corresponding to the target feeding equipment;

[0088] S105. Associate the equipment identification number and extraction tank number to obtain the corresponding conveying and delivery route;

[0089] S106. Identify the delivery route and obtain the estimated delivery time for the target delivery device;

[0090] S107. If the expected delivery time does not exceed the medicinal material delivery time threshold, control the target delivery equipment to move to the target extraction tank corresponding to the extraction tank number according to the delivery route;

[0091] S108. If the identification number of the target extraction tank matches the extraction tank number, then put the medicinal material type into the target extraction tank and obtain the corresponding delivery progress.

[0092] S109. If the delivery progress meets the delivery progress standard corresponding to the type of medicinal material, then generate the delivery record corresponding to the current type of medicinal material;

[0093] S110. If the delivery progress does not meet the delivery progress standard corresponding to the type of medicinal material, obtain the real-time image of the current medicinal material delivery and generate the corresponding warning information based on the real-time image of the current medicinal material delivery.

[0094] In step S101, the material feeding requirement information is the material feeding requirement information corresponding to the document requirements of the MES system in the medicinal material extraction workshop.

[0095] In practical applications, MES system documents are files used to track production, collect, and analyze data. They can help companies manage resources more effectively, improve production efficiency, implement quality control, and achieve other objectives.

[0096] AGVs (Automated Guided Vehicles) are driverless robots that can operate automatically in factories. They can be used to automatically move materials, improve production efficiency, automate repetitive tasks, and achieve a variety of other purposes.

[0097] In steps S102 to S103, by parsing the above feeding requirement information, the type of medicinal material to be fed, i.e., the medicinal material type, the number of the extraction tank corresponding to the medicinal material feeding, i.e., the extraction tank number, and the weight of the medicinal material to be fed can be further confirmed.

[0098] Furthermore, it is determined whether a corresponding target delivery device exists. The target delivery device can be set as an AGV (Automated Guided Vehicle). An AGV is an autonomously navigational intelligent robot that can automatically perform complex tasks in specific environments, such as handling, assembly, and inspection. An AGV generally consists of two main parts: a detection device and a control unit used to control the behavior of the AGV.

[0099] Secondly, the target dispensing device refers to the herb dispensing device that is currently idle. If a target dispensing device exists, the target herb corresponding to the type of herb to be dispensed is put into the AGV cart according to the required dispensing amount. To verify the herb dispensing and assembly process, the current weighing weight of the AGV cart and the weight of the dispensing herb are obtained. For example, based on the dispensing requirements information corresponding to the MES system, the operator can first scan the vehicle identification barcode on the top cover of the AGV cart (e.g., cart number 01) using a handheld PDA, and then scan the barcode on the herb storage bag. At this time, the AGV cart hopper cover opens, and the herb to be dispensed can be poured into the hopper. A PDA is a small portable computer that can be used to store, organize, and process information such as emails, calendars, contacts, and various other applications. They are usually connected to the Internet via Wi-Fi or a network.

[0100] In step S104, the feeding weight difference range refers to the error range of the specified feeding amount. If the current weighing weight exceeds the feeding weight difference range corresponding to the feeding amount, it will cause the feeding of too much or too little medicinal material. The current weighing weight refers to the weight of the medicinal material fed into the target feeding device.

[0101] If too much medicinal material is added, it will first affect production efficiency, causing machine jams and affecting production progress; secondly, it will increase production costs, as excessive material addition will increase raw material consumption, thus increasing production costs. If too little medicinal material is added, it will reduce product quality, affecting the final product quality; in addition, it may also cause the production line to shut down because insufficient medicinal material will prevent normal operation.

[0102] Secondly, if the current weighing is within the range of the difference in the weight of the feed material, it means that it meets the feed material standard. Then, the device identification number corresponding to the current target feed device can be obtained and confirmed. The device identification number is set to distinguish the target feed device among multiple feed devices.

[0103] Furthermore, if the current weighing weight is not within the range of material weight difference corresponding to the feeding amount, an abnormal medicinal material assembly prompt message will be sent to the staff based on the current weighing weight.

[0104] In step S105, the device identification number and the extraction tank number are further associated to obtain the corresponding delivery route. The delivery route is determined by a GPS navigation system, which determines the route between the current target delivery device and the extraction tank to be delivered. The location of the extraction tank to be delivered can be obtained by searching for the corresponding extraction tank number on a map, where each extraction tank and its corresponding extraction tank number are pre-marked on the map.

[0105] In step S106, the confirmed delivery route is further identified to obtain the estimated delivery time, i.e., the travel time from the target delivery device to the corresponding extraction tank. The time required for the AGV to reach the extraction tank can be calculated in advance based on the AGV's normal driving speed and the length of the selected route. Alternatively, the time can be calculated in advance based on actual conditions encountered by the AGV, such as road congestion and the gradient of the route.

[0106] In step S107, the medicinal material delivery time threshold refers to the standard for the time used in the delivery process of medicinal materials. If the expected delivery time does not exceed the medicinal material delivery time threshold, it means that the time spent by the target delivery device in delivery meets the prescribed time standard. Then, the target delivery device is controlled to move to the target extraction tank corresponding to the extraction tank number according to the delivery route.

[0107] In practical applications, there are also limitations on the travel time between placing medicinal materials into the extraction tank. To ensure the quality and efficacy of the medicine, the medicinal materials should be placed into the extraction tank as soon as possible, and the extraction process should begin promptly. Generally, the time between placing the medicinal materials into the extraction tank should not exceed one hour. Exceeding one hour can affect the efficacy and quality of the medicine, as the medicinal materials may lose their active ingredients or be affected by environmental factors (such as temperature and humidity), thus reducing the medicine's effectiveness. In addition, the medicine may also be contaminated, affecting its efficacy and quality.

[0108] Furthermore, if the estimated delivery time exceeds the threshold for transporting medicinal materials, check if the battery of the target delivery device is depleted. If so, replace the battery promptly. Secondly, check the map for road congestion or other obstacles. If so, adjust the route in time to avoid delays due to road congestion.

[0109] In step S108, after the target delivery device arrives at the corresponding extraction tank, it can confirm whether it is the target extraction tank by scanning the identification barcode on the extraction tank. If the identification number of the target extraction tank matches the extraction tank number, in order to monitor the delivery progress of the medicinal materials in real time, the medicinal material type is put into the target extraction tank and the corresponding delivery progress is obtained. The delivery progress refers to the progress of the medicinal materials being put from the target delivery device into the corresponding extraction tank.

[0110] In practical applications, there are time restrictions when adding medicinal herbs to the extraction tank. The time for adding herbs must not exceed the prescribed time to avoid affecting the quality and efficacy of the medicine. At the same time, the temperature and humidity inside the extraction tank must be maintained within the normal range to ensure the quality and effectiveness of the medicine. Generally, the time for adding herbs to the tank should not exceed 20 minutes. Simultaneously, maintaining the temperature and humidity within the tank within the normal range is crucial to ensuring the effectiveness and quality of the medicine.

[0111] In step S109, the dispensing progress standard refers to the current time limit standard for dispensing medicinal materials. The length of the time limit standard depends on the nature and purpose of the medicinal material. If the dispensing progress meets the dispensing progress standard corresponding to the type of medicinal material, it means that the dispensing time standard for the current medicinal material is met. Then, a dispensing record corresponding to the current type of medicinal material is generated. The dispensing record includes information records of each node in the entire process of the medicinal material from assembly to dispensing to the extraction tank. This dispensing record is used to facilitate staff to trace the material.

[0112] In step S110, if the dispensing progress does not meet the dispensing progress standard corresponding to the type of medicinal material, a real-time image of the current medicinal material dispensing is obtained. This real-time image can be captured by a camera installed on the target dispensing device or extraction tank. Furthermore, a warning message is generated to alert the staff based on this real-time image. The time taken to dispense the medicine exceeding the dispensing progress standard may be due to the following reasons: 1. Delays during the operation; 2. The medicine volume is too large.

[0113] The herbal medicine delivery method provided in this embodiment can determine the basic delivery information of the current herbal medicine based on the analysis results of the material delivery requirement information. It then determines whether the current weighing weight corresponding to the target delivery equipment meets the specified error standard for the material delivery amount, i.e., the weight difference range. This can reduce the occurrence of herbal medicine extraction failures due to non-standard material delivery amounts. If the current weighing weight meets the corresponding error standard, it associates the current equipment identification number with the extraction tank number corresponding to the current herbal medicine delivery extraction tank to generate a corresponding delivery route. Furthermore, it determines whether the estimated delivery time corresponding to the above delivery route meets the time range specified by the herbal medicine delivery time threshold. This can reduce the occurrence of herbal medicine deterioration or reduced efficacy due to excessively long delivery times. If the conditions are met, the dispensing progress of the target dispensing equipment during the dispensing process of medicinal materials is further obtained. By monitoring the dispensing progress, it is possible to promptly detect whether the medicinal materials are flowing smoothly into the extraction tank, which can reduce the occurrence of decreased extraction efficiency due to excessive dispensing time. If the dispensing progress meets the dispensing progress standard corresponding to the type of medicinal material, a corresponding dispensing record is generated for the purpose of retaining dispensing information. If it does not meet the standard, the real-time image of the current dispensing of medicinal materials is obtained as a corresponding warning message to prompt staff to handle it in a timely manner. Since the dispensing process of medicinal materials is comprehensively controlled by combining the demand for medicinal materials, the working status of the target dispensing equipment, and the receiving information of the corresponding extraction tank during the process of assembling medicinal materials into the final extraction tank, the dispensing effect of medicinal materials is improved.

[0114] In one embodiment of this example, such as Figure 2 As shown, after parsing the feeding requirement information in step S102 and determining the corresponding extraction tank number, medicinal material type, and feeding amount, the following steps are also included:

[0115] S201. If there is no target delivery device currently, obtain the current delivery device status table;

[0116] S202. Identify the current status table of the deployment equipment and obtain the deployment progress corresponding to the deployment equipment;

[0117] S203. Set the priority of the deployment equipment according to the deployment implementation schedule;

[0118] S204. Output the device identification number corresponding to the delivery device according to the label priority.

[0119] In step S201, if there is no target delivery device, it means that there is no medicine delivery device in an idle state. In order to improve the efficiency of obtaining the target delivery device, the current delivery device status table is further obtained.

[0120] The current status table for dispensing medicinal herbs records the operational status of the dispensing equipment. To obtain the current operational status of multiple AGVs, remote control software can be used to view their operation. By monitoring and diagnosing the behavior of the AGVs in real time, the operational status of each AGV can be clearly understood. Additionally, sensors can be used to monitor the operation of the AGVs in real time, and their current operational status can be obtained based on their location and speed.

[0121] In step S202, the current status table of the dispensing equipment obtained above is further identified, and the dispensing implementation progress corresponding to the dispensing equipment is obtained. Through the dispensing implementation progress, staff can obtain the specific dispensing implementation status of multiple dispensing equipment in real time.

[0122] In steps S203 and S204, based on the deployment progress of the multiple herbal medicine dispensing devices obtained above, a priority sequence can be set for each dispensing device. The deployment progress indicates the specific working stage the herbal medicine dispensing device is currently in. For example, the herbal medicine dispensing device has three working stages: herbal medicine assembly, herbal medicine conveying, and herbal medicine dispensing. When the herbal medicine dispensing device completes the herbal medicine assembly stage, it has completed 30% of the deployment progress; when it completes the herbal medicine conveying stage, it has completed 60% of the deployment progress; and when it completes the herbal medicine dispensing stage, it has completed 100% of the deployment progress.

[0123] Furthermore, the priority of the labeling is set based on the actual implementation progress of the herb dispensing equipment; that is, the higher the implementation progress of the herb dispensing equipment, the higher its priority. The priority of the labeling refers to the labeling based on the implementation progress of the herb dispensing equipment. For example, if the implementation progress of herb A dispensing equipment is 60% and that of herb B dispensing equipment is 30%, then the priority of herb A dispensing equipment can be set to 1, and the priority of herb B dispensing equipment can be set to 2. Then, according to the order of the set priority, the equipment identification numbers corresponding to the dispensing equipment are output. For example, if the equipment identification number corresponding to priority 1 is dispensing equipment number 3, and the equipment identification number corresponding to priority 2 is dispensing equipment number 6, then dispensing equipment number 3 will be retrieved first according to priority 1, and then dispensing equipment number 6 will be retrieved according to priority 2.

[0124] The herbal medicine dispensing method provided in this embodiment combines the current implementation progress of the dispensing equipment with its corresponding priority sequence to obtain the dispensing equipment corresponding to the equipment identification number, thereby improving the efficiency of obtaining idle dispensing equipment and further enhancing the efficiency of herbal medicine dispensing.

[0125] In one embodiment of this example, such as Figure 3 As shown, step S204, which involves obtaining the device identification number corresponding to the delivery device based on the priority of the label, includes the following steps:

[0126] S301. If the priority of the corresponding labeling devices is the same, then obtain the corresponding pre-selected device;

[0127] S302. Identify the pre-selected delivery device and obtain the corresponding performance parameters;

[0128] S303. Combine performance parameters and material feeding requirements to generate the corresponding feeding matching degree;

[0129] S304. Based on the delivery matching degree, output the device identification number corresponding to the delivery device.

[0130] In steps S301 to S302, if the corresponding index priority of the dispensing devices is the same, in order to improve the efficiency of obtaining suitable medicinal material dispensing devices, the corresponding pre-selected dispensing devices are obtained and identified. The pre-selected dispensing devices are medicinal material dispensing devices with the same index priority.

[0131] Furthermore, the performance parameters of the aforementioned pre-selected dispensing equipment are obtained. These parameters may include the volumetric capacity of the dispensing equipment, its travel distance, and its durability and safety. First, the volumetric capacity of the dispensing equipment needs to be considered to ensure it can carry more herbs. Second, its travel distance needs to be considered to ensure it can deliver the herbs to their destination in the shortest possible time. Finally, its durability and safety must be considered to ensure it can successfully complete its herb delivery task.

[0132] In step S303, the corresponding dispensing matching degree is generated by combining the performance parameters and feeding requirements information obtained above. The dispensing matching degree is generated based on the adaptability of the performance parameters of the herb dispensing equipment and the current feeding requirements information. For example, if the herb type is large-volume herb obtained from the feeding requirements information, the actual holding volume capacity in the corresponding performance parameters of multiple herb dispensing equipment is compared to generate the dispensing matching degree. The larger the holding volume capacity of the herb dispensing equipment, the higher its corresponding dispensing matching degree.

[0133] In step S304, based on the delivery matching degree obtained above, the device identification number corresponding to the delivery device is output, and the device identification number corresponding to the delivery device with the highest delivery matching degree is obtained first.

[0134] The herbal medicine dispensing method provided in this embodiment combines the performance parameters of the dispensing equipment with the actual dispensing requirements of the herbs corresponding to the current feeding needs, and generates a herbal medicine dispensing matching degree that can be intuitively displayed to the staff, thereby improving the efficiency of selecting suitable dispensing equipment.

[0135] In one embodiment of this example, such as Figure 4 As shown, after step S103, which involves feeding the medicinal materials into the target dispensing device according to the feeding amount and obtaining the corresponding current weight, the following steps are also included:

[0136] S401. If the current weighing weight exceeds the range of material weight difference corresponding to the feeding amount, then obtain the corresponding feeding amount difference;

[0137] S402. Identify dosage differences and obtain the corresponding results of herb extraction;

[0138] S403. Based on the difference in dosage and the results of herb extraction, generate corresponding abnormal prompts.

[0139] In step S401, in order to further standardize the safety of the medicinal material assembly process, if the current weighing weight exceeds the feeding weight difference range corresponding to the feeding amount, the corresponding feeding amount difference is obtained. The feeding amount difference refers to the weight difference between the current weighing weight and the feeding amount.

[0140] In steps S402 to S403, excessive differences in the amount of medicinal materials added can have serious consequences. First, it will affect the quality of the product, as inaccurate addition of medicinal materials will lead to unstable performance and quality of the final product. Second, it will also affect production efficiency, as excessive differences in the amount of medicinal materials added will increase the consumption of raw materials, thereby reducing production efficiency. Finally, it may also affect safety, as excessive differences in the amount of medicinal materials added will cause the equipment to malfunction, thereby increasing safety hazards.

[0141] Secondly, based on the specific values ​​of the difference in dosage, the corresponding consequences of herbal extraction are obtained. The consequences of herbal extraction refer to the negative consequences in the extraction process corresponding to the current weight of the herbal material exceeding the range of the difference in the dosage. Too little or too much herbal material will bring different negative consequences, as detailed above. Further, by combining the actual dosage difference and its corresponding consequences of herbal extraction, corresponding abnormal prompts are generated to facilitate the relevant staff in handling the current dosage difference.

[0142] The herbal medicine dispensing method provided in this embodiment, based on the abnormality prompts, makes it easy for staff to know what kind of herbal medicine extraction consequences will result from different herbal medicine dispensing methods, thereby improving the safety of herbal medicines during the assembly process.

[0143] In one embodiment of this example, such as Figure 5 As shown, after generating the corresponding abnormal prompt item in step S403, which combines the dosage difference and the result of herb extraction, the following steps are also included:

[0144] S501. Determine whether the exception message item is in the confirmation state;

[0145] S502. If the abnormality prompt is in the confirmed state, determine whether the difference in dosage has been eliminated;

[0146] S503. If the difference in delivery volume is not eliminated, lock the current target delivery device and record the delivery location and delivery personnel information corresponding to the target delivery device;

[0147] S504. If the difference in delivery volume has been eliminated, output the device identification number corresponding to the target delivery device.

[0148] In step S501, in order to verify whether the staff have handled the discrepancy in the amount of feed safely, it is further determined whether the abnormal prompt item is in the confirmation state. The confirmation state means that the abnormal prompt item has been confirmed and known by the relevant staff.

[0149] In step S502, in order to reduce the occurrence of situations where the difference in the amount of feed is not eliminated due to the negligence of relevant staff, it is further determined whether the difference in the amount of feed has been eliminated. After receiving the confirmation instruction of the abnormal prompt item, the system will search and identify the difference in the amount of feed.

[0150] In steps S503 to S504, if the dosage discrepancy is not eliminated, it indicates that after confirming the dosage discrepancy, the staff may have failed to properly handle the corresponding dosage discrepancy due to momentary negligence or other subjective errors. Therefore, the current target dispensing device is locked, its further operation is stopped, and the dispensing location and personnel information corresponding to the target dispensing device are recorded to facilitate tracing the assembly point of the dosage discrepancy and related personnel. If the dosage discrepancy has been eliminated, it indicates that the staff has eliminated the dosage discrepancy after confirmation, and the device identification number corresponding to the target dispensing device is output.

[0151] The herbal medicine dispensing method provided in this embodiment further determines whether the dosage difference has been eliminated when the abnormal prompt item is in the confirmed state, thereby reducing the occurrence of extraction abnormalities caused by multiple oversights in herbal medicine assembly.

[0152] In one embodiment of this example, such as Figure 6 As shown, step S107, which states that if the estimated delivery time does not exceed the medicinal material delivery time threshold, involves the target delivery device moving to the target extraction tank corresponding to the extraction tank number according to the delivery route, includes the following steps:

[0153] S601. If the estimated delivery time does not exceed the threshold for the delivery time of medicinal materials, the target delivery equipment moves according to the delivery route and obtains the corresponding driving information;

[0154] S602. Determine whether the target delivery device is blocked based on driving information;

[0155] S603. If the target delivery device is blocked, obtain the corresponding adjustment delivery route;

[0156] S604. If multiple delivery routes are adjusted, obtain the historical passage records corresponding to each adjusted delivery route. The historical passage records include the ground material traveled, the load weight of the target delivery equipment, and the width and length of the route.

[0157] S605. Based on historical traffic records, obtain the corresponding target adjustment delivery route from multiple adjusted delivery routes;

[0158] S606. The target delivery device adjusts its delivery route according to the target and moves to the target extraction tank corresponding to the extraction tank number.

[0159] In steps S601 and S602, if the estimated delivery time does not exceed the medicinal material delivery time threshold, it indicates that the current target delivery device can deliver the medicinal material to the corresponding extraction tank on time. The target delivery device then moves according to the delivery route and acquires corresponding driving information, including the target delivery device's current position, speed, direction, and route. This information can be monitored in real time using sensors and GPS to promptly detect any malfunctions occurring during the target delivery device's operation and take timely measures to resolve the issues.

[0160] In step S603, if the target delivery device is blocked, in order to reduce the occurrence of the target delivery device being unable to deliver medicinal materials in a timely manner due to the blockage, the corresponding adjustment delivery line is obtained. The adjustment delivery line refers to the other delivery lines between the current target delivery position and the corresponding extraction tank, other than the current blocked delivery line.

[0161] In step S604, if there are multiple delivery routes to be adjusted, in order to select the optimal delivery route, the historical passage records corresponding to each delivery route are obtained. The historical passage records include the ground material being traveled, the load weight of the target delivery equipment, and the route width.

[0162] The surface material affects the speed and stability of the delivery equipment. For example, if the delivery equipment is an AGV (Automated Guided Vehicle), it will travel faster on a hard surface than on a soft surface. Furthermore, a hard surface ensures the AGV's stability, reducing safety hazards caused by instability. Secondly, the current load weight of the delivery equipment, as well as the width and length of the various adjustment routes, will affect its travel time.

[0163] In steps S605 and S606, based on historical traffic records, the optimal route, i.e., the target adjustment and delivery route, is selected from the multiple current adjustment and delivery routes. For example, if the current target delivery equipment is carrying a large amount of medicinal materials, a target adjustment and delivery route with a hard ground surface can be selected from the multiple adjustment and delivery routes. This reduces the risk of instability or related safety accidents caused by carrying too many medicinal materials. Subsequently, the target delivery equipment moves to the target extraction tank corresponding to the extraction tank number according to the currently selected target adjustment and delivery route.

[0164] The medicinal herb delivery method provided in this embodiment comprehensively analyzes the historical traffic records corresponding to the adjusted delivery route, thereby selecting the optimal target adjusted delivery route and reducing the occurrence of medicinal herb quality decline due to untimely delivery.

[0165] In one embodiment of this example, such as Figure 7 As shown, step S110, which involves obtaining a real-time image of the current medicinal herb distribution if the distribution progress does not meet the distribution progress standard corresponding to the type of medicinal herb, and generating a corresponding warning message based on the real-time image of the current medicinal herb distribution, includes the following steps:

[0166] S701. If the feeding progress does not meet the feeding progress standard corresponding to the type of medicinal material, identify the current real-time feeding screen of the medicinal material and obtain the corresponding abnormal feeding screen;

[0167] S702. Identify abnormal feeding screens and obtain corresponding abnormal handling strategies;

[0168] S703. Combine the abnormal feeding screen and the abnormal handling strategy to generate corresponding warning information.

[0169] In step S701, if the feeding progress does not meet the feeding progress standard corresponding to the type of medicinal material, the real-time image of the current medicinal material feeding is identified. This real-time image of the current medicinal material feeding can be captured by the camera equipment set on the target feeding device or the target extraction tank, and the abnormal feeding image corresponding to the real-time image of the current medicinal material feeding is further obtained.

[0170] Among them, the identification and acquisition of abnormal feeding images can be combined with video surveillance and artificial intelligence technology to identify the quantity, quality and standard feeding process characteristics of medicinal materials during the feeding process. If the current real-time image of medicinal material feeding does not meet the preset characteristic standards, the current real-time image of medicinal material feeding will be captured and the corresponding abnormal feeding image will be output.

[0171] In steps S702 to S703, in order to promptly detect and handle abnormal feeding situations, after identifying the abnormal feeding screen, the corresponding abnormal handling strategy is obtained. The abnormal handling strategy refers to the safety handling strategy corresponding to the abnormal feeding in the abnormal feeding screen. Furthermore, by combining the abnormal feeding screen and the abnormal handling strategy, a corresponding warning message is generated to prompt relevant personnel to handle the current abnormal feeding safely.

[0172] For example, abnormalities that may occur during the process of medicinal materials entering the extraction tank include: the target dispensing equipment traveling too fast or too slow, resulting in inaccurate dispensing of medicinal materials; the target dispensing equipment traveling unstably, resulting in inaccurate dispensing of medicinal materials; excessively large differences in the amount of medicinal materials dispensed, affecting product quality; and incorrect placement of medicinal materials, leading to blockages during the dispensing process.

[0173] Furthermore, in response to the aforementioned abnormal feeding situations, the corresponding anomaly handling strategies include real-time monitoring and diagnosis of the AGV's behavior to detect its driving information, such as position, speed, and direction, thereby promptly identifying any abnormalities in the AGV's movement; secondly, video surveillance and artificial intelligence technologies can be used to monitor the quantity and quality of medicinal materials during the feeding process in real time, as well as detect any abnormal quantities or quality of medicinal materials; in addition, sensors can be used to monitor the surrounding environment in real time to adjust the AGV's driving route in a timely manner, thereby reducing problems such as congestion and safety hazards.

[0174] The herbal medicine feeding method provided in this embodiment identifies abnormal feeding screens, obtains corresponding abnormal handling strategies, and further generates corresponding warning information, thereby improving the efficiency of staff in handling abnormal feeding situations.

[0175] This application discloses a medicinal material dispensing system, such as... Figure 8 As shown, it includes:

[0176] The first acquisition module 1 is used to acquire material feeding requirement information;

[0177] Module 2 is used to parse the feeding requirement information and determine the corresponding extraction tank number, medicinal material type and feeding amount;

[0178] Assembly module 3, if there is a target dispensing device, is used to put the medicinal materials into the target dispensing device according to the feeding amount and obtain the corresponding current weighing weight;

[0179] If the current weighing weight is within the range of weight difference corresponding to the amount of material fed, the second acquisition module 4 is used to acquire the device identification number corresponding to the target feeding device.

[0180] Module 5 is used to associate the equipment identification number and the extraction tank number to obtain the corresponding delivery route;

[0181] The identification module 6 is used to identify the delivery route and obtain the estimated delivery time corresponding to the target delivery device;

[0182] If the expected delivery time does not exceed the medicinal material delivery time threshold, the control module 7 is used to control the target delivery device to move to the target extraction tank corresponding to the extraction tank number according to the delivery route.

[0183] Feeding module 8: If the identification number of the target extraction tank matches the extraction tank number, the feeding module 8 is used to feed the medicinal material into the target extraction tank and obtain the corresponding feeding progress.

[0184] If the delivery progress meets the delivery progress standard corresponding to the type of medicinal material, the first generation module 9 is used to generate the delivery record corresponding to the current type of medicinal material.

[0185] If the delivery progress does not meet the delivery progress standard corresponding to the type of medicinal material, the second generation module 10 is used to obtain the real-time image of the current medicinal material delivery and generate corresponding warning information based on the real-time image of the current medicinal material delivery.

[0186] The medicinal herb delivery system provided in this embodiment, based on the analysis results of the material delivery requirements information from the analysis module 2, can determine the basic delivery information of the current medicinal herbs. Then, it determines whether the current weighing weight corresponding to the target delivery device, obtained through the assembly module 3, meets the specified error standard for the material delivery amount, i.e., the weight difference range. This can reduce the occurrence of extraction failures due to non-standard material delivery amounts. If the current weighing weight meets the corresponding error standard, the association module 5 associates the current device identification number with the extraction tank number corresponding to the current medicinal herb delivery extraction tank to generate a corresponding delivery route. It further determines whether the estimated delivery time corresponding to the above delivery route meets the time range specified by the medicinal herb delivery time threshold. This can reduce the occurrence of some medicinal herbs deteriorating or losing their effectiveness due to excessive delivery time. If the conditions are met, the feeding module 8 will further obtain the feeding progress of the target feeding device during the feeding process of medicinal materials. By observing the feeding progress, it is possible to promptly detect whether the medicinal materials are flowing smoothly into the extraction tank, which can reduce the occurrence of reduced extraction efficiency due to excessive feeding time. If the feeding progress meets the feeding progress standard corresponding to the medicinal material type, the first generation module 9 will generate the corresponding feeding record for retention of feeding information. If it does not meet the standard, the second generation module 10 will obtain the real-time image of the current medicinal material feeding as a corresponding warning message to prompt staff to handle it in a timely manner. Since the medicinal material feeding process is comprehensively controlled by combining the medicinal material requirements, the working status of the target feeding device, and the corresponding extraction tank receiving information during the feeding process of medicinal materials into the final extraction tank, the feeding effect of medicinal materials is improved.

[0187] It should be noted that the medicinal material dispensing system provided in this application embodiment also includes each module and / or corresponding sub-module corresponding to the logical function or logical step of any of the above-mentioned medicinal material dispensing methods, to achieve the same effect as each logical function or logical step, which will not be elaborated here.

[0188] This application also discloses a terminal device, including a memory, a processor, and computer instructions stored in the memory and capable of running on the processor, wherein when the processor executes the computer instructions, it employs any of the medicinal material dispensing methods described in the above embodiments.

[0189] The terminal device can be a computer device such as a desktop computer, a laptop computer, or a cloud server. The terminal device includes, but is not limited to, a processor and a memory. For example, the terminal device may also include input / output devices, network access devices, and buses.

[0190] The processor can be a central processing unit (CPU). Of course, depending on the actual use, it can also be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), off-the-shelf programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or any conventional processor, etc., and this application does not limit it.

[0191] The memory can be an internal storage unit of the terminal device, such as a hard disk or RAM of the terminal device, or an external storage device of the terminal device, such as a plug-in hard disk, smart memory card (SMC), secure digital card (SD), or flash memory card (FC) equipped on the terminal device. Furthermore, the memory can be a combination of internal storage units and external storage devices of the terminal device. The memory is used to store computer instructions and other instructions and data required by the terminal device. The memory can also be used to temporarily store data that has been output or will be output. This application does not limit this.

[0192] In this terminal device, any of the medicinal material delivery methods in the above embodiments can be stored in the terminal device's memory and loaded and executed on the terminal device's processor for convenient use.

[0193] This application also discloses a computer-readable storage medium, which stores computer instructions, wherein when the computer instructions are executed by a processor, any of the medicinal material dispensing methods described in the above embodiments are employed.

[0194] The computer instructions can be stored in a computer-readable medium. The computer instructions include computer instruction code, which can be in the form of source code, object code, executable file, or certain middleware. The computer-readable medium includes any entity or device capable of carrying computer instruction code, recording media, USB flash drive, portable hard drive, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media, etc. It should be noted that the computer-readable medium includes, but is not limited to, the above-mentioned components.

[0195] In this embodiment, any of the methods for dispensing medicinal materials described above can be stored in the computer-readable storage medium and loaded and executed on the processor to facilitate the storage and application of the above methods.

[0196] The above are all preferred embodiments of this application, and are not intended to limit the scope of protection of this application. Therefore, all equivalent changes made in accordance with the structure, shape and principle of this application should be covered within the scope of protection of this application.

Claims

1. A method of dispensing a medicinal material, characterized by, The method comprises the following steps: acquiring material feeding demand information; analyzing the material feeding demand information to determine corresponding extraction tank number, medicinal material type and material feeding amount; if a target feeding device exists, feeding the medicinal material type corresponding to the material feeding amount into the target feeding device according to the material feeding amount and acquiring corresponding current weight; if the current weight is in a material weight difference interval corresponding to the material feeding amount, acquiring a device identification number corresponding to the target feeding device; associating the device identification number with the extraction tank number to acquire a corresponding conveying and feeding route; identifying the conveying and feeding route to acquire a predicted delivery time corresponding to the target feeding device; if the predicted delivery time does not exceed a medicinal material conveying time threshold, controlling the target feeding device to move to a target extraction tank corresponding to the extraction tank number according to the conveying and feeding route; if the identification number of the target extraction tank matches the extraction tank number, feeding the medicinal material type into the target extraction tank and acquiring a corresponding feeding progress; if the feeding progress meets a feeding progress standard corresponding to the medicinal material type, generating a feeding record corresponding to the medicinal material type; if the feeding progress does not meet the feeding progress standard corresponding to the medicinal material type, acquiring a current medicinal material feeding real-time image and generating corresponding warning information according to the current medicinal material feeding real-time image.

2. The method of claim 1, wherein the medicine is a medicine for treating a disease selected from the group consisting of diabetes, hypertension, hyperlipidemia, obesity, and atherosclerosis. After the step of analyzing the material feeding demand information to determine corresponding extraction tank number, medicinal material type and material feeding amount, the method further comprises the following steps: if a target feeding device does not exist, acquiring a current feeding device state table; identifying the current feeding device state table to acquire a feeding implementation progress corresponding to a feeding device; setting a label sequence priority corresponding to the feeding device according to the feeding implementation progress; outputting the device identification number corresponding to the feeding device according to the label sequence priority.

3. The method for dispensing medicinal materials according to claim 2, characterized in that, The step of acquiring the device identification number corresponding to the feeding device according to the label sequence priority comprises the following steps: if the label sequence priority corresponding to the feeding device is the same, acquiring a preselected feeding device; identifying the preselected feeding device to acquire a performance parameter corresponding thereto; generating a feeding matching degree corresponding thereto in combination with the performance parameter and the material feeding demand information; outputting the device identification number corresponding to the feeding device according to the feeding matching degree.

4. The method of claim 1, wherein the medicine is a medicine for treating a disease selected from the group consisting of diabetes, hypertension, hyperlipidemia, obesity, and atherosclerosis. After the step of, if a target feeding device exists, feeding the medicinal material type corresponding to the material feeding amount into the target feeding device according to the material feeding amount and acquiring corresponding current weight, the method further comprises the following steps: if the current weight exceeds the material weight difference interval corresponding to the material feeding amount, acquiring a feeding amount difference corresponding thereto; identifying the feeding amount difference to acquire a medicinal material extraction consequence corresponding thereto; outputting a corresponding abnormal prompt item in combination with the feeding amount difference and the medicinal material extraction consequence.

5. The method of claim 4, wherein the medicine is a medicine for treating a disease selected from the group consisting of diabetes, hypertension, hyperlipidemia, obesity, and atherosclerosis. After the step of generating a corresponding abnormal prompt item in combination with the feeding amount difference and the medicinal material extraction consequence, the method further comprises the following steps: judging whether the abnormal prompt item is in a confirmation state; if the abnormal prompt item is in the confirmation state, judging whether the feeding amount difference is eliminated. If the dosage difference is not eliminated, the current target delivery device is locked, and the delivery location and delivery personnel information corresponding to the target delivery device are recorded; If the dosage difference has been eliminated, the device identification number corresponding to the target delivery device is output.

6. The method of claim 1, wherein the medicine is a tablet. If the predicted delivery time does not exceed the medicine delivery time threshold, the target delivery device moves to the target extraction tank corresponding to the extraction tank number according to the delivery route. If the predicted delivery time does not exceed the medicine delivery time threshold, the target delivery device moves according to the delivery route and obtains corresponding travel information. According to the travel information, it is determined whether the target delivery device is blocked. If the target delivery device is blocked, the corresponding adjustment delivery route is obtained. If there are multiple adjustment delivery routes, the historical traffic records corresponding to each adjustment delivery route are obtained, including the ground material, the target delivery device load weight, and the route width and length. According to the historical traffic records, the corresponding target adjustment delivery route is obtained from multiple adjustment delivery routes. The target delivery device moves to the target extraction tank corresponding to the extraction tank number according to the target adjustment delivery route.

7. The method of claim 1, wherein the medicine is a tablet. If the delivery progress does not meet the delivery progress standard corresponding to the medicine type, the current medicine delivery real-time picture is obtained, and the corresponding warning information is generated according to the current medicine delivery real-time picture. If the delivery progress does not meet the delivery progress standard corresponding to the medicine type, the current medicine delivery real-time picture is recognized to obtain the corresponding abnormal feeding picture. The abnormal feeding picture is recognized to obtain the corresponding abnormal handling strategy. Combined with the abnormal feeding picture and the abnormal handling strategy, the corresponding warning information is generated.

8. A medicinal herb dispensing system, characterized in that, It includes: A first obtaining module (1) is used to obtain feeding demand information; An analysis module (2) is used to analyze the feeding demand information to determine the corresponding extraction tank number, medicine type, and feeding amount; An assembly module (3) is used to put the medicine type into the target delivery device according to the feeding amount if there is a target delivery device, and obtain the corresponding current weight; A second obtaining module (4) is used to obtain the device identification number corresponding to the target delivery device if the current weight is in the feeding weight difference interval corresponding to the feeding amount; An association module (5) is used to associate the device identification number and the extraction tank number to obtain the corresponding delivery route; An identification module (6) is used to identify the delivery route to obtain the predicted delivery time corresponding to the target delivery device; A control module (7) is used to control the target delivery device to move to the target extraction tank corresponding to the extraction tank number according to the delivery route if the predicted delivery time does not exceed the medicine delivery time threshold. The feeding module (8) is configured to feed the medicinal material into the target extraction tank and obtain a feeding progress if the identification number of the target extraction tank matches the extraction tank number. The first generation module (9) is configured to generate a feeding record of the current medicinal material if the feeding progress meets a feeding progress standard corresponding to the medicinal material. The second generation module (10) is configured to obtain a real-time picture of the current medicinal material feeding and generate corresponding warning information according to the real-time picture if the feeding progress does not meet the feeding progress standard corresponding to the medicinal material. 9.A terminal device, comprising a memory and a processor, characterized in that, The memory stores computer instructions capable of running on the processor, and the processor loads and executes the computer instructions.

10. A computer-readable storage medium having stored computer instructions therein, characterized in that, The computer instructions are loaded and executed by the processor, and a medicinal material feeding method according to any one of claims 1 to 7 is adopted.

Citation Information

Patent Citations

  • Traditional Chinese medicine extraction system and method for intelligently manufacturing traditional Chinese medicine and computer readable storage medium

    CN112101855A

  • Automatic AGV feeding logistics system for food and medicine industry

    CN113548404A