Dynamic bottle dispensing control method, apparatus, system, and storage medium

By dynamically determining the first available workstation in the traditional Chinese medicine granule dispensing system and generating guiding control information, the efficiency loss caused by the inconsistent starting position of dispensing bottles is solved, thereby improving the dispensing efficiency of traditional Chinese medicine granules.

CN117775421BActive Publication Date: 2026-04-21SHANGHAI GUANDAO MEDICAL TECHNOLOGY CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
SHANGHAI GUANDAO MEDICAL TECHNOLOGY CO LTD
Filing Date
2024-01-25
Publication Date
2026-04-21

AI Technical Summary

Technical Problem

In automated dispensing systems for traditional Chinese medicine granules, fixing or arbitrarily selecting the starting position for dispensing bottles leads to equipment efficiency loss, redundant steps, and affects dispensing efficiency.

Method used

By obtaining the number of drug ingredients and the number of available workstations from the prescription information, the first available workstation is dynamically determined, and guidance and control information for placing medicine bottles is generated to optimize the drug placement process at the workstation.

Benefits of technology

This reduces redundant steps, ensures consistency in the dispensing of each prescription, and improves the efficiency of dispensing Chinese herbal granules.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117775421B_ABST
    Figure CN117775421B_ABST
Patent Text Reader

Abstract

This disclosure provides a dynamic bottle-dispensing control method, apparatus, system, and storage medium. The method includes: in response to obtaining prescription information, obtaining the number of medicinal ingredients contained in the prescription information; obtaining the number of available workstations; obtaining the first available workstation corresponding to the current prescription information based on the number of medicinal ingredients and the number of workstations; and generating guidance control information for placing medicine bottles based on the first available workstation and the medicinal ingredients in the prescription information. This embodiment's solution can determine the first available workstation and generate guidance control information based on the prescription information, that is, determine the corresponding first available workstation for each prescription, reducing redundant steps, ensuring that each prescription has a consistent rhythm, and ultimately improving the dispensing efficiency of traditional Chinese medicine granules.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of control technology, and in particular to a dynamic bottle dispensing control method, device, system and storage medium for dispensing traditional Chinese medicine granules. Background Technology

[0002] The related technology uses an automated dispensing system for traditional Chinese medicine formula granules to automatically dispense traditional Chinese medicine formula granules, thereby improving dispensing efficiency.

[0003] When dispensing and placing multi-ingredient granules into bottles, the starting position for dispensing (i.e., the dispensing station) is either fixed or the dispensing operator can arbitrarily choose an available station. However, this operation results in redundant steps for the dispensing equipment to synchronize the cycle time of different prescription ingredients, leading to varying degrees of efficiency loss. Summary of the Invention

[0004] This disclosure provides a dynamic bottle dispensing control method, apparatus, system, and storage medium to solve the aforementioned technical problems.

[0005] According to a first aspect of this disclosure, a dynamic bottle dispensing and dispensing control method is provided, the method comprising:

[0006] In response to obtaining prescription information, the prescription information includes the number of ingredients of the drugs;

[0007] Get the number of available workstations;

[0008] The first available workstation corresponding to this prescription information is obtained based on the number of flavors and the number of workstations.

[0009] Based on the first available workstation and the medication in the prescription information, guide control information for placing the medicine bottle is generated.

[0010] In some possible examples, obtaining the prescription information includes the number of drug ingredients, including:

[0011] The types of information used to obtain prescription information;

[0012] Match the information recognition model according to the information type;

[0013] The prescription information is input into the information recognition model to obtain at least one type of drug information output by the information recognition model;

[0014] The number of flavors of the drug is determined based on the information of at least one drug.

[0015] In some possible examples, the number of available workstations is obtained, including:

[0016] Obtain configuration data, which includes the configuration status of each workstation, including an available status or a disabled status;

[0017] Get the number of available states, and then get the number of available workstations.

[0018] In some possible examples, the first available workstation corresponding to the current prescription information is obtained based on the number of flavors and the number of workstations, including:

[0019] Obtain the remainder between the number of flavors and the number of workstations;

[0020] When the remainder value is equal to 0, the station number of the desired station is assigned the first preset value.

[0021] Determine whether the configuration status of the desired workstation is available;

