Medicine sorting system and medicine sorting method
Through the drug sorting system and method, combined with drug vending machines, servers and pharmacy order processing clients, drug vending machine sorting, manual sorting and mixed human and machine sorting are realized, which solves the problem of limited product types and quantities of existing intelligent sorting equipment and improves user experience and the range of drug selection.
Patent Information
- Application Number
- CN202310637662.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-31
- Publication Date
- 2025-09-19
- Estimated Expiration
- 2043-05-31
AI Technical Summary
Existing intelligent sorting equipment only sells goods in the machine, and the types and quantities of goods are limited, resulting in users being unable to purchase the goods they need, resulting in a poor user experience.
A medicine sorting system and method are provided. Through the collaborative work of medicine vending machines, servers and pharmacy order processing clients, medicine vending machine sorting, manual sorting and mixed human and machine sorting are realized. Users are supported to select medicines on the online medicine purchasing platform, and the sorting type and sorting tasks are determined according to the current sales scope. Medicines are merged and packaged to support the sale of more medicines and reduce the workload of store staff.
Users can choose more medicines through the online medicine purchasing platform, avoiding problems caused by insufficient inventory or limited range of medicine vending machines, achieving a more comprehensive selection of medicines, while reducing the sorting workload of store clerks and improving user experience.
Smart Images

