A Smart Storage Method for Medicinal Herbs Based on the Internet of Things
By using IoT technology to monitor and adjust the storage environment of medicinal materials in real time, the problem of medicinal materials losing their efficacy due to unsuitable environment in the storage device is solved, and the stability and flexibility of medicinal material storage are improved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- FARFAVOUR PHARM CO LTD
- Filing Date
- 2026-01-13
- Publication Date
- 2026-06-02
AI Technical Summary
In existing technologies, the environment of medicinal materials cannot be adjusted in time after they enter the storage device, which may cause medicinal materials with extreme environmental requirements to lose their efficacy, resulting in waste and loss of medicinal materials.
By using IoT technology to monitor medicinal material data in real time, the environmental parameters of the storage device can be adjusted according to the variety and condition of the medicinal materials, so that the medicinal materials meet their optimal storage conditions.
Ensuring that medicinal materials are stored in the best environment avoids loss of efficacy, improves the effectiveness and reliability of medicinal material storage, and optimizes the utilization and flexibility of storage space.
Smart Images

Figure CN122134238A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of intelligent storage technology for medicinal materials, and in particular to an intelligent storage method for medicinal materials based on the Internet of Things. Background Technology
[0002] As the core raw material of the pharmaceutical industry, the quality of medicinal materials directly determines the efficacy and product value. The storage process is a key link affecting the quality of medicinal materials. Core indicators such as the stability of the effective components of medicinal materials, the risk of mold and insect infestation, and the retention of medicinal properties are all closely related to the temperature, humidity, gas composition, light conditions, and storage conditions of the storage environment.
[0003] With the large-scale development of the traditional Chinese medicine industry, the traditional storage model relying on manual inspection and experience-based judgment can no longer meet the refined needs of modern medicinal material storage. Internet of Things (IoT) technology, due to its real-time monitoring and remote control capabilities, is gradually becoming a core supporting technology for the intelligent upgrading of medicinal material storage. Currently, the application of IoT technology in the field of medicinal material storage has formed a preliminary framework. Its core logic involves deploying multiple types of sensors to collect data on the storage environment (such as temperature, humidity, oxygen concentration, and carbon dioxide concentration) and the condition of the medicinal materials (such as surface temperature and humidity, weight changes, and packaging integrity). This data is then transmitted to the cloud or local management platform via IoT communication modules (such as LoRa and NB-IoT). Risk warnings are then implemented through preset threshold judgments or simple trend analysis. When the medicinal materials reach the warning value, the storage environment is changed.
[0004] Regarding the aforementioned technologies, the system only adjusts the storage environment of the medicinal materials by collecting environmental data after the medicinal materials have been in the storage device for a period of time. This results in the storage device maintaining the original storage environment of the medicinal materials during the initial period. The medicinal materials that enter cannot adapt to the original environment of the storage device, especially those with extreme environmental requirements, which may even directly lose their medicinal effects, resulting in waste and loss of medicinal materials. Summary of the Invention
[0005] To avoid the loss of medicinal efficacy due to environmental demands and the resulting waste of medicinal materials, this invention provides an intelligent storage method for medicinal materials based on the Internet of Things.
[0006] This invention provides an intelligent storage method for medicinal materials based on the Internet of Things, employing the following technical solution: A smart storage method for medicinal materials based on the Internet of Things includes: Step 1: In response to the preset storage signal, obtain the medicinal material varieties to be stored and the current medicinal material data; Step 2: Locate the corresponding medicinal material storage device based on the type of medicinal material to be stored; Step 3: Find the corresponding medicinal material status control group based on the medicinal material varieties to be stored; Step 4: Analyze the current status of the medicinal materials based on the current data; Step 5: Locate the storage environment parameters of the medicinal materials based on their current condition; Step 6: Adjust the medicinal herb storage device according to the parameters of the medicinal herb storage environment; Step 7: After the medicinal material storage device has been adjusted according to the medicinal material storage environment parameters, store the medicinal materials corresponding to the varieties to be stored in the medicinal material storage device.
[0007] By adopting the above technical solution, the current state of the medicinal materials is analyzed through relevant data, the storage environment is determined based on the state, and the storage device is adjusted. This ensures that the medicinal materials are stored in strict accordance with the storage conditions after being stored in the medicinal material storage device, thus avoiding the problem of waste caused by the inconsistency between the storage conditions and the storage conditions corresponding to the medicinal materials to be stored, and improving the stability of medicinal material storage.
[0008] Optionally, the method for storing the medicinal materials corresponding to the variety to be stored in the medicinal material storage device includes: Step 70: Obtain the storage status of the medicinal material storage device, the storage status including the stored status and the idle status; Step 71: When the storage state is idle, store the medicinal materials corresponding to the medicinal material variety to be stored in the medicinal material storage device; Step 72: When the storage status is "stored", obtain the stored status of the medicinal materials corresponding to the medicinal material storage device; Step 73: If the status of the existing medicinal materials is consistent with the current status of the medicinal materials, store the medicinal materials corresponding to the current status of the medicinal materials into the medicinal material storage device; Step 74: If the status of the stored medicinal materials is inconsistent with the current status of the medicinal materials, the medicinal material storage device shall be searched again according to the medicinal material storage environment parameters and used as the replacement storage device. Step 75: Store the medicinal materials corresponding to the varieties of medicinal materials to be stored in the replacement storage device.
[0009] By adopting the above technical solution, the storage status of the medicinal material storage device is confirmed, the status of the medicinal materials is analyzed, and finally the storage device for the medicinal materials to be stored is determined. This enables the medicinal materials to be stored to be stored in accordance with the storage requirements, avoiding the influence of the medicinal material status on the efficacy and quality of the medicinal materials, and improving the stability and reliability of medicinal material storage.
[0010] Optionally, it also includes a method for storing medicinal materials when all storage states of the medicinal material storage device are in a "stored" state, the method comprising: Step 750: Extract other medicinal herb varieties corresponding to storage devices other than the found medicinal herb storage devices; Step 751: Locate the corresponding storage device based on other medicinal herb varieties; Step 752: When the storage status of other storage devices is idle, adjust the other storage devices according to the medicinal material storage environment parameters; Step 753: After the other storage devices have been adjusted according to the medicinal material storage environment parameters, store the medicinal materials corresponding to the varieties to be stored in the other storage devices.
[0011] By adopting the above technical solution, other storage devices and their corresponding medicinal materials are extracted, and other available storage devices are matched. When other storage devices are idle, environmental parameters are adjusted and storage is completed. This ensures that the medicinal materials to be stored can find suitable idle storage resources, avoids storage stagnation caused by all target devices being occupied, and improves the flexibility of medicinal material storage.
[0012] Optionally, it also includes a method for storing medicinal materials when the storage states of other storage devices are all in a "stored" state, the method comprising: Step 7530: Determine suitability based on the medicinal herb variety to be stored and any other medicinal herb variety; Step 7531: When the adaptability is the preset compatibility, define the other medicinal material variety as the compatible medicinal material variety, and find the compatible medicinal material status, compatible storage device and compatible storage environment parameters. Step 7532: Determine the appropriate storage conditions based on the medicinal material varieties to be stored, the current state of the medicinal materials, and suitable storage environment parameters; Step 7533: Determine other appropriate storage conditions based on suitable medicinal herb varieties, suitable medicinal herb conditions, and medicinal herb storage environment parameters; Step 7534: When the current storage level is the preset suitable storage level, store the medicinal materials corresponding to the medicinal materials to be stored in the appropriate storage device. Step 7535: When other storage conditions are deemed suitable, adjust the appropriate storage device according to the parameters of the medicinal material storage environment; Step 7536: After adjusting the appropriate storage device according to the medicinal material storage environment parameters, store the medicinal materials corresponding to the medicinal material varieties to be stored in the appropriate storage device.
[0013] By adopting the above technical solution, the compatibility between medicinal materials is determined, the storage conditions between medicinal materials are analyzed, and the storage environment of the storage device is adjusted according to the conditions to meet the needs of storing two kinds of medicinal materials together. This avoids the problem of medicinal materials not being able to be stored due to the lack of space in the storage device, and improves the flexibility and reliability of medicinal material storage.
[0014] Optionally, if the suitability is not compatibility, the methods for storing medicinal materials include: Step 7540: If the medicinal material to be stored is an inert medicinal material, search for inert storage devices and other inert medicinal material varieties based on the medicinal material to be stored. Step 7541: Obtain inert storage environment parameters based on other inert medicinal herb varieties; Step 7542: If the parameters of the inertial storage environment are consistent with the parameters of the medicinal material storage environment, then store the medicinal material corresponding to the variety to be stored in the inertial storage device. Step 7543: If the parameters of the inert storage environment are inconsistent with the parameters of the medicinal material storage environment, then search for other inert medicinal material varieties and inert storage devices and execute steps 7541 to 7542.
[0015] By adopting the above technical solution, when the medicinal material to be stored is an inert medicinal material, the inert storage environment parameters and the medicinal material storage environment parameters are analyzed by searching other inert medicinal material varieties, thereby storing the medicinal material to be stored. This solves the problem of medicinal materials that cannot be stored due to insufficient adaptability and insufficient storage devices, and avoids the possibility of mutual influence between medicinal materials due to their activity, thus improving the accuracy and feasibility of storing inert medicinal materials.
[0016] Optionally, when the suitability is not compatible, the method of storing medicinal materials also includes: Step 7544: Based on the medicinal materials to be stored, obtain the compatible medicinal materials and their corresponding compatible storage devices; Step 7545: Determine the compatible storage environment parameters based on the medicinal materials to be stored and the medicinal materials that can be combined with them; Step 7546: Adjust the compatible storage devices according to the parameters of the compatible storage environment; Step 7547: After the compatible storage device has been adjusted according to the compatible storage environment parameters, store the medicinal materials corresponding to the medicinal materials to be stored in the compatible storage device.
[0017] By adopting the above technical solution, by obtaining the compatible varieties of medicinal materials to be stored and their corresponding storage devices, calculating the compatible storage environment parameters of the two and adjusting the devices, storage obstacles caused by incompatibility can be avoided. At the same time, by adjusting the compatibility parameters, the storage conditions of medicinal materials can be adapted, thereby improving the flexibility and compatibility of medicinal material storage.
[0018] Optionally, the method for storing the medicinal materials corresponding to the variety to be stored in a compatible storage device further includes: Step 7550: Obtain the medicinal herb combination ratio based on the available medicinal herb varieties and the medicinal herb varieties to be stored; Step 7551: Obtain the quantity of medicinal materials to be stored and the quantity of medicinal materials that can be combined; Step 7552: Obtain the number of medicinal materials that can be stored based on the ratio of medicinal materials and the quantity of medicinal materials that can be combined; Step 7553: When the quantity of storable medicinal materials equals the quantity of medicinal materials to be stored, store the medicinal materials corresponding to the varieties of medicinal materials to be stored into the compatible storage device; Step 7554: When the quantity of storable medicinal materials is less than the quantity of medicinal materials to be stored, the medicinal materials corresponding to the varieties of medicinal materials to be stored are stored in the compatible storage device based on the quantity of storable medicinal materials. Step 7555: When the number of available medicinal materials is greater than the number of medicinal materials to be stored, search for compatible medicinal materials again and execute steps 7550 to 7554.
[0019] By adopting the above technical solution, the quantity of medicinal materials that can be stored is calculated by obtaining the ratio of medicinal materials to be stored and the quantity of medicinal materials to be stored and suitable medicinal materials. Then, the storage method is determined according to the relationship between the quantity that can be stored and the quantity to be stored, so as to ensure that the medicinal materials to be stored are stored together with the medicinal materials that can be matched in a reasonable ratio, avoid the effect of the medicinal materials due to the imbalance of the quantity ratio, and improve the accuracy of medicinal material storage.
[0020] Optionally, the method for storing the medicinal materials corresponding to the variety to be stored in the medicinal material storage device also includes: Step 80: Obtain the quantity of medicinal materials to be stored and the quantity of medicinal materials already stored; Step 81: Determine the storage capacity of the corresponding medicinal material storage device based on the existing stock of medicinal materials; Step 82: When the amount of medicinal materials to be stored is greater than the amount that can be stored, store the medicinal materials corresponding to the varieties of medicinal materials to be stored into the medicinal material storage device according to the amount that can be stored and calculate the surplus amount of medicinal materials. Step 83: Based on the surplus of medicinal materials, locate the medicinal material storage device and store the medicinal materials corresponding to the varieties of medicinal materials to be stored in the medicinal material storage device until the surplus of medicinal materials is 0; Step 84: When the amount of medicinal materials to be stored is less than the amount that can be stored, store the medicinal materials corresponding to the varieties of medicinal materials to be stored into the medicinal material storage device. Step 85: Calculate and output the storage quantity of medicinal materials based on the existing quantity and the quantity to be stored.
[0021] By adopting the above technical solution, calculating the storable amount, and then analyzing the storage method based on the size of the amount to be stored and the storable amount, the problem of storage waste caused by excessive amount to be stored is avoided, the storage of medicinal materials is rationally allocated, and the rationality and integrity of medicinal material storage are improved.
[0022] Optionally, it also includes a method for updating the storage quantity of medicinal materials, the method comprising: Step 850: Obtain future usage of medicinal materials; Step 851: When the future usage of medicinal materials is greater than the storage capacity of medicinal materials, calculate the daily usage of medicinal materials based on the storage capacity and the future usage capacity. Step 852: Calculate the number of days for using medicinal materials based on the daily usage. Step 853: Determine the replenishment time of medicinal materials based on the number of days the medicinal materials have been used; Step 854: Calculate the amount of medicinal materials to be replenished based on the future usage and storage of medicinal materials; Step 855: Output the amount of medicinal materials to be replenished and the time of replenishment. Step 856: Upon receiving the preset signal that the medicinal materials have been replenished, obtain the corresponding amount of additional medicinal materials; Step 857: If the amount of medicinal materials added is greater than the amount of medicinal materials replenished, update the medicinal material storage quantity based on the amount of medicinal materials added; Step 858: When the future usage of medicinal materials is less than the storage of medicinal materials, update the storage of medicinal materials according to the future usage and output it.
[0023] By adopting the above technical solution, the future usage of medicinal materials is compared with the current storage quantity, and dynamic processing is performed according to different scenarios: when the usage quantity is greater than the storage quantity, the replenishment time and replenishment quantity are calculated based on the daily usage and the number of days of use and output. After replenishment, the storage quantity is updated according to the actual increment; when the usage quantity is less than the storage quantity, it is directly updated and output, which improves the planning of medicinal material storage.
[0024] Optionally, it also includes a method for storing medicinal materials when the increase in the amount of medicinal materials is less than the amount of medicinal materials to be replenished, the method comprising: Step 8570: Obtain the efficacy of insufficient medicinal materials based on future usage; Step 8571: Find and prepare appropriate medicinal materials based on the efficacy of the insufficient medicinal materials; Step 8572: Obtain the efficacy of the prepared medicine based on the prepared medicinal materials; Step 8573: When the efficacy of the prepared medicine is consistent with that of the insufficient medicine, the prepared medicine is mixed and stored in the medicine storage device corresponding to the efficacy of the insufficient medicine.
[0025] By adopting the above technical solution, the efficacy of the insufficient medicinal material is obtained, and it is analyzed whether the efficacy of the medicinal material can be achieved by blending with other medicinal materials. Then, the efficacy of the blended medicinal material is analyzed. If the efficacy of the insufficient medicinal material can be achieved, it can be stored, thus avoiding the problem of insufficient medicinal material due to the lack of medicinal material storage. This improves the compatibility of multiple medicinal materials and the practicality of medicinal material storage.
[0026] In summary, the present invention has at least one of the following beneficial technical effects: 1. By adjusting the storage environment of the medicinal material storage device in advance, the medicinal materials are stored in the best environment, avoiding the problem of efficacy loss caused by the incompatibility of the storage environment during the storage process, thus improving the storage effectiveness and reliability of the medicinal materials. 2. By analyzing the compatibility of medicinal materials with other medicinal materials, the medicinal materials can be stored together, making full use of storage space and avoiding the problem of insufficient storage devices due to too many varieties of medicinal materials, thus improving the flexibility of medicinal material storage. 3. By storing medicinal materials together with other medicinal materials, the medicinal materials can be easily retrieved and used after storage, thus improving the flexibility and reliability of medicinal material storage. Attached Figure Description
[0027] Figure 1 This is a flowchart of an IoT-based intelligent storage method for medicinal materials, as described in an embodiment of this application. Figure 2 This is a flowchart of a method for storing medicinal materials corresponding to a medicinal material variety to be stored in a medicinal material storage device, as described in an embodiment of this application. Figure 3 This is a flowchart of a method for storing medicinal materials when all the storage states of the medicinal material storage devices in the embodiments of this application are in the "stored" state; Figure 4 This is a flowchart of a method for storing medicinal materials when the storage states of other storage devices in this application are all in the "stored" state; Figure 5 This is a flowchart of a method for storing medicinal materials when the adaptability is not compatibility, as described in the embodiments of this application; Figure 6 This is a further flowchart of the method for storing medicinal materials corresponding to the medicinal material varieties to be stored in the embodiments of this application to a compatible storage device. Detailed Implementation
[0028] The present invention will now be described in further detail with reference to the accompanying drawings and embodiments.
[0029] This invention discloses an intelligent storage method for medicinal materials based on the Internet of Things.
[0030] Reference Figure 1 A smart storage method for medicinal materials based on the Internet of Things includes: Step 1: In response to the preset storage signal, obtain the medicinal material varieties to be stored and the current medicinal material data; The storage signal refers to the signal that stores the medicinal materials into the corresponding device. Here, the storage signal is a button on the corresponding system; when the staff needs to store the medicinal materials, pressing the corresponding button will trigger a response.
[0031] The "medicinal herb varieties to be stored" refers to the types of medicinal herbs that need to be stored. This information is obtained by the system using installed detection devices. For example, if the medicinal herb variety to be stored is honeysuckle, the system will obtain this information using pre-installed image recognition devices, near-infrared spectroscopy detection devices, and gas chromatography-mass spectrometry (GC-MS) miniature devices. "Current medicinal herb data" refers to the current relevant data of the medicinal herb corresponding to the medicinal herb variety to be stored, including appearance, weight, and volume. This information is also obtained by the system using installed detection devices, such as image recognition devices and near-infrared spectroscopy detection devices.
[0032] Step 2: Locate the corresponding medicinal material storage device based on the type of medicinal material to be stored; A medicinal material storage device refers to a container for storing medicinal materials. The search method here is that different medicinal material varieties have different storage containers; those skilled in the art can set the storage container to store the specified medicinal material and input the information into the system.
[0033] Step 3: Find the corresponding medicinal material status control group based on the medicinal material varieties to be stored; A medicinal herb state control group refers to a combination of control data containing all morphological aspects of the medicinal herb variety to be stored. The search method involves identifying different medicinal herbs in various states, which are then retrieved online by professionals in the field and stored in the system. When the system receives the stored data, it outputs all corresponding states of the medicinal herb variety and combines them to form the medicinal herb state control group. Examples of states in this medicinal herb state control group include: freshly harvested state, damp and hygroscopic state, etc.
[0034] Step 4: Analyze the current status of the medicinal materials based on the current data; The current state of the medicinal materials refers to their current condition. This includes whether the materials are wilted, have developed mold or deteriorated, and whether their weight and volume meet standards. This current state corresponds to the description in step 3, such as slight mold growth or long-term aging. This state is also obtained by the system using installed detection devices, such as image recognition devices or near-infrared spectroscopy detection devices.
[0035] Step 5: Locate the storage environment parameters of the medicinal materials based on their current condition; Medicinal herb storage environment parameters refer to the data corresponding to the environment in which the medicinal herbs are stored. The search method here is that different states of medicinal herbs correspond to different optimal storage environment parameters. Personnel in this field use their experience or the internet to find the optimal storage environment for each state of the medicinal herb, compile this data, and input it into the system. The system receives the corresponding medicinal herb state and outputs the corresponding storage environment parameters. For example, the storage environment parameters for freshly harvested and stored angelica should be a storage temperature of 15℃~18℃, humidity of 55%~58%, moisture content of 11%~12%, and complete protection from light. For angelica stored for more than six months, the storage environment parameters should be a storage temperature of 10℃~12℃, humidity of 50%~53%, moisture content of 10%~11%, and complete protection from light.
[0036] Step 6: Adjust the medicinal herb storage device according to the parameters of the medicinal herb storage environment; The adjustment method here involves the storage device having multiple mechanisms within it capable of adjusting the environment. The system controls these mechanisms to make adjustments; for example, if humidification is needed, the humidifier is turned on and turned off when the humidity level is met; if a low temperature is required, the fan is turned on for cooling. Upon receiving the corresponding medicinal herb storage environment parameters, the system strictly adjusts and maintains the storage device according to these parameters.
[0037] Step 7: After the medicinal material storage device has been adjusted according to the medicinal material storage environment parameters, store the medicinal materials corresponding to the varieties to be stored in the medicinal material storage device.
[0038] The storage method here is that after the system transports the medicinal materials to the medicinal material storage device through the transmission device, it stores the internal environment of the device as the medicinal material storage environment parameters.
[0039] Once the medicinal herb storage device has been adjusted according to the medicinal herb storage environment parameters, it indicates that the environment corresponding to the medicinal herb storage device is now the optimal environment for storing the medicinal herb to be stored. Therefore, the medicinal herb corresponding to the medicinal herb variety to be stored is stored in the medicinal herb storage device.
[0040] Reference Figure 2 The method for storing medicinal materials corresponding to the varieties of medicinal materials to be stored into a medicinal material storage device includes: Step 70: Obtain the storage status of the medicinal material storage device.
[0041] Storage status includes stored status and idle status. Stored status means the storage device already contains medicinal materials. Idle status means the storage device does not contain medicinal materials. This status is obtained by the system based on real-time monitoring devices within the existing storage device, such as cameras or weight sensors.
[0042] Step 71: When the storage state is idle, store the medicinal materials corresponding to the medicinal material variety to be stored in the medicinal material storage device.
[0043] The storage method has been described in step 7 and will not be repeated here.
[0044] When the storage status is idle, it means that the storage device is not storing any other medicinal materials at this time. The environmental parameters of this storage device can be directly adjusted, so the medicinal materials corresponding to the medicinal materials to be stored are stored in the medicinal material storage device.
[0045] Step 72: When the storage status is "stored", obtain the stored medicinal material status of the medicinal material corresponding to the medicinal material storage device.
[0046] The status of stored medicinal materials refers to the state of the medicinal materials within the storage device. The method for obtaining the status of stored medicinal materials and related information are the same as those in step 1 regarding the current status of medicinal materials, and will not be repeated here.
[0047] When the storage status is "stored", it means that the storage device contains medicinal materials. To analyze whether the medicinal materials to be stored can be stored into the device, the stored medicinal material status of the corresponding medicinal material storage device is obtained.
[0048] Step 73: If the status of the existing medicinal materials is consistent with the current status of the medicinal materials, store the medicinal materials corresponding to the current status of the medicinal materials into the medicinal material storage device.
[0049] The storage method has been described in step 7 and will not be repeated here.
[0050] If the status of the existing medicinal materials is consistent with the current status of the medicinal materials, it means that this batch of medicinal materials to be stored can be stored together with the already stored medicinal materials. Therefore, the medicinal materials corresponding to the current status of the medicinal materials are stored in the medicinal material storage device.
[0051] Step 74: If the status of the stored medicinal materials is inconsistent with the current status of the medicinal materials, the medicinal material storage device shall be searched again according to the medicinal material storage environment parameters and used as the replacement storage device.
[0052] Replacing the storage device refers to using a storage container that is not the most suitable for storing the medicinal materials, but is still prepared for the specific type of medicinal material to be stored. The method for finding this has already been introduced in step 2 and will not be repeated here.
[0053] If the status of the existing medicinal materials is inconsistent with the current status of the medicinal materials, it means that the medicinal materials to be stored are not suitable to be placed together with the existing medicinal materials and can only be stored in other storage containers. Therefore, the medicinal material storage device should be searched again according to the medicinal material storage environment parameters and used as the replacement storage device.
[0054] Step 75: Store the medicinal materials corresponding to the varieties of medicinal materials to be stored in the replacement storage device.
[0055] The storage method has been described in step 7 and will not be repeated here.
[0056] Reference Figure 3 It also includes a method for storing medicinal materials when all storage states of the medicinal material storage device are in a "stored" state, the method comprising: Step 750: Extract other medicinal materials from storage devices other than the found medicinal material storage devices.
[0057] Other medicinal material varieties refer to varieties of medicinal materials other than those to be stored. The extraction method here involves the system filtering the medicinal material storage devices to obtain other storage devices, analyzing the medicinal materials corresponding to each storage device, and then outputting the medicinal material varieties after statistical analysis.
[0058] Step 751: Locate the corresponding storage device based on other medicinal materials.
[0059] Other storage devices refer to storage containers for other types of medicinal materials. The method for finding them is the same as described in step 2, and will not be repeated here.
[0060] Step 752: When the storage status of other storage devices is idle, adjust the other storage devices according to the medicinal material storage environment parameters.
[0061] The adjustment method here is the same as that described in step 4, so it will not be repeated here.
[0062] When the storage status of other storage devices is idle, it means that there are no medicinal materials stored in other storage devices at this time, and they can be used to store the medicinal materials to be stored. However, the environment needs to be adjusted first. Therefore, the other storage devices are adjusted according to the medicinal material storage environment parameters.
[0063] Step 753: After the other storage devices have been adjusted according to the medicinal material storage environment parameters, store the medicinal materials corresponding to the varieties to be stored in the other storage devices.
[0064] The storage method here is the same as in step 7, so it will not be repeated here.
[0065] Once the other storage devices have been adjusted according to the medicinal material storage environment parameters, it indicates that the environment in the other storage devices has met the storage requirements for the medicinal materials to be stored. Therefore, the medicinal materials corresponding to the varieties of medicinal materials to be stored are stored in the other storage devices.
[0066] Reference Figure 4 It also includes a method for storing medicinal materials when the storage states of other storage devices are all in the "already stored" state, the method comprising: Step 7530: Determine suitability based on the medicinal material variety to be stored and any other medicinal material variety.
[0067] Adaptability refers to the degree of mutual compatibility between two medicinal materials, that is, whether they can be stored together in the same or similar storage environment without affecting each other's efficacy. Here, it is determined that different medicinal materials have different adaptability levels. Personnel in the field obtain the degree of adaptability between each medicinal material based on their experience and online research, and then input the results into the system. When the system receives a medicinal material to be stored, it automatically analyzes the degree of adaptability between the medicinal material to be stored and any other medicinal material to obtain its adaptability.
[0068] Step 7531: When the adaptability is the preset compatibility, define the other medicinal material variety as the compatible medicinal material variety, and find the compatible medicinal material status, compatible storage device and compatible storage environment parameters.
[0069] Compatibility refers to the property that allows the two herbs to be stored together in the same or similar storage environment without affecting each other's efficacy. For example, Angelica sinensis and Paeonia lactiflora are both blood-tonifying and neutral herbs, and their storage environments are similar; therefore, Angelica sinensis and Paeonia lactiflora exhibit compatibility.
[0070] Compatible medicinal materials refer to medicinal materials with the same medicinal properties, and the two materials can be stored together in the same or similar storage environment without affecting each other's efficacy. Compatible medicinal material status refers to the current state of the compatible medicinal material. Compatible storage device refers to the container used to store compatible medicinal materials. Compatible storage environment parameters refer to the environmental data that can simultaneously store the medicinal materials corresponding to the compatible medicinal materials. The search method here has been described in steps 1, 2, and 3, and will not be repeated here.
[0071] When the adaptability is the preset compatibility, it means that the two medicinal materials can be stored together, but some adjustments are needed. Therefore, the other medicinal material variety is defined as the compatible medicinal material variety, and the parameters of the compatible medicinal material status, compatible storage device and compatible storage environment are found.
[0072] Step 7532: Determine the current storage suitability based on the medicinal material variety to be stored, the current state of the medicinal material, and the appropriate storage environment parameters.
[0073] "Current storage suitability" refers to the degree to which the medicinal material to be stored can be stably stored without affecting its efficacy under the current storage environment parameters of the suitable storage device corresponding to the found suitable medicinal material varieties. This is determined by assessing whether the medicinal material to be stored can be stably stored under the appropriate storage environment parameters.
[0074] Step 7533: Determine other appropriate storage conditions based on suitable medicinal herb varieties, suitable medicinal herb conditions, and medicinal herb storage environment parameters.
[0075] Other appropriate storage conditions refer to the degree to which suitable medicinal materials can be stably stored without affecting their efficacy under appropriate storage conditions. The method for determining this is the same as that described in step 7532, and will not be repeated here.
[0076] Step 7534: When the current storage level is the preset suitable storage level, store the medicinal materials corresponding to the medicinal materials to be stored in the appropriate storage device.
[0077] Appropriate storage refers to the standard of suitability in which medicinal materials can achieve the best storage effect under the current storage environment without affecting their efficacy.
[0078] If the current storage condition is deemed suitable, it indicates that the environment within other storage devices is suitable for storing the medicinal materials to be stored. Therefore, the medicinal materials corresponding to the varieties to be stored should be stored in the appropriate storage devices.
[0079] Step 7535: When other storage conditions are deemed suitable, adjust the appropriate storage device according to the parameters of the medicinal material storage environment.
[0080] When other storage conditions are considered suitable, it indicates that the appropriate medicinal materials can be stored in the storage environment corresponding to the medicinal material variety. Therefore, the appropriate storage device is adjusted according to the medicinal material storage environment parameters.
[0081] Step 7536: After adjusting the appropriate storage device according to the medicinal material storage environment parameters, store the medicinal materials corresponding to the medicinal material varieties to be stored in the appropriate storage device.
[0082] Once the appropriate storage device has been adjusted according to the storage environment parameters of the medicinal materials, it indicates that the appropriate storage device is capable of storing the two medicinal materials together. Therefore, the medicinal materials corresponding to the medicinal materials to be stored are then stored in the appropriate storage device.
[0083] Reference Figure 5 If the adaptability is not suitable, the methods for storing medicinal materials include: Step 7540: If the medicinal material to be stored is an inert medicinal material, search for inert storage devices and other inert medicinal material varieties based on the medicinal material to be stored.
[0084] Inert medicinal materials refer to those medicinal materials that are stable in medicinal properties, do not actively interact with other medicinal materials, and have a wider range of storage requirements compared to ordinary medicinal materials.
[0085] Inert storage devices refer to storage containers for inert medicinal materials. Other inert medicinal materials refer to inert medicinal materials other than those to be stored. The search method here involves personnel in the field using their experience and online resources to find inert medicinal materials, which are then entered into the system. The system then searches for other inert medicinal materials based on the medicinal material to be stored.
[0086] If the medicinal material to be stored is an inert medicinal material, it means that this medicinal material can be stored together with inert medicinal materials. Therefore, based on the medicinal material to be stored, we search for inert storage devices and other inert medicinal material varieties.
[0087] Step 7541: Obtain inert storage environment parameters based on other inert medicinal herb varieties.
[0088] Inert storage environment parameters refer to data on the storage environment of other inert medicinal materials. The method for obtaining these parameters is the same as described in step 3, and will not be repeated here.
[0089] Step 7542: If the parameters of the inert storage environment are consistent with the parameters of the medicinal material storage environment, then store the medicinal material corresponding to the variety to be stored in the inert storage device.
[0090] The storage method here is the same as that described in step 7, so it will not be repeated here.
[0091] If the parameters of the inert storage environment are consistent with the parameters of the medicinal material storage environment, it means that the medicinal material to be stored can be stored together with the inert medicinal material. Therefore, the medicinal material corresponding to the variety of medicinal material to be stored is stored in the inert storage device.
[0092] Step 7543: If the parameters of the inert storage environment are inconsistent with the parameters of the medicinal material storage environment, then search for other inert medicinal material varieties and inert storage devices and execute steps 7541 to 7542.
[0093] If the parameters of the inert storage environment are inconsistent with the parameters of the medicinal material storage environment, it means that the medicinal material to be stored cannot be stored together with the inert medicinal material. Other inert medicinal materials must be found. Therefore, other inert medicinal material varieties and inert storage devices are searched again and steps 7541 to 7542 are executed.
[0094] When adaptability is not compatible, the methods for storing medicinal materials also include: Step 7544: Obtain the compatible medicinal materials and corresponding compatible storage devices based on the medicinal materials to be stored.
[0095] The term "compatible medicinal materials" refers to the types of medicinal materials that can be used in combination with the medicinal materials to be stored. This information is obtained by professionals in the field who, based on their experience and online resources, determine the compatible medicinal materials and combinations for each type of medicinal material and input this information into the system. Upon receiving the medicinal materials to be stored, the system automatically searches for and outputs the compatible medicinal materials. The term "compatible storage device" refers to a storage container that stores the compatible medicinal materials. The method for obtaining this information is the same as described in step 7 and will not be repeated here.
[0096] Step 7545: Determine the compatible storage environment parameters based on the medicinal materials to be stored and the medicinal materials that can be used in combination.
[0097] Compatible storage environment parameters refer to the data on the environment that can simultaneously store the medicinal material to be stored and the medicinal materials that can be combined. The method for determining this is to analyze the storage environment parameters corresponding to the medicinal material to be stored and the medicinal materials that can be combined, and select the environmental parameters that can be stored for both medicinal materials as the compatible environment parameters. For example: Astragalus (tonifying Qi) + Codonopsis (tonifying Qi). The storage environment parameters for Astragalus are temperature 15℃~25℃, humidity 45%~55%, and it is sensitive to high temperatures and humidity; while the storage environment parameters for Codonopsis are temperature 12℃~28℃, humidity 45%~60%, and it is sensitive to insects and dryness. Therefore, the compatible storage environment parameters for both are temperature 15℃~25℃, humidity 45%~55%, with the addition of Sichuan pepper (for insect repellent and drying), etc.
[0098] Step 7546: Adjust the compatible storage devices according to the parameters of the compatible storage environment.
[0099] The adjustment method here is the same as that described in step 4, so it will not be repeated here.
[0100] Step 7547: After the compatible storage device has been adjusted according to the compatible storage environment parameters, store the medicinal materials corresponding to the medicinal materials to be stored in the compatible storage device.
[0101] Once the compatible storage device has been adjusted according to the parameters of the compatible storage environment, it means that the medicinal materials to be stored and the compatible medicinal materials can be stored together. Therefore, the medicinal materials corresponding to the varieties of medicinal materials to be stored are stored in the compatible storage device.
[0102] Reference Figure 6 The method for storing medicinal materials corresponding to the varieties of medicinal materials to be stored in a compatible storage device further includes: Step 7550: Obtain the medicinal material matching ratio based on the available medicinal material varieties and the medicinal material varieties to be stored.
[0103] The ratio of medicinal materials used in combination refers to the proportion of medicinal materials to be stored and those that can be combined when used together. This ratio is obtained by professionals in the field who search for relevant information online and input it into the system, as different medicinal materials require different ratios when used with different compatible medicinal materials. When the system receives the medicinal materials to be stored and the compatible medicinal materials, it automatically finds the corresponding ratio and outputs it. Examples include 1:2 and 2:5.
[0104] Step 7551: Obtain the quantity of medicinal materials to be stored and the quantity of medicinal materials that can be combined.
[0105] The quantity of medicinal materials to be stored refers to the total number of medicinal materials to be stored. The quantity of medicinal materials that can be combined refers to the quantity of medicinal materials to be stored that can be combined with them. This information is obtained by the system through corresponding devices, such as weight sensors or infrared rangefinders.
[0106] Step 7552: Obtain the number of medicinal materials that can be stored based on the ratio of medicinal materials and the number of medicinal materials that can be combined.
[0107] The storable quantity of medicinal materials refers to the amount of medicinal materials that can be stored. This is calculated by combining the quantity of compatible medicinal materials with the required ratio. For example, if the quantity of compatible medicinal materials is 10g, and the ratio is 1:4, then the ratio of compatible medicinal materials to the medicinal materials to be stored is 1:4, meaning the total storable quantity is 40g. Note that the storable quantity of medicinal materials is not the same as the quantity of medicinal materials to be stored.
[0108] Step 7553: When the quantity of storable medicinal materials equals the quantity of medicinal materials to be stored, store the medicinal materials corresponding to the varieties of medicinal materials to be stored into the compatible storage device.
[0109] The storage method here is the same as that described in step 7, so it will not be repeated here.
[0110] When the quantity of storable medicinal materials equals the quantity of medicinal materials to be stored, it means that the quantity of medicinal materials to be stored perfectly meets the quantity of storable medicinal materials. Therefore, the medicinal materials corresponding to the varieties of medicinal materials to be stored are stored in the compatible storage device.
[0111] Step 7554: When the quantity of storable medicinal materials is less than the quantity of medicinal materials to be stored, the medicinal materials corresponding to the varieties of medicinal materials to be stored are stored in the compatible storage device based on the quantity of storable medicinal materials.
[0112] When the quantity of available medicinal materials is less than the quantity of medicinal materials to be stored, it means that the quantity of medicinal materials to be stored can meet the matching ratio and there will be no waste in the matching of medicinal materials. Therefore, based on the quantity of available medicinal materials, the medicinal materials corresponding to the varieties of medicinal materials to be stored are stored in the matching storage device.
[0113] Step 7555: When the number of available medicinal materials is greater than the number of medicinal materials to be stored, search for compatible medicinal materials again and execute steps 7550 to 7554.
[0114] When the number of available medicinal materials is greater than the number of medicinal materials to be stored, it means that the number of medicinal materials to be stored cannot meet the storage quantity corresponding to the storage ratio. In order to avoid wasting medicinal materials, at this time, we search for compatible medicinal materials and execute steps 7550 to 7554.
[0115] The method for storing medicinal materials corresponding to the varieties of medicinal materials to be stored in the medicinal material storage device also includes: Step 80: Obtain the quantity of medicinal materials to be stored and the quantity of medicinal materials already stored.
[0116] The quantity of medicinal materials to be stored refers to the amount of medicinal materials that need to be stored. The quantity of medicinal materials already stored refers to the quantity of medicinal materials of the same type as those to be stored that are already stored in containers. Both quantities are obtained by the system using existing detection devices, such as weight sensors and infrared distance sensors.
[0117] Step 81: Determine the storage capacity of the corresponding medicinal material storage device based on the existing stock of medicinal materials.
[0118] Storage capacity refers to the remaining amount of medicinal materials that can be stored in containers containing the same type of medicinal material, or the amount of medicinal materials that can be stored in suitable containers. This capacity is obtained by inputting the total capacity of different medicinal material storage devices into the system. When the system receives a signal to store medicinal materials, it retrieves the storage device corresponding to the type of medicinal material to be stored, then uses a detection device to obtain the amount already stored inside the storage device, and subtracts the stored amount from the total capacity to obtain the storage capacity.
[0119] Step 82: When the amount of medicinal materials to be stored is greater than the amount that can be stored, store the medicinal materials corresponding to the varieties of medicinal materials to be stored into the medicinal material storage device according to the amount that can be stored and calculate the surplus amount of medicinal materials.
[0120] The surplus of medicinal materials refers to the amount of medicinal materials remaining after the storage device is full. This is calculated by subtracting the storable amount from the amount of medicinal materials to be stored. The storage method here is the same as described in step 7 and will not be repeated here.
[0121] When the amount of medicinal materials to be stored is greater than the amount that can be stored, it means that one medicinal material storage device is not enough to store all the medicinal materials to be stored. Therefore, according to the amount that can be stored, the medicinal materials corresponding to the varieties of medicinal materials to be stored are stored in the medicinal material storage device and the surplus of medicinal materials is calculated.
[0122] Step 83: Based on the surplus of medicinal materials, locate the medicinal material storage device and store the medicinal materials corresponding to the varieties to be stored in the medicinal material storage device until the surplus of medicinal materials is 0.
[0123] The search method here is that the system searches for other storage devices of the same type of medicinal material, except for the storage device of the medicinal material to be stored, until all storage devices of the same type of medicinal material are stored. If there is still a surplus, it will continue to search for other storage devices of different types of medicinal materials.
[0124] Step 84: When the amount of medicinal materials to be stored is less than the amount that can be stored, store the medicinal materials corresponding to the varieties of medicinal materials to be stored into the medicinal material storage device.
[0125] When the amount of medicinal materials to be stored is less than the amount that can be stored, it means that all the medicinal materials to be stored can be stored in the medicinal material storage device. Therefore, the medicinal materials corresponding to the varieties of medicinal materials to be stored are stored in the medicinal material storage device.
[0126] Step 85: Calculate and output the storage quantity of medicinal materials based on the existing quantity and the quantity to be stored.
[0127] The amount of medicinal materials stored refers to the total amount of that medicinal material stored in the entire system. This is calculated by adding the total amount of medicinal materials already stored to the amount to be stored.
[0128] This also includes a method for updating the storage quantity of medicinal materials, which includes: Step 850: Obtain the future usage of medicinal materials.
[0129] Future medicinal herb usage refers to the quantity of medicinal herbs needed in the next few days. This is obtained by the system analyzing historical data on the increase in medicinal herb usage and then making an estimate based on current online patient activity. For example, if there is a recent severe flu outbreak and online reports indicate a flu season, the usage of medicinal herbs related to the flu is five times higher than during non-flu seasons. If the usage of honeysuckle during a non-flu season might be 100 kg per quarter, then the usage during a flu season might be 500 kg. In this case, 500 kg would be output as the future medicinal herb usage. This future medicinal herb usage only represents the system's future usage figures.
[0130] Step 851: When the future usage of medicinal materials is greater than the storage capacity of medicinal materials, calculate the daily usage of medicinal materials based on the storage capacity and the future usage capacity.
[0131] Daily medicinal herb usage refers to the amount of medicinal herbs needed in one day. This is calculated by evenly distributing the future usage across each day. For example, if the total usage of honeysuckle in a quarter is 900 kg, and the quarter only has 90 days, then the daily usage of honeysuckle would be 10 kg / day. This daily medicinal herb usage figure only represents the system's daily usage.
[0132] When the future usage of medicinal materials exceeds the storage capacity, it indicates that the storage capacity cannot meet the future usage. Therefore, the daily usage of medicinal materials is calculated based on the storage capacity and the future usage.
[0133] Step 852: Calculate the number of days of medicinal material use based on the daily usage.
[0134] The number of days of medicinal herb usage refers to the number of days that the stored medicinal herbs can be used. This is calculated by dividing the stored medicinal herbs by the daily usage.
[0135] Step 853: Determine the time to replenish the medicinal materials based on the number of days the medicinal materials have been used.
[0136] The medicinal herb replenishment time refers to the time when the used medicinal herbs need to be replenished. This is determined by the system calculating the number of days the herbs will last, determining the expiration date, and outputting the day before that date as the replenishment time.
[0137] Step 854: Calculate the amount of medicinal materials to be replenished based on the future usage and storage of medicinal materials.
[0138] The amount of medicinal materials to be replenished refers to the amount of that medicinal material that can be replenished to meet future needs. The calculation method here is to subtract the amount of medicinal materials stored from the future amount of medicinal materials to obtain the difference in usage, and then output this difference as the amount of medicinal materials to be replenished.
[0139] Step 855: Output the amount of medicinal materials to be replenished and the time to replenish the medicinal materials.
[0140] The output method here is that after the system completes the calculation, it outputs the result to the corresponding display device, and the output is displayed according to the installed display device. For example, industrial-grade touch screens, LCD displays, etc.
[0141] Step 856: Upon receiving the preset signal that the medicinal materials have been replenished, obtain the corresponding amount of additional medicinal materials.
[0142] The signal indicating that the missing medicinal materials have been replenished is a signal that the missing medicinal materials have been replenished. Increasing the amount of medicinal materials refers to the amount of missing medicinal materials replenished. The method of obtaining this information is the same as the device described in step 80, and will not be repeated here.
[0143] Upon receiving the preset signal that the medicinal materials have been replenished, it indicates that the staff has replenished the missing medicinal materials, and thus the corresponding increase in medicinal materials is obtained.
[0144] Step 857: If the increase in the amount of medicinal materials is greater than the amount of medicinal materials to be replenished, update the medicinal material storage quantity based on the increase in the amount of medicinal materials.
[0145] The update method here is to update the difference between the increased amount of medicinal materials and the amount of medicinal material replenishment.
[0146] If the amount of medicinal materials added is greater than the amount of medicinal materials replenished, it means that the amount of medicinal materials replenished at this time has exceeded the required amount of medicinal materials. Therefore, the medicinal material storage quantity is updated based on the amount of medicinal materials added.
[0147] Step 858: When the future usage of medicinal materials is less than the storage of medicinal materials, update the storage of medicinal materials according to the future usage and output it.
[0148] When the future usage of medicinal materials is less than the storage quantity, it means that the existing storage quantity of medicinal materials is sufficient to meet the future usage. Therefore, the storage quantity of medicinal materials is updated and output based on the future usage quantity.
[0149] This also includes a method for storing medicinal materials when the increase in the amount of medicinal materials is less than the amount of medicinal materials to be replenished. This method includes: Step 8570: Obtain the efficacy of insufficient medicinal materials based on future usage of medicinal materials.
[0150] The term "insufficient medicinal efficacy" refers to the efficacy of medicinal materials that are missing during use. This is obtained by having professionals in the field search for relevant data online and inputting the efficacy of each medicinal material into the system. When the system detects that the stored quantity is insufficient to meet the required dosage, it then analyzes the efficacy of the missing medicinal materials.
[0151] Step 8571: Find and prepare medicinal materials based on the efficacy of the insufficient medicinal materials.
[0152] Blending medicinal materials refers to the process of combining multiple medicinal materials. The search method here involves identifying whether a given medicinal effect can be achieved by blending multiple materials in addition to using the corresponding specific medicinal material. This is done by professionals in the field who search for relevant information online and input the resulting blending medicinal materials into the system.
[0153] Step 8572: Obtain the efficacy of the prepared medicine based on the prepared medicinal materials.
[0154] The efficacy of blended medicinal materials refers to the effect of the resulting medicinal material after blending. This efficacy is obtained by researchers in the field who search for relevant information online and input it into the system. Once the system receives the corresponding blended medicinal materials, it automatically analyzes the effect of the blended medicinal materials.
[0155] Step 8573: When the efficacy of the prepared medicine is consistent with that of the insufficient medicine, the prepared medicine is mixed and stored in the medicine storage device corresponding to the efficacy of the insufficient medicine.
[0156] When the efficacy of the prepared medicine is consistent with that of the insufficient medicine, it means that the prepared medicine can be used as the insufficient medicine. Therefore, the prepared medicine is mixed and stored in the medicine storage device corresponding to the efficacy of the insufficient medicine.
[0157] The above description is merely a preferred embodiment of the present invention. The scope of protection of the present invention is not limited to the above embodiments. All technical solutions falling within the scope of the present invention's concept are within the scope of protection of the present invention. It should be noted that for those skilled in the art, any improvements and modifications made without departing from the principles of the present invention should also be considered within the scope of protection of the present invention.
Claims
1. A method for intelligent storage of medicinal materials based on the Internet of Things, characterized in that, include: Step 1: In response to the preset storage signal, obtain the medicinal material varieties to be stored and the current medicinal material data; Step 2: Locate the corresponding medicinal material storage device based on the type of medicinal material to be stored; Step 3: Find the corresponding medicinal material status control group based on the medicinal material varieties to be stored; Step 4: Analyze the current status of the medicinal materials based on the current data; Step 5: Locate the storage environment parameters of the medicinal materials based on their current condition; Step 6: Adjust the medicinal herb storage device according to the parameters of the medicinal herb storage environment; Step 7: After the medicinal material storage device has been adjusted according to the medicinal material storage environment parameters, store the medicinal materials corresponding to the varieties to be stored in the medicinal material storage device.
2. The method for intelligent storage of medicinal materials based on the Internet of Things according to claim 1, characterized in that, Methods for storing medicinal materials corresponding to the varieties to be stored into a medicinal material storage device include: Step 70: Obtain the storage status of the medicinal material storage device, the storage status including the stored status and the idle status; Step 71: When the storage state is idle, store the medicinal materials corresponding to the medicinal material variety to be stored in the medicinal material storage device; Step 72: When the storage status is "stored", obtain the stored status of the medicinal materials corresponding to the medicinal material storage device; Step 73: If the status of the existing medicinal materials is consistent with the current status of the medicinal materials, store the medicinal materials corresponding to the current status of the medicinal materials into the medicinal material storage device; Step 74: If the status of the stored medicinal materials is inconsistent with the current status of the medicinal materials, the medicinal material storage device shall be searched again according to the medicinal material storage environment parameters and used as the replacement storage device. Step 75: Store the medicinal materials corresponding to the varieties of medicinal materials to be stored in the replacement storage device.
3. The method for intelligent storage of medicinal materials based on the Internet of Things according to claim 2, characterized in that, It also includes a method for storing medicinal materials when all storage states of the medicinal material storage device are in a "stored" state, the method comprising: Step 750: Extract other medicinal herb varieties corresponding to storage devices other than the found medicinal herb storage devices; Step 751: Locate the corresponding storage device based on other medicinal herb varieties; Step 752: When the storage status of other storage devices is idle, adjust the other storage devices according to the medicinal material storage environment parameters; Step 753: After the other storage devices have been adjusted according to the medicinal material storage environment parameters, store the medicinal materials corresponding to the varieties to be stored in the other storage devices.
4. The method for intelligent storage of medicinal materials based on the Internet of Things according to claim 3, characterized in that, It also includes a method for storing medicinal materials when the storage status of other storage devices is already stored, the method comprising: Step 7530: Determine suitability based on the medicinal herb variety to be stored and any other medicinal herb variety; Step 7531: When the adaptability is the preset compatibility, define the other medicinal material variety as the compatible medicinal material variety, and find the compatible medicinal material status, compatible storage device and compatible storage environment parameters. Step 7532: Determine the appropriate storage conditions based on the medicinal material variety to be stored, the current state of the medicinal material, and suitable storage environment parameters; Step 7533: Determine other appropriate storage conditions based on suitable medicinal herb varieties, suitable medicinal herb conditions, and medicinal herb storage environment parameters; Step 7534: When the current storage level is the preset suitable storage level, store the medicinal materials corresponding to the medicinal materials to be stored in the appropriate storage device. Step 7535: When other storage conditions are deemed suitable, adjust the appropriate storage device according to the parameters of the medicinal material storage environment; Step 7536: After adjusting the appropriate storage device according to the medicinal material storage environment parameters, store the medicinal materials corresponding to the medicinal material varieties to be stored in the appropriate storage device.
5. The method for intelligent storage of medicinal materials based on the Internet of Things according to claim 4, characterized in that, If the adaptability is not compatible, the methods for storing medicinal materials include: Step 7540: If the medicinal material to be stored is an inert medicinal material, search for inert storage devices and other inert medicinal material varieties based on the medicinal material to be stored. Step 7541: Obtain inert storage environment parameters based on other inert medicinal herb varieties; Step 7542: If the parameters of the inertial storage environment are consistent with the parameters of the medicinal material storage environment, then store the medicinal material corresponding to the variety to be stored in the inertial storage device. Step 7543: If the parameters of the inert storage environment are inconsistent with the parameters of the medicinal material storage environment, then search for other inert medicinal material varieties and inert storage devices and execute steps 7541 to 7542.
6. The method for intelligent storage of medicinal materials based on the Internet of Things according to claim 5, characterized in that, When adaptability is not compatible, methods for storing medicinal materials also include: Step 7544: Based on the medicinal materials to be stored, obtain the compatible medicinal materials and their corresponding compatible storage devices; Step 7545: Determine the compatible storage environment parameters based on the medicinal materials to be stored and the medicinal materials that can be combined with them; Step 7546: Adjust the compatible storage devices according to the parameters of the compatible storage environment; Step 7547: After the compatible storage device has been adjusted according to the parameters of the compatible storage environment, store the medicinal materials corresponding to the medicinal materials to be stored in the compatible storage device.
7. The method for intelligent storage of medicinal materials based on the Internet of Things according to claim 6, characterized in that, The method of storing medicinal materials corresponding to the varieties of medicinal materials to be stored in a compatible storage device further includes: Step 7550: Obtain the medicinal herb combination ratio based on the available medicinal herb varieties and the medicinal herb varieties to be stored; Step 7551: Obtain the quantity of medicinal materials to be stored and the quantity of medicinal materials that can be combined; Step 7552: Obtain the number of medicinal materials that can be stored based on the ratio of medicinal materials and the quantity of medicinal materials that can be combined; Step 7553: When the quantity of storable medicinal materials equals the quantity of medicinal materials to be stored, store the medicinal materials corresponding to the varieties of medicinal materials to be stored into the compatible storage device; Step 7554: When the quantity of storable medicinal materials is less than the quantity of medicinal materials to be stored, the medicinal materials corresponding to the varieties of medicinal materials to be stored are stored in the compatible storage device based on the quantity of storable medicinal materials. Step 7555: When the number of available medicinal materials is greater than the number of medicinal materials to be stored, search for compatible medicinal materials again and execute steps 7550 to 7554.
8. The method for intelligent storage of medicinal materials based on the Internet of Things according to claim 1, characterized in that, The method of storing medicinal materials corresponding to the varieties of medicinal materials to be stored into a medicinal material storage device also includes: Step 80: Obtain the quantity of medicinal materials to be stored and the quantity of medicinal materials already stored; Step 81: Determine the storage capacity of the corresponding medicinal material storage device based on the existing stock of medicinal materials; Step 82: When the amount of medicinal materials to be stored is greater than the amount that can be stored, store the medicinal materials corresponding to the varieties of medicinal materials to be stored into the medicinal material storage device according to the amount that can be stored and calculate the surplus amount of medicinal materials. Step 83: Based on the surplus of medicinal materials, locate the medicinal material storage device and store the medicinal materials corresponding to the varieties of medicinal materials to be stored in the medicinal material storage device until the surplus of medicinal materials is 0; Step 84: When the amount of medicinal materials to be stored is less than the amount that can be stored, store the medicinal materials corresponding to the varieties of medicinal materials to be stored into the medicinal material storage device. Step 85: Calculate and output the storage quantity of medicinal materials based on the existing quantity and the quantity to be stored.
9. A method for intelligent storage of medicinal materials based on the Internet of Things according to claim 8, characterized in that, It also includes a method for updating the storage quantity of medicinal materials, which includes: Step 850: Obtain future usage of medicinal materials; Step 851: When the future usage of medicinal materials is greater than the storage capacity of medicinal materials, calculate the daily usage of medicinal materials based on the storage capacity and the future usage capacity. Step 852: Calculate the number of days for using medicinal materials based on the daily usage. Step 853: Determine the replenishment time of medicinal materials based on the number of days the medicinal materials have been used; Step 854: Calculate the amount of medicinal materials to be replenished based on the future usage and storage of medicinal materials; Step 855: Output the amount of medicinal materials to be replenished and the time of replenishment. Step 856: Upon receiving the preset signal that the medicinal materials have been replenished, obtain the corresponding amount of additional medicinal materials; Step 857: If the amount of medicinal materials added is greater than the amount of medicinal materials replenished, update the medicinal material storage quantity based on the amount of medicinal materials added; Step 858: When the future usage of medicinal materials is less than the storage of medicinal materials, update the storage of medicinal materials according to the future usage and output it.
10. A method for intelligent storage of medicinal materials based on the Internet of Things according to claim 9, characterized in that, It also includes a method for storing medicinal materials when the increase in the amount of medicinal materials is less than the amount of medicinal materials to be replenished, the method comprising: Step 8570: Obtain the efficacy of insufficient medicinal materials based on future usage; Step 8571: Find and prepare medicinal materials based on the efficacy of the insufficient medicinal materials; Step 8572: Obtain the efficacy of the prepared medicine based on the prepared medicinal materials; Step 8573: When the efficacy of the prepared medicine is consistent with that of the insufficient medicine, the prepared medicine is mixed and stored in the medicine storage device corresponding to the efficacy of the insufficient medicine.