[0022] In response to determining that the configuration status of the desired workstation is available, the desired workstation is determined to be the first available workstation.

[0023] In some possible examples, the method also includes:

[0024] In response to determining that the configuration status of the desired workstation is disabled, the desired workstation is updated to the next adjacent workstation;

[0025] Continue with the step of determining whether the configuration status of the desired workstation is available.

[0026] In some possible examples, the method also includes:

[0027] In response to the remainder value being greater than 0, the station number of the desired station is assigned a second preset value and the counter is assigned a third preset value.

[0028] Determine whether the remainder value is equal to the value of the counter;

[0029] In response to the fact that the remainder value is not equal to the value of the counter, the value of the counter is updated according to a first preset step size;

[0030] Determine whether the configuration status of the desired workstation is available;

[0031] In response to determining that the configuration status of the desired workstation is disabled, the workstation number of the desired workstation is updated according to the second preset step size until the configuration status of the desired workstation is available, and then the step of determining whether the remainder value is equal to the value of the counter is continued.

[0032] In response to the remainder value being equal to the value of the counter, the desired workstation is determined to be the first available workstation.

[0033] In some possible examples, guidance control information for placing the medicine bottle is generated based on the first available workstation and the medication in the prescription information, including:

[0034] Based on the first available workstation, determine the target available workstation corresponding to the serial number of each drug in the prescription information;

[0035] Generate guidance and control information for the target available workstation.

[0036] According to a second aspect of this disclosure, a control device is provided, the device comprising:

[0037] The drug flavor count acquisition module is configured to acquire the drug flavor count contained in the prescription information in response to obtaining prescription information;

[0038] The workstation quantity acquisition module is configured to acquire the number of available workstations.

[0039] The first workstation acquisition module is configured to acquire the first available workstation corresponding to the current prescription information based on the number of flavors and the number of workstations.

[0040] The control information generation module is configured to generate guidance control information for placing medicine bottles based on the first available workstation and the medication in the prescription information.

[0041] In some possible examples, the drug flavor acquisition module includes:

[0042] The information type acquisition submodule is configured to acquire information types for prescription information.

[0043] The identification model matching submodule is configured to match an information identification model according to the information type;

[0044] The drug information acquisition submodule is configured to input the prescription information into the information recognition model to obtain at least one type of drug information output by the information recognition model;

[0045] The drug flavor count acquisition submodule is configured to determine the drug flavor count based on the information of the at least one drug.

[0046] In some possible examples, the workstation quantity acquisition module includes:

[0047] The configuration data acquisition submodule is configured to acquire configuration data, which includes the configuration status of each workstation, including an available status or a disabled status.

[0048] The workstation quantity acquisition submodule is configured to acquire the number of available workstations and obtain the total number of available workstations.

[0049] In some possible examples, the first workstation acquisition module includes:

[0050] The remainder value acquisition submodule is configured to acquire the remainder value between the flavor number and the number of workstations;

[0051] The desired workstation assignment submodule is configured to assign the workstation number of the desired workstation to a first preset value when the remainder value is equal to 0.

[0052] The availability status determination submodule is configured to determine whether the configuration status of the desired workstation is available.

[0053] The first workstation determination submodule is configured to determine the desired workstation as the first available workstation in response to determining that the configuration state of the desired workstation is available.

[0054] In some possible examples, the first workstation acquisition module may also include:

[0055] The desired workstation update submodule is configured to update the desired workstation to the next adjacent workstation in response to determining that the configuration state of the desired workstation is disabled.

[0056] The desired workstation update submodule is also used to trigger the availability status determination submodule, so that the availability status determination submodule continues to execute the step of determining whether the configuration status of the desired workstation is available.

[0057] In some possible examples, the first workstation acquisition module may also include:

[0058] The assignment submodule is configured to, in response to the remainder value being greater than 0, assign the station number of the desired station to a second preset value and assign the counter to a third preset value.

[0059] The numerical judgment submodule is configured to determine whether the remainder value is equal to the value of the counter;

[0060] The counter update submodule is configured to update the value of the counter according to a first preset step size in response to the remainder value not being equal to the value of the counter.

[0061] The status determination submodule is configured to determine whether the configuration status of the desired workstation is available.

