Drug sorting system and drug sorting method

Through the drug sorting system, combined with drug dispensing machines and manual sorting, the function of purchasing drugs in and in stores on the online drug purchase platform is realized, and the intelligent sorting equipment in the existing technology cannot meet the diversified needs. The problem has improved user experience and inventory utilization.

CN119067740AActive Publication Date: 2024-12-03BEIJING SANKUAI ONLINE TECH CO LTD

Patent Information

Application Number
CN202310637662.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-05-31
Publication Date
2024-12-03
Estimated Expiration
2043-05-31

AI Technical Summary

Technical Problem

The existing intelligent sorting equipment is mainly for sale in the machine. Due to the types and quantity of goods, it cannot meet the diverse needs of users, resulting in poor user experience.

Method used

A drug sorting system was designed, including a drug dispensing machine, a server and a pharmacy order processing client. By responding to drug purchase orders, the sorting type is drug dispensing machine sorting, manual sorting or human-machine sorting, and generates The corresponding sorting tasks realize the sorting and packaging of drugs, and support users to purchase drugs in the drug sale machine and in the store on the online drug purchase platform.

Benefits of technology

The selection range of drugs has been expanded, and the purchasing difficulties caused by insufficient inventory or limited sales range has been avoided, and the sorting workload of clerks has been reduced, and the user experience has been improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119067740A_ABST
    Figure CN119067740A_ABST
Patent Text Reader

Abstract

The invention relates to a medicine sorting system and a medicine sorting method. The system comprises a medicine selling machine, a server and a drugstore order processing client. The server is used for responding to the received medicine purchasing order, and determining the sorting type of the medicine purchasing order according to the medicine purchasing order and the current selling range; generating a sorting task according to the sorting type and the medicine purchasing order; sending the sorting subtask of the medicine selling machine to the medicine selling machine, and sending the manual sorting subtask to the drugstore order processing client; the medicine selling machine is used for sorting the to-be-sorted medicines in the medicine selling machine sorting subtasks; and the drugstore order processing client is used for displaying a to-be-sorted medicine list contained in the manual sorting sub-task. The user selects and purchases the medicine in the medicine selling machine and the medicine in the store at the same time through the network medicine purchasing platform, and the problem that the needed medicine cannot be purchased due to the fact that the inventory of the medicine selling machine is insufficient or the selling range of the medicine selling machine is limited is solved. Medicine purchasing order sorting is completed through man-machine cooperation, more medicines can be sold, and the sorting workload of shop assistants can be reduced.
Need to check novelty before this filing date? Find Prior Art

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] At present, 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 drug sorting system and a drug 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 medicine sorting system in a first aspect, including 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 used 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 the list of to-be-sorted medicines contained in the manual sorting subtask in response to receiving the manual sorting subtask.

[0008] Optionally, the server is further used 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 also 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 used to obtain second order information of uncompleted orders of the pharmacy and send the second order information to the display device, wherein the second order information includes at least one of the sorting type and sorting status of each uncompleted order and the 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 drug sorting method, comprising:

[0014] In response to receiving a drug purchase order, determining a sorting type of the drug purchase order according to the drug purchase order and the current sales range, wherein the drug purchase order is a drug purchase order generated by a drug purchase user on an online drug purchase platform based on the drugs in the current sales range, and the sorting type includes 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 to-be-sorted medicines included in the manual sorting subtask.

[0018] Optionally, the method further comprises:

[0019] In the case where the sorting type is mixed human-machine sorting, when the drugs in 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 that the manual subtask is completed, 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] In response to receiving the second instruction, the medicine vending machine executes the medicine vending machine sorting subtask;

