Preparation production and processing method and device, electronic equipment and medium
Through a preparation production and processing method, the preparation label and preparation quantity of the target preparation are obtained, the target raw material ratio and required weight are determined, the processing order is generated and the production and processing are carried out, which solves the problems of cumbersome operation and insufficient raw material inspection during the preparation production and processing of medical institutions, and improves the inspection efficiency and accuracy.
Patent Information
- Application Number
- CN202510086670.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-20
- Publication Date
- 2025-05-13
AI Technical Summary
Medical institutions have cumbersome operating steps and insufficient inspection of raw materials during the preparation production and processing process, resulting in large labor investment and long production cycle, resulting in inconvenience.
Provide a preparation production and processing method, by obtaining the preparation label and preparation quantity of the target preparation, determining the target raw material ratio and required weight, generating processing orders, and achieving the production and processing of the target preparation. The method includes acquiring units, determining units and production units, calculating raw material requirements using configuration correspondence and algorithms, generating processing orders and performing production and processing.
It improves the inspection efficiency in the preparation production process, reduces artificial calculations, ensures the accuracy of raw materials and preparations, avoids the mixing of Chinese and Western medicines and narcotic drugs, and achieves the balance between raw materials and preparation inventory.
Smart Images

Figure CN119991341A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of preparation production and processing management, and specifically, to a preparation production and processing method, device, electronic equipment and medium. Background Art
[0002] Since the production and processing of preparations within many medical institutions are often complicated, involve many operating steps, and lack various inspection parts between raw materials, etc., medical institutions often invest a lot of manpower or have a long production cycle in the production and processing of preparations, which causes various inconveniences in actual business use. Summary of the invention
[0003] The purpose of the embodiments of the present application is to provide a preparation production and processing method, device, electronic equipment and medium to solve the above-mentioned problems existing in the prior art and improve the inspection efficiency in the preparation production process.
[0004] In a first aspect, a preparation production and processing method is provided, which may include:
[0005] Obtaining a preparation identification and preparation quantity of a target preparation to be prepared;
[0006] Determining a target raw material ratio corresponding to the preparation identification of the target preparation based on the correspondence between different preparation identifications and different raw material ratios configured;
[0007] Determining the required weight of each target raw material according to the preparation quantity and the target raw material ratio;
[0008] If the actual weight of the target raw material meets the corresponding required weight, a processing order is generated according to the target raw material ratio, the required weight of each target raw material and the preparation quantity, so as to produce and process the target preparation according to the processing order.
[0009] In a possible implementation, determining the required weight of each target raw material according to the preparation quantity and the target raw material ratio includes:
[0010] Based on the configured preparation weight algorithm, the preparation quantity, the target raw material ratio and the loss ratio of each target raw material are calculated to determine the required weight of each target raw material.
[0011] In a possible implementation, after generating the work order, the method further includes:
[0012] The target shelf life is determined based on the correspondence between the different preparation identifications and different shelf life.
[0013] In a possible implementation, after determining the target raw material ratio corresponding to the preparation identifier of the target preparation, the method further includes:
[0014] If the attribute information of each target raw material meets the configured attribute conditions, the step of determining the required weight of each target raw material according to the preparation quantity and the target raw material ratio is performed.
[0015] In a possible implementation, the attribute information includes: Chinese and Western medicine attributes, dosage form attributes, and psychotropic and narcotic attributes.
[0016] In a possible implementation, after the target preparation is produced and processed according to the processing order, the method further includes:
[0017] The inventory weight of each target raw material and the inventory quantity of the target preparation are updated to obtain the current inventory weight and the current inventory quantity.
[0018] In a second aspect, a preparation production and processing device is provided, which may include:
[0019] An acquisition unit, used to acquire a preparation identification and a preparation quantity of a target preparation to be prepared;
[0020] A determination unit, configured to determine a target raw material ratio corresponding to the preparation identifier of the target preparation based on the correspondence between different preparation identifiers and different raw material ratios;
[0021] and, determining the required weight of each target raw material according to the preparation quantity and the target raw material ratio;
[0022] The production unit is used to generate a processing order according to the target raw material ratio, the required weight of each target raw material and the preparation quantity if the actual weight of the target raw material meets the corresponding required weight, so as to produce and process the target preparation according to the processing order.
[0023] In a possible implementation, the determination unit is further configured to determine the target expiration date based on the correspondence between different configured preparation identifiers and different expiration dates.
[0024] In a third aspect, an electronic device is provided, the electronic device comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus;
[0025] Memory, used to store computer programs;
[0026] The processor is used to implement any method step described in the first aspect when executing the program stored in the memory.
[0027] In a fourth aspect, a computer-readable storage medium is provided, wherein a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, any method step described in the first aspect is implemented.
[0028] The present application provides a preparation production and processing method, the method comprising: obtaining the preparation identification and preparation quantity of the target preparation to be prepared; based on the corresponding relationship between the configured different preparation identifications and different raw material ratios, determining the target raw material ratio corresponding to the preparation identification of the target preparation; according to the preparation quantity and the target raw material ratio, determining the required weight of each target raw material; if the actual weight of the target raw material meets the corresponding required weight, then according to the target raw material ratio, the required weight of each target raw material and the preparation quantity, a processing order is generated to produce and process the target preparation according to the processing order. The method processes and produces the target preparation through the preparation production and processing system (i.e., a series of operations in the processing and production menu), and can realize the change of the system inventory of raw materials and preparations in one operation, achieve a balance, meet actual needs, and facilitate user operation; through verification, common operations such as mixing Chinese and Western medicines and mixing common anesthetics are avoided, and the accuracy of raw materials and preparations in terms of drug types is guaranteed; through the loss ratio of each raw material, the system reasonably calculates the finished weight of the target preparation, minus complex human calculations. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments of the present application 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.
[0030] Figure 1 A system architecture diagram for a preparation production and processing method provided in an embodiment of the present application;
[0031] Figure 2 A schematic diagram of a preparation production and processing method provided in an embodiment of the present application;
[0032] Figure 3 A schematic diagram of the structure of a preparation production and processing device provided in an embodiment of the present application;
[0033] Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0034] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments of the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0035] A preparation production and processing method provided in the embodiments of the present application can be applied in Figure 1 In the system architecture shown in Figure 1 As shown, the system may include: a server and a terminal. The server may be a physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (Content Delivery Network, CDN), and basic cloud computing services such as big data and artificial intelligence platforms. The terminal may be a user equipment (User Equipment, UE) such as a mobile phone, smart phone, laptop, digital broadcast receiver, personal digital assistant (PDA), tablet computer (PAD), handheld device, vehicle-mounted device, wearable device, computing device or other processing device connected to a wireless modem, mobile station (Mobile Station, MS), mobile terminal (Mobile Terminal), etc. The terminal and the server may be directly or indirectly connected by wired or wireless communication, which is not limited in this application.
[0036] The terminal is used to obtain the preparation identification and preparation quantity of the target preparation to be prepared, and send the preparation identification and preparation quantity to the server.
[0037] The server is used to obtain the preparation identification and preparation quantity of the target preparation to be prepared, so as to execute a preparation production and processing method provided in the present application.
[0038] Since the production and processing of preparations within many medical institutions are often complicated, involve many operating steps, and lack various inspection parts between raw materials, etc., medical institutions often invest a lot of manpower or have a long production cycle in the production and processing of preparations, which causes various inconveniences in actual business use.
[0039] Therefore, the present application provides a preparation production and processing method to solve the above-mentioned problems existing in the prior art and improve the inspection efficiency in the preparation production process.
[0040] The preferred embodiments of the present application are described below in conjunction with the drawings in the specification. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present application, and are not used to limit the present application. In addition, the embodiments and features in the embodiments of the present application may be combined with each other if there is no conflict.
[0041] Figure 2 The following is a schematic diagram of a preparation production and processing method provided in the present application. Figure 2As shown, the method may include:
[0042] Step S210: Obtain the preparation identification and preparation quantity of the target preparation to be prepared.
[0043] Specifically, the operator can input the preparation name and preparation quantity of the target preparation through the terminal. When the server obtains the preparation name, it determines the preparation identification of the target preparation according to the correspondence between different preparation names and different preparation identifications.
[0044] In some embodiments, according to actual needs, the operator selects the target preparation (press Enter at the preparation identification, the preparation production and processing system corresponding to the present application can automatically pop up a list of preparations to be selected, and the data comes from the preparation data in the dictionary maintenance menu), and the system will automatically bring out some basic properties of the target preparation (maintained in the dictionary maintenance interface), such as Chinese and Western medicine properties, dosage form properties, and seminal anesthetic properties; the system will automatically generate an expiration date for the preparation according to the expiration date configured by the user (configured in the parameter configuration interface, such as three years after the current date) (supports manual modification);
[0045] Step S220: Determine the target raw material ratio corresponding to the preparation identification of the target preparation based on the correspondence between the configured different preparation identifications and the different raw material ratios.
[0046] Specifically, the corresponding relationship between different preparation identifications and different raw material ratios is configured in the preparation production and processing system corresponding to the present application, and the target raw material ratio of the target raw material for preparing the target preparation can be determined according to the preparation identification of the target preparation.
[0047] In some embodiments, the attribute information of the target raw materials is compared with the configured attribute conditions. If the attribute information of each target raw material meets the configured attribute conditions, step S230 is executed; if the attribute information of the target raw material does not meet the configured attribute conditions, a prompt message indicating that the attribute information of the target preparation is wrong is issued. Among them, the attribute information includes: Chinese and Western medicine attributes, dosage form attributes, and seminal anesthetic and narcotic attributes. For example, it is checked whether the attributes of Chinese and Western medicines conflict with each other (for example, some raw materials or target preparations belong to Chinese medicine, and some belong to Western medicine, etc.), whether the dosage form attributes conflict (some raw materials or target preparations belong to oral preparations, and some belong to injections, etc.), and whether the seminal anesthetic and narcotic attributes conflict (some raw materials or target preparations belong to ordinary, and some belong to anesthetics, etc.).
[0048] In some embodiments, in the preparation production and processing system corresponding to the present application, when the operator selects the raw material (press Enter at the raw material code, the system can automatically pop up a list of raw materials to be selected, and the data comes from the raw material data in the dictionary maintenance menu), the system will automatically perform a series of checks on the data to be selected, the selected data, and the target preparation.
[0049] Step S230: Determine the required weight of each target raw material according to the preparation quantity and the target raw material ratio.
[0050] Specifically, based on the configured preparation weight algorithm, the preparation quantity, target raw material ratio and loss ratio of each target raw material are calculated to determine the required weight of each target raw material.
[0051] Step S240: Compare the required weight of each target raw material with the corresponding actual weight, and determine whether to generate a processing order based on the comparison result.
[0052] Specifically, if the actual weight of the target raw material meets the corresponding required weight, a processing order is generated according to the target raw material ratio, the required weight of each target raw material and the preparation quantity, so as to produce and process the target preparation according to the processing order. If not satisfied, a prompt message is generated that the actual weight of the target raw material does not meet the corresponding required weight. The raw material maintenance interface of the preparation production and processing system corresponding to this application gives a striking color prompt, and the system will automatically modify the raw material data that does not meet the conditions according to the actual weight (the quantity of these raw materials is assigned the existing maximum inventory, or manually: the user can replenish the corresponding raw material inventory or reduce the quantity required for processing; save the processing order again)
[0053] In some embodiments, after the target raw material and the target raw material ratio are determined, on the basis of step S240, the weight that can be used to prepare the target preparation is calculated and summarized according to the actual weight of each target raw material and the respective loss ratio (maintained in the dictionary interface), thereby determining the weight that can be used to prepare the target preparation;
[0054] In the corresponding preparation production and processing system, the weight can be manually modified and saved in the preparation maintenance interface.
[0055] Example: If raw material a weighs 100 and has a loss of 50%; raw material b weighs 200 and has a loss of 40%, then the weight of the target preparation can be: 100*(1-0.5)+200*(1-0.4)=170.
[0056] Afterwards, the weight that can be used to prepare the target preparation is compared with the total required weight corresponding to the preparation quantity to determine whether the target raw materials in stock meet the preparation requirements; if so, a processing order is generated based on the target raw material ratio, the required weight of each target raw material and the preparation quantity, so as to produce and process the target preparation according to the processing order.
[0057] After generating the work order, the method further includes:
[0058] The target shelf life is determined based on the correspondence between the different preparation identifications and different shelf life.
[0059] After the processing order is generated, step S230-step S240 is re-executed to perform verification again. Specifically, the operator selects the corresponding template according to actual needs. After selecting the template, the corresponding processing order is automatically imported into the selected template, and then the operation is completed according to the operation steps S230-step S240.
[0060] After verification, the target raw material ratio, required weight and preparation quantity of each target raw material are processed through machine learning methods to obtain the quality attributes of the target preparation, including the color deviation, solubility and stability of the target preparation. Each quality attribute is verified, and when the quality attribute standard is met, the processing and production operation is carried out. When the quality attribute standard is not met, a prompt message is issued for manual review of the target raw material and the target raw material ratio.
[0061] After the processing and production operations, the actual color deviation, actual solubility and actual stability of the target preparation are compared with the corresponding standard color deviation, standard solubility and standard stability. If all of them are met, the target preparation meets the quality standards; if there is one item that does not meet the corresponding standard, the target preparation does not meet the quality standards.
[0062] In some embodiments, the preparation production and processing system corresponding to the present application, by establishing templates and referencing templates for processing and production, serves the information systems of various medical institutions in the region, and realizes the functions of fast and convenient processing and production. The functions cover dictionary management, template management, processing and production, and provision of preparations, etc.
[0063] The function list is shown in Table 1:
[0064] Table 1
[0065]
[0066] In summary, the method provided in the present application is to determine the target raw material while determining the target preparation to be prepared according to the dictionary corresponding to the configured preparation / raw material. After verifying the target raw material, the production processing order is determined, and then the preparation is processed and produced according to the production processing order, thereby providing the target preparation.
[0067] In some embodiments, after the target preparation is produced and processed according to the processing order, the method further comprises:
[0068] The inventory weight of each target raw material and the inventory quantity of the target preparation are updated to obtain the current inventory weight and the current inventory quantity.
[0069] The present application provides a preparation production and processing method, the method comprising: obtaining the preparation identification and preparation quantity of the target preparation to be prepared; based on the corresponding relationship between the configured different preparation identifications and different raw material ratios, determining the target raw material ratio corresponding to the preparation identification of the target preparation; according to the preparation quantity and the target raw material ratio, determining the required weight of each target raw material; if the actual weight of the target raw material meets the corresponding required weight, then according to the target raw material ratio, the required weight of each target raw material and the preparation quantity, a processing order is generated to produce and process the target preparation according to the processing order. The method processes and produces the target preparation through the preparation production and processing system (i.e., a series of operations in the processing and production menu), and can realize the change of the system inventory of raw materials and preparations in one operation, achieve a balance, meet actual needs, and facilitate user operation; through verification, common operations such as mixing Chinese and Western medicines and mixing common anesthetics are avoided, and the accuracy of raw materials and preparations in terms of drug types is guaranteed; through the loss ratio of each raw material, the system reasonably calculates the finished weight of the target preparation, minus complex human calculations.
[0070] Corresponding to the above method, the present application embodiment also provides a preparation production and processing device, such as Figure 3 As shown, the device comprises:
[0071] An acquisition unit 310 is used to acquire a preparation identification and a preparation quantity of a target preparation to be prepared;
[0072] A determination unit 320, configured to determine a target raw material ratio corresponding to the preparation identifier of the target preparation based on the correspondence between the configured different preparation identifiers and the different raw material ratios;
[0073] and, determining the required weight of each target raw material according to the preparation quantity and the target raw material ratio;
[0074] The production unit 330 is used to generate a processing order according to the target raw material ratio, the required weight of each target raw material and the preparation quantity if the actual weight of the target raw material meets the corresponding required weight, so as to produce and process the target preparation according to the processing order.
[0075] The functions of each functional unit of a preparation production and processing device provided in the above embodiment of the present application can be achieved through the above method steps. Therefore, the specific working process and beneficial effects of each unit in a preparation production and processing device provided in the embodiment of the present application will not be repeated here.
[0076] The present application also provides an electronic device, such as Figure 4As shown, it includes a processor 410 , a communication interface 420 , a memory 430 and a communication bus 440 , wherein the processor 410 , the communication interface 420 , and the memory 430 communicate with each other via the communication bus 440 .
[0077] Memory 430, for storing computer programs;
[0078] The processor 410 is used to execute the program stored in the memory 430 to implement the following steps:
[0079] Obtaining a preparation identification and preparation quantity of a target preparation to be prepared;
[0080] Determining a target raw material ratio corresponding to the preparation identification of the target preparation based on the correspondence between different preparation identifications and different raw material ratios configured;
[0081] Determining the required weight of each target raw material according to the preparation quantity and the target raw material ratio;
[0082] If the actual weight of the target raw material meets the corresponding required weight, a processing order is generated according to the target raw material ratio, the required weight of each target raw material and the preparation quantity, so as to produce and process the target preparation according to the processing order.
[0083] The communication bus mentioned above can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.
[0084] The communication interface is used for communication between the above electronic device and other devices.
[0085] The memory may include a random access memory (RAM) or a non-volatile memory (NVM), such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.
[0086] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
[0087] The implementation methods and beneficial effects of the components of the electronic device in the above embodiments to solve the problems can be seen in Figure 2 The various steps in the illustrated embodiment are implemented, therefore, the specific working process and beneficial effects of the electronic device provided by the embodiment of the present application are not repeated here.
[0088] In another embodiment provided in the present application, a computer-readable storage medium is provided, in which instructions are stored. When the computer-readable storage medium is run on a computer, the computer executes a preparation production and processing method described in any one of the above embodiments.
[0089] In another embodiment provided in the present application, a computer program product comprising instructions is also provided, which, when executed on a computer, enables the computer to execute a preparation production and processing method described in any one of the above embodiments.
[0090] Those skilled in the art will appreciate that the embodiments in the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt a complete hardware embodiment, a complete software embodiment, or a form of an embodiment combining software and hardware. Moreover, the present application may adopt a form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0091] The embodiments of the present application are described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0092] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0093] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0094] Unless otherwise defined, the technical terms or scientific terms used in this application should be understood by people with ordinary skills in the field to which the present invention belongs. "First", "second" and similar words used in this application do not indicate any order, quantity or importance, but are only used to distinguish different components. "Include" or "comprise" and similar words mean that the elements or objects appearing before the word cover the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect", "couple" or "connected" and similar words are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.
[0095] Although the preferred embodiments of the present application have been described, those skilled in the art may make additional changes and modifications to these embodiments once they are aware of the basic creative concepts. Therefore, the present application embodiments are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present application embodiments.
[0096] Obviously, those skilled in the art can make various changes and modifications to the embodiments in the present application without departing from the spirit and scope of the embodiments in the present application. Thus, if these modifications and variations of the embodiments in the present application are within the scope of the embodiments in the present application and their equivalents, the embodiments in the present application are also intended to include these modifications and variations.
Claims
1. A preparation production and processing method, characterized in that: The method comprises: Obtaining a preparation identification and preparation quantity of a target preparation to be prepared; Determining a target raw material ratio corresponding to the preparation identification of the target preparation based on the correspondence between different preparation identifications and different raw material ratios configured; Determining the required weight of each target raw material according to the preparation quantity and the target raw material ratio; If the actual weight of the target raw material meets the corresponding required weight, a processing order is generated according to the target raw material ratio, the required weight of each target raw material and the preparation quantity, so as to produce and process the target preparation according to the processing order.
2. The method according to claim 1, characterized in that According to the preparation quantity and the target raw material ratio, the required weight of each target raw material is determined, including: Based on the configured preparation weight algorithm, the preparation quantity, the target raw material ratio and the loss ratio of each target raw material are calculated to determine the required weight of each target raw material.
3. The method according to claim 1, characterized in that After generating the processing order, the method further includes: The target shelf life is determined based on the correspondence between the different preparation identifications and different shelf life.
4. The method according to claim 1, characterized in that After determining the target raw material ratio corresponding to the preparation identification of the target preparation, the method further includes: If the attribute information of each target raw material meets the configured attribute conditions, the step of determining the required weight of each target raw material according to the preparation quantity and the target raw material ratio is performed.
5. The method according to claim 4, characterized in that The attribute information includes: Chinese and Western medicine attributes, dosage form attributes, and psychotropic and narcotic attributes.
6. The method according to claim 1, characterized in that After the target preparation is produced and processed according to the processing order, the method further comprises: The inventory weight of each target raw material and the inventory quantity of the target preparation are updated to obtain the current inventory weight and the current inventory quantity.
7. A preparation production and processing device, characterized in that: The device comprises: An acquisition unit, used to acquire a preparation identification and a preparation quantity of a target preparation to be prepared; A determination unit, configured to determine a target raw material ratio corresponding to the preparation identifier of the target preparation based on the correspondence between different preparation identifiers and different raw material ratios; and, determining the required weight of each target raw material according to the preparation quantity and the target raw material ratio; The production unit is used to generate a processing order according to the target raw material ratio, the required weight of each target raw material and the preparation quantity if the actual weight of the target raw material meets the corresponding required weight, so as to produce and process the target preparation according to the processing order.
8. The device according to claim 7, characterized in that The determination unit is further used to determine the target expiration date based on the correspondence between different configured preparation identifiers and different expiration dates.
9. An electronic device, characterized in that: The electronic device comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus; Memory, used to store computer programs; A processor, for implementing the method steps described in any one of claims 1 to 6 when executing a program stored in a memory.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method steps described in any one of claims 1 to 6 are implemented.