[0062] The workstation number update submodule is configured to update the workstation number of the desired workstation according to a second preset step size in response to determining that the configuration status of the desired workstation is disabled, until the configuration status of the desired workstation is available, and then continue to execute the step of determining whether the remainder value is equal to the value of the counter.

[0063] The first workstation determination submodule is configured to determine the desired workstation as the first available workstation in response to the remainder value being equal to the value of the counter.

[0064] In some possible examples, the control information generation module includes:

[0065] The target workstation determination submodule is configured to determine the target available workstation corresponding to the serial number of each drug in the prescription information, based on the first available workstation.

[0066] The control information generation submodule is configured to generate guidance control information for the target available workstation.

[0067] According to a third aspect of this disclosure, a control system is provided, comprising:

[0068] Processor and memory;

[0069] The memory is used to store computer programs that can be executed by the processor;

[0070] The processor is configured to execute a computer program in the memory to implement the method as described in any of the first aspects.

[0071] According to a fourth aspect of this disclosure, a non-transitory computer-readable storage medium is provided, which, when an executable computer program in the storage medium is executed by a processor, enables the implementation of the method as described in any of the first aspects.

[0072] The technical solutions provided by the embodiments of this disclosure may include the following beneficial effects:

[0073] The solution in this embodiment can respond to obtaining prescription information by acquiring the number of medicinal ingredients in the prescription information; then, acquiring the number of available workstations; subsequently, acquiring the first available workstation corresponding to the current prescription information based on the number of medicinal ingredients and the number of workstations; finally, generating guidance and control information for placing medicine bottles based on the first available workstation and the medicinal ingredients in the prescription information. In this way, the solution in this embodiment can determine the first available workstation and generate guidance and control information based on the prescription information, that is, determine the corresponding first available workstation for each prescription, reduce redundant steps, ensure that each prescription has a consistent rhythm, and ultimately improve the dispensing efficiency of traditional Chinese medicine granules.

[0074] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description

[0075] Figure 1This is a block diagram of a traditional Chinese medicine formula granule dispensing system according to an embodiment of the present disclosure.

[0076] Figure 2 This is a schematic diagram of an operation console with multiple workstations according to an embodiment of the present disclosure.

[0077] Figure 3 This is a flowchart of a control method according to an embodiment of the present disclosure.

[0078] Figure 4 This is a flowchart of a control method according to an embodiment of the present disclosure.

[0079] Figure 5 This is a block diagram of a focusing device according to an embodiment of the present disclosure. Detailed Implementation

[0080] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numerals in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses consistent with some aspects of this disclosure as detailed in the appended claims.

[0081] This disclosure provides a dynamic bottle-dispensing control method, apparatus, system, and storage medium. The control method described above can be applied to a control system, which in turn can be used in a traditional Chinese medicine granule dispensing system.

[0082] like Figure 1 As shown, the traditional Chinese medicine granule dispensing system 100 may include an operating table 101, multiple workstations 102 set on the operating table, a granule dispensing system 103 set below the operating table, a weighing system 104, and a control system 105. The multiple workstations are arranged as follows: Figure 2 As shown.

[0083] In one embodiment, the control system 105 can acquire prescription information input by the user, execute a control method to determine the first available workstation, and then generate guidance control information to instruct the user to place the medication into the matching available workstation.

[0084] In one embodiment, the weighing system is configured to weigh the Chinese medicine granules in the medicine bottle to determine whether the granules in the medicine bottle are greater than or equal to the required amount of the prescription.

[0085] In one embodiment, the aforementioned granule dispensing system can, after the medicine bottle is placed in a matching available workstation, dispense the traditional Chinese medicine granules from the bottle into individual packaging bags according to the weight and number of bags specified in the prescription information, thereby forming bagged traditional Chinese medicine granules. It is understood that the drug ratio in the first bag of traditional Chinese medicine granules matches the prescription information to ensure that the patient takes at least one bag of traditional Chinese medicine granules each time.

[0086] based on Figure 1 The control system shown in this disclosure provides a control method. Figure 3 This is a flowchart illustrating a control method according to an embodiment of this disclosure. Figure 3 As shown, a control method includes steps 31 to 33.

