Traditional Chinese medicine decoction data processing method and device, terminal equipment and storage medium

By calculating the water absorption coefficient and production technical parameter group of medicinal materials, the amount of water added during the decoction of traditional Chinese medicine was optimized, and the problem of difficult control of the capacity and solubility of Chinese medicine liquid for decoction of traditional Chinese medicine was solved, and the effect of traditional Chinese medicine treatment was improved.

CN119724619APending Publication Date: 2025-03-28KANGMEI PHARMA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411802737.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-09
Publication Date
2025-03-28

AI Technical Summary

Technical Problem

It is difficult to control the capacity and solubility of the medicine during the decoction of traditional Chinese medicine, resulting in a decrease in the therapeutic effect of traditional Chinese medicine.

Method used

By obtaining the medicinal materials information in the prescription, the water absorption coefficient and production technical parameter group of each medicinal material are calculated, the water addition amount is calculated, and the water absorption coefficient is updated according to the actual medicinal liquid capacity to optimize the decoction process.

Benefits of technology

It has achieved scientific control of the decoction process of traditional Chinese medicine, and improved the finished product quality of the medicine liquid and the effect of traditional Chinese medicine treatment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119724619A_ABST
    Figure CN119724619A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of traditional Chinese medicine preparation, and discloses a traditional Chinese medicine decoction data processing method and device, terminal equipment and a storage medium. The method comprises the following steps: acquiring medicinal material information in a prescription; the medicinal material information comprises the weight of each medicinal material; according to the medicinal material information, acquiring a water absorption coefficient of each medicinal material and a production technical parameter group of the prescription; the production technical parameter group comprises an expected liquid medicine volume; calculating the water adding amount of the prescription according to the water absorption coefficient, the weight and the expected liquid medicine capacity of each medicinal material; adding water into the medicinal materials of the prescription according to the water adding amount, and decocting according to the production technical parameter group until decoction is completed; after decoction is completed, the water absorption coefficient is updated according to the obtained actual liquid medicine capacity and the expected liquid medicine capacity. The water absorption coefficient can be gradually optimized through the actual liquid medicine capacity and the expected liquid medicine capacity, so that the water adding amount is optimized, the finished product quality of traditional Chinese medicine decoction is improved, and the treatment effect of traditional Chinese medicine is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of Chinese medicine preparation, and in particular to a method, device, terminal equipment and storage medium for processing Chinese medicine decoction data. Background Art

[0002] Due to the wide variety of Chinese medicinal materials, their different properties, and certain differences between the same varieties from different origins, the varieties and proportions of medicinal materials used in traditional Chinese medicine prescriptions are different. In addition, there are differences in equipment performance and decoction algorithms among manufacturers. In the actual production of Chinese medicine decoction, the capacity and solubility of the final output of the medicine liquid are often uncontrollable. The main treatment method in the industry is: when there is excess medicine liquid, continue to decoct it, or even discard the excess; when there is not enough medicine liquid, it is often supplemented by adding water for decoction, or even adding boiling water to make up the number; this method seriously reduces the therapeutic effect of traditional Chinese medicine. Summary of the invention

[0003] In view of this, the embodiments of the present application provide a method, apparatus, terminal device and storage medium for processing Chinese medicine decoction data, which can effectively solve problems such as reducing the therapeutic effect of traditional Chinese medicine.

[0004] In a first aspect, an embodiment of the present application provides a method for processing Chinese medicine decoction data, comprising:

[0005] Obtaining medicinal material information in the prescription; the medicinal material information includes the weight of each medicinal material;

[0006] According to the medicinal material information, the water absorption coefficient of each medicinal material and the production technical parameter group of the prescription are obtained; the production technical parameter group includes the expected medicinal solution volume;

[0007] Calculating the amount of water to be added to the prescription according to the water absorption coefficient, the weight and the expected volume of the medicinal solution of each medicinal material;

[0008] Adding water to the medicinal materials of the prescription according to the amount of water added, and decocting according to the production technical parameter group until the decocting is completed;

[0009] After the decoction is completed, the water absorption coefficient is updated according to the actual volume of the medicinal liquid obtained and the expected volume of the medicinal liquid.

[0010] In one embodiment, the calculation method of the water absorption coefficient of each medicinal material includes:

[0011] After soaking and boiling any medicinal materials, the corresponding medicinal residues are obtained, and the weight of the medicinal residues is obtained by detection;

[0012] Calculating the water absorption coefficient according to the initial weight of the medicinal material and the corresponding weight of the medicinal residue;

[0013] The calculation expression of the water absorption coefficient is:

[0014]

[0015] Where V j is the water absorption coefficient of the jth medicinal material, W aj W is the weight of the residue of the jth medicinal material; 0j is the initial weight of the jth medicinal material.

[0016] In one embodiment, updating the water absorption coefficient according to the acquired actual liquid medicine capacity and the expected liquid medicine capacity includes:

[0017] If the actual liquid medicine capacity is the same as the expected liquid medicine capacity, marking the production technical parameter group as accurate data;

[0018] If the actual medical liquid capacity is different from the expected medical liquid capacity, the water absorption coefficient is updated according to the difference between the actual medical liquid capacity and the expected medical liquid capacity.

[0019] In one embodiment, updating the water absorption coefficient according to the difference between the actual liquid medicine capacity and the expected liquid medicine capacity includes:

[0020] Calculating the amount of water added to each medicinal material according to the expected medicinal liquid volume and the actual medicinal liquid volume;

[0021] The water absorption coefficient of each medicinal material is updated according to the change in the amount of water added.

[0022] In one embodiment, the step of calculating the amount of water added to each medicinal material according to the expected medicinal liquid volume and the actual medicinal liquid volume includes:

[0023] The water addition change amount of each medicinal material is calculated by a preset water addition change amount formula, and the calculation expression of the water addition change amount formula is:

[0024]

[0025] Where P i is the amount of water added to the i-th medicinal material, P is the total amount of water added this time, L0 is the expected volume of the medicinal solution, L v is the actual liquid volume, W i is the weight of the residue of the i-th medicinal material, V i is the water absorption coefficient of the i-th medicinal material.

[0026] In one embodiment, updating the water absorption coefficient of each medicinal material according to each water addition change amount includes:

[0027] Calculating the dynamic water absorption coefficient of each medicinal material through a dynamic water absorption formula, and updating the water absorption coefficient of each medicinal material through the dynamic water absorption coefficient;

[0028] The calculation expression of the dynamic water absorption formula is:

[0029]

[0030] Where V in is the dynamic water absorption coefficient of the i-th medicinal material, and J is the number of prescription doses corresponding to the expected medicinal solution capacity.

[0031] In one embodiment, the medicinal material information also includes the name of each medicinal material in the prescription and the current batch;

[0032] The step of obtaining the water absorption coefficient of each medicinal material and the production technical parameter group of the prescription according to the medicinal material information includes:

[0033] Searching in a medicinal material database by the name and the batch of the medicinal material to obtain the corresponding water absorption coefficient;

[0034] The corresponding production technology parameter group is matched in the prescription database according to the name of each medicinal material.

[0035] In a second aspect, the present application further provides a Chinese medicine decoction data processing device, comprising:

[0036] The first search module is used to obtain the medicinal material information in the prescription; the medicinal material information includes the weight of each medicinal material;

[0037] The second search module is used to obtain the water absorption coefficient of each medicinal material and the production technical parameter group of the prescription according to the medicinal material information; the production technical parameter group includes the expected medicinal liquid volume;

[0038] A calculation module, used for calculating the amount of water added to the prescription according to the water absorption coefficient, the weight and the expected volume of the medicinal liquid of each medicinal material;

[0039] A decoction module, used to add water to the medicinal materials of the prescription according to the amount of water added, and decoct according to the production technical parameter group until the decoction is completed;

[0040] The iteration module is used to update the water absorption coefficient according to the actual volume of the medicinal liquid and the expected volume of the medicinal liquid after the decoction is completed.

[0041] In a third aspect, the present application also provides a terminal device, which includes a processor and a memory, wherein the memory stores a computer program, and the processor is used to execute the computer program to implement the Chinese medicine decoction data processing method.

[0042] In a fourth aspect, the present application also provides a computer-readable storage medium storing a computer program, which, when executed on a processor, implements the method for processing Chinese medicine decoction data.

[0043] The embodiments of the present application have the following beneficial effects:

[0044] This application retrieves the information of the Chinese medicinal materials in the prescription, obtains the production technical parameter group and water absorption coefficient required for the decoction prescription, and calculates the amount of water added according to the water absorption coefficient and the relevant parameters in the production technical parameter group. After the decoction is completed, the water absorption coefficient is dynamically updated according to the actual volume of the medicinal liquid and the expected volume of the medicinal liquid, so that the water absorption coefficient can be gradually optimized as the prescription is decocted, thereby optimizing the amount of water added. Ultimately, the efficiency of Chinese medicine decoction and the quality of the finished product are improved. Thereby improving the therapeutic effect of traditional Chinese medicine. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0046] Figure 1 A schematic diagram of a method for processing data of traditional Chinese medicine decoction according to an embodiment of the present application is shown;

[0047] Figure 2 A schematic diagram of the process of updating the water absorption coefficient in an embodiment of the present application is shown;

[0048] Figure 3 A schematic diagram of the structure of a data processing device for decoction of traditional Chinese medicine according to an embodiment of the present application is shown. DETAILED DESCRIPTION

[0049] The technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments.

[0050] The components of the embodiments of the present application generally described and shown in the drawings herein may be arranged and designed in various configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.

[0051] Hereinafter, the terms "including", "having" and their cognates that can be used in various embodiments of the present application are intended only to indicate specific features, numbers, steps, operations, elements, components or a combination of the foregoing items, and should not be understood as first excluding the existence of one or more other features, numbers, steps, operations, elements, components or a combination of the foregoing items or increasing the possibility of one or more features, numbers, steps, operations, elements, components or a combination of the foregoing items. In addition, the terms "first", "second", "third" and the like are only used to distinguish descriptions and cannot be understood as indicating or implying relative importance.

[0052] Unless otherwise defined, all terms (including technical terms and scientific terms) used herein have the same meanings as those generally understood by those skilled in the art to which the various embodiments of the present application belong. The terms (such as those defined in generally used dictionaries) will be interpreted as having the same meanings as the contextual meanings in the relevant technical field and will not be interpreted as having an expected meaning or an overly formal meaning unless clearly defined in the various embodiments of the present application.

[0053] In conjunction with the accompanying drawings, some embodiments of the present application are described in detail below. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.

[0054] Since the current Chinese medicine decoction method is difficult to quantify and control, and it is difficult to effectively improve the production technical parameters, the present application provides a Chinese medicine decoction data processing method, which determines the water absorption coefficient and production technical parameter group of each medicinal material through the medicinal material information in the prescription, and then calculates the amount of water added to the prescription according to the water absorption coefficient, weight and expected liquid volume, and then decocts according to the production technical parameter group. The actual liquid volume obtained is compared with the expected liquid volume, and the production technical parameter group is automatically updated to achieve a more scientific and effective correction method.

[0055] The Chinese medicine decoction data processing method is described below with reference to some specific embodiments.

[0056] Figure 1 A flow chart of a method for processing data of traditional Chinese medicine decoction according to an embodiment of the present application is shown. Exemplarily, the method for processing data of traditional Chinese medicine decoction includes the following steps S100 to S400.

[0057] Step S100, obtaining medicinal material information in the prescription.

[0058] The prescription is a traditional Chinese medicine prescription, which records the information of the medicinal materials in the prescription.

[0059] The medicinal material information includes the name of each medicinal material in the prescription, the dosage (weight) of each medicinal material, batch and other related information. The prescription needs to be decocted according to the medicinal material information to obtain the final required medicinal materials.

[0060] Step S200, obtaining the water absorption coefficient of each medicinal material and the production technical parameter group of the prescription according to the medicinal material information.

[0061] The water absorption coefficient and production technical parameter group are data pre-stored in a special database. The water absorption coefficient is the water absorption coefficient of each medicinal material, which can be obtained by traversing the database through the name of the medicinal material. The production technical parameter group includes relevant parameters such as the decoction time, preset liquid concentration and expected liquid volume during the decoction process. These parameters can be used to control the decoction process of the prescription and judge the quality of the decoction results. For example, the decoction time and preset liquid concentration can be used to control the decoction end conditions, and the expected liquid volume can be used to evaluate the quality of the decoction results.

