Traditional Chinese medicine blending equipment, control method and control device thereof and storage medium
The design of the traditional Chinese medicine dispensing equipment solves the problems of pharmacists making mistakes in dispensing medicine and the complexity of the process, realizes the accuracy of medicinal material dispensing and simplifies the process, and provides a solution with full traceability and information security synchronization.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- YIHULU TECH (SUZHOU) CO LTD
- Filing Date
- 2025-11-28
- Publication Date
- 2026-05-01
AI Technical Summary
Pharmacists often encounter problems such as dispensing errors and complicated procedures when using existing dispensing stations to prepare medications.
Design a traditional Chinese medicine dispensing device, including a body, a communication module, an interaction module, a dispensing module, a data acquisition module, an information reading module, and a storage module. By displaying the dispensing information of medicinal materials, scanning and recognizing the reading and writing unit, weighing and generating image files, the device can achieve accurate weighing of medicinal materials and associated storage of information.
It improves the accuracy of medicinal material dispensing and simplifies the process, reduces the risk of dispensing errors, and achieves full traceability and secure information synchronization throughout the dispensing process.
Smart Images

Figure CN121964049A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of traditional Chinese medicine preparation technology, and in particular to a traditional Chinese medicine preparation equipment, its control method, control device and storage medium. Background Technology
[0002] Traditional Chinese medicine (TCM) is a traditional Chinese method for disease prevention and treatment. During a TCM consultation, the doctor typically prescribes a herbal prescription based on the patient's condition and constitution, including the names, dosages, compatibility, usage, and contraindications of the herbs. The pharmacist then prepares the medicine according to the prescription and gives it to the patient. To facilitate dispensing, dispensing stations for TCM medicines have emerged. These stations are equipped with displays, scanners, weighing scales, and cameras. Pharmacists dispense the medicine according to the prescription displayed on the monitor. Scanners, weighing scales, and cameras ensure accurate dispensing and traceability of the process. However, even with current dispensing stations, pharmacists still encounter problems such as dispensing errors and complex procedures. Summary of the Invention
[0003] The main objective of this invention is to provide a traditional Chinese medicine dispensing equipment and its control method, control device and storage medium, which aims to solve the problems of medication errors and complicated procedures that pharmacists encounter when using a dispensing station to dispense medicines.
[0004] To achieve the above objectives, this invention proposes a control method for a traditional Chinese medicine (TCM) dispensing device. The TCM dispensing device includes a main body, a communication module, an interaction module, a dispensing module, a data acquisition module, an information reading module, and a storage module. The dispensing module includes a first support for holding a single herb, a herb weighing section, and a second support for collecting multiple herbs. The herb weighing section is used to weigh the herbs in the first support section. The second support section is equipped with an identification and reading / writing unit. The interaction module includes a display section and an operation section. The control method for the TCM dispensing device includes: Obtain the prescription to be dispensed and display it on the display unit; Based on the current prescription selected by the user, the corresponding herbal medicine preparation information is displayed on the display unit; wherein, the herbal medicine preparation information includes at least compatibility information and storage location information; The identification and reading unit obtains the current attribute information of the second carrier and displays it on the display unit; wherein the attribute information includes at least the number of the second carrier. Obtain a data association instruction to associate the attribute information with the current prescription information; After a medicinal material is weighed in the first carrier section, the acquisition module is controlled to collect and record the data and generate an image file of the corresponding dispensing process. Obtain the actual weight information of the medicinal materials in the first bearing section; The image file of each medicinal herb, its actual weight information, and the information of the current prescription are associated and stored in the storage module.
[0005] Optionally, the communication module is used for wireless communication connection with the hospital's medical information system; The step of associating and storing the image file of each medicinal herb, its actual weight information, and the prescription information in the storage module further includes: The image file of each medicinal herb, its actual weight information, and prescription information are associated and synchronized to the medical information system.
[0006] Optionally, the step of storing the image file of each medicinal herb, its actual weight information, and the prescription information in association with the storage module further includes: Data is encrypted using an encryption algorithm, wherein the encryption algorithm is configured as AES-256, and the encryption key of the encryption algorithm is set to be automatically updated once within a preset time period.
[0007] Optionally, the acquisition module is configured as a camera; The image file is configured as a JPEG file with a resolution of no less than 1920×1080 pixels. The content of the image file includes at least an image of the medicinal material and a timestamp, wherein the timestamp is accurate to the millisecond level.
[0008] Optionally, the image file, the actual weight information, and the prescription information are associated with a unique serial number, wherein the unique serial number consists of at least a date code, a prescription number, and a dispensing sequence number.
[0009] Optionally, the identification and reading unit of the second carrier is a QR code or an RFID tag; the information reading module is configured as a vehicle-mounted barcode scanner, which includes a visual barcode scanning unit and an RFID reading unit, so as to automatically switch to the RFID reading unit for identification when the visual barcode scanning unit fails to identify.
[0010] Optionally, the traditional Chinese medicine dispensing equipment further includes a walking module, which is located at the bottom of the machine body; The control method for the traditional Chinese medicine dispensing equipment further includes: Based on the current dispensing prescription, obtain the target dispensing route; The walking module is controlled to drive the machine body to move along the target allocation path.
[0011] Optionally, the step of obtaining the target dispensing route based on the current dispensing prescription includes: Based on the current prescription, obtain the storage location information of all medicinal materials on the prescription; Based on the storage location information of all medicinal materials, the shortest walking route is planned and determined as the target allocation route.
[0012] Optionally, the dispensing module further includes a verification weighing unit, which is used to weigh the collected medicinal materials in the second carrying unit; After the step of obtaining the current medicinal material information within the first carrier section, the method further includes: Receive the allocation completion instruction; The current weight of the medicinal materials in the second support section is obtained and displayed on the display section.
[0013] Optionally, the traditional Chinese medicine dispensing equipment further includes a prompting module; After obtaining the current weight of the medicinal materials in the second carrier section, the method further includes: Based on the current weight of the medicinal materials and the target total weight, obtain the verification results; Based on the verification results, the prompting module is controlled to issue corresponding prompts.
[0014] Optionally, the traditional Chinese medicine dispensing equipment further includes a printing module; The control method for the traditional Chinese medicine dispensing equipment further includes: Receive the allocation completion instruction; Obtain the current list of medicinal materials to be dispensed, and control the printing module to print the current list of medicinal materials to be dispensed.
[0015] Optionally, the traditional Chinese medicine dispensing equipment further includes a prompting module; The control method for the traditional Chinese medicine dispensing equipment further includes: Based on the actual weight information, the image file, and the target medicinal material information, determine whether the medicine was taken correctly; Based on the determination result, the prompting module is controlled to switch to the corresponding prompting state; wherein, the prompting state includes standard prompting state, overweight prompting state, and underweight prompting state.
[0016] Optionally, the interaction module is configured as a touch screen display. The step of controlling the prompting module to switch to the corresponding prompting state based on the determination result further includes: When the medication is dispensed correctly, the prompt module switches to the standard prompt state; The touch screen is controlled to display an interface indicating whether medication dispensing is continuing or has been completed.
[0017] Optionally, the communication module is used for wireless communication connection with the hospital's medical information system; The control method for the traditional Chinese medicine dispensing equipment also includes: The prescription receiving time, the actual association time of the second carrier, the dispensing start time of each medicinal material, the image information, the actual weight information, and the dispensing end time are obtained. At least associate the above data with the current prescription information and generate a structured workflow data table; The structured process data table, along with the current prescription information, the actual weight information, and the image file index, is associated with a unique serial number and stored in the storage module. Simultaneously, it is uploaded to the medical information system through the communication module.
[0018] The present invention also provides a traditional Chinese medicine dispensing device, comprising: The machine body has a mixing console on it and a built-in storage module; An interactive module, located on the body, includes a display unit and an operation unit, wherein the display unit is at least used for... The control unit displays prescription information and drug storage location, and is designed for user touch operation. The dispensing module includes a medicinal material weighing section, a first carrying section, and a second carrying section. The first carrying section is movably mounted on the dispensing table and is used to hold a single medicinal material. The medicinal material weighing section is used to weigh the medicinal materials in the first carrying section. The second carrying section is movably mounted on the machine body and is used to collect all the medicinal materials weighed in the first carrying section. The second carrying section is equipped with an identification and reading / writing unit. The acquisition module, located on the machine body, is used to acquire the mixing screen on the mixing table; An information reading module is used to read and / or write information from the identification and reading / writing unit; and, The traditional Chinese medicine dispensing equipment may be configured with the steps of the control method for the traditional Chinese medicine dispensing equipment described above.
[0019] The present invention also provides a control device, including a memory, a processor, and a debugging program for a traditional Chinese medicine dispensing device stored in the memory and executable on the processor. The debugging program for the traditional Chinese medicine dispensing device is configured to implement the steps of the control method for the traditional Chinese medicine dispensing device described above.
[0020] The present invention also provides a storage medium storing a debugging program for a traditional Chinese medicine dispensing device. When the debugging program for the traditional Chinese medicine dispensing device is executed by a processor, it implements the steps of the control method for the traditional Chinese medicine dispensing device described above.
[0021] The technical solution provided by this invention has at least the following advantages: The control method for a traditional Chinese medicine (TCM) dispensing device provided by this invention includes a main body, a communication module, an interaction module, a dispensing module, a data acquisition module, an information reading module, and a storage module. The doctor issues a prescription and uploads it to the medical information system. The interaction module acquires the prescription wirelessly via the communication module and displays it on the display unit. The user selects the current dispensing prescription through the interaction module, and the display unit shows the corresponding herbal dispensing information; the herbal dispensing information includes at least compatibility information and storage location information. The user can reach the medicine storage location to retrieve the medicine according to the prompts. This not only avoids users blindly searching for the target medicine in the medicine storage area, thus simplifying the medicine retrieval process, but also improves the accuracy of medicine retrieval and avoids the risk of retrieval errors.
[0022] Before dispensing, the user scans the identification and reading unit of the second carrier unit using the information reading module to obtain the attribute information of the second carrier unit and displays it on the display unit. The user can issue a linking command through the interactive module to associate the attribute information of the second carrier unit with the current dispensing prescription. In this way, the second carrier unit aggregates all the medicinal materials on the prescription. Upon completion of dispensing or when the medicine is released from storage, the user can scan the identification and reading unit again to obtain the medicinal material dispensing information within the second carrier unit. This allows the user to easily compare and verify the medicinal material dispensing information with the current dispensing prescription, thereby improving the accuracy of medicinal material dispensing.
[0023] Furthermore, during dispensing, the user places each herb in the first receiving unit, and its weight is detected by the weighing unit. After each herb is weighed in the first receiving unit, the control acquisition module collects and records the data, generating an image file of the corresponding dispensing process. The image file of each herb, along with its actual weight information and prescription information, is associated and stored in the storage module to ensure full traceability of the dispensing process. Attached Figure Description
[0024] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on the structures shown in these drawings without creative effort.
[0025] Figure 1 A first flowchart of a control method for a traditional Chinese medicine dispensing device provided by the present invention; Figure 2 A first flowchart of a control method for a traditional Chinese medicine dispensing device provided by the present invention; Figure 3 A first flowchart of a control method for a traditional Chinese medicine dispensing device provided by the present invention; Figure 4A first flowchart of a control method for a traditional Chinese medicine dispensing device provided by the present invention; Figure 5 This is a schematic diagram of an embodiment of a traditional Chinese medicine dispensing device provided by the present invention.
[0026] Explanation of icon numbers: 100 Traditional Chinese Medicine Dispensing Equipment; 1 Main Body; 2 Interaction Module; 3 Dispensing Module; 31 First Supporting Unit; 32 Herb Weighing Unit; 33 Second Supporting Unit; 4 Data Acquisition Module; 5 Walking Module; 6 Printing Module.
[0027] The realization of the objective, functional features and advantages of the present invention will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0028] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of the present invention.
[0029] It should be noted that if the embodiments of the present invention involve directional indicators (such as up, down, left, right, front, back, etc.), the directional indicators are only used to explain the relative positional relationship and movement of the components in a certain specific posture (as shown in the figure). If the specific posture changes, the directional indicators will also change accordingly.
[0030] Furthermore, if the embodiments of this invention involve descriptions such as "first" or "second," these descriptions are for descriptive purposes only and should not be construed as indicating or implying their relative importance or implicitly specifying the number of technical features indicated. Therefore, a feature defined with "first" or "second" may explicitly or implicitly include at least one of those features. Additionally, the meaning of "and / or" throughout the text includes three parallel solutions; for example, "A and / or B" includes solution A, solution B, or a solution where both A and B are satisfied simultaneously. Furthermore, the technical solutions of the various embodiments can be combined with each other, but this must be based on the ability of those skilled in the art to implement them. When the combination of technical solutions is contradictory or impossible to implement, it should be considered that such a combination of technical solutions does not exist and is not within the scope of protection claimed by this invention.
[0031] Pharmacists prepare Chinese medicine prescriptions and then give them to patients. To facilitate the preparation of Chinese medicine prescriptions, dispensing stations were developed.
[0032] To simplify the dispensing process and improve dispensing accuracy, this invention improves the control method of the dispensing equipment. The control method of the traditional Chinese medicine dispensing equipment is described in detail below with reference to the accompanying drawings.
[0033] Please see Figure 5 The traditional Chinese medicine dispensing equipment 100 includes a main body 1, a communication module, an interaction module 2, a dispensing module 3, and a data acquisition module 4. A dispensing table is formed on the top of the main body 1, and a walking module 5 is installed at its bottom. The communication module is used for wireless communication connection with the hospital's medical information system. The interaction module 2 is located on the main body 1 and includes a display section and an operation section. The display section is used to display at least the prescription information and the location of the medicines. The operation section is for user touch operation.
[0034] The mixing module 3 includes a first support section 31 and a second support section 33. The first support section 31 is movably mounted on the mixing table and is used to hold single medicinal materials. Its bottom is provided with a medicinal material weighing section 32 for weighing the medicinal materials. The second support section 33 is movably mounted on the machine body 1 and is located below the first support section 31. It is used to collect all the medicinal materials weighed in the first support section 31.
[0035] The acquisition module 4 is located on the body 1 and is used to acquire the dispensing screen on the dispensing table. The second carrier 33 is equipped with an identification and reading unit. The movable Chinese medicine dispensing equipment 100 also includes an information reading module, which is used to read and / or write information by the identification and reading unit. At least the communication module, dispensing module 3, interaction module 2, acquisition module 4 and information reading module are connected to each other through a circuit board assembly.
[0036] The traditional Chinese medicine dispensing equipment 100 also includes a printing module 6. After dispensing is completed, the printing module 6 prints a list of the currently dispensed medicinal materials, which allows users to check against the current dispensing prescription during the review stage or before the medicine is released from the warehouse, further ensuring the accuracy of the dispensing.
[0037] The control device includes a memory, a processor, and a debugging program for the traditional Chinese medicine dispensing device 100 stored in the memory and executable on the processor. The control device may include: a processor, such as a central processing unit (CPU), a communication bus, a user interface, a network interface, and memory. The communication bus is used to enable communication between these components. The user interface may include a display screen, an input unit such as a keyboard, and optionally, a standard wired or wireless interface. The network interface may include a standard wired or wireless interface (such as a Wi-Fi interface).
[0038] The memory can be high-speed random access memory (RAM). It can also be stable non-volatile memory (NVM), such as a disk storage device. Alternatively, the memory can be a storage device independent of the aforementioned processor.
[0039] Based on the different functional configurations of the traditional Chinese medicine dispensing equipment 100, corresponding sensors and functional modules can be set to measure or monitor the above parameter values and transmit them to the processor in real time or in a pre-set manner to realize various functional combinations between different parameter modules.
[0040] Those skilled in the art will understand that Figure 5 The structure shown does not constitute a limitation on the control device and may include more or fewer components than shown, or combine certain components, or have different component arrangements.
[0041] The memory, which serves as a storage medium, may include an operating system, a network communication module, a user interface module, and a debugging program for the traditional Chinese medicine dispensing equipment 100.
[0042] In the control device, the network interface is mainly used for data communication with the network server; the user interface is mainly used for data interaction with the user; the processor and memory in the control device of the present invention can be set in the traditional Chinese medicine dispensing equipment 100. The control device calls the debugging program of the traditional Chinese medicine dispensing equipment 100 stored in the memory through the processor and executes the control method of the traditional Chinese medicine dispensing equipment 100 provided in the embodiment of the present invention.
[0043] It should be noted that the above-described structural components do not constitute a limitation on the specific form of the traditional Chinese medicine dispensing equipment 100. In practical applications, the traditional Chinese medicine dispensing equipment 100 can be an automated traditional Chinese medicine dispensing equipment 100 that includes the above-described modules, and has functions such as walking, weighing, image acquisition, and printing.
[0044] Please see Figures 1 to 4 The present invention also provides a control method for a traditional Chinese medicine (TCM) dispensing device. This TCM dispensing device can be any of the TCM dispensing devices described in the above embodiments; it can also be other TCM dispensing devices.
[0045] The information acquired by the aforementioned weighing unit, data acquisition module, and information reading module can be stored in association with the data in the control device's memory, or it can be stored separately and independently in the control device's memory. Alternatively, the values can be obtained by the user entering them on-site or pre-entering them using the methods described above.
[0046] Please see Figure 1 and Figure 5 , Figure 1A flowchart illustrating a first embodiment of a control method for a traditional Chinese medicine dispensing device provided by the present invention. In the first embodiment, the control method for the traditional Chinese medicine dispensing device includes: S10: Obtain the prescription to be dispensed and display it on the display unit; S20: Based on the current prescription selected by the user, display the corresponding medicinal material preparation information on the display unit; wherein, the medicinal material preparation information includes at least compatibility information and storage location information; S30: Obtain the current attribute information of the second carrier unit according to the identification and reading unit, and display it on the display unit; wherein, the attribute information includes at least the number of the second carrier unit; S40: Obtain data association instructions to associate attribute information with the current dispensing prescription; S50: After weighing a medicinal material in the first carrier section, the control acquisition module collects and records the data and generates an image file of the corresponding dispensing process. S60: Obtain the actual weight information of the medicinal materials in the first bearing section; S70: The image file and actual weight information of each medicinal material, as well as the prescription information, are associated and stored in the storage module.
[0047] The doctor issues a prescription and uploads it to the medical information system. The interactive module can retrieve the prescription wirelessly via the communication module and display it on the display unit. The user selects the current prescription through the interactive module, and the display unit shows the corresponding herbal preparation information; the herbal preparation information includes at least compatibility information and storage location information. The user can then follow the prompts to reach the medicine storage location to retrieve the medication. This not only avoids users blindly searching for the target medicine in the medicine storage area, thus simplifying the medication retrieval process, but also improves the accuracy of medication retrieval and avoids the risk of medication retrieval errors.
[0048] Before dispensing, the user scans the identification and reading unit of the second carrier unit using the information reading module to obtain the attribute information of the second carrier unit and displays it on the display unit. The user can issue a linking command through the interactive module to associate the attribute information of the second carrier unit with the current dispensing prescription. In this way, the second carrier unit aggregates all the medicinal materials on the prescription. Upon completion of dispensing or when the medicine is released from storage, the user can scan the identification and reading unit again to obtain the medicinal material dispensing information within the second carrier unit. This allows the user to easily compare and verify the medicinal material dispensing information with the current dispensing prescription, thereby improving the accuracy of medicinal material dispensing.
[0049] Furthermore, during dispensing, the user places each herb in the first receiving unit, and its weight is detected by the weighing unit. After each herb is weighed in the first receiving unit, the control acquisition module collects and records the data, generating an image file of the corresponding dispensing process. The image file of each herb, along with its actual weight information and prescription information, is associated and stored in the storage module to ensure full traceability of the dispensing process.
[0050] Understandably, the communication module is used for wireless communication with the hospital's medical information system. The communication module is configured as a wide-area low-power communication module or a cellular communication module. Preferably, the communication module is configured as a cellular communication module, such as 4G or 5G. When the traditional Chinese medicine dispensing equipment establishes a connection with the medical information system, two-way authentication is completed through an identity authentication protocol.
[0051] To facilitate further traceability, step S70, which associates and stores the image file and actual weight information of each medicinal material with the prescription information in the storage module, also includes: The image files and actual weight information of each medicinal herb, along with the prescription information, are linked and synchronized to the medical information system.
[0052] In other words, during the process of a user preparing each medicine, the image file and actual weight information of each medicinal material, once linked with the prescription information, can not only be stored in the storage module but also simultaneously uploaded to the medical information system. This allows users to easily retrieve relevant information for traceability at any time.
[0053] It should be noted that there is no strict order to the steps of storing to the storage module and synchronizing to the medical information system; the two can be performed simultaneously.
[0054] In one embodiment, the step of storing the image file and actual weight information of each medicinal herb, along with the prescription information, in the storage module further includes: Data is encrypted using an encryption algorithm, specifically the AES-256 algorithm, and the encryption key is set to be automatically updated once every preset time period.
[0055] It should be noted that medical data (including patient information and prescription information) is sensitive and private data, subject to legal and regulatory constraints. AES (Advanced Encryption Standard) is an internationally used symmetric encryption algorithm; a 256-bit key length means a key space of up to 2^32 bits. 256 This combination of encryption methods presents an extremely high level of difficulty for brute-force attacks, meeting the stringent requirements for encryption strength in medical data and effectively preventing data theft or tampering during storage or transmission. Encryption using the AES-256 algorithm effectively avoids issues such as patient privacy breaches and medical disputes caused by data leaks, ensuring that the application of traditional Chinese medicine dispensing equipment complies with industry compliance standards.
[0056] Meanwhile, the encryption key is not a fixed value, but is dynamically generated by the communication module of the traditional Chinese medicine dispensing equipment and the medical information system through a preset key negotiation protocol (such as the Diffie-Hellman key exchange protocol). When the two parties establish a communication connection for the first time, they exchange key negotiation parameters through a public channel and each calculates the same session key to avoid the risk of the key being intercepted during transmission.
[0057] To further enhance security, the key is set to automatically update once every preset time period, such as once every 24 hours. The main control module of the traditional Chinese medicine dispensing equipment has a built-in timing unit. When the key has been used for 24 hours, a new round of key negotiation process is automatically triggered to generate a new AES-256 key, while the old key is discarded. This ensures that even if there is a risk of key leakage, its effective scope and duration of harm are strictly controlled.
[0058] As mentioned above, during the preparation of medicinal materials, it is necessary to collect and record images of the preparation process. In one embodiment, the acquisition module is configured as a camera. The image file is configured as a JPEG format file with a resolution of not less than 1920×1080 pixels. The content of the image file includes at least an image of the medicinal materials and a timestamp, wherein the timestamp is accurate to the millisecond level.
[0059] In this embodiment, a camera is selected as the acquisition module, which balances cost and practicality. It can be fixed directly above the weighing station by a vehicle bracket to ensure that the shooting angle covers the entire process of weighing medicinal materials, and visual recording can be achieved without additional complex sensing equipment.
[0060] Using the JPEG (Joint Photographic Experts Group) format to store image files ensures image clarity while balancing file size and transmission efficiency, making it compatible with the storage modules of traditional Chinese medicine dispensing equipment and the wireless transmission bandwidth of medical information systems.
[0061] The image file resolution should be no less than 1920×1080 pixels (Full HD) to ensure that the image clearly presents key information such as the shape, color, and dosage of the medicinal materials, meeting the needs of subsequent visual verification. Millisecond-level timestamps enable precise positioning of dispensing actions, avoiding confusion in time records during the dispensing of multiple medicinal materials, and providing accurate time anchors for end-to-end traceability.
[0062] Furthermore, the image files, actual weight information, and prescription information are linked by a unique serial number, which consists of at least a date code, a prescription number, and a dispensing sequence number.
[0063] To ensure that users can compare and verify the information after dispensing or when the medicine is issued, the attribute information of the second carrier will be associated with the current dispensing prescription before dispensing.
[0064] In one embodiment, the identification and reading unit of the second carrier is a QR code or an RFID tag; the information reading module is configured as a vehicle-mounted barcode scanner, which includes a visual scanning unit and an RFID reading unit, to automatically switch to the RFID reading unit for identification when the visual scanning unit fails to identify the code. This barcode binding algorithm is existing technology and will not be elaborated upon here.
[0065] It should be noted that by linking the actual weight information, image files, and pre-prepared prescription information, and combining this with the association between the attribute information of the second carrier and the pre-prepared prescription information, a collaborative system of data complementarity and end-to-end traceability can be formed.
[0066] Actual weight information provides quantitative indicators, while image files provide visual evidence. The combination of the two can comprehensively verify the accuracy of dispensing operations. For example, cases where the weight meets the standard but the morphology of the medicinal materials is abnormal can be detected through images.
[0067] The millisecond-level timestamps are linked to unique serial numbers, ensuring that each image file can be accurately matched to a specific prescription, specific medicinal material, and specific operation time. This provides core data support for the subsequent scanning, identification, reading, and writing unit of the second carrier unit to trace the image, enabling the convenient function of viewing complete image traceability information by scanning a code, further improving the product's practicality and user experience.
[0068] During the dispensing process, the herbal medicine dispensing equipment moves synchronously with the user. In some embodiments, the bottom of the herbal medicine dispensing equipment is equipped with casters, allowing the user to push the equipment to the corresponding herbal medicine storage area to retrieve the medicine.
[0069] To ensure the accuracy of weighing each medicinal ingredient during the preparation process, in one embodiment, the traditional Chinese medicine preparation equipment also includes a prompting module; Please see Figure 1 The control methods for traditional Chinese medicine dispensing equipment also include: S80: Determine whether the medicine was taken correctly based on the actual weight information, image files, and target medicinal material information; S90: Based on the judgment result, the control prompt module switches to the corresponding prompt state; the prompt states include standard prompt state, overweight prompt state, and underweight prompt state.
[0070] Specifically, the interaction module is configured as a touch screen. Step S90, which controls the prompt module to switch to the corresponding prompt state based on the determination result, further includes: S901: When the medication is dispensed correctly, the prompt module switches to the standard prompt state; S902: Controls the touch screen to display the interface for continuing medication dispensing or completing medication dispensing.
[0071] In other words, each medicinal herb is placed on the first support unit, and the weighing unit weighs the herbs within the first support unit to obtain the actual weight information. The acquisition module collects image files of the herbs. Based on the actual weight information, the image files, and the target herb information, it determines whether the herbs were correctly selected. Based on the determination result, the control prompt module switches to the corresponding prompt state; these prompt states include a standard prompt state, an overweight prompt state, and a shortfall prompt state.
[0072] When the correct medicine is dispensed, the interactive module will prompt the user to continue. The user can then use the interactive module to complete the dispensing of the next medicine. This process continues until all the medicines on the current prescription have been dispensed.
[0073] To further save users time and effort, and to enhance the guiding role of traditional Chinese medicine dispensing equipment, in one embodiment, please refer to... Figure 2 and Figure 5 , Figure 2 This is a flowchart of a second embodiment of a control method for a traditional Chinese medicine dispensing device provided by the present invention. In the second embodiment, the traditional Chinese medicine dispensing device further includes a walking module, which is located at the bottom of the machine body.
[0074] The control methods for traditional Chinese medicine dispensing equipment also include: S100: Obtain the target dispensing route based on the current dispensing prescription; S110: Controls the walking module to drive the machine body along the target allocation path.
[0075] Specifically, step S90, which obtains the target dispensing route based on the current dispensing prescription, includes: S1101: Based on the current prescription, obtain the storage location information of all medicinal materials on the prescription; S1102: Based on the storage location information of all medicinal materials, plan the shortest walking route and determine it as the target allocation route.
[0076] In this embodiment, the Chinese medicine dispensing equipment can automatically plan the optimal path based on the storage location information of the prescription Chinese medicinal materials and move to the corresponding shelf for users to pick up and dispense the medicine, greatly reducing the manual round trip. It is especially suitable for large Chinese medicine pharmacies (with many shelves and wide distribution) and can shorten the dispensing time of a single prescription.
[0077] Meanwhile, in practical applications, prescriptions uploaded to the medical information system awaiting dispensing will queue. The walking module can plan merged routes according to prescription priority (such as dispensing multiple traditional Chinese medicines from adjacent shelves along the way) and prompt the user to select on the interactive module. In this way, repeated movements can be avoided, improving the overall efficiency of dispensing multiple prescriptions.
[0078] It should be noted that the target dispensing route can be based on the electronic map of the Chinese medicine pharmacy (stored in the storage module or medical information system), and the shortest path can be planned using the Dijkstra algorithm or the A* algorithm, while avoiding obstacles to ensure that the walking process is efficient and smooth and avoid delays in dispensing due to path congestion.
[0079] Furthermore, the path planning can be sorted according to the order of dispensing Chinese medicines in the prescription. The cart moves to the corresponding shelf in sequence, and with the dispensing guidance instructions of the interactive module, it guides users to pick up and dispense medicines in order, avoiding confusion in the dispensing order of multiple Chinese medicines and ensuring the standardization of dispensing operations. After the movement trajectory data of the walking module is bound to the prescription information, the location of each Chinese medicine can be traced. If there is a quality problem with the medicinal materials (such as the medicinal materials being damp or deteriorated), the corresponding shelf area can be quickly located, which is convenient for the hospital to carry out traceability and investigation.
[0080] It should be noted that there is no explicit sequential relationship between steps 100 and 110 and steps S10 to S90 mentioned above.
[0081] After the preparation is complete, the user gathers all the medicinal materials in the second storage unit. At this point, the user can directly transfer the prepared medicinal materials to the next process. Alternatively, a preliminary check of the medicinal materials can be performed.
[0082] In one embodiment, please refer to Figure 3 and Figure 5 , Figure 3 This is a flowchart of a third embodiment of a control method for a traditional Chinese medicine dispensing device provided by the present invention. In the third embodiment, the dispensing module further includes a verification weighing unit, which is used to weigh the collected medicinal materials in the second carrying unit.
[0083] After step S70 of obtaining the current medicinal material information within the first carrier section, the method further includes: S120: Received allocation completion instruction; S130: Obtain the current weight of the medicinal materials in the second bearing section and display it on the display section.
[0084] Specifically, the traditional Chinese medicine dispensing equipment also includes a prompting module; After step S110 of obtaining the current weight of the medicinal material in the second carrier, the method further includes: S140: Obtain the verification results based on the current weight of the medicinal materials and the target total weight; S150: Based on the review results, the control prompt module will issue corresponding prompts.
[0085] Traditional total weight verification relies on the cumulative weight of individual Chinese herbs, which can easily lead to an overestimation of the total weight due to the accumulation of small deviations in the weighing of individual herbs, or to an underestimation of the actual total weight due to spillage or adhesion of herbs during dispensing. The verification weighing department directly weighs the total herbs, which can accurately obtain the actual total weight and directly compare it with the target total weight (the sum of the dosage of all Chinese herbs in the prescription), making error determination more direct and accurate.
[0086] When the verification result is unqualified, the prompt module will provide corresponding prompts. Users can view the difference between the actual weight of a single Chinese medicine and the total weight through the interactive module, quickly determine the cause of the deviation (such as a certain Chinese medicine not being added, spilled herbs, or weighing errors), avoid blind verification, and improve error correction efficiency.
[0087] Relevant regulations stipulate that prescription dispensing requires double verification, but manual verification is inefficient and prone to omissions. The verification and weighing department collaborates with the user to simulate a double verification model, meeting regulatory requirements while reducing labor costs.
[0088] Furthermore, all data from the review process is stored in association with the prescription information and can be retrieved later by scanning the identification and reading unit on the second carrier unit, enabling full traceability.
[0089] For example, a prescription contains N kinds of Chinese herbs. Following the steps outlined above, the user weighs each herb and the weights are tallied in the second weighing unit. At this point, the operator triggers a dispensing completion command. The weighing unit automatically collects and summarizes the herb weights, compares them to the target total weight, and obtains the total weight deviation. The prompt module then displays the total weight deviation on the interactive module and provides corresponding prompts, such as indicating a weight shortage of Xg or an overweight of Yg. The operator can review the dispensing process through video files, identify any errors in weighing a particular herb, adjust the herbs, and re-trigger the verification until the entire dispensing process is completed successfully. This ensures dispensing accuracy while improving operational efficiency and compliance.
[0090] It should be noted that there is no explicit sequential relationship between steps S120~S150 and the aforementioned steps S100~S110.
[0091] In one embodiment, please refer to Figure 4 and Figure 5 , Figure 4 This is a flowchart of a fourth embodiment of a control method for a traditional Chinese medicine dispensing device provided by the present invention. In the fourth embodiment, the traditional Chinese medicine dispensing device further includes a printing module.
[0092] The control methods for traditional Chinese medicine dispensing equipment also include: 160: Received allocation completion instruction; 170: Obtain the current list of prepared medicinal materials and control the printing module to print the current list of prepared medicinal materials.
[0093] In this embodiment, after the dispensing is completed, the printing module prints the list of currently dispensed medicinal materials, which allows the user to check against the current dispensing prescription during the review stage or before the medicine is released from the warehouse, further ensuring the accuracy of the dispensing of medicinal materials.
[0094] It should be noted that there is no explicit sequential relationship between steps S160~S170 and the aforementioned steps S100~S110.
[0095] As mentioned above, the communication module is used for wireless communication connection with the hospital's medical information system.
[0096] In one embodiment, the control method for the traditional Chinese medicine dispensing equipment further includes: S180: Obtain the prescription receiving time, the actual association time of the second carrier, the dispensing start time of each medicinal material, image information, actual weight information, and dispensing end time; S190: At least associate the above data information with the current prescription information and generate a structured process data table; S200: The structured process data table is associated with the current prescription information, actual weight information, and image file index and stored in the storage module through a unique serial number. At the same time, it is synchronously uploaded to the medical information system through the communication module.
[0097] In this embodiment, a structured data table is generated based on the data collected during the dispensing process. The structured data table includes core indicators such as total process time and dispensing time for a single herb, which can show the average dispensing time per prescription, the average dispensing efficiency per operator, and the time consumption percentage of key nodes, providing data support for optimizing the work process.
[0098] Furthermore, by comparing the time differences between different nodes based on the structured data tables (e.g., excessive time spent binding medicine baskets may be due to barcode scanner malfunction, and abnormal time spent dispensing single herbs may be due to operator unfamiliarity), managers can quickly identify process bottlenecks, equipment malfunctions, or operational problems.
[0099] The above description is only a preferred embodiment of the present invention and does not limit the patent scope of the present invention. All equivalent structural transformations made under the concept of the present invention using the contents of the present invention specification and drawings, or direct / indirect applications in other related technical fields, are included within the patent protection scope of the present invention.
Claims
1. A control method for a traditional Chinese medicine dispensing device, characterized in that, The traditional Chinese medicine dispensing equipment includes a body, a communication module, an interaction module, a dispensing module, a data acquisition module, an information reading module, and a storage module. The dispensing module includes a first holding section for single-herb materials, a weighing section for herbs, and a second holding section for combining multiple herbs. The weighing section is used to weigh the herbs in the first holding section. The second holding section is equipped with an identification and reading / writing unit. The interaction module includes a display section and an operation section. The control method for the traditional Chinese medicine dispensing equipment includes: Obtain the prescription to be dispensed and display it on the display unit; Based on the current prescription selected by the user, the corresponding herbal medicine preparation information is displayed on the display unit; wherein, the herbal medicine preparation information includes at least compatibility information and storage location information; The identification and reading unit obtains the current attribute information of the second carrier and displays it on the display unit; wherein the attribute information includes at least the number of the second carrier. Obtain a data association instruction to associate the attribute information with the current prescription information; After a medicinal material is weighed in the first carrier section, the acquisition module is controlled to collect and record the data and generate an image file of the corresponding dispensing process. Obtain the actual weight information of the medicinal materials in the first bearing section; The image file of each medicinal herb, its actual weight information, and the information of the current prescription are associated and stored in the storage module.
2. The control method for the traditional Chinese medicine dispensing equipment according to claim 1, characterized in that, The communication module is used for wireless communication connection with the hospital's medical information system; The step of associating and storing the image file of each medicinal herb, its actual weight information, and the prescription information in the storage module further includes: The image file of each medicinal herb, its actual weight information, and prescription information are associated and synchronized to the medical information system.
3. The control method for the traditional Chinese medicine dispensing equipment according to claim 1, characterized in that, The step of associating and storing the image file of each medicinal herb, its actual weight information, and the prescription information in the storage module further includes: Data is encrypted using an encryption algorithm, wherein the encryption algorithm is configured as AES-256, and the encryption key of the encryption algorithm is set to be automatically updated once within a preset time period.
4. The control method for the traditional Chinese medicine dispensing equipment according to claim 1, characterized in that, The acquisition module is configured as a camera; The image file is configured as a JPEG file with a resolution of no less than 1920×1080 pixels. The content of the image file includes at least an image of the medicinal material and a timestamp, wherein the timestamp is accurate to the millisecond level.
5. The control method for the traditional Chinese medicine dispensing equipment according to claim 1, characterized in that, The image file, the actual weight information, and the prescription information are associated with a unique serial number, which consists of at least a date code, a prescription number, and a dispensing sequence number.
6. The control method for the traditional Chinese medicine dispensing equipment according to claim 1, characterized in that, The identification and reading unit of the second carrier is a QR code or an RFID tag; the information reading module is configured as a vehicle-mounted barcode scanner, which includes a visual barcode scanning unit and an RFID reading unit, and is used to automatically switch to the RFID reading unit for identification when the visual barcode scanning unit fails to identify.
7. The control method for the traditional Chinese medicine dispensing equipment according to claim 1, characterized in that, The traditional Chinese medicine dispensing equipment also includes a walking module, which is located at the bottom of the machine body; The control method for the traditional Chinese medicine dispensing equipment further includes: Based on the current dispensing prescription, obtain the target dispensing route; The walking module is controlled to drive the machine body to move along the target allocation path.
8. The control method for the traditional Chinese medicine dispensing equipment according to claim 7, characterized in that, The step of obtaining the target dispensing route based on the current dispensing prescription includes: Based on the current prescription, obtain the storage location information of all medicinal materials on the prescription; Based on the storage location information of all medicinal materials, the shortest walking route is planned and determined as the target allocation route.
9. The control method for the traditional Chinese medicine dispensing equipment according to claim 1, characterized in that, The dispensing module also includes a verification weighing unit, which is used to weigh the collected medicinal materials in the second carrying unit; After the step of obtaining the current medicinal material information within the first carrier section, the method further includes: Receive the allocation completion instruction; The current weight of the medicinal materials in the second support section is obtained and displayed on the display section.
10. The control method for the traditional Chinese medicine dispensing equipment according to claim 9, characterized in that, The traditional Chinese medicine dispensing equipment also includes a prompting module; After obtaining the current weight of the medicinal materials in the second carrier section, the method further includes: Based on the current weight of the medicinal materials and the target total weight, obtain the verification results; Based on the review results, the prompting module is controlled to issue corresponding prompts.
11. The control method for the traditional Chinese medicine dispensing equipment according to claim 1, characterized in that, The traditional Chinese medicine dispensing equipment also includes a printing module; The control method for the traditional Chinese medicine dispensing equipment further includes: Receive the allocation completion instruction; Obtain the current list of medicinal materials to be dispensed, and control the printing module to print the current list of medicinal materials to be dispensed.
12. The control method for the traditional Chinese medicine dispensing equipment according to claim 1, characterized in that, The traditional Chinese medicine dispensing equipment also includes a prompting module; The control method for the traditional Chinese medicine dispensing equipment further includes: Based on the actual weight information, the image file, and the target medicinal material information, determine whether the medicine was taken correctly; Based on the determination result, the prompting module is controlled to switch to the corresponding prompting state; wherein, the prompting state includes standard prompting state, overweight prompting state, and underweight prompting state.
13. The control method for the traditional Chinese medicine dispensing equipment according to claim 12, characterized in that, The interaction module is configured as a touch screen display. The step of controlling the prompting module to switch to the corresponding prompting state based on the determination result further includes: When the medication is dispensed correctly, the prompt module switches to the standard prompt state; The touch screen is controlled to display an interface indicating whether medication dispensing is continuing or has been completed.
14. The control method for the traditional Chinese medicine dispensing equipment according to claim 1, characterized in that, The communication module is used for wireless communication connection with the hospital's medical information system; The control method for the traditional Chinese medicine dispensing equipment also includes: The prescription receiving time, the actual association time of the second carrier, the dispensing start time of each medicinal material, the image information, the actual weight information, and the dispensing end time are obtained. At least associate the above data with the current prescription information and generate a structured workflow data table; The structured process data table, along with the current prescription information, the actual weight information, and the image file index, is associated with a unique serial number and stored in the storage module. Simultaneously, it is uploaded to the medical information system through the communication module.
15. A traditional Chinese medicine dispensing device, characterized in that, include The machine body has a mixing console formed thereon and a built-in storage module; the interaction module is located on the machine body and includes a display unit and an operation unit, wherein the display unit is at least used for The control unit displays prescription information and drug storage location, and is designed for user touch operation. The dispensing module includes a medicinal material weighing section, a first carrying section, and a second carrying section. The first carrying section is movably mounted on the dispensing table and is used to hold a single medicinal material. The medicinal material weighing section is used to weigh the medicinal materials in the first carrying section. The second carrying section is movably mounted on the machine body and is used to collect all the medicinal materials weighed in the first carrying section. The second carrying section is equipped with an identification and reading / writing unit. The acquisition module, located on the machine body, is used to acquire the mixing screen on the mixing table; The information reading module is used to read and / or write information from the identification and reading unit; as well as, The traditional Chinese medicine dispensing equipment may include the steps of the control method for the traditional Chinese medicine dispensing equipment as described in any one of claims 1 to 14.
16. A control device, characterized in that, The device includes a memory, a processor, and a debugging program for a traditional Chinese medicine dispensing device stored in the memory and executable on the processor. The debugging program for the traditional Chinese medicine dispensing device is configured to implement the steps of the control method for the traditional Chinese medicine dispensing device as described in any one of claims 1 to 14.
17. A storage medium, characterized in that, The storage medium stores a debugging program for a traditional Chinese medicine dispensing device. When the debugging program for the traditional Chinese medicine dispensing device is executed by the processor, it implements the steps of the control method for the traditional Chinese medicine dispensing device as described in any one of claims 1 to 14.