[0087] In step 31, in response to obtaining prescription information, the prescription information includes the number of ingredients of the drugs.

[0088] In one embodiment, the processor of the control system can acquire prescription information. In one example, the prescription information may be input through an interactive system, such as a doctor using an interactive system to prescribe medication for a patient, which is then forwarded to the control system. In another example, the prescription information may be transmitted to the control system via a communication interface. The appropriate method for acquiring prescription information can be selected according to the specific scenario, and the corresponding solution falls within the protection scope of this disclosure.

[0089] In one embodiment, the prescription information can be presented in different information types, such as text, images, or videos. For example, the prescription information forwarded by the interactive system can be text. Alternatively, a user can upload a photograph or video of the prescription to the control system; in this case, the prescription information is an image or video.

[0090] In one embodiment, the control system stores multiple information recognition models, which may include one or more of text recognition models, image recognition models, and video recognition models.

[0091] Taking a text recognition model as an example, this text recognition model can include, but is not limited to, CTPN, RRPN, FTSN, DMPNet, EAST, SegLink, PixelLink, or CRNN models. The aforementioned text recognition models can be pre-trained using training samples of different text types. This text recognition model can identify drugs contained in the input data and output at least one identified drug.

[0092] Taking image recognition models as an example, these models can include CNN models, SVM models, RandomForest models, RNN models, FPN models, Transform models, or GAN models, etc. These image recognition models can be pre-trained using image samples containing prescriptions. The image recognition model can identify the drugs contained in the input image and output at least one identified drug.

[0093] Taking a video recognition model as an example, this model can include CNN, SVM, RandomForest, RNN, FPN, Transform, or GAN models, etc. The aforementioned video recognition models can be pre-trained using video samples containing prescriptions. This video recognition model can identify the drugs contained in the input video and output at least one identified drug.

[0094] In one embodiment, after obtaining the prescription information, the processor of the control system can determine the information type of the prescription information, i.e., whether the information type is text, image, or video. Then, the processor can call a matching information recognition model based on the information type. Subsequently, the processor can input the prescription information into the information recognition model to obtain at least one type of drug information output by the model. This drug information may include, but is not limited to, drug type, total drug weight, drug origin, drug name, number of drug bags, and weight per drug bag. The content of the drug information can be set according to the specific scenario, and the corresponding solution falls within the protection scope of this disclosure.

[0095] In one embodiment, after obtaining information about at least one drug, the processor can determine the number of drugs included in the prescription information based on the information about at least one drug, that is, how many drugs the prescription information contains. For example, Siwu Granules include four drugs: Angelica sinensis, Ligusticum chuanxiong, Paeonia lactiflora, and Rehmannia glutinosa, and the number of drugs is 4.

[0096] In step 32, the number of available workstations is obtained.

[0097] In one embodiment, the control system includes configuration data. This configuration data includes the configuration status of each workstation, which may include an available or disabled status. It is understood that the control system or interactive system includes a display screen or input device, allowing users to configure the configuration status of each workstation via display screen operation or input device input. The processor may generate or update configuration data in response to the aforementioned operation or input, and store the configuration data in local memory, cache, or other locations.

[0098] In one embodiment, the processor can obtain the above configuration data, obtain the configuration status of each workstation, and thus obtain the number of available statuses, i.e., the number of available workstations.

[0099] It should be noted that step 32 can be executed after step 31, before step 31, or simultaneously with step 32. The specific settings can be configured according to the specific scenario, and the corresponding solutions fall within the protection scope of this disclosure.

[0100] In step 33, the first available workstation corresponding to the current prescription information is obtained based on the number of flavors and the number of workstations.

[0101] In one embodiment, after obtaining the number of drug flavors and the number of workstations, the processor can obtain the first available workstation corresponding to the current prescription information based on the number of flavors and the number of workstations.

[0102] like Figure 4 As shown, the processor can obtain the remainder value of the number of flavors and the number of workstations. Assuming the number of flavors is M, the number of workstations is N, and the remainder is rem, where M, N, and rem are all integers, then rem = M mod N, where mod represents the modulo operation, which is the remainder after dividing M by N. rem is less than N and is greater than or equal to 0.

[0103] Then, the processor can determine whether the remainder value is greater than 0, that is, determine whether the remainder value is greater than 0 or equal to 0.