[0062] The water absorption coefficient is a pre-calculated parameter, which is divided into the initial water absorption coefficient and the dynamic water absorption coefficient. The initial water absorption coefficient is the water absorption coefficient calculated for each medicinal material based on experimental operation, which can be considered as a universal value for each medicinal material. The dynamic water absorption coefficient is the water absorption coefficient obtained after dynamic adjustment with the feedback of each decoction as the prescription is decocted, and the water absorption coefficient will be updated from time to time. When obtaining the water absorption coefficient, the dynamic water absorption coefficient will be obtained first. If there is no dynamic water absorption coefficient, the initial water absorption coefficient will be obtained.

[0063] When obtaining the water absorption coefficient, the batch of medicinal materials will be considered. Different batches of medicinal materials have different water absorption coefficients due to their different growth and harvesting environments. Therefore, for the same medicinal material, the water absorption coefficient should also be selected according to the batch. When obtaining the water absorption coefficient, the dynamic water absorption coefficient is obtained first. If there is no dynamic water absorption coefficient, the initial water absorption coefficient is obtained.

[0064] The above-mentioned water absorption coefficient and production technology parameter group can be specifically found in the database through medicinal material information.

[0065] Exemplarily, for the initial water absorption coefficient, this embodiment provides a calculation method.

[0066] For any medicinal material, soak it in water for T1 time, decoct it for T2 time, pour out the liquid medicine, take out the residue, put it into the decoction machine for simulated extrusion, take out the extruded residue and weigh it, and calculate the water absorption coefficient of the single medicinal material using the water absorption coefficient calculation formula. The calculation formula is:

[0067]

[0068] Vj is the water absorption coefficient of the jth medicinal material, W aj W is the weight of the residue after squeezing the jth medicinal material; 0j is the initial weight of the jth medicinal material.

[0069] The above-mentioned T1 time and T2 time are time parameters preset based on experience, and they can be used as long as the medicinal materials are fully soaked and absorb water.

[0070] It can be seen that the water absorption coefficient indicates how much water the medicinal material can absorb after decoction and squeezing. The larger the coefficient, the more water needs to be added during decoction.

[0071] Step S300, calculating the amount of water to be added to the prescription according to the water absorption coefficient, weight and expected volume of the medicinal solution of each medicinal material.

[0072] Before actually boiling, it is also necessary to determine the amount of water to be added during boiling.

[0073] The amount of water added needs to be obtained based on the water absorption coefficient of each medicinal material. Because the water absorption coefficient often varies with different medicinal material combinations and batches, the amount of water added based on the water absorption coefficient is not a fixed value, but needs to be calculated dynamically.

[0074] Among them, the factors that affect the amount of water added include the water absorption coefficient and weight of each medicinal material and the number of doses in the prescription. The number of doses refers to the number of portions after the prescription is boiled, which is related to the volume of the medicinal liquid obtained after boiling. Therefore, the number of doses in the prescription can also be regarded as the expected volume of the medicinal liquid.

[0075] In one embodiment, the amount of water added can be calculated using the following expression:

[0076]

[0077] Wherein, P is the amount of water added in the prescription, V i is the current water absorption coefficient of the i-th medicinal material in the prescription, W i is the weight of the i-th medicinal material in the prescription, n is the total number of medicinal materials in the prescription, J is the number of doses in the prescription; K is the evaporation constant, and the corresponding value needs to be set according to different decoction equipment.

[0078] Through the above formula, the corresponding amount of water to be added can be calculated. After the amount of water to be added is determined, the subsequent decoction operation can be carried out.

[0079] Step S400, adding water to the medicinal materials in the prescription according to the amount of water added, and decocting according to the production technical parameter group until the decocting is completed.

[0080] When decocting, add water according to the amount of water added and press, and then perform the decocting operation according to the aforementioned production technical parameter group until the completion conditions are met.

[0081] When the decoction system completes the decoction time corresponding to the prescription, or the monitored drug concentration reaches the preset drug concentration preset by the system, the decoction is considered to be completed when one of the two conditions is reached. If the obtained drug volume is exactly equal to the total amount of the preset number of doses, the drug concentration is considered to be the most accurate for the prescription.