Figure CN119067740B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of intelligent drug vending, and in particular, to a drug sorting system and a drug sorting method. Background Art
[0002] Currently, many intelligent sorting devices have been put into use on the market, but they generally only sell goods in the machines. Due to the limited types and quantities of goods that the machines can support, users may not be able to purchase the goods they need, resulting in a poor experience. Summary of the Invention
[0003] The purpose of the present disclosure is to provide a medicine sorting system and a medicine sorting method to solve the deficiencies existing in the related art.
[0004] In order to achieve the above-mentioned object, the present disclosure provides a first aspect of a medicine sorting system, comprising a medicine vending machine, a server, and a pharmacy order processing client;
[0005] The server is connected to the medicine vending machine and the drug store order processing client, respectively, and is used to: in response to receiving a medicine purchase order, determine the sorting type of the medicine purchase order according to the medicine purchase order and the current sales range, wherein the medicine purchase order is a medicine purchase order generated by a medicine purchasing user on an online medicine purchasing platform based on the medicines in the current sales range, and the sorting types include medicine vending machine sorting, manual sorting, and mixed manual and machine sorting; generate a sorting task according to the sorting type and the medicine purchase order, wherein the sorting task includes a medicine vending machine sorting subtask and / or a manual sorting subtask; send the medicine vending machine sorting subtask to the medicine vending machine, and send the manual sorting subtask to the drug store order processing client;
[0006] The medicine vending machine is configured to sort the medicines to be sorted in the medicine vending machine sorting subtask in response to receiving the medicine vending machine sorting subtask;
[0007] The pharmacy order processing client is used to display a list of to-be-sorted medicines included in the manual sorting subtask in response to receiving the manual sorting subtask.
[0008] Optionally, the server is further configured to send the sorting type, the sorting task, and the sorting status of the medicine purchase order to the pharmacy order processing client;
[0009] The pharmacy order processing client is further used to receive and associate and display the medicine purchase order, the sorting type, the sorting task and the sorting status.
[0010] Optionally, the system further comprises a display device;
[0011] The server is connected to the display device and is further configured to obtain second order information of uncompleted orders from the pharmacy and send the second order information to the display device, wherein the second order information includes at least one of a sorting type and a sorting status of each uncompleted order and a working status of the medicine vending machine;
[0012] The display device is used to receive and display the second order information.
[0013] A second aspect of the present disclosure provides a medicine sorting method, comprising:
[0014] In response to receiving a drug purchase order, determining a sorting type for the drug purchase order based on the drug purchase order and a current sales range, wherein the drug purchase order is generated by a drug purchaser on an online drug purchase platform based on a selection of drugs within the current sales range, and the sorting types include vending machine sorting, manual sorting, and mixed manual and machine sorting;
[0015] Generate a sorting task according to the sorting type and the medicine purchase order, wherein the sorting task includes a medicine vending machine sorting subtask and / or a manual sorting subtask;
[0016] Sending the medicine vending machine sorting subtask to the medicine vending machine, instructing the medicine vending machine to sort the medicines to be sorted in the medicine vending machine sorting subtask;
[0017] The manual sorting subtask is sent to a pharmacy order processing client, and the pharmacy order processing client is instructed to display a list of medicines to be sorted contained in the manual sorting subtask.
[0018] Optionally, the method further includes:
[0019] In the case where the sorting type is mixed human-machine sorting, when the drugs on the list of drugs to be sorted are manually placed into the inlet of the drug vending machine, in response to receiving a first instruction for indicating completion of the manual subtask, a second instruction for instructing the drug vending machine to start executing the drug vending machine sorting subtask is sent to the drug vending machine;
[0020] The medicine vending machine executes the medicine vending machine sorting subtask in response to receiving the second instruction;
[0021] When the medicine vending machine sorting subtask is completed, the medicine vending machine combines and packages the medicines currently sorted by the medicine vending machine and the manually sorted medicines corresponding to the manual sorting subtask at the inlet of the medicine vending machine.
[0022] Optionally, the method further includes:
[0023] When the medicine purchase order is packaged, the medicine vending machine transfers the packaged package to a target slot in the delivery cabinet and sends a third instruction indicating the target slot to the delivery client.
[0024] In response to receiving the third instruction, the delivery client displays the updated order status of the medicine purchase order and information indicating the target slot associated with the allocated medicine purchase order.
[0025] Optionally, the method further includes:
[0026] When the sorting type of the medicine vending machine is mixed human-machine sorting, upon completion of the sorting subtask of the medicine vending machine, the medicines currently sorted by the medicine vending machine are delivered to the shipping port, so that the medicines currently sorted by the medicine vending machine and the manually sorted medicines corresponding to the manual sorting subtask can be manually combined and packaged at the shipping port;
[0027] In response to receiving the fourth instruction indicating that the merging and packaging of the medicine purchase orders is complete, the pharmacy order processing client displays the updated order status of the medicine purchase orders and sends a fifth instruction indicating that the order status of the medicine purchase orders is updated to the delivery client;
[0028] In response to receiving the fifth instruction, the delivery client displays the updated order status of the medicine purchase order and the medicine pickup location information associated with the allocated medicine purchase order.
[0029] Optionally, determining the sorting type of the drug purchase order according to the drug purchase order and the current sales scope includes:
[0030] When the current sales range is the entire store inventory, the sorting type of the medicine purchase order is determined according to the medicine purchase order and the current sorting mode, wherein the current sorting mode is one of a machine priority sorting mode, a manual priority sorting mode, and a manual supplementary sorting mode, wherein the current sorting mode is a default configuration or configured through the pharmacy order processing client.
[0031] Optionally, determining the sorting type of the medicine purchase order according to the medicine purchase order and the current sorting mode includes:
[0032] When the current sorting mode is the manual replenishment sorting mode, determining whether the inventory of the medicine vending machine fully meets the demand of the medicine purchase order; when it is determined that the inventory of the medicine vending machine fully meets the demand, determining the sorting type to be medicine vending machine sorting; when it is determined that the inventory of the medicine vending machine does not fully meet the demand, and the inventory of the face-to-face sales fully meets the demand, determining the sorting type to be manual sorting; when it is determined that the inventory of the medicine vending machine does not fully meet the demand, and the inventory of the face-to-face sales does not fully meet the demand, determining the sorting type to be mixed human and machine sorting;
[0033] When the current sorting mode is the machine-priority sorting mode, determine whether the medicine vending machine inventory fully meets the demand of the medicine purchase order; when it is determined that the medicine vending machine inventory fully meets the demand, determine the sorting type to be medicine vending machine sorting; when it is determined that the medicine vending machine inventory partially meets the demand, determine the sorting type to be mixed human and machine sorting; when it is determined that the medicine vending machine inventory does not meet the demand at all, determine the sorting type to be manual sorting; when the current sorting mode is the manual-priority sorting mode, determine whether the face-to-face sales inventory fully meets the demand of the medicine purchase order; when it is determined that the face-to-face sales inventory fully meets the demand, determine the sorting type to be manual sorting; when it is determined that the face-to-face sales inventory partially meets the demand, determine the sorting type to be mixed human and machine sorting; when it is determined that the face-to-face sales inventory does not meet the demand at all, determine the sorting type to be medicine vending machine sorting.
[0034] Optionally, the method further includes:
[0035] Sending the sorting type, the sorting task, and the sorting status of the medicine purchase order to the pharmacy order processing client;
[0036] The pharmacy order processing client receives and displays the medicine purchase order, the sorting type, the sorting task and the sorting status in an associated manner.
[0037] Optionally, the method further includes:
[0038] Acquire second order information of uncompleted orders from the pharmacy, and send the second order information to a display device, wherein the second order information includes at least one of a sorting type and a sorting status of each uncompleted order, and a working status of the medicine vending machine;
[0039] The display device receives and displays the second order information.
[0040] Optionally, the method further includes:
[0041] Determine, based on the correspondence between time periods and sales ranges, the sales range corresponding to the current time period as the current sales range, wherein the current time period is the time period at the current moment; or
[0042] Determine whether a selling range switching instruction is received within a target time period, wherein the target time period is a time period between the current time and the start time of the current time period; if the selling range switching instruction is received within the target time period, determine the current selling range according to the selling range switching instruction; if the selling range switching instruction is not received within the target time period, determine the selling range corresponding to the current time period as the current selling range according to the correspondence between time periods and selling ranges.
[0043] A third aspect of the present disclosure provides a medicine sorting method, which is applied to a pharmacy order processing client, comprising:
[0044] In response to receiving a manual sorting subtask for a medicine purchase order, a list of medicines to be sorted contained in the manual sorting subtask is displayed, wherein the medicine purchase order is a medicine purchase order generated by a medicine purchasing user on an online medicine purchase platform based on the medicines in the current sales range, and the manual sorting subtask is generated based on the sorting type of the medicine purchase order and the medicine purchase order, and the sorting type is generated based on the medicine purchase order and the current sales range, and the sorting type is manual sorting or mixed human-machine sorting.
[0045] Optionally, the method further includes:
[0046] In the case where the sorting type is mixed sorting by humans and machines, when the medicines in the list of medicines to be sorted are manually placed into the inlet of the medicine vending machine, in response to receiving a first instruction for indicating the completion of the manual sub-task, a second instruction for instructing the medicine vending machine to start executing the medicine vending machine sorting sub-task is sent to the medicine vending machine, so that the medicine vending machine executes the medicine vending machine sorting sub-task, and merges and packages the medicines currently sorted by the medicine vending machine and the manually sorted medicines corresponding to the manual sorting sub-task in the inlet.
[0047] Optionally, the method further includes:
[0048] In response to receiving the fourth instruction indicating that the merging and packaging of the medicine purchase order is completed, the updated order status of the medicine purchase order is displayed, and a fifth instruction indicating that the order status of the medicine purchase order is updated is sent to the delivery client to display the updated order status of the medicine purchase order on the delivery client and to indicate the medicine pickup location information associated with the assigned medicine purchase order.
[0049] In the above technical solution, drug purchasing users can generate drug purchase orders on the online drug purchasing platform based on the drugs in the current sales range. In this way, the drugs that drug purchasing users can choose to purchase will change depending on the current sales range, and the sorting type will also change depending on the sales range. The sorting types include drug vending machine sorting, manual sorting, and mixed human and machine sorting. Therefore, the sales range may not be limited to the inventory of the drug vending machine, but may also be the inventory of the entire store. Users can purchase drugs in the drug vending machine and in-store drugs at the same time through the online drug purchasing platform, thereby avoiding the problem of not being able to purchase the required drugs due to insufficient inventory of the drug vending machine or the limited sales range of the drug vending machine. In addition, completing the sorting of drug purchase orders through human-machine collaboration can not only support the sale of more drugs, but also reduce the workload of store clerks in sorting.
[0050] Other features and advantages of the present disclosure will be described in detail in the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] The accompanying drawings are used to provide a further understanding of the present disclosure and constitute a part of the specification. Together with the following detailed description, they are used to explain the present disclosure but do not constitute a limitation of the present disclosure. In the accompanying drawings:
[0052] Figure 1 The figure is a block diagram of a medicine sorting system according to an exemplary embodiment.
[0053] Figure 2 The figure is a schematic diagram showing a medicine sorting business process according to an exemplary embodiment.
[0054] Figure 3 The figure is a flow chart of a medicine sorting method according to an exemplary embodiment.
[0055] Figure 4 It is a signaling interaction diagram of a medicine sorting method according to an exemplary embodiment.
[0056] Figure 5 It is a schematic diagram showing a sorting strategy for a medicine vending machine according to an exemplary embodiment.
[0057] Figure 6 It is a signaling interaction diagram of a drug sorting method according to another exemplary embodiment.
[0058] Figure 7 The figure is a flowchart of order merging and packaging according to an exemplary embodiment.
[0059] Figure 8 The present invention is a schematic diagram showing a process of merging and packaging medicine vending machines according to an exemplary embodiment.
[0060] Figure 9It is a signaling interaction diagram of a drug sorting method according to another exemplary embodiment.
[0061] Figure 10 The present invention is a schematic diagram of a display interface of a delivery cabinet screen when a delivery person picks up medicine from the delivery cabinet according to an exemplary embodiment.
[0062] Figure 11 It is a signaling interaction diagram of a drug sorting method according to another exemplary embodiment.
[0063] Figures 12A-12C The present invention is a schematic diagram showing a pharmacy order processing client that associates and displays a medicine purchase order, a sorting type, a sorting task, and a sorting status according to an exemplary embodiment.
[0064] Figures 13A-13C The present invention is a schematic diagram showing a pharmacy order processing client that filters and views orders based on uncompleted and completed orders according to an exemplary embodiment.
[0065] Figure 13D The figure is a schematic diagram showing order query by a pharmacy order processing client according to an exemplary embodiment.
[0066] Figure 14 The figure is a schematic diagram of an interface of a display device according to an exemplary embodiment.
[0067] Figure 15 It is a block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION
[0068] The following describes the specific embodiments of the present disclosure in detail with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are only used to illustrate and explain the present disclosure and are not intended to limit the present disclosure.
[0069] It should be noted that all actions of acquiring signals, information or data in the present disclosure are carried out in compliance with the corresponding data protection laws and policies of the country where they are located and with the authorization given by the owner of the corresponding device.
[0070] Figure 1 FIG. 1 is a block diagram of a medicine sorting system according to an exemplary embodiment. Figure 1 As shown, the drug sorting system may include a drug vending machine 100, a server 200, and a pharmacy order processing client 300. The server 200 is connected to each of the drug vending machine 100 and the pharmacy order processing client 300. Signaling interaction between the drug vending machine 100, the server 200, and the pharmacy order processing client 300 enables human-machine collaborative sorting, enabling users to purchase drugs online.
[0071] The medicine vending machine 100 may include a sorting device and a controller. The controller is connected to the sorting device and is used to control the sorting device to perform the sorting task of the medicine vending machine (i.e., the medicine vending machine sorting subtask). The pharmacy order processing client 300 is a clerk-side client, and the clerk can process orders through the pharmacy order processing client 300. The sorting device 301 may include a cabinet, a medicine shelf, a medicine dispensing unit, a conveying mechanism, and a packaging machine. The cabinet is provided with a multi-layer inclined medicine shelf, and the medicine shelf is provided with a plurality of cargo aisles separated by partitions, and one cargo aisle is used to store the same kind of medicine; the cabinet is also provided with a medicine dispensing unit, which is movably arranged on the medicine dispensing side of the medicine shelf, for taking out the medicines on the medicine shelf and conveying them to the packaging machine through the conveying mechanism, so that the packaging machine can package the medicines and transfer them to the handover cabinet.
[0072] Before introducing the specific drug sorting method, the business process of drug sorting is described in detail. Figure 2 As shown, the business process mainly involves the takeaway merchant side, the sorting and scheduling system (side) and the rider side (i.e., the delivery client side, wherein the takeaway merchant side is an online to offline (O2O) platform, specifically including an online medicine purchasing platform and an offline medicine purchasing platform. When the online medicine purchasing platform receives an online medicine purchasing order, it pushes it to the order and commodity management module of the sorting and scheduling system. The order and commodity management module pushes the medicine purchasing order to the sorting type calculation module. The sorting type calculation module determines the sorting type of the medicine purchasing order by querying the inventory location information. After that, the sorting strategy scheduling (including sorting, packing and releasing goods) is performed according to the sorting type. After the release is completed, a pickup reminder is sent to the corresponding delivery client to prompt the delivery person to pick up the goods. At the same time, the sorting task will be displayed synchronously on the display device in the pharmacy (i.e., the monitoring screen) and the pharmacy order processing client (i.e., APP); when the order sorting is completed, the order and commodity management module updates the inventory information and synchronizes the inventory information to the O2O platform. Among them, the above-mentioned server 200 includes the takeaway merchant side and the sorting and scheduling side (system).
[0073] Figure 3 This is a flowchart of a medicine sorting method according to an exemplary embodiment. The method can be applied to Figure 1 The medicine sorting system shown in Figure 1 is as follows. Figure 3 As shown, the method may include:
[0074] In S201 , in response to receiving a medicine purchase order, a sorting type of the medicine purchase order is determined according to the medicine purchase order and a current sales scope.
[0075] In the present disclosure, a drug purchase order is a drug purchase order generated by a drug purchasing user on an online drug purchasing platform based on the selection of drugs in the current sales range, wherein the drug purchasing user can initiate a drug purchase request through the online drug purchasing platform on a drug purchasing terminal (for example, a smart phone). After receiving the drug purchase request, the server obtains the drugs in the current sales range and pushes them to the drug purchasing terminal. The drug purchasing terminal receives and displays the drugs in the current sales range, so that the drug purchasing user can select the drugs in the current sales range and generate a drug purchase order.
[0076] In addition, the current sales scope can be the inventory of the medicine vending machine or the inventory of the entire store. Among them, the inventory of the entire store is all the current inventory of the pharmacy, including the inventory of the medicine vending machine and the inventory of face-to-face sales (i.e., manual face-to-face sales). When the current sales scope is the inventory of the medicine vending machine, the medicines in the current sales scope include all the medicines in the inventory of the medicine vending machine; when the current sales scope is the inventory of the entire store, the medicines in the current sales scope include all the medicines in the inventory of the entire store, that is, all the medicines in the inventory of the medicine vending machine and all the medicines in the inventory of face-to-face sales.
[0077] In addition, sorting types can include vending machine sorting, manual sorting, and mixed human and machine sorting. When the sorting type is vending machine sorting, the purchase order is completely sorted and packaged by the vending machine and transferred to the vending machine's handover cabinet, without human intervention. When the sorting type is manual sorting, the purchase order is completely sorted and packaged by the store staff. When the sorting type is mixed human and machine sorting, it means that neither the vending machine nor the human staff can completely sort the purchase order independently, and both the human staff and the vending machine are required to sort the parts and then combine and package the orders.
[0078] In S202, a sorting task is generated according to the sorting type and the medicine purchase order. The sorting task includes a medicine vending machine sorting subtask and / or a manual sorting subtask.
[0079] In S203, the medicine vending machine sorting subtask is sent to the medicine vending machine, instructing the medicine vending machine to sort the medicines to be sorted in the medicine vending machine sorting subtask.
[0080] In the present disclosure, when the sorting task includes a medicine vending machine sorting subtask, the server can send the medicine vending machine sorting subtask to the medicine vending machine; in response to receiving the medicine vending machine sorting subtask, the medicine vending machine executes the medicine vending machine sorting subtask to sort the medicines to be sorted in the medicine vending machine sorting subtask (such as Figure 4 3 and 4).
[0081] In S204 , the manual sorting subtask is sent to the pharmacy order processing client, instructing the pharmacy order processing client to display the list of to-be-sorted medicines included in the manual sorting subtask.
[0082] In the present disclosure, when the sorting task includes a manual sorting subtask, the server can send the manual sorting subtask to the pharmacy order processing client; in response to receiving the manual sorting subtask, the pharmacy order processing client displays the list of drugs to be sorted contained in the manual sorting subtask, so that manual sorting can be performed manually according to the list of drugs to be sorted (such as Figure 4 ).
[0083] It should be noted that, in addition to being executed by the server, the above S201 to S204 may also be executed by other devices, and this disclosure does not make any specific limitation on this.
[0084] In the above technical solution, drug purchasing users can generate drug purchase orders on the online drug purchasing platform based on the drugs in the current sales range. In this way, the drugs that drug purchasing users can choose to purchase will change depending on the current sales range, and the sorting type will also change depending on the sales range. The sorting types include drug vending machine sorting, manual sorting, and mixed human and machine sorting. Therefore, the sales range may not be limited to the inventory of the drug vending machine, but may also be the inventory of the entire store. Users can purchase drugs in the drug vending machine and in-store drugs at the same time through the online drug purchasing platform, thereby avoiding the problem of not being able to purchase the required drugs due to insufficient inventory of the drug vending machine or the limited sales range of the drug vending machine. In addition, completing the sorting of drug purchase orders through human-machine collaboration can not only support the sale of more drugs, but also reduce the workload of store clerks in sorting.
[0085] The following describes in detail the method for determining the current sales range. Specifically, the current sales range can be determined in a variety of ways. In one embodiment, the sales range corresponding to the current time period can be determined based on the correspondence between time periods and sales ranges as the current sales range.
[0086] In this disclosure, the current time period refers to the time period at the current moment.
[0087] The relationship between time periods and sales ranges can be set according to the business hours of the pharmacy. For example, if the business hours of the pharmacy are "08:00-20:00", the corresponding relationship between time periods and sales ranges is as follows:
[0088] The sales range corresponding to the time period "08:00~20:00" is the inventory of the entire store, and the sales range corresponding to the time period "20:01~07:59" is the inventory of the medicine vending machine.
[0089] For example, the current time is 06:55. According to the above correspondence example, the current time period is "20:01-07:59". Therefore, the sales range corresponding to the current time period is the inventory of the medicine vending machine, that is, the current sales range is the inventory of the medicine vending machine.
[0090] For another example, the current time is 16:55. According to the above correspondence example, the current time period is "08:00-20:00". Therefore, the sales range corresponding to the current time period is the entire store inventory, that is, the current sales range is the entire store inventory.
[0091] In another embodiment, it is determined whether a selling range switching instruction is received within the target time period; if the server receives the selling range switching instruction within the target time period, the server determines the current selling range according to the selling range switching instruction; if the server does not receive the selling range switching instruction within the target time period, the server determines the selling range corresponding to the current time period as the current selling range according to the correspondence between the time period and the selling range.
[0092] The sales range switching instruction is used to instruct the sales range to switch to the target sales range. The target time period is the period between the current time and the start time of the current time period. For example, if the current time is 16:55 and the current time period is "08:00-20:00", then the target time period is 08:00-16:55.
[0093] Specifically, the current selling range can be determined according to the selling range switching instruction in the following manner: if one selling range switching instruction is received within the target time period, the target selling range indicated by the selling range switching instruction is determined as the current selling range; if multiple selling range switching instructions are received within the target time period, the target selling range indicated by the selling range switching instruction received most recently among the multiple selling range switching instructions is determined as the current selling range.
[0094] The following describes in detail a specific implementation method for determining the sorting type of the medicine purchase order based on the medicine purchase order and the current sales scope in the above S201.
[0095] In one embodiment, when the current sales scope is the inventory of medicine vending machines, the sorting type of the medicine purchase order is determined to be medicine vending machine sorting.
[0096] In another embodiment, when the current sales scope is the entire store inventory, the sorting type of the medicine purchase order can be determined based on the medicine purchase order and the current sorting mode.
[0097] Among them, the current sorting mode is one of the machine priority sorting mode, the manual priority sorting mode and the manual supplementary sorting mode, and the current sorting mode is the default configuration or configured through the pharmacy order processing client.
[0098] Specifically, the sorting type of the medicine purchase order can be determined in the following ways based on the medicine purchase order and the current sorting mode:
[0099] When the current sorting mode is manual replenishment, the system first determines whether the vending machine inventory fully meets the purchase order. If the vending machine inventory fully meets the demand, the sorting type is determined to be vending machine sorting. If the vending machine inventory does not fully meet the demand, but the direct sales inventory does, the sorting type is determined to be manual sorting. If the vending machine inventory does not fully meet the demand, and the direct sales inventory does not fully meet the demand, the sorting type is determined to be mixed manual and manual sorting. The prerequisite for generating a purchase order is that the entire store inventory meets the demand.
[0100] When the current sorting mode is the machine-priority sorting mode, first determine whether the inventory of the medicine vending machine can fully meet the demand of the medicine purchase order; when it is determined that the inventory of the medicine vending machine can fully meet the demand, determine the sorting type as medicine vending machine sorting; when it is determined that the inventory of the medicine vending machine can partially meet the demand, determine the sorting type as mixed human and machine sorting; when it is determined that the inventory of the medicine vending machine can not fully meet the demand, determine the sorting type as manual sorting.
[0101] When the current sorting mode is the manual priority sorting mode, first determine whether the face-to-face sales inventory can fully meet the demand of the medicine purchase order; when it is determined that the face-to-face sales inventory can fully meet the demand, determine the sorting type as manual sorting; when it is determined that the face-to-face sales inventory can partially meet the demand, determine the sorting type as mixed human and machine sorting; when it is determined that the face-to-face sales inventory can not meet the demand at all, determine the sorting type as medicine vending machine sorting.
[0102] The following describes in detail the specific implementation of generating the sorting task according to the sorting type and the medicine purchase order in S202.
[0103] When the sorting type is manual sorting, the sorting task includes manual sorting sub-tasks, that is, complete manual sorting is required to complete the sorting task; when the sorting type is medicine vending machine sorting, the sorting task includes medicine vending machine sorting sub-tasks, and the sorting task can be completed by the medicine vending machine; when the sorting type is mixed human and machine sorting, it indicates that some of the medicines to be purchased are in the medicine vending machine inventory, and the other part of the medicines to be purchased are in the face-to-face sales inventory. At this time, the sorting task includes medicine vending machine sorting sub-tasks and manual sorting sub-tasks, that is, the medicine vending machine and manual labor are required to collaborate to complete the sorting task, among which the medicine vending machine performs the medicine vending machine sorting sub-task, and manual sorting completes the manual sorting sub-task.
[0104] Among them, when the sorting type is mixed human and machine sorting, the sorting task can be generated by combining the current sorting mode and the drug purchase order.
[0105] Specifically, when the current sorting mode is the manual replenishment mode, for each type of medicine to be purchased in the medicine purchase order, it can be determined first whether the inventory of the medicine vending machine can fully meet the purchase demand of the medicine to be purchased; when it is determined that the inventory of the medicine vending machine fully meets the purchase demand of the medicine to be purchased, it is determined that the medicine vending machine will independently complete the sorting of the medicine to be purchased; when it is determined that the inventory of the medicine vending machine does not fully meet the purchase demand of the medicine to be purchased, and the face-to-face sales inventory fully meets the purchase demand of the medicine to be purchased, it is determined that the sorting of the medicine to be purchased will be completed manually independently; when it is determined that the inventory of the medicine vending machine does not fully meet the purchase demand of the medicine to be purchased, and the face-to-face sales inventory does not fully meet the purchase demand of the medicine to be purchased, it is determined that the medicine vending machine will prioritize sorting all the purchased medicines in the inventory of the medicine vending machine, and then the remaining number of the medicines to be purchased will be sorted manually.
[0106] When the current sorting mode is the machine-priority sorting mode, for each type of medicine to be purchased in the medicine purchase order, it can be determined first whether the inventory of the medicine vending machine fully meets the purchase demand of the medicine to be purchased; when it is determined that the inventory of the medicine vending machine fully meets the purchase demand of the medicine to be purchased, it is determined that the medicine vending machine independently completes the sorting of the medicine to be purchased; when it is determined that the inventory of the medicine vending machine partially meets the purchase demand of the medicine to be purchased, it is determined that the medicine vending machine has priority in sorting all the purchased medicines in the inventory of the medicine vending machine, and then the remaining number of the medicines to be purchased are sorted manually; when it is determined that the inventory of the medicine vending machine does not fully meet the purchase demand of the medicine to be purchased, it is determined that the sorting of the medicine to be purchased is independently completed manually.
[0107] When the current sorting mode is the manual priority sorting mode, for each type of medicine to be purchased in the medicine purchase order, it can be determined first whether the direct sales inventory can fully meet the purchase demand of the medicine to be purchased; when it is determined that the direct sales inventory can fully meet the purchase demand of the medicine to be purchased, it is determined that the sorting of the medicine to be purchased is to be completed manually independently; when it is determined that the direct sales inventory can partially meet the purchase demand of the medicine to be purchased, it is determined that all the purchased medicines in the direct sales inventory are to be sorted manually first, and then the medicine vending machine is to sort the remaining number of the medicines to be purchased; when it is determined that the direct sales inventory does not fully meet the purchase demand of the medicine to be purchased, it is determined that the sorting of the medicine to be purchased is to be completed independently by the medicine vending machine.
[0108] The medicine vending machine's sorting strategy encompasses order sorting, packaging, and delivery. Each order is sorted in parallel, meaning the medicine racks, conveyor belts, packaging machines, and delivery cabinets all operate in parallel, thread-by-thread. If a purchase order includes multiple medications, they are packaged and delivered to different compartments based on the bag capacity. This means that for each purchase order, multiple aisles are dispatched to sort the medications, packaging multiple packages, and placing them in at least one delivery cabinet compartment.
[0109] Specifically, first, based on the current picking mode, the picking type and handover location of each order are clarified. Then, the sorting and scheduling system calculates the specific actions that need to be performed by different equipment of different medicine vending machines (mainly including medicine racks, conveyor belts, packaging machines, and handover cabinets) and sends them to the equipment for execution.
[0110] The following combination Figure 5 The flowchart shown describes the logic of the computing device actions in a dependent manner:
[0111] The first step is the preparation before action calculation, which requires traversing five basic strategies: picking strategy, fault tolerance strategy, link analysis strategy, business attribute labeling strategy, and mechanical task degradation fulfillment strategy.
[0112] Among them, the picking strategy mainly sets whether the action needs to be calculated and whether it needs to be recalculated. The fault-tolerant strategy is mainly aimed at potential problem points in the input data, including fallback strategy rules executed when there are problems with information such as inventory and equipment status. The link analysis strategy inputs the logical device link diagram to be calculated for subsequent calculations based on the actual offline equipment of the pharmacy; the business attribute labeling strategy, for equipment or tasks, completes some business parameters used in action calculations, and performs different calculation strategies according to different tags in subsequent calculations. The mechanical task degradation fulfillment strategy mainly implements different degradation processing strategies for different fault types.
[0113] After data preparation is complete, all task nodes are looped through the queue until the queue is empty. Action instructions are calculated based on the different business characteristics of different devices, logical device status, physical device status, business status, upstream and downstream node status, node and task relationships, and subsequent fulfillment links.
[0114] After the calculation is completed, the return parameters are spliced: Based on the task status results, device results, action results, etc. of this calculation, the output parameters for interaction with external services are spliced to obtain the action combinations to be executed by different devices.
[0115] Specifically, the manual picking model refers to a model in which all mechanical picking tasks are directly transferred to manual picking tasks in the early stages of pharmacy integration, when there is no equipment available. The sorting and recycling serial picking model is a model in which, when complex equipment combinations are present and potential interference from machine picking (i.e., medication vending machines) is unknown, no new actions are generated when there are already ongoing actions, allowing sorting and recycling actions to be executed serially.
[0116] Node fault tolerance refers to shielding abnormalities such as network delays, device communication loss, and system processing delays to avoid invalid calculations such as calculation anomalies and incorrect action instructions. Inventory fault tolerance refers to shielding inventory information related to empty aisles or picking anomalies that have occurred during the current picking order to prevent the generation of invalid action instructions. Task fault tolerance refers to shielding abnormal mechanical picking task parameters or unclear handover equipment caused by missing pharmacy picking configurations to ensure complete fulfillment information and complete mechanical fulfillment.
[0117] The default link graph is a directed graph for freely combined devices, generating all configured fulfillment links for use in subsequent action instruction generation. The reachable picking link graph is a directed graph for freely combined devices, generating all reachable links available for sorting and delivery to the delivery cabinet. A reachable link means that all device nodes in the current link are in a non-faulty state, and the last node of the link is the delivery cabinet. The reachable recycling link trench graph is a directed graph for freely combined devices, generating reachable recycling links.
[0118] Node labeling is used to complete business parameters used in action calculations, such as the silent flag, re-pick flag, full container flag, and volume-based subcontracting flag. Task labeling is also used to complete business parameters used in action calculations, such as whether there are sufficient free slots in the transfer cabinet, whether the fulfillment link is reachable, and whether there is sufficient inventory.
[0119] The "Sorting Task to Recycling Task" strategy converts canceled mechanical sorting tasks directly into mechanical recycling tasks, with subsequent drugs on the equipment automatically recycled. "Sorting Task to Manual Task" refers to mechanical sorting tasks that haven't started picking. If the list of planned drugs to be sorted for the mechanical task is empty, the task is directly transferred to manual re-sorting. "Sorting Task Redirection" refers to a strategy where, during the mechanical picking process, if the original re-sorting destination is found to have no reachable links, insufficient inventory, or insufficient bins, a new re-sorting destination is selected to complete the task, and the remaining unused drugs are automatically recycled. "Sorting Task Quiescing" refers to a strategy where, if a complete delivery is impossible during the mechanical picking process, the task is first silenced to see if the original link can be restored. "Sorting Task Fast Recovery" refers to a strategy where, if both the "Sorting Task Redirection" and "Sorting Task Quiescing" strategies fail to enable the machine to fulfill the task, the drugs already picked are automatically recycled and transferred to manual re-sorting. "Sorting Task Flow Limiting" calculates the maximum number of tasks that can be fulfilled based on the free combination of different devices and whether the device can currently fulfill unstarted tasks.
[0120] Action calculation includes device node sequence calculation and device node action instruction calculation. Device node sequence calculation starts from the initial node of the directed graph (i.e., link graph) and continues by adding downstream nodes to the queue until the queue is empty, completing the action calculation. Device node action instruction calculation is based on the different business characteristics of different devices, logical device status, physical device status, business status, upstream and downstream node status, node and task relationships, and subsequent fulfillment links. The action instructions are then calculated and issued.
[0121] The spliced return parameters are the output parameters for the final interaction with external services based on the task status results, device results, action results, etc. of this calculation.
[0122] In addition, when the sorting type is manual sorting, the medicine purchase orders can be sorted and packed manually and then placed in a designated location (for example, the pickup area at the door of a pharmacy); when the sorting type is medicine vending machine sorting, the medicine purchase orders can be sorted and packed independently by the medicine vending machine and transferred to the handover cabinet of the medicine vending machine; when the sorting type is mixed sorting by humans and machines, the medicine orders can be merged and packed, and the merged and packed can include two methods: manual merged and packed and medicine vending machine merged and packed.
[0123] Specifically, if Figure 6 As shown, the above method may further include the following steps:
[0124] In S207, when the sorting type is mixed picking by humans and machines, and when the medicines on the list of medicines to be sorted are manually placed into the entrance of the medicine vending machine, the pharmacy order processing client responds to receiving the first instruction for indicating the completion of the manual sub-task, and sends a second instruction to the medicine vending machine for instructing the medicine vending machine to start executing the medicine vending machine sorting sub-task.
[0125] In the present disclosure, the cargo entrance can be a separate entrance set up in the pharmacy. When the medicine vending machine needs to merge and pack the medicines, the clerk can place the manually sorted medicines corresponding to the manual sorting subtask at the cargo entrance for the medicine vending machine to merge and pack them.
[0126] In S205 , the medicine vending machine executes the medicine vending machine sorting subtask in response to receiving the second instruction.
[0127] After receiving the second instruction, the medicine vending machine starts to execute the medicine vending machine sorting subtask and sorts the medicines to be sorted in the medicine vending machine sorting subtask.
[0128] In S208, when the medicine vending machine sorting subtask is completed, the medicine vending machine combines and packages the medicines currently sorted by the medicine vending machine and the manually sorted medicines corresponding to the manual sorting subtask at the medicine vending machine's inlet.
[0129] like Figure 7and Figure 8 As shown, if the method of merging and packaging medicine vending machines is adopted, manual picking is carried out first. After the sorting is completed, the manually sorted medicines are placed in the medicine vending machine's cargo inlet, and the pharmacy order client clicks "sorting completed" to trigger the first instruction for indicating that the manual molecular task is completed; after the pharmacy order client receives the first instruction, it sends a second instruction to the medicine vending machine for instructing the medicine vending machine to start executing the medicine vending machine's sorting subtask; after the medicine vending machine receives the second instruction, it starts to execute the medicine vending machine's sorting subtask, and when the medicine vending machine's sorting subtask is completed, the medicines currently sorted by the medicine vending machine and the manually sorted medicines corresponding to the manual sorting subtask in the medicine vending machine's cargo inlet are transferred to the medicine vending machine's packaging machine, so that the packaging machine can merge and package them, and then transfer them to the medicine vending machine's handover cabinet. Among them, Figure 7 The picking warehouse is a sorting device used to pick up goods from the aisles of the shelves, and the temporary storage warehouse is used to temporarily store the medicines picked up each time in the same order.
[0130] In the above embodiment, when using a medicine vending machine to merge and package, manual sorting is given priority. After the manual sorting is completed, the medicine vending machine sorting operation is performed. In this way, the problem of subsequent order blocking due to the uncertain completion time of manual sorting can be avoided.
[0131] like Figure 9 As shown, after the above S208, the above method may further include the following steps:
[0132] In S209, when the medicine purchase order is combined and packaged, the medicine vending machine transfers the combined and packaged packages to the target compartment of the delivery cabinet.
[0133] In the present disclosure, the delivery cabinet may include a plurality of compartments, and the delivery cabinet may be set outside a pharmacy.
[0134] In S210 , a third instruction for indicating a target slot is sent to the delivery client.
[0135] In S211 , in response to receiving the third instruction, the delivery client displays the updated order status of the medicine purchase order and information indicating the target slot associated with the allocated medicine purchase order.
[0136] After receiving the third instruction, the delivery client updates the order status of the medicine purchase order to waiting for delivery, displays the updated order status of the medicine purchase order, and displays information indicating the target slot associated with the assigned medicine purchase order (e.g., the number of the target slot) to remind the delivery person to pick up the medicine from the target slot for delivery. Figure 10As shown, the last four digits of the user's mobile phone or the last four digits of the order number of the medicine purchase order can be used as the pickup code. The delivery person can enter the pickup code on the screen of the handover cabinet to take out the order package. If an order corresponds to multiple packages, after entering the pickup code, the compartments for placing multiple packages will be opened at the same time, and the delivery person will take them all away and deliver them to the user.
[0137] like Figure 11 As shown, the above method may further include the following steps:
[0138] In S212, when the sorting type of the medicine vending machine is mixed picking by humans and machines, when the sorting subtask of the medicine vending machine is completed, the medicines currently sorted by the medicine vending machine are delivered to the shipping port, so that the medicines currently sorted by the medicine vending machine in the shipping port and the manually sorted medicines corresponding to the manual sorting subtask can be manually combined and packaged.
[0139] In the present disclosure, the shipping port can be a separate pickup port located in the pharmacy, which is used to store the medicines sorted by the sorting device of the medicine vending machine. The clerk can take the medicines currently sorted by the medicine vending machine from the shipping port and combine and package them with the manually sorted medicines corresponding to the manual sorting subtask.
[0140] like Figure 7 As shown, if the manual merging and packaging method is adopted, the medicine vending machine does not pack the medicines after sorting them from the shelf, but instead transports them to the delivery port of the medicine vending machine via a conveyor belt, so that the medicines currently sorted by the medicine vending machine in the delivery port and the manually sorted medicines corresponding to the manual sorting subtask are manually combined and packaged, and then placed in a designated location (for example, the pickup area at the door of the pharmacy).
[0141] In S213 , in response to receiving the fourth instruction indicating completion of merging and packaging the medicine purchase orders, the pharmacy order processing client displays the updated order status of the medicine purchase orders.
[0142] In S214 , the pharmacy order processing client sends a fifth instruction to the delivery client for instructing to update the order status of the medicine purchase order.
[0143] In S215 , in response to receiving the fifth instruction, the delivery client displays the updated order status of the medicine purchase order and information indicating the medicine pickup location associated with the allocated medicine purchase order.
[0144] When the manual merging and packaging is completed, you can click on the packaging completion in the pharmacy order client to trigger the fourth instruction for indicating that the merging and packaging of the medicine purchase order is completed; after receiving the fourth instruction, the pharmacy order client updates the order status of the medicine purchase order to waiting for delivery, and displays the updated order status of the medicine purchase order. At the same time, it sends the fifth instruction for indicating the update of the order status of the medicine purchase order to the delivery client; after receiving the fifth instruction, the delivery client updates the order status of the medicine purchase order to waiting for delivery, and displays the information for indicating the medicine pickup location associated with the assigned medicine purchase order (for example, the pickup area at the pharmacy door) to remind the delivery staff to go to the store to pick up the medicine for delivery.
[0145] In addition, the server can push all orders to the pharmacy order processing client in real time, and simultaneously push the sorting type, sorting status, and sorting task of each order, so that the store clerk can view the order status of each order in real time. Specifically, the above method can also include the following two steps:
[0146] The server sends the sorting type, sorting task, and sorting status of the medicine purchase order to the pharmacy order processing client;
[0147] The pharmacy order processing client receives and displays the associated medicine purchase orders, sorting types, sorting tasks, and sorting status.
[0148] like Figure 12A As shown, the sorting type of order #12586 is mixed picking (i.e., human and machine mixed picking). Among them, humans should pick 3 items, including three boxes of oral liquid (i.e., manual sorting subtask), and the machine should pick 2 items, including one box of oral liquid and one bag of Yinqiao tablets (i.e., medicine vending machine sorting subtask).
[0149] like Figure 12B As shown, the sorting type of order #288 is human picking (i.e., manual sorting), in which two items should be picked manually, including a box of oral liquid and a bag of Yinqiao tablets (i.e., manual sorting subtask).
[0150] like Figure 12C As shown, the sorting type of order #12586 is machine picking (i.e., medicine vending machine sorting), in which the machine should pick up 3 items, including two boxes of oral liquid and 1 bag of Yinqiao tablets (i.e., medicine vending machine sorting subtask).
[0151] In addition, the pharmacy order processing client can also support filtering and viewing according to unfinished orders and completed orders, such as Figures 13A-13C As shown. Among them, Figure 13A It is to view the information of unfinished orders when the current sales range is the entire store inventory. Figure 13C This is to view the information of unfinished orders when the current sales scope is the inventory of the medicine vending machine. Figure 13B It is to view the information of completed orders.
[0152] The information for each order may include the following key information: basic order information, order sorting type, sorting task (i.e., drugs to be picked by vending machines and drugs to be picked manually), sorting status, order drug information, etc. Basic order information may include order number, serial number, order time, and estimated delivery time; sorting status may include waiting to be picked, picked, or being picked; order drug information may include product name, specifications, manufacturer, stock keeping unit (SKU) code, universal product code (UPC), drug packaging image, order quantity, sorting batch number, sorting location, etc.
[0153] In addition, the pharmacy order processing client can also support querying order information according to order number and serial number, such as Figure 13D shown.
[0154] Optionally, the above method may further include the following two steps:
[0155] The server obtains second order information of the uncompleted order of the pharmacy and sends the second order information to the display device;
[0156] The display device receives and displays the second order information.
[0157] In the present disclosure, the second order information may include at least one of the sorting type, sorting status, and operating status of each uncompleted order. The operating status of the medicine vending machine may include the operating status of equipment such as medicine racks, packaging machines, and transfer cabinets. The operating status may be used to indicate whether the corresponding equipment is faulty. The operating status may include normal or faulty. If the medicine dispensing device of the medicine vending machine where the shelf is located is faulty, the shelf is considered faulty.
[0158] The display device can be set up in the drug store. The staff can use the display device to know the sorting status of each order in real time, and can also know the working status of each device of the medicine vending machine in time, so as to facilitate timely maintenance of faulty equipment.
[0159] Figure 14 The figure shows the display interface of a display device set up in a certain pharmacy. The display device displays order information according to the sorting status of each order, and simultaneously displays the working status of the medicine rack, packaging machine, and transfer cabinet. The working status can be displayed by the style of the rectangular box where each device is located. For example, when a device fails, the rectangular box where the device is located is filled with the background color. When the device is normal, the rectangular box where the device is located is not filled with the background color.
[0160] The present disclosure also provides a medicine sorting method applied to a pharmacy order processing client, wherein the method may include the following steps:
[0161] In response to receiving a manual sorting subtask for a medicine purchase order, a list of medicines to be sorted included in the manual sorting subtask is displayed.
[0162] Among them, the drug purchase order is a drug purchase order generated by the drug purchasing user on the online drug purchasing platform based on the drugs in the current sales range. The manual sorting subtask is generated based on the sorting type of the drug purchase order and the drug purchase order. The sorting type is generated based on the drug purchase order and the current sales range. The sorting type is manual sorting or mixed human and machine sorting.
[0163] Optionally, the above-mentioned medicine sorting method applied to the pharmacy order processing client may further include the following steps:
[0164] In the case where the sorting type is mixed sorting by humans and machines, when the medicines on the list of medicines to be sorted are manually placed into the inlet of the medicine vending machine, in response to receiving a first instruction for indicating the completion of the manual sub-task, a second instruction for instructing the medicine vending machine to start executing the medicine vending machine sorting sub-task is sent to the medicine vending machine, so that the medicine vending machine executes the medicine vending machine sorting sub-task, and merges and packages the medicines currently sorted by the medicine vending machine and the manually sorted medicines corresponding to the manual sorting sub-task in the inlet.
[0165] Optionally, the above-mentioned medicine sorting method applied to the pharmacy order processing client may further include the following steps:
[0166] In response to receiving the fourth instruction indicating that the merging and packaging of the medicine purchase orders is completed, the order status of the updated medicine purchase order is displayed, and the fifth instruction indicating the updated order status of the medicine purchase order is sent to the delivery client to display the order status of the updated medicine purchase order on the delivery client and to indicate the medicine pickup location information associated with the assigned medicine purchase order.
[0167] The specific operation of the drug sorting method applied to the client side of the pharmacy order processing has been combined with the above Figure 4 、 Figure 6 、 Figure 9 as well as Figure 11 It has been described in detail and will not be repeated here.
[0168] The present disclosure further provides a medicine sorting device applied to a pharmacy order processing client, wherein the device may include:
[0169] The first display module displays a list of medicines to be sorted contained in the manual sorting subtask in response to receiving a manual sorting subtask for a medicine purchase order, wherein the medicine purchase order is a medicine purchase order generated by a medicine purchasing user on an online medicine purchase platform based on the medicines in the current sales range, the manual sorting subtask is generated based on the sorting type of the medicine purchase order and the medicine purchase order, the sorting type is generated based on the medicine purchase order and the current sales range, and the sorting type is manual sorting or mixed human and machine sorting.
[0170] Optionally, the medicine sorting device applied to the pharmacy order processing client may further include:
[0171] A sending module is used to send a second instruction to the drug vending machine to instruct the drug vending machine to start executing the drug vending machine sorting subtask in response to receiving a first instruction for indicating the completion of the manual subtask when the sorting type is mixed sorting by humans and machines, and when the drugs in the list of drugs to be sorted are manually placed into the cargo inlet of the drug vending machine, so that the drug vending machine executes the drug vending machine sorting subtask and combines and packages the drugs currently sorted by the drug vending machine and the manually sorted drugs corresponding to the manual sorting subtask in the cargo inlet.
[0172] Optionally, the medicine sorting device applied to the pharmacy order processing client may further include:
[0173] The second display module is used to display the order status of the updated medicine purchase order in response to receiving the fourth instruction for indicating that the merging and packaging of the medicine purchase order is completed, and send the fifth instruction for indicating the updated order status of the medicine purchase order to the delivery client, so as to display the order status of the updated medicine purchase order and the medicine pickup location information associated with the assigned medicine purchase order on the delivery client.
[0174] Regarding the apparatus in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0175] In addition, the present disclosure also provides a medicine sorting system, including a medicine vending machine, a server, and a pharmacy order processing client;
[0176] Wherein, the server is connected to the medicine vending machine and the pharmacy order processing client respectively, and is used to: in response to receiving a medicine purchase order, determine the sorting type of the medicine purchase order according to the medicine purchase order and the current sales range, wherein the medicine purchase order is a medicine purchase order generated by a medicine purchasing user on an online medicine purchasing platform based on the medicines in the current sales range, and the sorting types include medicine vending machine sorting, manual sorting, and mixed human-machine sorting; generate a sorting task according to the sorting type and the medicine purchase order, wherein the sorting task includes a medicine vending machine sorting subtask and / or a manual sorting subtask; send the medicine vending machine sorting subtask to the medicine vending machine, and send the manual sorting subtask to the pharmacy order processing client;
[0177] The medicine vending machine is configured to sort the medicines to be sorted in the medicine vending machine sorting subtask in response to receiving the medicine vending machine sorting subtask;
[0178] The pharmacy order processing client is used to display a list of to-be-sorted medicines included in the manual sorting subtask in response to receiving the manual sorting subtask.
[0179] In the above technical solution, drug purchasing users can generate drug purchase orders on the online drug purchasing platform based on the drugs in the current sales range. In this way, the drugs that drug purchasing users can choose to purchase will change depending on the current sales range, and the sorting type will also change depending on the sales range. The sorting types include drug vending machine sorting, manual sorting, and mixed human and machine sorting. Therefore, the sales range may not be limited to the inventory of the drug vending machine, but may also be the inventory of the entire store. Users can purchase drugs in the drug vending machine and in-store drugs at the same time through the online drug purchasing platform, thereby avoiding the problem of not being able to purchase the required drugs due to insufficient inventory of the drug vending machine or the limited sales range of the drug vending machine. In addition, completing the sorting of drug purchase orders through human-machine collaboration can not only support the sale of more drugs, but also reduce the workload of store clerks in sorting.
[0180] Optionally, the server is further configured to, when the sorting type is mixed human-machine sorting, send a second instruction to the medicine vending machine instructing the medicine vending machine to start executing the medicine vending machine sorting subtask in response to receiving a first instruction instructing the completion of the manual subtask when the medicines on the list of medicines to be sorted are manually placed into the inlet of the medicine vending machine;
[0181] The medicine vending machine is also used to: execute the medicine vending machine sorting subtask in response to receiving the second instruction; when the medicine vending machine sorting subtask is completed, merge and package the medicines currently sorted by the medicine vending machine and the manually sorted medicines corresponding to the manual sorting subtask at the entrance of the medicine vending machine.
[0182] Optionally, the system further includes a delivery client;
[0183] The medicine vending machine is further configured to, when the medicine purchase order is consolidated and packaged, transfer the consolidated and packaged packages to a target slot in the delivery cabinet, and send a third instruction indicating the target slot to the delivery client;
[0184] The delivery client is configured to display, in response to receiving the third instruction, the updated order status of the medicine purchase order and information indicating the target slot associated with the allocated medicine purchase order.
[0185] Optionally, the system further includes a delivery client;
[0186] The medicine vending machine is further configured to, when the sorting type is mixed human-machine sorting, deliver the medicines currently sorted by the medicine vending machine to a shipping port upon completion of the sorting subtask of the medicine vending machine, so that the medicines currently sorted by the medicine vending machine and the manually sorted medicines corresponding to the manual sorting subtask can be manually combined and packaged at the shipping port;
[0187] The pharmacy order processing client is further configured to, in response to receiving a fourth instruction indicating completion of the merging and packaging of the medicine purchase orders, display an updated order status of the medicine purchase orders, and send a fifth instruction to the delivery client indicating an update of the order status of the medicine purchase orders;
[0188] The delivery client is used to display the updated order status of the medicine purchase order and the medicine pickup location information associated with the allocated medicine purchase order in response to receiving the fifth instruction.
[0189] Optionally, the server is used to determine the sorting type of the medicine purchase order based on the medicine purchase order and the current sorting mode when the current sales range is the entire store inventory, wherein the current sorting mode is one of a machine priority sorting mode, a manual priority sorting mode, and a manual supplementary sorting mode, wherein the current sorting mode is a default configuration or configured through the pharmacy order processing client.
[0190] Optionally, the server is used to:
[0191] When the current sorting mode is the manual replenishment sorting mode, determining whether the inventory of the medicine vending machine fully meets the demand of the medicine purchase order; when it is determined that the inventory of the medicine vending machine fully meets the demand, determining the sorting type to be medicine vending machine sorting; when it is determined that the inventory of the medicine vending machine does not fully meet the demand, and the inventory of the face-to-face sales fully meets the demand, determining the sorting type to be manual sorting; when it is determined that the inventory of the medicine vending machine does not fully meet the demand, and the inventory of the face-to-face sales does not fully meet the demand, determining the sorting type to be mixed human and machine sorting;
[0192] When the current sorting mode is the machine-priority sorting mode, determine whether the medicine vending machine inventory fully meets the demand of the medicine purchase order; when it is determined that the medicine vending machine inventory fully meets the demand, determine the sorting type to be medicine vending machine sorting; when it is determined that the medicine vending machine inventory partially meets the demand, determine the sorting type to be mixed human and machine sorting; when it is determined that the medicine vending machine inventory does not meet the demand at all, determine the sorting type to be manual sorting; when the current sorting mode is the manual-priority sorting mode, determine whether the face-to-face sales inventory fully meets the demand of the medicine purchase order; when it is determined that the face-to-face sales inventory fully meets the demand, determine the sorting type to be manual sorting; when it is determined that the face-to-face sales inventory partially meets the demand, determine the sorting type to be mixed human and machine sorting; when it is determined that the face-to-face sales inventory does not meet the demand at all, determine the sorting type to be medicine vending machine sorting.
[0193] Optionally, the server is further configured to send the sorting type, the sorting task, and the sorting status of the medicine purchase order to the pharmacy order processing client;
[0194] The pharmacy order processing client is further used to receive and associate and display the medicine purchase order, the sorting type, the sorting task and the sorting status.
[0195] Optionally, the system further comprises a display device;
[0196] The server is connected to the display device and is further configured to obtain second order information of uncompleted orders from the pharmacy and send the second order information to the display device, wherein the second order information includes at least one of a sorting type and a sorting status of each uncompleted order and a working status of the medicine vending machine;
[0197] The display device is used to receive and display the second order information.
[0198] Optionally, the server is configured to determine the current sales range by:
[0199] Determine, based on the correspondence between time periods and sales ranges, the sales range corresponding to the current time period as the current sales range, wherein the current time period is the time period at the current moment; or
[0200] Determine whether a selling range switching instruction is received within a target time period, wherein the target time period is a time period between the current time and the start time of the current time period; if the selling range switching instruction is received within the target time period, determine the current selling range according to the selling range switching instruction; if the selling range switching instruction is not received within the target time period, determine the selling range corresponding to the current time period as the current selling range according to the correspondence between time periods and selling ranges.
[0201] Regarding the system in the above embodiment, the specific manner in which each component performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0202] In addition, the present disclosure also provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the steps of the above-mentioned drug sorting method applied to the pharmacy order processing client provided by the present disclosure are implemented.
[0203] Figure 15 FIG. 7 is a block diagram of an electronic device 700 according to an exemplary embodiment. Figure 15 As shown, the electronic device 700 may include: a processor 701 , a memory 702 , and may further include one or more of a multimedia component 703 , an input / output (I / O) interface 704 , and a communication component 705 .
[0204] The processor 701 is used to control the overall operation of the electronic device 700 to complete all or part of the steps in the above-mentioned drug sorting method applied to the pharmacy order processing client. The memory 702 is used to store various types of data to support the operation of the electronic device 700. Such data may include, for example, instructions for any application or method operating on the electronic device 700, as well as application-related data, such as contact information, sent and received messages, pictures, audio, video, etc. The memory 702 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk. The multimedia component 703 may include a screen and an audio component. The screen may be, for example, a touch screen, and the audio component is used to output and / or input audio signals. For example, the audio component may include a microphone for receiving external audio signals. The received audio signals may be further stored in the memory 702 or transmitted via the communication component 705. The audio component also includes at least one speaker for outputting audio signals. The I / O interface 704 provides an interface between the processor 701 and other interface modules. The aforementioned other interface modules may be a keyboard, a mouse, buttons, etc. These buttons may be virtual buttons or physical buttons. The communication component 705 is used for wired or wireless communication between the electronic device 700 and other devices. Wireless communication, such as Wi-Fi, Bluetooth, Near Field Communication (NFC), 2G, 3G, 4G, NB-IOT, eMTC, or other 5G, etc., or a combination of one or more thereof, is not limited here. Therefore, the corresponding communication component 705 may include: a Wi-Fi module, a Bluetooth module, an NFC module, etc.
[0205] In an exemplary embodiment, the electronic device 700 can be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to execute the above-mentioned drug sorting method applied to a pharmacy order processing client.
[0206] In another exemplary embodiment, a computer-readable storage medium including program instructions is also provided. When executed by a processor, the program instructions implement the steps of the aforementioned drug sorting method for a pharmacy order processing client. For example, the computer-readable storage medium may be the aforementioned memory 702 including the program instructions. The program instructions may be executed by the processor 701 of the electronic device 700 to implement the aforementioned drug sorting method for a pharmacy order processing client.
[0207] The preferred embodiments of the present disclosure are described in detail above in conjunction with the accompanying drawings. However, the present disclosure is not limited to the specific details of the above embodiments. Within the technical concept of the present disclosure, various simple modifications can be made to the technical solutions of the present disclosure, and these simple modifications all fall within the scope of protection of the present disclosure.
[0208] It should also be noted that the various specific technical features described in the above specific embodiments can be combined in any suitable manner without contradiction. To avoid unnecessary repetition, the present disclosure will not further describe various possible combinations.
[0209] In addition, the various embodiments of the present disclosure may be arbitrarily combined, and as long as they do not violate the concept of the present disclosure, they should also be regarded as the contents disclosed by the present disclosure.
Claims
1. A medicine sorting system, characterized in that: The invention comprises a medicine vending machine, a server and a drug store order processing client; the server is connected to the medicine vending machine and the drug store order processing client respectively, and is used to: in response to receiving a medicine purchase order, determine the sorting type of the medicine purchase order according to the medicine purchase order and the current sales range, wherein the medicine purchase order is a medicine purchase order generated by a medicine purchase user on an online medicine purchase platform based on the medicines in the current sales range, and the sorting types include medicine vending machine sorting, manual sorting and mixed human and machine sorting; according to the sorting type and the medicine purchase order, Generate a sorting task, wherein the sorting task includes a medicine vending machine sorting subtask and / or a manual sorting subtask; send the medicine vending machine sorting subtask to the medicine vending machine, and send the manual sorting subtask to the pharmacy order processing client; the medicine vending machine is used to sort the to-be-sorted medicines in the medicine vending machine sorting subtask in response to receiving the medicine vending machine sorting subtask; the pharmacy order processing client is used to display a list of to-be-sorted medicines contained in the manual sorting subtask in response to receiving the manual sorting subtask; The system also includes a display device; the server is connected to the display device and is also used to obtain second order information of the pharmacy's unfinished orders and send the second order information to the display device, wherein the second order information includes at least one of the sorting type, sorting status, and working status of the medicine vending machine for each unfinished order; the display device is used to receive and display the second order information.
2. The system according to claim 1, wherein: The server is also used to send the sorting type, the sorting task and the sorting status of the medicine purchase order to the pharmacy order processing client; the pharmacy order processing client is also used to receive and associate and display the medicine purchase order, the sorting type, the sorting task and the sorting status.
3. A medicine sorting method, characterized in that: include: In response to receiving a medicine purchase order, determining a sorting type of the medicine purchase order according to the medicine purchase order and the current sales range, wherein the medicine purchase order is a medicine purchase order generated by a medicine purchasing user on an online medicine purchasing platform based on a selection of medicines in the current sales range, and the sorting types include medicine vending machine sorting, manual sorting, and mixed manual and machine sorting; generating a sorting task according to the sorting type and the medicine purchase order, wherein the sorting task includes a medicine vending machine sorting subtask and / or a manual sorting subtask; sending the medicine vending machine sorting subtask to the medicine vending machine, instructing the medicine vending machine to sort the medicines to be sorted in the medicine vending machine sorting subtask; sending the manual sorting subtask to a pharmacy order processing client, instructing the pharmacy order processing client to display a list of medicines to be sorted contained in the manual sorting subtask; The method further includes: when the sorting type is mixed human-machine sorting, when the medicines on the list of medicines to be sorted are manually placed into the inlet of the medicine vending machine, in response to receiving a first instruction for indicating that the manual sorting subtask is completed, sending a second instruction to the medicine vending machine for instructing the medicine vending machine to start executing the medicine vending machine sorting subtask; in response to receiving the second instruction, the medicine vending machine executes the medicine vending machine sorting subtask; when the medicine vending machine sorting subtask is completed, the medicine vending machine combines and packages the medicines currently sorted by the medicine vending machine with the manually sorted medicines corresponding to the manual sorting subtask in the inlet of the medicine vending machine; The method also includes: when the medicine purchase order is merged and packaged, the medicine vending machine transfers the merged and packaged packages to the target grid of the handover cabinet, and sends a third instruction to the delivery client to indicate the target grid; in response to receiving the third instruction, the delivery client displays the updated order status of the medicine purchase order and information indicating the target grid associated with the assigned medicine purchase order.
4. The method according to claim 3, characterized in that The method also includes: when the sorting type is mixed human-machine sorting, the medicine vending machine transfers the medicines currently sorted by the medicine vending machine to the shipping port when the sorting subtask of the medicine vending machine is completed, so that the medicines currently sorted by the medicine vending machine and the manually sorted medicines corresponding to the manual sorting subtask in the shipping port are manually combined and packaged; the pharmacy order processing client responds to receiving the fourth instruction for indicating the completion of the merging and packaging of the medicine purchase order, displays the updated order status of the medicine purchase order, and sends the delivery client responding to the fifth instruction for indicating the update of the order status of the medicine purchase order; the delivery client responds to receiving the fifth instruction, displays the updated order status of the medicine purchase order and indicates the medicine pickup location information associated with the assigned medicine purchase order.
5. The method according to claim 3, characterized in that The determining the sorting type of the medicine purchase order based on the medicine purchase order and the current sales scope includes: when the current sales scope is the entire store inventory, determining the sorting type of the medicine purchase order based on the medicine purchase order and the current sorting mode, wherein the current sorting mode is one of a machine priority sorting mode, a manual priority sorting mode, and a manual supplementary sorting mode, wherein the current sorting mode is a default configuration or configured through the pharmacy order processing client.
6. The method according to claim 5, characterized in that The method of determining the sorting type of the medicine purchase order according to the medicine purchase order and the current sorting mode includes: when the current sorting mode is the manual replenishment sorting mode, determining whether the inventory of the medicine vending machine fully meets the demand of the medicine purchase order; when it is determined that the inventory of the medicine vending machine fully meets the demand, determining the sorting type to be medicine vending machine sorting; when it is determined that the inventory of the medicine vending machine does not fully meet the demand, and the face-to-face sales inventory fully meets the demand, determining the sorting type to be manual sorting; when it is determined that the inventory of the medicine vending machine does not fully meet the demand, and the face-to-face sales inventory does not fully meet the demand, determining the sorting type to be mixed human-machine sorting; when the current sorting mode is the machine priority sorting mode, determining whether the inventory of the medicine vending machine fully meets the demand The demand for medicine orders; when it is determined that the medicine vending machine inventory fully meets the demand, the sorting type is determined to be medicine vending machine sorting; when it is determined that the medicine vending machine inventory partially meets the demand, the sorting type is determined to be mixed human and machine sorting; when it is determined that the medicine vending machine inventory does not meet the demand at all, the sorting type is determined to be manual sorting; when the current sorting mode is the manual priority sorting mode, it is determined whether the face-to-face sales inventory fully meets the demand for medicine purchase orders; when it is determined that the face-to-face sales inventory fully meets the demand, the sorting type is determined to be manual sorting; when it is determined that the face-to-face sales inventory partially meets the demand, the sorting type is determined to be mixed human and machine sorting; when it is determined that the face-to-face sales inventory does not meet the demand at all, the sorting type is determined to be medicine vending machine sorting.
7. The method according to claim 3, characterized in that The method also includes: sending the sorting type, the sorting task and the sorting status of the medicine purchase order to the pharmacy order processing client; the pharmacy order processing client receives and displays the medicine purchase order, the sorting type, the sorting task and the sorting status in an associated manner.
8. The method according to claim 3, characterized in that The method also includes: obtaining second order information of the pharmacy's unfinished orders, and sending the second order information to a display device, wherein the second order information includes at least one of the sorting type, sorting status, and working status of the medicine vending machine for each unfinished order; the display device receives and displays the second order information.
9. The method according to claim 3, characterized in that The method further includes: determining, based on a correspondence between time periods and sales ranges, a sales range corresponding to a current time period as the current sales range, wherein the current time period is the time period at the current moment; or determining whether a sales range switching instruction is received within a target time period, wherein the target time period is the time period between the current moment and the start time of the current time period; if the sales range switching instruction is received within the target time period, determining the current sales range based on the sales range switching instruction; if the sales range switching instruction is not received within the target time period, determining, based on the correspondence between time periods and sales ranges, a sales range corresponding to the current time period as the current sales range.
10. A medicine sorting method, characterized in that: The system is applied to a pharmacy order processing client, comprising: in response to receiving a manual sorting subtask for a medicine purchase order, displaying a list of medicines to be sorted contained in the manual sorting subtask, wherein the medicine purchase order is a medicine purchase order generated by a medicine purchaser on an online medicine purchase platform based on a selection of medicines within a current sales range, the manual sorting subtask is generated based on a sorting type of the medicine purchase order and the medicine purchase order, the sorting type is generated based on the medicine purchase order and the current sales range, and the sorting type is manual sorting or mixed human and machine sorting; The method also includes: when the sorting type is mixed sorting by humans and machines, when the medicines in the list of medicines to be sorted are manually placed into the cargo inlet of the medicine vending machine, in response to receiving a first instruction for indicating the completion of the manual sorting subtask, a second instruction for instructing the medicine vending machine to start executing the medicine vending machine sorting subtask is sent to the medicine vending machine, so that the medicine vending machine executes the medicine vending machine sorting subtask, and merges and packages the medicines currently sorted by the medicine vending machine and the manually sorted medicines corresponding to the manual sorting subtask in the cargo inlet.
11. The method according to claim 10, characterized in that The method also includes: in response to receiving a fourth instruction for indicating that the merging and packaging of the medicine purchase order is completed, displaying the updated order status of the medicine purchase order, and sending a fifth instruction for indicating the updated order status of the medicine purchase order to the delivery client, so as to display the updated order status of the medicine purchase order on the delivery client and the medicine pickup location information associated with the allocated medicine purchase order.
Citation Information
Patent Citations
Self-service medicine purchasing system and self-service medicine purchasing method
CN116645761A