[0104] In one example, the processor can respond to a remainder value of 0, i.e., M is a multiple of N, by assigning the desired workstation's workstation number to the first preset data. Here, the desired workstation is an intermediate variable whose value is the number of a candidate workstation that could potentially become the first available workstation. The first preset data can be set to 1, meaning the first workstation has a workstation number of 1.

[0105] In this example, the processor can determine whether the configuration status of the desired workstation is available. When the configuration status of the desired workstation is determined to be available, the processor can determine that the desired workstation is the first available workstation. When the configuration status of the desired workstation is determined to be disabled, the processor can update the desired workstation to the next adjacent workstation, that is, increment the workstation number of the desired workstation by 1. Then, the processor can determine whether the configuration status of the desired workstation is available, until the configuration status of the desired workstation is determined to be available, and then designate the desired workstation at this point as the first available workstation.

[0106] In another example, the processor can respond to a remainder value greater than 0 by assigning the desired workstation number a second preset value. This second preset value is one greater than the maximum number of workstations on the workbench. For example, if there are 10 workstations on the workbench, the second preset value is 11; if there are 20 workstations on the workbench, the second preset value is 21. Furthermore, the processor can assign a counter a third preset value, which is 0.

[0107] In this example, the processor can determine whether the remainder value is equal to the counter value, that is, whether cnt is equal to rem.

[0108] When the processor determines that the remainder value is not equal to the counter value, it can update the counter value by obtaining a first preset step size. In one example, the first preset step size is +1, which means incrementing the counter value by 1.

[0109] Then, the processor can determine whether the configuration status of the desired workstation is available. If the configuration status of the desired workstation is determined to be disabled, the workstation number of the desired workstation is updated according to a second preset step size until the configuration status of the desired workstation becomes available, and then the process returns to the step of determining whether the remainder value is equal to the value of the counter. In one example, the second preset step size is -1, that is, the workstation number of the desired workstation is decremented by 1.

[0110] When the remainder value is determined to be equal to the counter value, the processor can determine the desired workstation as the first available workstation.

[0111] In step 34, guidance control information for placing the medicine bottle is generated based on the first available workstation and the medicine in the prescription information.

[0112] In one embodiment, the processor can determine the target available workstation corresponding to the serial number of each drug in the prescription information, based on the first available workstation. The processor can then generate guidance and control information for the target available workstation.

[0113] In one example, indicator lights are installed around the workstations, and these lights can display at least two colors. The guidance control information is a PWM square wave signal, which the processor can output to the indicator lights to make them display the target color. For example, when a target available workstation needs to hold medicine bottles, the indicator light can be controlled to display green or flash, while the indicator lights at other workstations display red, thus facilitating accurate location of the target available workstation.

[0114] In another example, the control system also includes at least one speaker. In this case, the pin control information is a reminder message, such as "Please place the medicine bottle in workstation number 5 (green)", thus facilitating accurate location of the target available workstation.

[0115] In one embodiment, each workstation is equipped with a detection unit, which may include sensors such as pressure sensors or infrared sensors. When a medicine bottle is placed into a target available workstation, the detection unit detects that the bottle has been placed in a preset position, generates a first detection result indicating successful placement, and sends it to the control system; otherwise, it generates a second detection result indicating placement failure. The processor can generate a detection result reminder message based on the first or second detection result. For example, the indicator light color can be changed to another color or flashed (at a different frequency); the detection result information can also be provided as a voice announcement, such as "Bottle placement completed at workstation 5," thereby reminding the user that placement was successful.

[0116] In one embodiment, the control system includes an image acquisition device whose preview range covers the workbench. The image acquisition device can acquire images of the preview range at preset intervals (e.g., 0.01~1s). The processor can determine whether a medicine bottle has been placed in the target available workstation based on at least two frames of images, and generate a first detection result indicating successful placement or a second detection result indicating failed placement. The processor can generate a detection result reminder message based on the first or second detection result. For example, the indicator light color can be switched to another color or flashed (at a different frequency); the detection result information can also be a voice broadcast message, such as "Bottle placement completed at workstation 5," thereby reminding the user that placement was successful.