[0082] The concentration of the drug solution can be obtained through a light sensing terminal, and the corresponding concentration value can be saved in the prescription record and the drug solution concentration value of the prescription category.

[0083] After decoction is completed, the actual volume of the medicine solution can be obtained.

[0084] Step S500, after the decoction is completed, the water absorption coefficient is updated according to the actual volume of the medicinal liquid obtained and the expected volume of the medicinal liquid.

[0085] After the decoction is completed, the current decoction quality can be determined based on the actual volume of the medicinal liquid and the expected volume of the medicinal liquid, and the production technical parameter group can be updated based on this.

[0086] Exemplary, such as Figure 2 As shown, after the decoction is completed, the following steps are included:

[0087] First, it is determined whether the actual liquid medicine capacity is the same as the expected liquid medicine capacity. If they are the same, the process proceeds to step S510; otherwise, the process proceeds to step S520.

[0088] Among them, for the judgment of whether they are the same, a tolerance range can be set, such as ±5%. As long as the difference between the actual liquid medicine capacity and the expected liquid medicine capacity is within the tolerance range, they can be regarded as the same. If it is not within the tolerance range, they are regarded as different.

[0089] Step S510: If the actual liquid medicine capacity is the same as the expected liquid medicine capacity, the production technical parameter group is marked as accurate data.

[0090] After the decoction is completed, a judgment will be made based on the actual medicine liquid capacity and the expected medicine liquid capacity. If the actual medicine liquid capacity is the same as the expected medicine liquid capacity, it means that the decoction time or medicine liquid concentration in the current production technical parameters is accurate, and the current water absorption coefficient and production technical parameter group can be marked as accurate.

[0091] Step S520: If the actual liquid medicine capacity is different from the expected liquid medicine capacity, the water absorption coefficient is updated according to the difference between the actual liquid medicine capacity and the expected liquid medicine capacity.

[0092] If they are different, the water absorption coefficient needs to be adjusted.

[0093] As for the water absorption coefficient, it is necessary to consider the difference between the actual liquid medicine capacity and the expected liquid medicine capacity. For example, the change in water addition for each medicinal material can be calculated based on the actual liquid medicine capacity and the expected liquid medicine capacity; and the water absorption coefficient of each medicinal material can be updated based on the change in water addition.

[0094] The amount of water added to the medicinal material is calculated by a preset water addition amount formula, and the calculation expression of the water addition amount formula is:

[0095]

[0096] Where P i is the amount of water added to the i-th medicinal material, P is the total amount of water added this time, L0 is the expected volume of the medicinal solution, L v is the actual liquid volume, W i is the weight of the residue of the i-th medicinal material, V i is the water absorption coefficient of the i-th medicinal material.

[0097] Then, the dynamic water absorption coefficient of each medicinal material can be calculated by the dynamic water absorption formula to update the water absorption coefficient of each medicinal material;

[0098] The calculation expression of the dynamic water absorption formula is:

[0099]

[0100] Where V in is the dynamic water absorption coefficient of the i-th medicinal material, and J is the number of prescription doses corresponding to the expected medicinal solution capacity.

[0101] It can be seen from the above formula that the new dynamic water absorption coefficient takes into account the current water absorption coefficient V i The influence of the amount of water added to the medicinal materials and the number of prescription doses is no longer simply based on the amount of liquid medicine to add water and pour water, but by controlling the water absorption coefficient, it indirectly affects the calculation of the amount of water added in the above steps. This makes the change of the amount of water added more scientific and explainable, so that the amount of water added can be quantified and calculated, and the change of the amount of water added can better meet the properties of the medicinal materials themselves.

[0102] The dynamic water absorption coefficient obtained here will not overwrite the initial water absorption coefficient calculated in the previous step, but will be recorded and updated separately as a dynamic water absorption coefficient.

[0103] In this way, after the decoction is completed, if the decoction result does not meet expectations, the water absorption coefficient can be updated according to the above method, so that the result of the next decoction can be closer to the expected result, or directly meet expectations.

[0104] In a feasible embodiment, the parameters in the production technical parameter group may also be updated, for example, the decoction time or the preset medicinal solution concentration may be updated.