[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 entrance of the medicine vending machine.

[0022] Optionally, the method further comprises:

[0023] When the medicine purchase order is packaged, the medicine vending machine transfers the packaged package to a target slot of 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 comprises:

[0026] When the sorting type of the medicine vending machine is mixed human-machine sorting, when the sorting subtask of the medicine vending machine is completed, the medicines currently sorted by the medicine vending machine are transferred to the delivery port, so that the medicines currently sorted by the medicine vending machine and the manually sorted medicines corresponding to the manual sorting subtask are manually combined and packaged at the delivery port;

[0027] In response to receiving the fourth instruction for indicating that the merging and packaging of the medicine purchase order is completed, the pharmacy order processing client displays the updated order status of the medicine purchase order, and sends a fifth instruction for indicating that the order status of the medicine purchase order 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 selling 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 is 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 mode, determine 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, determine 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, determine 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, determine 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-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-machine picking; 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 comprises:

[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 drug purchase order, the sorting type, the sorting task and the sorting status in association.

[0037] Optionally, the method further comprises:

[0038] Acquire second order information of unfinished orders of the pharmacy, and send the second order information to a display device, wherein the second order information includes at least one of the sorting type and sorting status of each unfinished order and the working status of the medicine vending machine;

[0039] The display device receives and displays the second order information.

[0040] Optionally, the method further comprises:

[0041] According to the correspondence between the time period and the sales range, determine 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 a current moment and a start moment 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 according to a correspondence between time periods and selling ranges as the current selling range.

[0043] A third aspect of the present disclosure provides a drug sorting method, which is applied to a drug store 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 selection of medicines in a current sales range, and the manual sorting subtask is generated based on a 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 and machine sorting.

[0045] Optionally, the method further comprises:

[0046] In the case where the sorting type is mixed sorting by humans and machines, when the drugs in the list of drugs to be sorted are manually placed into the entrance of the drug vending machine, in response to receiving a first instruction for indicating the completion of the manual molecular task, 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, 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 entrance.

[0047] Optionally, the method further comprises:

[0048] In response to receiving the fourth instruction indicating that the merging and packaging of the medicine purchase orders is completed, the updated order status of the medicine purchase orders is displayed, and a fifth instruction indicating the update of the order status of the medicine purchase orders is sent to the delivery client, so as to display the updated order status of the medicine purchase orders on the delivery client and indicate the medicine pickup location information associated with the assigned medicine purchase orders.

[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 vary depending on the current sales range, and the sorting type also varies depending on the sales range, where the sorting types include drug vending machine sorting, manual sorting, and mixed human-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 specific embodiments, 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 is a block diagram of a medicine sorting system according to an exemplary embodiment.

[0053] Figure 2 It is a schematic diagram of a medicine sorting business process according to an exemplary embodiment.

[0054] Figure 3 The present invention is a flowchart of a drug sorting method according to an exemplary embodiment.

[0055] Figure 4 It is a signaling interaction diagram of a drug sorting method according to an exemplary embodiment.

[0056] Figure 5 It is a schematic diagram of a sorting strategy for a medicine vending machine according to an exemplary embodiment.

[0057] Figure 6 is a signaling interaction diagram of a drug sorting method according to another exemplary embodiment.

[0058] Figure 7 The present invention is a flowchart of order merging and packaging according to an exemplary embodiment.

[0059] Figure 8 It is a schematic diagram of a process of merging and packaging medicine vending machines according to an exemplary embodiment.

[0060] Fig. 9is a signaling interaction diagram of a drug sorting method according to another exemplary embodiment.

[0061] Fig.10 It is a schematic diagram of a display interface of a handover cabinet screen when a delivery person takes medicine from the handover cabinet according to an exemplary embodiment.

[0062] Fig.11 is a signaling interaction diagram of a drug sorting method according to another exemplary embodiment.

[0063] Figure 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] Figure 13A-13C It is a schematic diagram showing a pharmacy order processing client filtering and viewing according to uncompleted orders and completed orders according to an exemplary embodiment.

[0065] Fig.13D The diagram is a schematic diagram showing order query by a pharmacy order processing client according to an exemplary embodiment.

[0066] Fig.14 The figure is a schematic diagram of an interface of a display device according to an exemplary embodiment.

[0067] Fig.15 It is a block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION

[0068] The specific implementation of the present disclosure is described in detail below in conjunction with the accompanying drawings. It should be understood that the specific implementation described herein is only used to illustrate and explain the present disclosure, and is not used 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 relevant data protection laws and policies of the country where the device is located and with the authorization given by the owner of the corresponding device.

[0070] Figure 1 FIG. 1 is a block diagram of a drug sorting system according to an exemplary embodiment. Figure 1 As shown, the medicine sorting system may include: a medicine vending machine 100, a server 200, and a drugstore order processing client 300. The server 200 is connected to the medicine vending machine 100 and the drugstore order processing client 300, respectively. Through the signaling interaction between the medicine vending machine 100, the server 200, and the drugstore order processing client 300, human-machine collaborative sorting is performed to enable users to purchase medicine online.

[0071] The medicine vending machine 100 may include a sorting device and a controller. The controller is connected to the sorting device to control the sorting device to perform the sorting task of the medicine vending machine (i.e., the medicine vending machine sorting subtask). The drugstore order processing client 300 is a clerk-side client, and the clerk can process orders through the drugstore 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 plurality of inclined medicine shelves, and the medicine shelves are 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, and the medicine dispensing unit 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 (Online To Offline, O2O) platform, specifically including an online drug purchase platform and an offline drug purchase platform. When the online drug purchase platform receives an online drug purchase 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 drug purchase order to the sorting type calculation module. The sorting type calculation module determines the sorting type of the drug purchase order by querying the inventory location information. After that, the sorting strategy is scheduled according to the sorting type (including sorting, packaging and delivery). After the delivery 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 (i.e., the monitoring screen) in the pharmacy 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 is a flowchart of a drug 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 drug purchase order, a sorting type of the drug purchase order is determined according to the drug 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 (e.g., a smart phone), and after receiving the drug purchase request, the server obtains the drugs in the current sales range and pushes them to the drug purchasing terminal, and 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 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, the sorting type can include medicine vending machine sorting, manual sorting, and mixed human-machine sorting. Among them, when the sorting type is medicine vending machine sorting, the medicine purchase order is completely sorted and packaged by the medicine vending machine and transferred to the handover cabinet of the medicine vending machine without human intervention; when the sorting type is manual sorting, the medicine purchase order is completely sorted and packaged by the store clerk; when the sorting type is mixed human-machine sorting, it means that the medicine vending machine and manual labor cannot sort out the medicine purchase order completely alone, and manual labor and medicine vending machines are required to sort the parts and then combine the orders and package them.

[0078] In S202, a sorting task is generated according to the sorting type and the medicine purchase order, and 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 to-be-sorted medicines 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 may 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 (e.g., Figure 4 3 and 4 (as shown in S203 and S205 in FIG. 3 ).

[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 drugs to be sorted 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 the drug can be manually sorted according to the list of drugs to be sorted (such as Figure 4 4 and 5206 in FIG. 1 ).

[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 the present 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 vary depending on the current sales range, and the sorting type also varies depending on the sales range, where the sorting types include drug vending machine sorting, manual sorting, and mixed human-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 is a detailed description of the method for determining the current selling range. Specifically, the current selling range can be determined in a variety of ways. In one embodiment, the selling range corresponding to the current time period can be determined as the current selling range based on the corresponding relationship between the time period and the selling range.

[0086] In the present disclosure, the current time period refers to the time period at the current moment.

[0087] The relationship between the time period and the sales range can be set according to the business hours of the pharmacy. For example, the business hours of the pharmacy are "08:00-20:00", and the corresponding relationship between the time period and the sales range 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 current selling range is determined according to the selling range switching instruction; if the server does not receive the selling range switching instruction within the target time period, the selling range corresponding to the current time period is determined according to the correspondence between the time period and the selling range as the current selling range.

[0092] The selling range switching instruction is used to instruct to switch the selling range to the target selling range. The target time period is the time 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 may 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 most recently received among the multiple selling range switching instructions is determined as the current selling range.

[0094] The specific implementation method of determining the sorting type of the medicine purchase order according to the medicine purchase order and the current sales scope in the above S201 is described in detail below.

[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 implementation, 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 according to the medicine purchase order and the current sorting mode:

[0099] When the current sorting mode is manual replenishment mode, first determine 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, determine the sorting type as 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, determine the sorting type as 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, determine the sorting type as mixed human and machine sorting. Among them, the premise of generating a medicine purchase order is that the inventory of the entire store meets the demand of the medicine purchase order.

[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 fully meets the demand, determine the sorting type as medicine vending machine sorting; when it is determined that the inventory of the medicine vending machine partially meets the demand, determine the sorting type as mixed human-machine sorting; when it is determined that the inventory of the medicine vending machine does not meet the demand at all, 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 for 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 manual 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 specific implementation method of generating the sorting task according to the sorting type and the medicine purchase order in the above S202 is described in detail below.

[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 drugs to be purchased are in the medicine vending machine inventory, and the other part of the drugs 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 collaboration are required to complete the sorting task, among which the medicine vending machine performs the medicine vending machine sorting sub-tasks, and manual sorting completes the manual sorting sub-tasks.

[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 drug to be purchased in the drug purchase order, it can be determined first whether the inventory of the medicine vending machine fully meets the purchase demand of the drug to be purchased; when it is determined that the inventory of the medicine vending machine fully meets the purchase demand of the drug to be purchased, it is determined that the medicine vending machine independently completes the sorting of the drug to be purchased; when it is determined that the inventory of the medicine vending machine does not fully meet the purchase demand of the drug to be purchased, and the face-to-face sales inventory fully meets the purchase demand of the drug to be purchased, it is determined that the sorting of the drug to be purchased is completed manually independently; when it is determined that the inventory of the medicine vending machine does not fully meet the purchase demand of the drug to be purchased, and the face-to-face sales inventory does not fully meet the purchase demand of the drug to be purchased, it is determined that the medicine vending machine will prioritize sorting all the purchased drugs in the inventory of the medicine vending machine, and then the remaining number of drugs to be purchased will be sorted manually.

[0106] When the current sorting mode is the machine priority sorting mode, for each type of drug to be purchased in the drug purchase order, it can be determined first whether the inventory of the drug vending machine fully meets the purchase demand of the drug to be purchased; when it is determined that the inventory of the drug vending machine fully meets the purchase demand of the drug to be purchased, it is determined that the drug vending machine independently completes the sorting of the drug to be purchased; when it is determined that the inventory of the drug vending machine partially meets the purchase demand of the drug to be purchased, it is determined that the drug vending machine has priority to sort all the purchased drugs in the inventory of the drug vending machine, and then the remaining number of drugs to be purchased are sorted manually; when it is determined that the inventory of the drug vending machine does not meet the purchase demand of the drug to be purchased, it is determined that the sorting of the drug to be purchased is independently completed manually.

[0107] When the current sorting mode is the manual priority sorting mode, for each drug to be purchased in the drug purchase order, it can be determined first whether the direct sales inventory can fully meet the purchase demand of the drug to be purchased; when it is determined that the direct sales inventory fully meets the purchase demand of the drug to be purchased, it is determined that the sorting of the drug to be purchased is completed manually independently; when it is determined that the direct sales inventory partially meets the purchase demand of the drug to be purchased, it is determined that all the purchased drugs in the direct sales inventory are sorted manually first, and the remaining number of drugs to be purchased are sorted by the medicine vending machine; when it is determined that the direct sales inventory does not fully meet the purchase demand of the drug to be purchased, it is determined that the sorting of the drug to be purchased is completed independently by the medicine vending machine.

[0108] The sorting strategy of the medicine vending machine refers to the order sorting, packaging, and delivery strategy. Among them, each order is sorted in parallel, that is, the medicine rack, conveyor belt, packaging machine, and handover cabinet are all running in parallel, and the threads are parallel. If a medicine purchase order has multiple medicines, they will be packaged and delivered to different compartments based on the capacity of the packaging bag. That is, for a medicine purchase order, several cargo lanes are dispatched to sort the medicines, and several packages are packaged and placed in at least one handover 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] Combine the following 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 inventory, equipment status and other information. The fallback strategy rules are executed when there are problems. 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 completes some business parameters used in action calculations for equipment or tasks, and performs different calculation strategies according to different tags during subsequent calculations. The mechanical task downgrade fulfillment strategy mainly implements different downgrade processing strategies for different fault types.

[0113] When data preparation is complete, all task nodes are traversed according to the queue loop until the queue is empty. The action instructions to be issued 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 relationship, and subsequent fulfillment links.

[0114] After the calculation is completed, the returned parameters are spliced: According to the task status results, device results, action results, etc. of this calculation, the output parameters for the final interaction with the external service are spliced ​​to obtain the action combination to be executed by different devices.

[0115] Specifically, the manual picking mode refers to a mode in which all mechanical picking tasks are directly connected to manual picking tasks in the early stage of pharmacy docking, in the absence of equipment. The sorting and recycling serial picking mode refers to a mode in which, in the case of complex equipment combinations, when there is no concurrent interference from potential machine (i.e., medicine vending machine) picking, if there is an action in progress, no new action will be generated, and the sorting and recycling actions will be executed serially.

[0116] Node fault tolerance refers to shielding some abnormal situations such as network delays, device communication loss messages, system business processing delays, etc., to avoid invalid calculations such as calculation anomalies and wrong action instructions. Inventory fault tolerance refers to shielding inventory information of empty aisles or picking anomalies that have occurred in the current picking order in the inventory to avoid the generation of invalid action instructions. Task fault tolerance refers to shielding some problems such as abnormal mechanical picking task parameters or unclear handover equipment caused by the lack of picking configuration in the pharmacy, so as to supplement the complete fulfillment information as much as possible and complete mechanical fulfillment.

[0117] The default link graph is a directed graph for free combination of equipment, which generates all configured fulfillment links for use in subsequent action instruction generation. The reachable picking link graph is a directed graph for free combination of equipment, which generates all reachable links that are available for sorting and can be delivered to the handover cabinet. A reachable link means that all equipment nodes in the current link are in a non-faulty state, and the last node of the link is the handover cabinet. The reachable recycling link trench graph is a directed graph for free combination of equipment, which generates a reachable link for recycling.

[0118] Node labeling is to complete some business parameters used in action calculation, such as: silent flag, re-picking flag, full container flag, volume strategy subcontracting flag, etc. Task labeling is also to complete some business parameters used in action calculation, such as: whether there are enough free slots in the transfer cabinet, whether the fulfillment link is reachable, whether the inventory is sufficient, etc.

[0119] The conversion of sorting tasks to recycling tasks means that the cancelled mechanical sorting tasks are directly converted to mechanical recycling tasks, and the drugs on the subsequent equipment will go through the automatic recycling process. The conversion of sorting tasks to manual tasks refers to the mechanical sorting tasks that have not started picking. If the list of planned sorting drugs for the mechanical task is empty, it will be directly transferred to manual supplementary picking. The redirection of sorting tasks to the handover end point means that during the mechanical picking process, if it is found that the original handover end point has no reachable link, insufficient inventory, insufficient cargo box, etc., a new handover end point is selected to complete the fulfillment, and the remaining useless drugs are automatically recycled. The silent sorting task means that during the mechanical picking process, if it is found that the delivery cannot be completed, the task is first silent to see whether the original link fulfillment can be restored. A waiting strategy. The rapid recovery of sorting tasks means that when the redirection of sorting tasks to the handover end point strategy and the silent sorting task strategy cannot make the machine fulfill the contract normally, the picked drugs will be automatically recycled and transferred to manual supplementary picking. The flow limit of sorting tasks means that the maximum number of tasks that can be fulfilled is calculated based on the free combination of different equipment and whether the equipment can fulfill the unstarted tasks at the current moment.

[0120] Action calculation includes device node sequence calculation and device node action instruction calculation. Among them, device node sequence calculation refers to starting from the initial node of the directed graph (i.e. link graph) to enter the queue, and then continue to calculate after the downstream node is entered into the queue until the queue is empty, then the action calculation is completed; 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 relationship, subsequent fulfillment link, etc., to calculate the issued action instructions.

[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 vending machine can independently complete the sorting and packing of the medicine purchase orders and transfer them to the delivery cabinet of the medicine vending machine; when the sorting type is mixed sorting by humans and machines, the orders can be combined and packed, and the combined packing can include two methods: manual combined packing and medicine vending machine combined packing.

[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, when the drugs on the list of drugs to be sorted are manually placed into the entrance of the drug vending machine, the pharmacy order processing client responds to receiving the first instruction for indicating the completion of the manual molecular task, and sends a second instruction to the drug vending machine for instructing the drug vending machine to start executing the drug vending machine sorting subtask.

[0125] In the present disclosure, the cargo entrance may be a separate entrance provided in the drugstore, and when the medicine vending machine needs to consolidate and package the medicines, the clerk may place the manually sorted medicines corresponding to the manual sorting subtask at the cargo entrance for consolidation and packaging by the medicine vending machine.

[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 entrance of the medicine vending machine.

[0129] like Figure 7and Figure 8 As shown, if the method of merging and packaging by the medicine vending machine is adopted, manual picking is carried out first. After the sorting is completed, the manually sorted medicines are placed in the entrance of the medicine vending machine, and the sorting is completed is clicked on the drugstore order client to trigger the first instruction for indicating that the manual molecular task is completed; after the drugstore 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 sorting subtask; after receiving the second instruction, the medicine vending machine starts to execute the medicine vending machine sorting subtask, and when the medicine vending machine 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 entrance of the medicine vending machine are transferred to the packaging machine of the medicine vending machine, so that they can be combined and packaged by the packaging machine and transferred to the handover cabinet of the medicine vending machine. Among them, Figure 7 The picking warehouse is a sorting device used to pick up goods from the aisle of the shelf, 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 the medicine vending machine is used for combined packaging, manual sorting is performed first. 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 Fig. 9 As shown, after the above S208, the above method may further include the following steps:

[0132] In S209, when the medicine purchase orders are 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 disposed 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 order status of the updated 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. Fig.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 one order corresponds to multiple packages, the pickup code is entered and the compartments for placing multiple packages are opened at the same time. The delivery person takes all the packages and delivers them to the user.

[0137] like Fig.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 human-machine sorting, when the sorting subtask of the medicine vending machine is completed, the medicines currently sorted by the medicine vending machine are transferred to the shipping port, so that the medicines currently sorted by the medicine vending machine at 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, where the medicines currently sorted by the medicine vending machine at 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 a pharmacy).

[0141] In S213, 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 order status of the updated 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 order status of the updated medicine purchase order and the medicine pickup location information indicating the medicine purchase order 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 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, the fifth instruction indicating the update of the order status of the medicine purchase order is sent 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 medicine pickup location information 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 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 drug purchase orders, sorting types, sorting tasks, and sorting status.

[0148] like Fig. 12A As shown, the sorting type of order #12586 is mixed picking (i.e., mixed picking by humans and machines), in which humans should pick up 3 items, including three boxes of oral liquid (i.e., the manual sorting subtask), and the machine should pick up 2 items, including one box of oral liquid and one bag of Yinqiao tablets (i.e., the medicine vending machine sorting subtask).

[0149] like Fig. 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 Fig. 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, Fig.13A It is to view the information of unfinished orders when the current sales scope is the entire store inventory. Fig. 13C It is to view the information of unfinished orders when the current sales scope is the inventory of the medicine vending machine. Fig. 13B It is to view the information of completed orders.

[0152] The information of each order may include the following key information: basic order information, sorting type of order, 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, and being picked; order drug information may include product name, specification, manufacturer, stock keeping unit (SKU) code, universal product code (UPC), drug packaging picture, order quantity, sorting batch number, sorting location, etc.

[0153] In addition, the pharmacy order processing client can also support querying order information by order number and serial number, such as Fig.13D shown.

[0154] Optionally, the above method may further include the following two steps:

[0155] The server obtains the 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 working status of the medicine vending machine for each unfinished order. The working status of the medicine vending machine may include the working status of equipment such as medicine racks, packaging machines, and transfer cabinets, wherein the working status may be used to characterize whether the corresponding equipment is faulty, and the working 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 to be faulty.

[0158] The display device can be set up in the drugstore. The clerk 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] Fig.14 The figure shows the display interface of a display device set up in a certain drug store. 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 handover 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 drug sorting method applied to a drug store 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 contained 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, and 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 also include the following steps:

[0164] In the case where the sorting type is mixed picking by humans and machines, when the drugs on the list of drugs to be sorted are manually placed into the entrance of the drug vending machine, in response to receiving a first instruction for indicating the completion of the manual sub-task, a second instruction for instructing the drug vending machine to start executing the drug vending machine sorting sub-task is sent to the drug vending machine, so that the drug vending machine executes the drug vending machine sorting sub-task, and merges and packages the drugs currently sorted by the drug vending machine and the manually sorted drugs corresponding to the manual sorting sub-task in the entrance.

[0165] Optionally, the above-mentioned medicine sorting method applied to the pharmacy order processing client may also include the following steps:

[0166] In response to receiving the fourth instruction indicating that the merging and packaging of the medicine purchase orders is complete, the order status of the updated medicine purchase orders is displayed, and a fifth instruction indicating the updated order status of the medicine purchase orders is sent to the delivery client to display the updated order status of the medicine purchase orders on the delivery client as well as information indicating the medicine pickup location associated with the assigned medicine purchase orders.

[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 , Fig. 9 as well as Fig.11 It has been described in detail and will not be repeated here.

[0168] The present disclosure also provides a drug sorting device applied to a drug store order processing client, wherein the device may include:

[0169] The first display module, in response to receiving a manual sorting subtask for a medicine purchase order, displays 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 purchasing user on an online medicine purchase platform based on the selection of medicines in 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.

[0170] Optionally, the drug sorting device applied to the pharmacy order processing client may also include:

[0171] A sending module is used for sending a second instruction to the drug vending machine for instructing 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 molecular task when the sorting type is mixed human-machine sorting and 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 drug sorting device applied to the pharmacy order processing client may also 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 orders 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 device 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 drug store order processing client, respectively, and is used for: in response to receiving a medicine purchase order, determining the sorting type of the medicine purchase order according to the medicine purchase order and the current sales scope, 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 scope, and the sorting types include medicine vending machine sorting, manual sorting, and mixed human-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, and sending the manual sorting subtask to the drug store order processing client;

[0177] The medicine vending machine is used 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 the list of to-be-sorted medicines contained 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 vary depending on the current sales range, and the sorting type also varies depending on the sales range, where the sorting types include drug vending machine sorting, manual sorting, and mixed human-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, and when the drugs in 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, send a second instruction to the drug vending machine for instructing the drug vending machine to start executing the drug vending machine sorting subtask;

[0181] The medicine vending machine is also used to: execute the medicine vending machine sorting subtask in response to receiving the second instruction; and when the medicine vending machine sorting subtask is completed, combine 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 comprises a delivery client;

[0183] The medicine vending machine is further configured to transfer the combined and packaged packages to a target slot of the delivery cabinet when the combined and packaged medicine purchase orders are completed, and to send a third instruction indicating the target slot to the delivery client;

[0184] The delivery client is used to display the updated order status of the medicine purchase order and the information indicating the target slot associated with the allocated medicine purchase order in response to receiving the third instruction.

[0185] Optionally, the system further comprises a delivery client;

[0186] The medicine vending machine is also used for, when the sorting type is mixed human-machine sorting, transferring the medicines currently sorted by the medicine vending machine to a delivery 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 can be manually combined and packaged at the delivery port;

[0187] The pharmacy order processing client is further configured to, in response to receiving a fourth instruction indicating completion of merging and packaging the medicine purchase order, display the updated order status of the medicine purchase order, and send a fifth instruction indicating update of the order status of the medicine purchase order to the delivery client;

[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 according to the medicine purchase order and the current sorting mode when the current selling 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, and wherein the current sorting mode is a default configuration or is configured through the pharmacy order processing client.

[0190] Optionally, the server is used to:

[0191] When the current sorting mode is the manual replenishment mode, determine 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, determine 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, determine 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, determine 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-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-machine picking; 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 used 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 also 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 used to obtain second order information of uncompleted orders of the pharmacy and send the second order information to the display device, wherein the second order information includes at least one of the sorting type and sorting status of each uncompleted order and the 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 used to determine the current sales scope in the following manner:

[0199] According to the correspondence between the time period and the sales range, determine 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 a current moment and a start moment 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 according to a correspondence between time periods and selling ranges as the current selling range.

[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 a pharmacy order processing client provided by the present disclosure are implemented.

[0203] Fig.15 FIG. 7 is a block diagram of an electronic device 700 according to an exemplary embodiment. Fig.15 As shown, the electronic device 700 may include: a processor 701 and a memory 702. The electronic device 700 may also 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 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, and these data may include, for example, instructions for any application or method used to operate on the electronic device 700, and application-related data, such as contact data, 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 (Static Random Access Memory, referred to as SRAM), electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, referred to as EEPROM), erasable programmable read-only memory (Erasable Programmable Read-Only Memory, referred to as EPROM), programmable read-only memory (Programmable Read-Only Memory, referred to as PROM), read-only memory (Read-Only Memory, referred to as ROM), magnetic memory, 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 signal may be further stored in the memory 702 or sent through 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, and the other interface modules may be keyboards, mice, 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 of them, is not limited here. Therefore, the corresponding communication component 705 may include: Wi-Fi module, Bluetooth module, NFC module, etc.

[0205] In an exemplary embodiment, the electronic device 700 can be implemented by one or more application specific integrated circuits (ASIC), digital signal processors (DSP), digital signal processing devices (DSPD), programmable logic devices (PLD), field programmable gate arrays (FPGA), controllers, microcontrollers, microprocessors or other electronic components to execute the above-mentioned drug sorting method applied to the pharmacy order processing client.

[0206] In another exemplary embodiment, a computer-readable storage medium including program instructions is also provided, and when the program instructions are executed by a processor, the steps of the above-mentioned drug sorting method applied to the pharmacy order processing client are implemented. For example, the computer-readable storage medium can be the above-mentioned memory 702 including program instructions, and the above-mentioned program instructions can be executed by the processor 701 of the electronic device 700 to complete the above-mentioned drug sorting method applied to the 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 in the above embodiments. Within the technical concept of the present disclosure, a variety of simple modifications can be made to the technical solution of the present disclosure, and these simple modifications all fall within the protection scope 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. In order to avoid unnecessary repetition, the present disclosure will not further describe various possible combinations.

[0209] In addition, 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: Includes medicine vending machines, servers, and pharmacy order processing clients; 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; The medicine vending machine is used to sort the medicines to be sorted 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 the list of to-be-sorted medicines contained in the manual sorting subtask in response to receiving the manual sorting subtask.

2. The system according to claim 1, characterized in that 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. The system according to claim 1, characterized in that The system also includes a display device; The server is connected to the display device and is further used to obtain second order information of uncompleted orders of the pharmacy and send the second order information to the display device, wherein the second order information includes at least one of the sorting type and sorting status of each uncompleted order and the working status of the medicine vending machine; The display device is used to receive and display the second order information.

4. A drug sorting method, characterized in that: include: In response to receiving a drug purchase order, determining a sorting type of the drug purchase order according to the drug purchase order and the current sales range, wherein the drug purchase order is a drug purchase order generated by a drug purchase user on an online drug purchase platform based on the drugs in the current sales range, and the sorting type includes 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; 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; 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 to-be-sorted medicines included in the manual sorting subtask.

5. The method according to claim 4, characterized in that The method further comprises: In the case where the sorting type is mixed human-machine sorting, when the drugs in 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 that the manual subtask is completed, 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; 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 and the manually sorted medicines corresponding to the manual sorting subtask at the entrance of the medicine vending machine.

6. The method according to claim 5, characterized in that The method further comprises: When the medicine purchase order is packaged, the medicine vending machine transfers the packaged package to a target slot of the delivery cabinet, and sends a third instruction indicating the target slot to the delivery client; 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.

7. The method according to claim 4, characterized in that The method further comprises: When the sorting type of the medicine vending machine is mixed human-machine sorting, when the sorting subtask of the medicine vending machine is completed, the medicines currently sorted by the medicine vending machine are transferred to the delivery port, so that the medicines currently sorted by the medicine vending machine and the manually sorted medicines corresponding to the manual sorting subtask are manually combined and packaged at the delivery port; In response to receiving the fourth instruction for indicating that the merging and packaging of the medicine purchase order is completed, the pharmacy order processing client displays the updated order status of the medicine purchase order, and sends a fifth instruction for indicating that the order status of the medicine purchase order is updated to the delivery client; 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.

8. The method according to claim 4, characterized in that The step of determining the sorting type of the drug purchase order according to the drug purchase order and the current sales scope includes: When the current selling 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 is configured through the pharmacy order processing client.

9. The method according to claim 8, characterized in that 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 mode, determine 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, determine 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, determine 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, determine the sorting type to be mixed human and machine sorting; 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-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-machine picking; 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.

10. The method according to claim 4, characterized in that The method further comprises: 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 drug purchase order, the sorting type, the sorting task and the sorting status in association.

11. The method according to claim 4, characterized in that The method further comprises: Acquire second order information of unfinished orders of the pharmacy, and send the second order information to a display device, wherein the second order information includes at least one of the sorting type and sorting status of each unfinished order and the working status of the medicine vending machine; The display device receives and displays the second order information.

12. The method according to claim 4, characterized in that The method further comprises: According to the correspondence between the time period and the sales range, determine 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 Determine whether a selling range switching instruction is received within a target time period, wherein the target time period is a time period between a current moment and a start moment 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 according to a correspondence between time periods and selling ranges as the current selling range.

13. A drug sorting method, characterized in that: Applied to the pharmacy order processing client, including: 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 selection of medicines in a current sales range, and the manual sorting subtask is generated based on a 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 and machine sorting.

14. The method according to claim 13, characterized in that The method further comprises: In the case where the sorting type is mixed sorting by humans and machines, when the drugs in the list of drugs to be sorted are manually placed into the entrance of the drug vending machine, in response to receiving a first instruction for indicating the completion of the manual molecular task, 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, 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 entrance.

15. The method according to claim 13, characterized in that The method further comprises: In response to receiving the fourth instruction indicating that the merging and packaging of the medicine purchase orders is completed, the updated order status of the medicine purchase orders is displayed, and a fifth instruction indicating the update of the order status of the medicine purchase orders is sent to the delivery client, so as to display the updated order status of the medicine purchase orders on the delivery client and indicate the medicine pickup location information associated with the assigned medicine purchase orders.

Citation Information

Patent Citations

  • Intelligent novel retail terminal system and selling method thereof

    CN107895430A

  • Automatic sorting method and system for storage robot

    CN108100548A

  • Goods discharge method and device, vending machine, server, system and medium

    CN108492454A

  • Multifunctional medicine selling machine equipment and method

    CN112419606A

  • Drug sorting method and system

    CN114331590A

Cited By

  • Packaging device for medicine taking cabinet and medicine taking cabinet

    CN121033984A