[0117] Thus, the solution of this embodiment can, in response to obtaining prescription information, obtain the number of medicinal ingredients contained in the prescription information; then, obtain the number of available workstations; subsequently, based on the number of medicinal ingredients and the number of workstations, obtain the first available workstation corresponding to the current prescription information; finally, generate guidance and control information for placing the medicine bottle based on the first available workstation and the medicinal ingredients in the prescription information. In this way, the solution of this embodiment can determine the first available workstation and generate guidance and control information based on the prescription information, that is, determine the corresponding first available workstation for each prescription, reduce redundant steps, ensure that each prescription has a consistent rhythm, and ultimately improve the dispensing efficiency of traditional Chinese medicine granules.

[0118] This disclosure provides a control method, and embodiments of this disclosure also provide a control device, see [link to relevant documentation]. Figure 5 The device includes:

[0119] The drug flavor count acquisition module 51 is configured to acquire the drug flavor count contained in the prescription information in response to acquiring prescription information;

[0120] The workstation quantity acquisition module 52 is configured to acquire the number of available workstations;

[0121] The first workstation acquisition module 53 is configured to acquire the first available workstation corresponding to the current prescription information based on the number of flavors and the number of workstations.

[0122] The control information generation module 54 is configured to generate guidance control information for placing medicine bottles based on the first available workstation and the medicine in the prescription information.

[0123] In some possible examples, the drug flavor acquisition module includes:

[0124] The information type acquisition submodule is configured to acquire information types for prescription information.

[0125] The identification model matching submodule is configured to match an information identification model according to the information type;

[0126] The drug information acquisition submodule is configured to input the prescription information into the information recognition model to obtain at least one type of drug information output by the information recognition model;

[0127] The drug flavor count acquisition submodule is configured to determine the drug flavor count based on the information of the at least one drug.

[0128] In some possible examples, the workstation quantity acquisition module includes:

[0129] The configuration data acquisition submodule is configured to acquire configuration data, which includes the configuration status of each workstation, including an available status or a disabled status.

[0130] The workstation quantity acquisition submodule is configured to acquire the number of available workstations and obtain the total number of available workstations.

[0131] In some possible examples, the first workstation acquisition module includes:

[0132] The remainder value acquisition submodule is configured to acquire the remainder value between the flavor number and the number of workstations;

[0133] The desired workstation assignment submodule is configured to assign the workstation number of the desired workstation to a first preset value when the remainder value is equal to 0.

[0134] The availability status determination submodule is configured to determine whether the configuration status of the desired workstation is available.

[0135] The first workstation determination submodule is configured to determine the desired workstation as the first available workstation in response to determining that the configuration state of the desired workstation is available.

[0136] In some possible examples, the first workstation acquisition module may also include:

[0137] The desired workstation update submodule is configured to update the desired workstation to the next adjacent workstation in response to determining that the configuration state of the desired workstation is disabled.

[0138] The desired workstation update submodule is also used to trigger the availability status determination submodule, so that the availability status determination submodule continues to execute the step of determining whether the configuration status of the desired workstation is available.

[0139] In some possible examples, the first workstation acquisition module may also include:

[0140] The assignment submodule is configured to, in response to the remainder value being greater than 0, assign the station number of the desired station to a second preset value and assign the counter to a third preset value.

[0141] The numerical judgment submodule is configured to determine whether the remainder value is equal to the value of the counter;

[0142] The counter update submodule is configured to update the value of the counter according to a first preset step size in response to the remainder value not being equal to the value of the counter.

[0143] The status determination submodule is configured to determine whether the configuration status of the desired workstation is available.

[0144] The workstation number update submodule is configured to update the workstation number of the desired workstation according to a second preset step size in response to determining that the configuration status of the desired workstation is disabled, until the configuration status of the desired workstation is available, and then continue to execute the step of determining whether the remainder value is equal to the value of the counter.

[0145] The first workstation determination submodule is configured to determine the desired workstation as the first available workstation in response to the remainder value being equal to the value of the counter.

[0146] In some possible examples, the control information generation module includes:

[0147] The target workstation determination submodule is configured to determine the target available workstation corresponding to the serial number of each drug in the prescription information, based on the first available workstation.

[0148] The control information generation submodule is configured to generate guidance control information for the target available workstation.