[0105] For example, when the decoction is completed at the end of the current decoction time, but the detected medicinal liquid concentration is lower than the preset concentration, the preset decoction time of this prescription can be extended according to the difference. If the current medicinal liquid concentration reaches the system preset accurate value, but the decoction time is lower than the system's prescription decoction time range, the unit concentration can be increased according to the time difference to increase the preset medicinal liquid concentration of this prescription.

[0106] Similarly, other adjustable parameters in the production technology parameter group can also be adjusted.

[0107] The Chinese medicine decoction data processing method of this embodiment can obtain the production technology parameter group and the water absorption coefficient of each medicinal material required for decoction of the prescription through the medicinal material information in the prescription, and then obtain the amount of water added during decoction for decoction. After the decoction is completed, the water absorption coefficient can be updated by the expected liquid volume and the actual liquid volume. The parameters in the production technology parameter group can also be updated, so that the various parameters in the decoction process can be iteratively updated, and then in the decoction process of the Chinese medicine, the decoction operation is improved in real time, thereby increasing the efficiency of the Chinese medicine decoction and the quality of the finished product, thereby improving the therapeutic effect of Chinese medicine.

[0108] Figure 3 A schematic diagram of the structure of a Chinese medicine decoction data processing device according to an embodiment of the present application is shown. Exemplarily, the device includes:

[0109] The first search module 10 is used to obtain the medicinal material information in the prescription; the medicinal material information includes the weight of each medicinal material;

[0110] The second retrieval module 20 is used to obtain the water absorption coefficient of each medicinal material and the production technical parameter group of the prescription according to the medicinal material information; the production technical parameter group includes the expected medicinal liquid volume;

[0111] A calculation module 30, for calculating the amount of water to be added to the prescription according to the water absorption coefficient, the weight and the expected volume of the medicinal liquid of each medicinal material;

[0112] A decoction module 40, used to add water to the medicinal materials of the prescription according to the amount of water added, and decoct according to the production technical parameter group until the decoction is completed;

[0113] The iteration module 50 is used to update the water absorption coefficient according to the actual volume of the medicinal liquid and the expected volume of the medicinal liquid after the decoction is completed.

[0114] The present application also provides a terminal device, which includes a processor and a memory, wherein the memory stores a computer program, and the processor is used to execute the computer program to implement the traditional Chinese medicine decoction data processing method.

[0115] The present application also provides a computer-readable storage medium storing a computer program, which, when executed on a processor, implements the method for processing Chinese medicine decoction data.

[0116] It can be understood that the device of this embodiment corresponds to the method of the above embodiment, and the options in the above embodiment are also applicable to this embodiment, so they will not be described repeatedly here.

[0117] Among them, the processor can be an integrated circuit chip with signal processing capabilities. The processor can be a general-purpose processor, including a central processing unit (CPU), a graphics processing unit (GPU) and a network processor (NP), a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or at least one of other programmable logic devices, discrete gates or transistor logic devices, and discrete hardware components. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc., which can implement or execute the disclosed methods, steps and logic block diagrams in the embodiments of the present application.

[0118] The memory may be, but is not limited to, a random access memory (RAM), a read only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), etc. The memory is used to store a computer program, and the processor may execute the computer program accordingly after receiving an execution instruction.

[0119] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are merely schematic. For example, the flowcharts and structure diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to multiple embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of a code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in an alternative implementation, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the structure diagram and / or the flow diagram, and the combination of boxes in the structure diagram and / or the flow diagram, can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.

[0120] In addition, the functional modules or units in the various embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.

[0121] If the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a smart phone, a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the various embodiments of the present application.

[0122] The above description is only a specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application.

Claims

1. A method for processing Chinese medicine decoction data, characterized in that: include: Get information about medicinal materials in prescriptions; The medicinal material information includes the weight of each medicinal material; According to the medicinal material information, the water absorption coefficient of each medicinal material and the production technical parameter group of the prescription are obtained; the production technical parameter group includes the expected medicinal solution volume; Calculating the amount of water to be added to the prescription according to the water absorption coefficient, the weight and the expected volume of the medicinal solution of each medicinal material; Adding water to the medicinal materials of the prescription according to the amount of water added, and decocting according to the production technical parameter group until the decocting is completed; After the decoction is completed, the water absorption coefficient is updated according to the actual volume of the medicinal liquid obtained and the expected volume of the medicinal liquid.