[0149] It should be noted that the device embodiment shown in this embodiment matches the content of the above method embodiment, and the content of the above method embodiment can be referred to, and will not be repeated here.

[0150] This disclosure also provides a control system, including:

[0151] Processor and memory;

[0152] The memory is used to store computer programs that can be executed by the processor;

[0153] The processor is configured to execute a computer program in the memory to implement the control method described above.

[0154] In an exemplary embodiment, this disclosure also provides a non-transitory computer-readable storage medium that, when an executable computer program in the storage medium is executed by a processor, enables the implementation of the method described above.

[0155] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the disclosure herein. This disclosure is intended to cover any variations, uses, or adaptations that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the following claims.

[0156] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.

Claims

1. A dynamic bottle dispensing and dispensing control method, characterized in that, The method includes: In response to obtaining prescription information, the prescription information includes the number of ingredients of the drugs; Get the number of available workstations; The first available workstation corresponding to this prescription information is obtained based on the number of flavors and the number of workstations. Based on the first available workstation and the medication in the prescription information, generate guidance and control information for placing the medicine bottle; The first available workstation corresponding to this prescription information is obtained based on the number of flavors and the number of workstations, including: Obtain the remainder between the number of flavors and the number of workstations; When the remainder value is equal to 0, the station number of the desired station is assigned the first preset value. Determine whether the configuration status of the desired workstation is available; In response to determining that the configuration status of the desired workstation is available, the desired workstation is determined to be the first available workstation; In response to the remainder value being greater than 0, the station number of the desired station is assigned a second preset value and the counter is assigned a third preset value. Determine whether the remainder value is equal to the value of the counter; In response to the fact that the remainder value is not equal to the value of the counter, the value of the counter is updated according to a first preset step size; Determine whether the configuration status of the desired workstation is available; In response to determining that the configuration status of the desired workstation is disabled, the workstation number of the desired workstation is updated according to the second preset step size until the configuration status of the desired workstation is available, and then the step of determining whether the remainder value is equal to the value of the counter is continued. In response to the remainder value being equal to the value of the counter, the desired workstation is determined to be the first available workstation.

2. The method according to claim 1, characterized in that, Obtaining the prescription information includes the number of ingredients in the medication, including: The types of information used to obtain prescription information; Match the information recognition model according to the information type; The prescription information is input into the information recognition model to obtain at least one type of drug information output by the information recognition model; The number of flavors of the drug is determined based on the information of at least one drug.

3. The method according to claim 1, characterized in that, Obtain the number of available workstations, including: Obtain configuration data, which includes the configuration status of each workstation, including an available status or a disabled status; Get the number of available states, and then get the number of available workstations.

4. The method according to claim 1, characterized in that, The method further includes: In response to determining that the configuration status of the desired workstation is disabled, the desired workstation is updated to the next adjacent workstation; Continue with the step of determining whether the configuration status of the desired workstation is available.

5. The method according to claim 1, characterized in that, Based on the first available workstation and the medication information in the prescription, guide control information for placing the medicine bottle is generated, including: Based on the first available workstation, determine the target available workstation corresponding to the serial number of each drug in the prescription information; Generate guidance and control information for the target available workstation.

6. A control device, characterized in that, The device includes: The drug flavor count acquisition module is configured to acquire the drug flavor count contained in the prescription information in response to obtaining prescription information; The workstation quantity acquisition module is configured to acquire the number of available workstations. The first workstation acquisition module is configured to acquire the first available workstation corresponding to the current prescription information based on the number of flavors and the number of workstations. The control information generation module is configured to generate guidance control information for placing medicine bottles based on the first available workstation and the drug in the prescription information, so as to implement the method as described in any one of claims 1 to 5.

7. A control system, characterized in that, include: Processor and memory; The memory is used to store computer programs that can be executed by the processor; The processor is configured to execute a computer program in the memory to implement the method as described in any one of claims 1 to 5.

8. A non-transitory computer-readable storage medium, characterized in that, When the executable computer program in the storage medium is executed by a processor, it can implement the method as described in any one of claims 1 to 5.

Citation Information

Patent Citations

  • Intelligent medicine dispensing method and device for traditional Chinese medicine pharmacy

    CN110654853A