2. The method for processing Chinese medicine decoction data according to claim 1, characterized in that: The calculation method of the water absorption coefficient of each medicinal material includes: After soaking and boiling any medicinal materials, the corresponding medicinal residues are obtained, and the weight of the medicinal residues is obtained by detection; Calculating the water absorption coefficient according to the initial weight of the medicinal material and the corresponding weight of the medicinal residue; The calculation expression of the water absorption coefficient is: Where V j is the water absorption coefficient of the jth medicinal material, W aj W is the weight of the residue of the jth medicinal material; 0j is the initial weight of the jth medicinal material.

3. The method for processing Chinese medicine decoction data according to claim 1, characterized in that: The updating of the water absorption coefficient according to the acquired actual liquid medicine capacity and the expected liquid medicine capacity includes: If the actual liquid medicine capacity is the same as the expected liquid medicine capacity, marking the production technical parameter group as accurate data; If the actual medical liquid capacity is different from the expected medical liquid capacity, the water absorption coefficient is updated according to the difference between the actual medical liquid capacity and the expected medical liquid capacity.

4. The method for processing Chinese medicine decoction data according to claim 3, characterized in that: The updating of the water absorption coefficient according to the difference between the actual liquid medicine capacity and the expected liquid medicine capacity includes: Calculating the amount of water added to each medicinal material according to the expected medicinal liquid volume and the actual medicinal liquid volume; The water absorption coefficient of each medicinal material is updated according to the change in the amount of water added.

5. The method for processing Chinese medicine decoction data according to claim 4, characterized in that: The calculating the change amount of water added to each medicinal material according to the expected medicinal liquid capacity and the actual medicinal liquid capacity includes: The water addition change amount of each medicinal material is calculated by a preset water addition change amount formula, and the calculation expression of the water addition change amount formula is: Where P i is the amount of water added to the i-th medicinal material, P is the total amount of water added this time, L0 is the expected volume of the medicinal solution, L v is the actual liquid volume, W i is the weight of the residue of the i-th medicinal material, V i is the water absorption coefficient of the i-th medicinal material.

6. The method for processing Chinese medicine decoction data according to claim 5, characterized in that: The step of updating the water absorption coefficient of each medicinal material according to each water addition change amount includes: Calculating the dynamic water absorption coefficient of each medicinal material through a dynamic water absorption formula, and updating the water absorption coefficient of each medicinal material through the dynamic water absorption coefficient; The calculation expression of the dynamic water absorption formula is: Where V in is the dynamic water absorption coefficient of the i-th medicinal material, and J is the number of prescription doses corresponding to the expected medicinal solution capacity.

7. The method for processing Chinese medicine decoction data according to claim 1, characterized in that: The medicinal material information also includes the name of each medicinal material in the prescription and the current batch; The step of obtaining the water absorption coefficient of each medicinal material and the production technical parameter group of the prescription according to the medicinal material information includes: Searching in a medicinal material database by the name and the batch of the medicinal material to obtain the corresponding water absorption coefficient; The corresponding production technology parameter group is matched in the prescription database according to the name of each medicinal material.

8. A Chinese medicine decoction data processing device, characterized in that: include: The first search module is used to obtain the medicinal material information in the prescription; The medicinal material information includes the weight of each medicinal material; The second search module is used to obtain the water absorption coefficient of each medicinal material and the production technical parameter group of the prescription according to the medicinal material information; the production technical parameter group includes the expected medicinal liquid volume; A calculation module, used for calculating the amount of water added to the prescription according to the water absorption coefficient, the weight and the expected volume of the medicinal liquid of each medicinal material; A decoction module, used to add water to the medicinal materials of the prescription according to the amount of water added, and decoct according to the production technical parameter group until the decoction is completed; The iteration module is used to update the water absorption coefficient according to the actual volume of the medicinal liquid and the expected volume of the medicinal liquid after the decoction is completed.

9. A terminal device, characterized in that: The terminal device includes a processor and a memory, the memory stores a computer program, and the processor is used to execute the computer program to implement the traditional Chinese medicine decoction data processing method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: It stores a computer program, and when the computer program is executed on a processor, the method for processing traditional Chinese medicine decoction data according to any one of claims 1-7 is implemented.